Udostępnij za pośrednictwem


DeviceProvisioningServiceResource.GetValidSkusAsync(CancellationToken) Method

Definition

Gets the list of valid SKUs and tiers for a provisioning service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/skus
  • Operation Id: IotDpsResource_listValidSkus
public virtual Azure.AsyncPageable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSkuDefinition> GetValidSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetValidSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSkuDefinition>
override this.GetValidSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSkuDefinition>
Public Overridable Function GetValidSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeviceProvisioningServicesSkuDefinition)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to