Partager via


RoleAssignmentScheduleInstanceCollection.GetAsync Méthode

Définition

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

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

Paramètres

roleAssignmentScheduleInstanceName
String

Nom (hachage nom de planification + heure) de la planification d’attribution de rôle à obtenir.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

roleAssignmentScheduleInstanceName a la valeur null.

S’applique à