다음을 통해 공유


DataBoxEdgeExtensions.GetDataBoxEdgeDevices Method

Definition

Overloads

GetDataBoxEdgeDevices(ResourceGroupResource)

Gets a collection of DataBoxEdgeDeviceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataBoxEdgeDevices() instead.

GetDataBoxEdgeDevices(SubscriptionResource, String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices
  • Operation Id: Devices_ListBySubscription

GetDataBoxEdgeDevices(ResourceGroupResource)

Source:
DataBoxEdgeExtensions.cs
Source:
DataBoxEdgeExtensions.cs

Gets a collection of DataBoxEdgeDeviceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataBoxEdgeDevices() instead.

public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceCollection GetDataBoxEdgeDevices (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDataBoxEdgeDevices : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceCollection
<Extension()>
Public Function GetDataBoxEdgeDevices (resourceGroupResource As ResourceGroupResource) As DataBoxEdgeDeviceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DataBoxEdgeDeviceResources and their operations over a DataBoxEdgeDeviceResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDataBoxEdgeDevices(SubscriptionResource, String, CancellationToken)

Source:
DataBoxEdgeExtensions.cs
Source:
DataBoxEdgeExtensions.cs

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices
  • Operation Id: Devices_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceResource> GetDataBoxEdgeDevices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDataBoxEdgeDevices : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceResource>
<Extension()>
Public Function GetDataBoxEdgeDevices (subscriptionResource As SubscriptionResource, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataBoxEdgeDeviceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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 to use.

Returns

A collection of DataBoxEdgeDeviceResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to