Freigeben über


ArmAuthorizationModelFactory.RoleAssignmentScheduleRequestData Methode

Definition

Initialisiert eine neue instance von RoleAssignmentScheduleRequestData.

public static Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData RoleAssignmentScheduleRequestData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string scope = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, Guid? principalId = default, Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType? principalType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleRequestType? requestType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus? status = default, string approvalId = default, Azure.Core.ResourceIdentifier targetRoleAssignmentScheduleId = default, Azure.Core.ResourceIdentifier targetRoleAssignmentScheduleInstanceId = default, Azure.Core.ResourceIdentifier linkedRoleEligibilityScheduleId = default, string justification = default, Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleTicketInfo ticketInfo = default, string condition = default, string conditionVersion = default, DateTimeOffset? createdOn = default, Guid? requestorId = default, Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties expandedProperties = default, DateTimeOffset? startOn = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleExpirationType? expirationType = default, DateTimeOffset? endOn = default, TimeSpan? duration = default);
static member RoleAssignmentScheduleRequestData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * Nullable<Guid> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleRequestType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleTicketInfo * string * string * Nullable<DateTimeOffset> * Nullable<Guid> * Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleExpirationType> * Nullable<DateTimeOffset> * Nullable<TimeSpan> -> Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData
Public Shared Function RoleAssignmentScheduleRequestData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional scope As String = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional principalType As Nullable(Of RoleManagementPrincipalType) = Nothing, Optional requestType As Nullable(Of RoleManagementScheduleRequestType) = Nothing, Optional status As Nullable(Of RoleManagementScheduleStatus) = Nothing, Optional approvalId As String = Nothing, Optional targetRoleAssignmentScheduleId As ResourceIdentifier = Nothing, Optional targetRoleAssignmentScheduleInstanceId As ResourceIdentifier = Nothing, Optional linkedRoleEligibilityScheduleId As ResourceIdentifier = Nothing, Optional justification As String = Nothing, Optional ticketInfo As RoleAssignmentScheduleTicketInfo = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional requestorId As Nullable(Of Guid) = Nothing, Optional expandedProperties As RoleManagementExpandedProperties = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional expirationType As Nullable(Of RoleManagementScheduleExpirationType) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing) As RoleAssignmentScheduleRequestData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

scope
String

Der Anforderungsbereich des Rollenzuweisungszeitplans.

roleDefinitionId
ResourceIdentifier

Hierbei handelt es sich um die Rollendefinitions-ID.

principalId
Nullable<Guid>

Die Prinzipal-ID.

principalType
Nullable<RoleManagementPrincipalType>

Der Prinzipaltyp der zugewiesenen Prinzipal-ID.

requestType
Nullable<RoleManagementScheduleRequestType>

Der Typ der Anforderung zum Zeitplan für die Rollenzuweisung. Beispiel: SelfActivate, AdminAssign etc.

status
Nullable<RoleManagementScheduleStatus>

Die status der Anforderung des Rollenzuweisungszeitplans.

approvalId
String

Die approvalId der Anforderung des Rollenzuweisungszeitplans.

targetRoleAssignmentScheduleId
ResourceIdentifier

Die resultierende Zeitplan-ID der Rollenzuweisung oder die zu aktualisierende Zeitplan-ID der Rollenzuweisung.

targetRoleAssignmentScheduleInstanceId
ResourceIdentifier

Der Rollenzuweisungszeitplan instance ID, die aktualisiert wird.

linkedRoleEligibilityScheduleId
ResourceIdentifier

Die verknüpfte Zeitplan-ID für die Rollenberechtigung, um eine Berechtigung zu aktivieren.

justification
String

Begründung für die Rollenzuweisung.

ticketInfo
RoleAssignmentScheduleTicketInfo

Ticketinformationen der Rollenzuweisung.

condition
String

Die Bedingungen für die Rollenzuweisung. Dies schränkt die Ressourcen ein, denen sie zugewiesen werden kann. Beispiel: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.

conditionVersion
String

Version der Bedingung. Der derzeit akzeptierte Wert ist "2.0".

createdOn
Nullable<DateTimeOffset>

DateTime, wenn die Anforderung zum Zeitplan für die Rollenzuweisung erstellt wurde.

requestorId
Nullable<Guid>

ID des Benutzers, der diese Anforderung erstellt hat.

expandedProperties
RoleManagementExpandedProperties

Zusätzliche Eigenschaften der Prinzipal-, Bereichs- und Rollendefinition.

startOn
Nullable<DateTimeOffset>

Starten Sie DateTime des Rollenzuweisungszeitplans.

expirationType
Nullable<RoleManagementScheduleExpirationType>

Typ des Ablaufplans der Rollenzuweisung.

endOn
Nullable<DateTimeOffset>

End DateTime des Rollenzuweisungszeitplans.

duration
Nullable<TimeSpan>

Dauer des Rollenzuweisungszeitplans in TimeSpan.

Gibt zurück

Eine neue RoleAssignmentScheduleRequestData instance zum Simulieren.

Gilt für: