Share via


DataBoxEdgeStorageContainerCollection Class

Definition

A class representing a collection of DataBoxEdgeStorageContainerResource and their operations. Each DataBoxEdgeStorageContainerResource in the collection will belong to the same instance of DataBoxEdgeStorageAccountResource. To get a DataBoxEdgeStorageContainerCollection instance call the GetDataBoxEdgeStorageContainers method from an instance of DataBoxEdgeStorageAccountResource.

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

Constructors

DataBoxEdgeStorageContainerCollection()

Initializes a new instance of the DataBoxEdgeStorageContainerCollection 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, DataBoxEdgeStorageContainerData, CancellationToken)

Creates a new container or updates an existing container on the device.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}
  • Operation Id: Containers_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DataBoxEdgeStorageContainerData, CancellationToken)

Creates a new container or updates an existing container on the device.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a container by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}
  • Operation Id: Containers_Get
GetAll(CancellationToken)

Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers
  • Operation Id: Containers_ListByStorageAccount
GetAllAsync(CancellationToken)

Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.

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

Gets a container by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}
  • Operation Id: Containers_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}/storageAccounts/{storageAccountName}/containers/{containerName}
  • Operation Id: Containers_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}/storageAccounts/{storageAccountName}/containers/{containerName}
  • Operation Id: Containers_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<DataBoxEdgeStorageContainerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataBoxEdgeStorageContainerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to