Share via


MockableCognitiveServicesSubscriptionResource.GetResourceSkusAsync Method

Definition

Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/skus
  • Operation Id: ResourceSkus_List
  • Default Api Version: 2024-10-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku> GetResourceSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
override this.GetResourceSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
Public Overridable Function GetResourceSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvailableCognitiveServicesSku)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AvailableCognitiveServicesSku that may take multiple service requests to iterate over.

Applies to