Share via


IotDpsResourceOperationsExtensions.ListByResourceGroupAsync Method

Definition

Get a list of all provisioning services in the given resource group.

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

Parameters

operations
IIotDpsResourceOperations

The operations group for this extension method.

resourceGroupName
String

Resource group identifier.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to