共用方式為


ApiManagementServiceResource.GetAvailableApiManagementServiceSkusAsync Method

Definition

Gets all available SKU for a given API Management service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/skus
  • Operation Id: ApiManagementServiceSkus_ListAvailableServiceSkus
  • Default Api Version: 2023-03-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.AvailableApiManagementServiceSkuResult> GetAvailableApiManagementServiceSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableApiManagementServiceSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.AvailableApiManagementServiceSkuResult>
override this.GetAvailableApiManagementServiceSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.AvailableApiManagementServiceSkuResult>
Public Overridable Function GetAvailableApiManagementServiceSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvailableApiManagementServiceSkuResult)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to