Partilhar via


CognitiveServicesCommitmentPlanCollection.Get Método

Definição

Retorna um plano de compromisso dos Serviços Cognitivos especificado pelos parâmetros.

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

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