共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to