Share via


RoleEligibilityScheduleRequestData Class

Definition

A class representing the RoleEligibilityScheduleRequest data model. Role Eligibility schedule request

public class RoleEligibilityScheduleRequestData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestData>
public class RoleEligibilityScheduleRequestData : Azure.ResourceManager.Models.ResourceData
type RoleEligibilityScheduleRequestData = class
    inherit ResourceData
    interface IJsonModel<RoleEligibilityScheduleRequestData>
    interface IPersistableModel<RoleEligibilityScheduleRequestData>
type RoleEligibilityScheduleRequestData = class
    inherit ResourceData
Public Class RoleEligibilityScheduleRequestData
Inherits ResourceData
Implements IJsonModel(Of RoleEligibilityScheduleRequestData), IPersistableModel(Of RoleEligibilityScheduleRequestData)
Public Class RoleEligibilityScheduleRequestData
Inherits ResourceData
Inheritance
RoleEligibilityScheduleRequestData
Implements

Constructors

RoleEligibilityScheduleRequestData()

Initializes a new instance of RoleEligibilityScheduleRequestData.

Properties

ApprovalId

The approvalId of the role eligibility schedule request.

Condition

The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.

ConditionVersion

Version of the condition. Currently accepted value is '2.0'.

CreatedOn

DateTime when role eligibility schedule request was created.

Duration

Duration of the role eligibility schedule in TimeSpan.

EndOn

End DateTime of the role eligibility schedule.

ExpandedProperties

Additional properties of principal, scope and role definition.

ExpirationType

Type of the role eligibility schedule expiration.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Justification

Justification for the role eligibility.

Name

The name of the resource.

(Inherited from ResourceData)
PrincipalId

The principal ID.

PrincipalType

The principal type of the assigned principal ID.

RequestorId

Id of the user who created this request.

RequestType

The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RoleDefinitionId

The role definition ID.

Scope

The role eligibility schedule request scope.

StartOn

Start DateTime of the role eligibility schedule.

Status

The status of the role eligibility schedule request.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TargetRoleEligibilityScheduleId

The resultant role eligibility schedule id or the role eligibility schedule id being updated.

TargetRoleEligibilityScheduleInstanceId

The role eligibility schedule instance id being updated.

TicketInfo

Ticket Info of the role eligibility.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<RoleEligibilityScheduleRequestData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RoleEligibilityScheduleRequestData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoleEligibilityScheduleRequestData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleEligibilityScheduleRequestData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RoleEligibilityScheduleRequestData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to