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

Name Description
DataBoxEdgeDeviceCollection()

Initializes a new instance of DataBoxEdgeDeviceCollection for mocking.

Properties

Name Description
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

Name Description
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. : DataBoxEdgeDevices_CreateOrUpdate.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_CreateOrUpdate.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_Get.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_Get.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_Get.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_ListByResourceGroup.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_ListByResourceGroup.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_Get.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_Get.
  • Default Api Version. : 2023-12-01.
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. : DataBoxEdgeDevices_Get.
  • Default Api Version. : 2023-12-01.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
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.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to