Udostępnij za pośrednictwem


DevicesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Gets all the Data Box Edge/Data Box Gateway devices in a subscription.

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

Parameters

operations
IDevicesOperations

The operations group for this extension method.

expand
String

Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to