DeviceProvisioningServiceResource.GetValidSkusAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.