Freigeben über


ArmAuthorizationModelFactory.RoleAssignmentScheduleData Methode

Definition

Initialisiert eine neue instance von RoleAssignmentScheduleData.

public static Azure.ResourceManager.Authorization.RoleAssignmentScheduleData RoleAssignmentScheduleData (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.Core.ResourceIdentifier roleAssignmentScheduleRequestId = default, Azure.Core.ResourceIdentifier linkedRoleEligibilityScheduleId = default, Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleAssignmentType? assignmentType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleMemberType? memberType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus? status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string condition = default, string conditionVersion = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties expandedProperties = default);
static member RoleAssignmentScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * Nullable<Guid> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleAssignmentType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleMemberType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties -> Azure.ResourceManager.Authorization.RoleAssignmentScheduleData
Public Shared Function RoleAssignmentScheduleData (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 roleAssignmentScheduleRequestId As ResourceIdentifier = Nothing, Optional linkedRoleEligibilityScheduleId As ResourceIdentifier = Nothing, Optional assignmentType As Nullable(Of RoleAssignmentScheduleAssignmentType) = Nothing, Optional memberType As Nullable(Of RoleManagementScheduleMemberType) = Nothing, Optional status As Nullable(Of RoleManagementScheduleStatus) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional expandedProperties As RoleManagementExpandedProperties = Nothing) As RoleAssignmentScheduleData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

scope
String

Der Bereich 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.

roleAssignmentScheduleRequestId
ResourceIdentifier

Die ID von roleAssignmentScheduleRequest, die zum Erstellen dieser rolleAssignmentSchedule verwendet wird.

linkedRoleEligibilityScheduleId
ResourceIdentifier

Die ID von roleEligibilitySchedule, die verwendet wird, um diese rolleAssignmentSchedule zu aktivieren.

assignmentType
Nullable<RoleAssignmentScheduleAssignmentType>

Zuweisungstyp des Rollenzuweisungszeitplans.

memberType
Nullable<RoleManagementScheduleMemberType>

Mitgliedschaftstyp des Rollenzuweisungszeitplans.

status
Nullable<RoleManagementScheduleStatus>

Die status des Rollenzuweisungszeitplans.

startOn
Nullable<DateTimeOffset>

Starten Sie DateTime beim Rollenzuweisungsplan.

endOn
Nullable<DateTimeOffset>

Beenden Sie DateTime beim Rollenzuweisungszeitplan.

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 der Zeitplan für die Rollenzuweisung erstellt wurde.

updatedOn
Nullable<DateTimeOffset>

DateTime, wenn der Zeitplan für die Rollenzuweisung geändert wurde.

expandedProperties
RoleManagementExpandedProperties

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

Gibt zurück

Eine neue RoleAssignmentScheduleData instance zum Mocking.

Gilt für: