Partilhar via


ArmAuthorizationModelFactory.RoleAssignmentScheduleInstanceData Método

Definição

Inicializa uma nova instância de RoleAssignmentScheduleInstanceData.

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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

scope
String

O escopo do agendamento de atribuição de função.

roleDefinitionId
ResourceIdentifier

A ID de definição de função.

principalId
Nullable<Guid>

A ID da entidade de segurança.

principalType
Nullable<RoleManagementPrincipalType>

O tipo de entidade de segurança da ID da entidade de segurança atribuída.

roleAssignmentScheduleId
ResourceIdentifier

ID da master agenda de atribuição de função.

originRoleAssignmentId
ResourceIdentifier

ID de Atribuição de Função no sistema externo.

status
Nullable<RoleManagementScheduleStatus>

O status da instância de agendamento de atribuição de função.

startOn
Nullable<DateTimeOffset>

O startDateTime da instância de agendamento de atribuição de função.

endOn
Nullable<DateTimeOffset>

O endDateTime da instância de agendamento de atribuição de função.

linkedRoleEligibilityScheduleId
ResourceIdentifier

roleEligibilityScheduleId usado para ativar.

linkedRoleEligibilityScheduleInstanceId
ResourceIdentifier

roleEligibilityScheduleInstanceId vinculado a essa roleAssignmentScheduleInstance.

assignmentType
Nullable<RoleAssignmentScheduleAssignmentType>

Tipo de atribuição do agendamento de atribuição de função.

memberType
Nullable<RoleManagementScheduleMemberType>

Tipo de associação do agendamento de atribuição de função.

condition
String

As condições na atribuição de função. Isso limita os recursos aos quais ele pode ser atribuído. por exemplo: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.

conditionVersion
String

Versão da condição. O valor atualmente aceito é '2.0'.

createdOn
Nullable<DateTimeOffset>

DateTime quando o agendamento de atribuição de função foi criado.

expandedProperties
RoleManagementExpandedProperties

Propriedades adicionais de entidade de segurança, escopo e definição de função.

Retornos

Uma nova RoleAssignmentScheduleInstanceData instância para simulação.

Aplica-se a