Udostępnij za pośrednictwem


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to