Compartilhar via


CognitiveServicesAccountResource.GetCommitmentPlan Método

Definição

Obtém os commitmentPlans especificados associados à conta dos Serviços Cognitivos.

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

Parâmetros

commitmentPlanName
String

O nome do commitmentPlan associado à conta dos Serviços Cognitivos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

commitmentPlanName é nulo.

Aplica-se a