StorageAccounts interface

Interface representing a StorageAccounts.

Methods

beginCreateOrUpdate(string, string, string, StorageAccount, StorageAccountsCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, StorageAccount, StorageAccountsCreateOrUpdateOptionalParams)

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

beginDelete(string, string, string, StorageAccountsDeleteOptionalParams)

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

beginDeleteAndWait(string, string, string, StorageAccountsDeleteOptionalParams)

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

get(string, string, string, StorageAccountsGetOptionalParams)

Gets a StorageAccount by name.

listByDataBoxEdgeDevice(string, string, StorageAccountsListByDataBoxEdgeDeviceOptionalParams)

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

Method Details

beginCreateOrUpdate(string, string, string, StorageAccount, StorageAccountsCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(deviceName: string, storageAccountName: string, resourceGroupName: string, storageAccount: StorageAccount, options?: StorageAccountsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageAccount>, StorageAccount>>

Parameters

deviceName

string

The device name.

storageAccountName

string

The StorageAccount name.

resourceGroupName

string

The resource group name.

storageAccount
StorageAccount

The StorageAccount properties.

options
StorageAccountsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<StorageAccount>, StorageAccount>>

beginCreateOrUpdateAndWait(string, string, string, StorageAccount, StorageAccountsCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(deviceName: string, storageAccountName: string, resourceGroupName: string, storageAccount: StorageAccount, options?: StorageAccountsCreateOrUpdateOptionalParams): Promise<StorageAccount>

Parameters

deviceName

string

The device name.

storageAccountName

string

The StorageAccount name.

resourceGroupName

string

The resource group name.

storageAccount
StorageAccount

The StorageAccount properties.

options
StorageAccountsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<StorageAccount>

beginDelete(string, string, string, StorageAccountsDeleteOptionalParams)

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

function beginDelete(deviceName: string, storageAccountName: string, resourceGroupName: string, options?: StorageAccountsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

deviceName

string

The device name.

storageAccountName

string

The StorageAccount name.

resourceGroupName

string

The resource group name.

options
StorageAccountsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, StorageAccountsDeleteOptionalParams)

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

function beginDeleteAndWait(deviceName: string, storageAccountName: string, resourceGroupName: string, options?: StorageAccountsDeleteOptionalParams): Promise<void>

Parameters

deviceName

string

The device name.

storageAccountName

string

The StorageAccount name.

resourceGroupName

string

The resource group name.

options
StorageAccountsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, StorageAccountsGetOptionalParams)

Gets a StorageAccount by name.

function get(deviceName: string, storageAccountName: string, resourceGroupName: string, options?: StorageAccountsGetOptionalParams): Promise<StorageAccount>

Parameters

deviceName

string

The device name.

storageAccountName

string

The storage account name.

resourceGroupName

string

The resource group name.

options
StorageAccountsGetOptionalParams

The options parameters.

Returns

Promise<StorageAccount>

listByDataBoxEdgeDevice(string, string, StorageAccountsListByDataBoxEdgeDeviceOptionalParams)

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

function listByDataBoxEdgeDevice(deviceName: string, resourceGroupName: string, options?: StorageAccountsListByDataBoxEdgeDeviceOptionalParams): PagedAsyncIterableIterator<StorageAccount, StorageAccount[], PageSettings>

Parameters

deviceName

string

The device name.

resourceGroupName

string

The resource group name.

Returns