Partager via


RoleAssignmentScheduleRequestCollection.GetAsync Méthode

Définition

Obtient la demande de planification d’attribution de rôle spécifiée.

  • Chemin de la requête/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Opération IdRoleAssignmentScheduleRequests_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>> GetAsync (string roleAssignmentScheduleRequestName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>>
Public Overridable Function GetAsync (roleAssignmentScheduleRequestName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleAssignmentScheduleRequestResource))

Paramètres

roleAssignmentScheduleRequestName
String

Nom (guid) de la demande de planification d’attribution de rôle à obtenir.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

roleAssignmentScheduleRequestName est une chaîne vide et devait être non vide.

roleAssignmentScheduleRequestName a la valeur null.

S’applique à