StorageAccounts interface
Interface representing a StorageAccounts.
Methods
begin |
Creates a new StorageAccount or updates an existing StorageAccount on the device. |
begin |
Creates a new StorageAccount or updates an existing StorageAccount on the device. |
begin |
Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. |
begin |
Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. |
get(string, string, string, Storage |
Gets a StorageAccount by name. |
list |
Lists all the storage accounts 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.
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.
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.
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.
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 storage accounts 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.
The options parameters.