Compartilhar via


CognitiveServicesExtensions.GetCognitiveServicesCommitmentPlansAsync Método

Definição

Retorna todos os recursos de um tipo específico pertencente a uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.CognitiveServices/commitmentPlans
  • Operação IdCommitmentPlans_ListPlansBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesCommitmentPlanResource> GetCognitiveServicesCommitmentPlansAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetCognitiveServicesCommitmentPlansAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesCommitmentPlanResource>
<Extension()>
Public Function GetCognitiveServicesCommitmentPlansAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesCommitmentPlanResource)

Parâmetros

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de CognitiveServicesCommitmentPlanResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a