Dela via


RoleAssignmentScheduleRequestData Class

Definition

A class representing the RoleAssignmentScheduleRequest data model. Role Assignment schedule request

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

Constructors

RoleAssignmentScheduleRequestData()

Initializes a new instance of RoleAssignmentScheduleRequestData.

Properties

ApprovalId

The approvalId of the role assignment 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 assignment schedule request was created.

Duration

Duration of the role assignment schedule in TimeSpan.

EndOn

End DateTime of the role assignment schedule.

ExpandedProperties

Additional properties of principal, scope and role definition.

ExpirationType

Type of the role assignment 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 assignment.

LinkedRoleEligibilityScheduleId

The linked role eligibility schedule id - to activate an 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 assignment schedule request scope.

StartOn

Start DateTime of the role assignment schedule.

Status

The status of the role assignment schedule request.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TargetRoleAssignmentScheduleId

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

TargetRoleAssignmentScheduleInstanceId

The role assignment schedule instance id being updated.

TicketInfo

Ticket Info of the role assignment.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<RoleAssignmentScheduleRequestData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoleAssignmentScheduleRequestData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoleAssignmentScheduleRequestData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleAssignmentScheduleRequestData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoleAssignmentScheduleRequestData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to