Compartilhar via


CognitiveServicesExtensions.GetCognitiveServicesCommitmentPlan 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}
  • Operação IdCommitmentPlans_GetPlan
public static Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesCommitmentPlanResource> GetCognitiveServicesCommitmentPlan (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string commitmentPlanName, System.Threading.CancellationToken cancellationToken = default);
static member GetCognitiveServicesCommitmentPlan : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesCommitmentPlanResource>
<Extension()>
Public Function GetCognitiveServicesCommitmentPlan (resourceGroupResource As ResourceGroupResource, commitmentPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CognitiveServicesCommitmentPlanResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

commitmentPlanName
String

O nome do plano de compromisso 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 esperava-se que não estivesse vazia.

commitmentPlanName é nulo.

Aplica-se a