Compartir a través de


RoleManagementPolicyAssignmentCollection.Get Método

Definición

Obtención de la asignación de directiva de administración de roles especificada para un ámbito de recurso

  • Ruta de acceso de solicitud/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • IdRoleManagementPolicyAssignments_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentResource> Get (string roleManagementPolicyAssignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentResource>
Public Overridable Function Get (roleManagementPolicyAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleManagementPolicyAssignmentResource)

Parámetros

roleManagementPolicyAssignmentName
String

Nombre del formato {guid_guid} a la asignación de directiva de administración de roles que se va a obtener.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

roleManagementPolicyAssignmentName es una cadena vacía y se esperaba que no estuviera vacía.

roleManagementPolicyAssignmentName es null.

Se aplica a