Compartir a través de


ArmAuthorizationModelFactory.RoleManagementPolicyAssignmentData Método

Definición

Inicializa una nueva instancia de RoleManagementPolicyAssignmentData.

public static Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentData RoleManagementPolicyAssignmentData (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, Azure.Core.ResourceIdentifier policyId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule> effectiveRules = default, Azure.ResourceManager.Authorization.Models.PolicyAssignmentProperties policyAssignmentProperties = default);
static member RoleManagementPolicyAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule> * Azure.ResourceManager.Authorization.Models.PolicyAssignmentProperties -> Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentData
Public Shared Function RoleManagementPolicyAssignmentData (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 policyId As ResourceIdentifier = Nothing, Optional effectiveRules As IEnumerable(Of RoleManagementPolicyRule) = Nothing, Optional policyAssignmentProperties As PolicyAssignmentProperties = Nothing) As RoleManagementPolicyAssignmentData

Parámetros

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

scope
String

Ámbito de la directiva de administración de roles.

roleDefinitionId
ResourceIdentifier

Definición de rol de asignación de directiva de administración.

policyId
ResourceIdentifier

Asignación de directivas de administración de roles de id. de directiva.

effectiveRules
IEnumerable<RoleManagementPolicyRule>

Regla calculada de solo lectura aplicada a la directiva. Tenga en cuenta RoleManagementPolicyRule que es la clase base. Según el escenario, es posible que sea necesario asignar una clase derivada de la clase base aquí, o esta propiedad debe convertirse en una de las posibles clases derivadas. Las clases derivadas disponibles incluyen RoleManagementPolicyApprovalRule, RoleManagementPolicyAuthenticationContextRule, RoleManagementPolicyEnablementRuley RoleManagementPolicyExpirationRuleRoleManagementPolicyNotificationRule.

policyAssignmentProperties
PolicyAssignmentProperties

Propiedades adicionales del ámbito, la definición de roles y la directiva.

Devoluciones

RoleManagementPolicyAssignmentData Nueva instancia para simular.

Se aplica a