Udostępnij za pośrednictwem


DevicesOperationsExtensions.ListByResourceGroupAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBoxEdge.Models.DataBoxEdgeDevice>> ListByResourceGroupAsync (this Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations operations, string resourceGroupName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBoxEdge.Models.DataBoxEdgeDevice>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IDevicesOperations, resourceGroupName As String, 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.

resourceGroupName
String

The resource group name.

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