StorageAccountCredentials interface
Interface representing a StorageAccountCredentials.
Methods
begin |
Creates or updates the storage account credential. |
begin |
Creates or updates the storage account credential. |
begin |
Deletes the storage account credential. |
begin |
Deletes the storage account credential. |
get(string, string, string, Storage |
Gets the properties of the specified storage account credential. |
list |
Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. |
Method Details
beginCreateOrUpdate(string, string, string, StorageAccountCredential, StorageAccountCredentialsCreateOrUpdateOptionalParams)
Creates or updates the storage account credential.
function beginCreateOrUpdate(deviceName: string, name: string, resourceGroupName: string, storageAccountCredential: StorageAccountCredential, options?: StorageAccountCredentialsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountCredential>, StorageAccountCredential>>
Parameters
- deviceName
-
string
The device name.
- name
-
string
The storage account credential name.
- resourceGroupName
-
string
The resource group name.
- storageAccountCredential
- StorageAccountCredential
The storage account credential.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<StorageAccountCredential>, StorageAccountCredential>>
beginCreateOrUpdateAndWait(string, string, string, StorageAccountCredential, StorageAccountCredentialsCreateOrUpdateOptionalParams)
Creates or updates the storage account credential.
function beginCreateOrUpdateAndWait(deviceName: string, name: string, resourceGroupName: string, storageAccountCredential: StorageAccountCredential, options?: StorageAccountCredentialsCreateOrUpdateOptionalParams): Promise<StorageAccountCredential>
Parameters
- deviceName
-
string
The device name.
- name
-
string
The storage account credential name.
- resourceGroupName
-
string
The resource group name.
- storageAccountCredential
- StorageAccountCredential
The storage account credential.
The options parameters.
Returns
Promise<StorageAccountCredential>
beginDelete(string, string, string, StorageAccountCredentialsDeleteOptionalParams)
Deletes the storage account credential.
function beginDelete(deviceName: string, name: string, resourceGroupName: string, options?: StorageAccountCredentialsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- deviceName
-
string
The device name.
- name
-
string
The storage account credential name.
- resourceGroupName
-
string
The resource group name.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, StorageAccountCredentialsDeleteOptionalParams)
Deletes the storage account credential.
function beginDeleteAndWait(deviceName: string, name: string, resourceGroupName: string, options?: StorageAccountCredentialsDeleteOptionalParams): Promise<void>
Parameters
- deviceName
-
string
The device name.
- name
-
string
The storage account credential name.
- resourceGroupName
-
string
The resource group name.
The options parameters.
Returns
Promise<void>
get(string, string, string, StorageAccountCredentialsGetOptionalParams)
Gets the properties of the specified storage account credential.
function get(deviceName: string, name: string, resourceGroupName: string, options?: StorageAccountCredentialsGetOptionalParams): Promise<StorageAccountCredential>
Parameters
- deviceName
-
string
The device name.
- name
-
string
The storage account credential name.
- resourceGroupName
-
string
The resource group name.
The options parameters.
Returns
Promise<StorageAccountCredential>
listByDataBoxEdgeDevice(string, string, StorageAccountCredentialsListByDataBoxEdgeDeviceOptionalParams)
Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.
function listByDataBoxEdgeDevice(deviceName: string, resourceGroupName: string, options?: StorageAccountCredentialsListByDataBoxEdgeDeviceOptionalParams): PagedAsyncIterableIterator<StorageAccountCredential, StorageAccountCredential[], PageSettings>
Parameters
- deviceName
-
string
The device name.
- resourceGroupName
-
string
The resource group name.
The options parameters.