Share via


MockableDeviceProvisioningServicesSubscriptionResource.GetDeviceProvisioningServicesAsync Method

Definition

List all the provisioning services for a given subscription id.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to