Partager via


CognitiveServicesExtensions.GetCognitiveServicesCommitmentPlansAsync Méthode

Définition

Retourne toutes les ressources d’un type particulier appartenant à un abonnement.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.CognitiveServices/commitmentPlans
  • IdCommitmentPlans_ListPlansBySubscription d’opération
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)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de CognitiveServicesCommitmentPlanResource service pour itérer.

S’applique à