Compartir a través de


RoleAssignmentScheduleCollection.GetAsync(String, CancellationToken) Método

Definición

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

  • Ruta de acceso de solicitud/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • IdRoleAssignmentSchedules_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleResource>> GetAsync (string roleAssignmentScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleResource>>
Public Overridable Function GetAsync (roleAssignmentScheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleAssignmentScheduleResource))

Parámetros

roleAssignmentScheduleName
String

Nombre (guid) de la programación de asignación de roles que se va a obtener.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

roleAssignmentScheduleName es null.

Se aplica a