CognitiveServicesAccountDeploymentResource.GetSkusAsync Method

Definition

Lists the specified deployments skus associated with the Cognitive Services account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to