다음을 통해 공유


IotDpsResourceOperationsExtensions.ListBySubscriptionAsync Method

Definition

Get all the provisioning services in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DeviceProvisioningServices.Models.ProvisioningServiceDescription>> ListBySubscriptionAsync (this Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DeviceProvisioningServices.Models.ProvisioningServiceDescription>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IIotDpsResourceOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ProvisioningServiceDescription))

Parameters

operations
IIotDpsResourceOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List all the provisioning services for a given subscription id.

Applies to