Compartir a través de


ArmAuthorizationModelFactory.RoleEligibilityScheduleData Método

Definición

Inicializa una nueva instancia de RoleEligibilityScheduleData.

public static Azure.ResourceManager.Authorization.RoleEligibilityScheduleData RoleEligibilityScheduleData (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 roleEligibilityScheduleRequestId = 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 RoleEligibilityScheduleData : 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 * 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.RoleEligibilityScheduleData
Public Shared Function RoleEligibilityScheduleData (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 roleEligibilityScheduleRequestId As ResourceIdentifier = 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 RoleEligibilityScheduleData

Parámetros

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

scope
String

Ámbito de la programación de idoneidad del rol.

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.

roleEligibilityScheduleRequestId
ResourceIdentifier

Identificador de roleEligibilityScheduleRequest usado para crear este roleAssignmentSchedule.

memberType
Nullable<RoleManagementScheduleMemberType>

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

status
Nullable<RoleManagementScheduleStatus>

El estado de la programación de idoneidad del rol.

startOn
Nullable<DateTimeOffset>

Fecha y hora de inicio cuando la programación de idoneidad del rol.

endOn
Nullable<DateTimeOffset>

End DateTime cuando la programación de idoneidad del rol.

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 idoneidad del rol.

updatedOn
Nullable<DateTimeOffset>

DateTime cuando se modificó la programación de idoneidad del rol.

expandedProperties
RoleManagementExpandedProperties

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

Devoluciones

RoleEligibilityScheduleData Nueva instancia de para simular.

Se aplica a