Aracılığıyla paylaş


Containers Interface

public interface Containers

Resource collection API of Containers.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new Container resource.

abstract void delete(String deviceName, String storageAccountName, String containerName, String resourceGroupName)

Deletes the container on the Data Box Edge/Data Box Gateway device.

abstract void delete(String deviceName, String storageAccountName, String containerName, String resourceGroupName, Context context)

Deletes the container on the Data Box Edge/Data Box Gateway device.

abstract void deleteById(String id)

Deletes the container on the Data Box Edge/Data Box Gateway device.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes the container on the Data Box Edge/Data Box Gateway device.

abstract Container get(String deviceName, String storageAccountName, String containerName, String resourceGroupName)

Gets a container by name.

abstract Container getById(String id)

Gets a container by name.

abstract Response<Container> getByIdWithResponse(String id, Context context)

Gets a container by name.

abstract Response<Container> getWithResponse(String deviceName, String storageAccountName, String containerName, String resourceGroupName, Context context)

Gets a container by name.

abstract PagedIterable<Container> listByStorageAccount(String deviceName, String storageAccountName, String resourceGroupName)

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

abstract PagedIterable<Container> listByStorageAccount(String deviceName, String storageAccountName, String resourceGroupName, Context context)

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

abstract void refresh(String deviceName, String storageAccountName, String containerName, String resourceGroupName)

Refreshes the container metadata with the data from the cloud.

abstract void refresh(String deviceName, String storageAccountName, String containerName, String resourceGroupName, Context context)

Refreshes the container metadata with the data from the cloud.

Method Details

define

public abstract Container.DefinitionStages.Blank define(String name)

Begins definition for a new Container resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Container definition.

delete

public abstract void delete(String deviceName, String storageAccountName, String containerName, String resourceGroupName)

Deletes the container on the Data Box Edge/Data Box Gateway device.

Parameters:

deviceName - The device name.
storageAccountName - The Storage Account Name.
containerName - The container name.
resourceGroupName - The resource group name.

delete

public abstract void delete(String deviceName, String storageAccountName, String containerName, String resourceGroupName, Context context)

Deletes the container on the Data Box Edge/Data Box Gateway device.

Parameters:

deviceName - The device name.
storageAccountName - The Storage Account Name.
containerName - The container name.
resourceGroupName - The resource group name.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes the container on the Data Box Edge/Data Box Gateway device.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes the container on the Data Box Edge/Data Box Gateway device.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract Container get(String deviceName, String storageAccountName, String containerName, String resourceGroupName)

Gets a container by name.

Parameters:

deviceName - The device name.
storageAccountName - The Storage Account Name.
containerName - The container Name.
resourceGroupName - The resource group name.

Returns:

a container by name.

getById

public abstract Container getById(String id)

Gets a container by name.

Parameters:

id - the resource ID.

Returns:

a container by name along with Response<T>.

getByIdWithResponse

public abstract Response<Container> getByIdWithResponse(String id, Context context)

Gets a container by name.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a container by name along with Response<T>.

getWithResponse

public abstract Response<Container> getWithResponse(String deviceName, String storageAccountName, String containerName, String resourceGroupName, Context context)

Gets a container by name.

Parameters:

deviceName - The device name.
storageAccountName - The Storage Account Name.
containerName - The container Name.
resourceGroupName - The resource group name.
context - The context to associate with this operation.

Returns:

a container by name along with Response<T>.

listByStorageAccount

public abstract PagedIterable<Container> listByStorageAccount(String deviceName, String storageAccountName, String resourceGroupName)

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

Parameters:

deviceName - The device name.
storageAccountName - The storage Account name.
resourceGroupName - The resource group name.

Returns:

collection of all the containers on the Data Box Edge/Gateway device as paginated response with PagedIterable<T>.

listByStorageAccount

public abstract PagedIterable<Container> listByStorageAccount(String deviceName, String storageAccountName, String resourceGroupName, Context context)

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

Parameters:

deviceName - The device name.
storageAccountName - The storage Account name.
resourceGroupName - The resource group name.
context - The context to associate with this operation.

Returns:

collection of all the containers on the Data Box Edge/Gateway device as paginated response with PagedIterable<T>.

refresh

public abstract void refresh(String deviceName, String storageAccountName, String containerName, String resourceGroupName)

Refreshes the container metadata with the data from the cloud.

Parameters:

deviceName - The device name.
storageAccountName - The Storage Account Name.
containerName - The container name.
resourceGroupName - The resource group name.

refresh

public abstract void refresh(String deviceName, String storageAccountName, String containerName, String resourceGroupName, Context context)

Refreshes the container metadata with the data from the cloud.

Parameters:

deviceName - The device name.
storageAccountName - The Storage Account Name.
containerName - The container name.
resourceGroupName - The resource group name.
context - The context to associate with this operation.

Applies to