DataBoxEdgeDeviceCollection Class

Definition

A class representing a collection of DataBoxEdgeDeviceResource and their operations. Each DataBoxEdgeDeviceResource in the collection will belong to the same instance of ResourceGroupResource. To get a DataBoxEdgeDeviceCollection instance call the GetDataBoxEdgeDevices method from an instance of ResourceGroupResource.

public class DataBoxEdgeDeviceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceResource>
type DataBoxEdgeDeviceCollection = class
    inherit ArmCollection
    interface seq<DataBoxEdgeDeviceResource>
    interface IEnumerable
    interface IAsyncEnumerable<DataBoxEdgeDeviceResource>
Public Class DataBoxEdgeDeviceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DataBoxEdgeDeviceResource), IEnumerable(Of DataBoxEdgeDeviceResource)
Inheritance
DataBoxEdgeDeviceCollection
Implements

Constructors

DataBoxEdgeDeviceCollection()

Initializes a new instance of the DataBoxEdgeDeviceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, DataBoxEdgeDeviceData, CancellationToken)

Creates or updates a Data Box Edge/Data Box Gateway resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DataBoxEdgeDeviceData, CancellationToken)

Creates or updates a Data Box Edge/Data Box Gateway resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_Get
Get(String, CancellationToken)

Gets the properties of the Data Box Edge/Data Box Gateway device.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_Get
GetAll(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices
  • Operation Id: Devices_ListByResourceGroup
GetAllAsync(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices
  • Operation Id: Devices_ListByResourceGroup
GetAsync(String, CancellationToken)

Gets the properties of the Data Box Edge/Data Box Gateway device.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
  • Operation Id: Devices_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DataBoxEdgeDeviceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataBoxEdgeDeviceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to