Partilhar via


CognitiveServicesCommitmentPlanResource.GetCommitmentPlanAccountAssociationAsync 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}
  • Operação IdCommitmentPlans_GetAssociation
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>> GetCommitmentPlanAccountAssociationAsync (string commitmentPlanAssociationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCommitmentPlanAccountAssociationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>>
override this.GetCommitmentPlanAccountAssociationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>>
Public Overridable Function GetCommitmentPlanAccountAssociationAsync (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 esperava-se que não estivesse vazia.

commitmentPlanAssociationName é nulo.

Aplica-se a