Share via


CognitiveServicesAccountResource.GetSkusAsync(CancellationToken) Method

Definition

List available SKUs for the requested Cognitive Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/skus
  • Operation Id: Accounts_ListSkus
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesAccountResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountSku> GetSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountSku>
override this.GetSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountSku>
Public Overridable Function GetSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesAccountSku)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to