Partager via


WorkloadGroupResource.GetWorkloadClassifierAsync Méthode

Définition

Obtient un classifieur de charge de travail

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • IdWorkloadClassifiers_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.WorkloadClassifierResource>> GetWorkloadClassifierAsync (string workloadClassifierName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkloadClassifierAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.WorkloadClassifierResource>>
override this.GetWorkloadClassifierAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.WorkloadClassifierResource>>
Public Overridable Function GetWorkloadClassifierAsync (workloadClassifierName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WorkloadClassifierResource))

Paramètres

workloadClassifierName
String

Nom du classifieur de charge de travail.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

workloadClassifierName a la valeur null.

S’applique à