StorageAccountsOperations interface

Interface representing a StorageAccounts operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

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

delete

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

get

Gets a StorageAccount by name.

listByDataBoxEdgeDevice

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

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (deviceName: string, storageAccountName: string, resourceGroupName: string, storageAccount: StorageAccount, options?: StorageAccountsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<StorageAccount>, StorageAccount>>

Property Value

(deviceName: string, storageAccountName: string, resourceGroupName: string, storageAccount: StorageAccount, options?: StorageAccountsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<StorageAccount>, StorageAccount>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (deviceName: string, storageAccountName: string, resourceGroupName: string, options?: StorageAccountsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(deviceName: string, storageAccountName: string, resourceGroupName: string, options?: StorageAccountsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

createOrUpdate

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

createOrUpdate: (deviceName: string, storageAccountName: string, resourceGroupName: string, storageAccount: StorageAccount, options?: StorageAccountsCreateOrUpdateOptionalParams) => PollerLike<OperationState<StorageAccount>, StorageAccount>

Property Value

(deviceName: string, storageAccountName: string, resourceGroupName: string, storageAccount: StorageAccount, options?: StorageAccountsCreateOrUpdateOptionalParams) => PollerLike<OperationState<StorageAccount>, StorageAccount>

delete

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

delete: (deviceName: string, storageAccountName: string, resourceGroupName: string, options?: StorageAccountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(deviceName: string, storageAccountName: string, resourceGroupName: string, options?: StorageAccountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a StorageAccount by name.

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

Property Value

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

listByDataBoxEdgeDevice

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

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

Property Value

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