Udostępnij za pośrednictwem


MachinesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.

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

Parameters

operations
IMachinesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to