Compartilhar via


ArmAuthorizationModelFactory.PolicyAssignmentProperties Método

Definição

Inicializa uma nova instância de PolicyAssignmentProperties.

public static Azure.ResourceManager.Authorization.Models.PolicyAssignmentProperties PolicyAssignmentProperties (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier policyId = default, Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal lastModifiedBy = default, DateTimeOffset? lastModifiedOn = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, string roleDefinitionDisplayName = default, Azure.ResourceManager.Authorization.Models.AuthorizationRoleType? roleType = default, Azure.Core.ResourceIdentifier scopeId = default, string scopeDisplayName = default, Azure.ResourceManager.Authorization.Models.RoleManagementScopeType? scopeType = default);
static member PolicyAssignmentProperties : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Authorization.Models.AuthorizationRoleType> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScopeType> -> Azure.ResourceManager.Authorization.Models.PolicyAssignmentProperties
Public Shared Function PolicyAssignmentProperties (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional policyId As ResourceIdentifier = Nothing, Optional lastModifiedBy As RoleManagementPrincipal = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional roleDefinitionDisplayName As String = Nothing, Optional roleType As Nullable(Of AuthorizationRoleType) = Nothing, Optional scopeId As ResourceIdentifier = Nothing, Optional scopeDisplayName As String = Nothing, Optional scopeType As Nullable(Of RoleManagementScopeType) = Nothing) As PolicyAssignmentProperties

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

policyId
ResourceIdentifier

Id da política.

lastModifiedBy
RoleManagementPrincipal

O nome da entidade a modificou pela última vez.

lastModifiedOn
Nullable<DateTimeOffset>

A hora da data da última modificação.

roleDefinitionId
ResourceIdentifier

Id da definição de função.

roleDefinitionDisplayName
String

Nome de exibição da definição de função.

roleType
Nullable<AuthorizationRoleType>

O tipo de função.

scopeId
ResourceIdentifier

ID de escopo do recurso.

scopeDisplayName
String

Nome de exibição do recurso.

scopeType
Nullable<RoleManagementScopeType>

Tipo do escopo.

Retornos

Uma nova PolicyAssignmentProperties instância para zombar.

Aplica-se a