Aracılığıyla paylaş


StorageAccounts Interface

public interface StorageAccounts

Resource collection API of StorageAccounts.

Method Summary

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

Begins definition for a new StorageAccount resource.

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

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

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

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

abstract void deleteById(String id)

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

abstract void deleteByIdWithResponse(String id, Context context)

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

abstract StorageAccount get(String deviceName, String storageAccountName, String resourceGroupName)

Gets a StorageAccount by name.

abstract StorageAccount getById(String id)

Gets a StorageAccount by name.

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

Gets a StorageAccount by name.

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

Gets a StorageAccount by name.

abstract PagedIterable<StorageAccount> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)

Lists all the storage accounts in a Data Box Edge/Data Box Gateway device.

abstract PagedIterable<StorageAccount> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, Context context)

Lists all the storage accounts in a Data Box Edge/Data Box Gateway device.

Method Details

define

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

Begins definition for a new StorageAccount resource.

Parameters:

name - resource name.

Returns:

the first stage of the new StorageAccount definition.

delete

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

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

Parameters:

deviceName - The device name.
storageAccountName - The StorageAccount name.
resourceGroupName - The resource group name.

delete

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

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

Parameters:

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

deleteById

public abstract void deleteById(String id)

Deletes the StorageAccount 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 StorageAccount 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 StorageAccount get(String deviceName, String storageAccountName, String resourceGroupName)

Gets a StorageAccount by name.

Parameters:

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

Returns:

a StorageAccount by name.

getById

public abstract StorageAccount getById(String id)

Gets a StorageAccount by name.

Parameters:

id - the resource ID.

Returns:

a StorageAccount by name along with Response<T>.

getByIdWithResponse

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

Gets a StorageAccount by name.

Parameters:

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

Returns:

a StorageAccount by name along with Response<T>.

getWithResponse

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

Gets a StorageAccount by name.

Parameters:

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

Returns:

a StorageAccount by name along with Response<T>.

listByDataBoxEdgeDevice

public abstract PagedIterable<StorageAccount> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)

Lists all the storage accounts in a Data Box Edge/Data Box Gateway device.

Parameters:

deviceName - The device name.
resourceGroupName - The resource group name.

Returns:

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

listByDataBoxEdgeDevice

public abstract PagedIterable<StorageAccount> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, Context context)

Lists all the storage accounts in a Data Box Edge/Data Box Gateway device.

Parameters:

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

Returns:

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

Applies to