Share via


MockableCognitiveServicesSubscriptionResource.GetResourceSkus 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.Pageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku> GetResourceSkus (System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
override this.GetResourceSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
Public Overridable Function GetResourceSkus (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AvailableCognitiveServicesSku)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to