Compartilhar via


CommitmentPlanAccountAssociationCollection.GetAsync Método

Definição

Obtém a associação do plano de compromisso dos Serviços Cognitivos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • IdCommitmentPlans_GetAssociation de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>> GetAsync (string commitmentPlanAssociationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>>
Public Overridable Function GetAsync (commitmentPlanAssociationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommitmentPlanAccountAssociationResource))

Parâmetros

commitmentPlanAssociationName
String

O nome da associação do plano de compromisso com a Conta dos Serviços Cognitivos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

commitmentPlanAssociationName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

commitmentPlanAssociationName é nulo.

Aplica-se a