Sdílet prostřednictvím


DevicesOperationsExtensions.ListByResourceGroupAsync Method

Definition

Gets all the data box edge/gateway devices in a resource group.

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