InstancesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Returns instances for the given account name.

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

Parameters

operations
IInstancesOperations

The operations group for this extension method.

accountName
String

Account name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to