Compartir a través de


ArmAuthorizationModelFactory.RoleAssignmentScheduleData Método

Definición

Inicializa una nueva instancia de 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

Parámetros

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

scope
String

Ámbito de programación de asignación de roles.

roleDefinitionId
ResourceIdentifier

Identificador de la definición de roles.

principalId
Nullable<Guid>

Identificador de entidad de seguridad.

principalType
Nullable<RoleManagementPrincipalType>

Tipo de entidad de seguridad del identificador de entidad de seguridad asignado.

roleAssignmentScheduleRequestId
ResourceIdentifier

El identificador de roleAssignmentScheduleRequest usado para crear este roleAssignmentSchedule.

linkedRoleEligibilityScheduleId
ResourceIdentifier

El identificador de roleEligibilitySchedule usado para activar este roleAssignmentSchedule.

assignmentType
Nullable<RoleAssignmentScheduleAssignmentType>

Tipo de asignación de la programación de asignación de roles.

memberType
Nullable<RoleManagementScheduleMemberType>

Tipo de pertenencia de la programación de asignación de roles.

status
Nullable<RoleManagementScheduleStatus>

Estado de la programación de asignación de roles.

startOn
Nullable<DateTimeOffset>

Start DateTime cuando se programa la asignación de roles.

endOn
Nullable<DateTimeOffset>

End DateTime cuando se programa la asignación de roles.

condition
String

Condiciones de la asignación de roles. Esto limita los recursos a los que se puede asignar. Por ejemplo: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.

conditionVersion
String

Versión de la condición. El valor aceptado actualmente es "2.0".

createdOn
Nullable<DateTimeOffset>

DateTime cuando se creó la programación de asignación de roles.

updatedOn
Nullable<DateTimeOffset>

DateTime cuando se modificó la programación de asignación de roles.

expandedProperties
RoleManagementExpandedProperties

Propiedades adicionales de la definición de entidad de seguridad, ámbito y rol.

Devoluciones

RoleAssignmentScheduleData Nueva instancia de para simular.

Se aplica a