Compartir a través de


CognitiveServicesCommitmentPlanCollection.Get Método

Definición

Devuelve un plan de compromiso de Cognitive Services especificado por los parámetros.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}
  • IdCommitmentPlans_GetPlan de operación
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

Nombre del plan de compromiso asociado a la cuenta de Cognitive Services.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

commitmentPlanName es una cadena vacía y se espera que no esté vacía.

commitmentPlanName es null.

Se aplica a