共用方式為


StorageAccountCredentials interface

Interface representing a StorageAccountCredentials.

Methods

beginCreateOrUpdate(string, string, string, StorageAccountCredential, StorageAccountCredentialsCreateOrUpdateOptionalParams)

Creates or updates the storage account credential.

beginCreateOrUpdateAndWait(string, string, string, StorageAccountCredential, StorageAccountCredentialsCreateOrUpdateOptionalParams)

Creates or updates the storage account credential.

beginDelete(string, string, string, StorageAccountCredentialsDeleteOptionalParams)

Deletes the storage account credential.

beginDeleteAndWait(string, string, string, StorageAccountCredentialsDeleteOptionalParams)

Deletes the storage account credential.

get(string, string, string, StorageAccountCredentialsGetOptionalParams)

Gets the properties of the specified storage account credential.

listByDataBoxEdgeDevice(string, string, StorageAccountCredentialsListByDataBoxEdgeDeviceOptionalParams)

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.

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.

Returns

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.

options
StorageAccountCredentialsDeleteOptionalParams

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.

options
StorageAccountCredentialsDeleteOptionalParams

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.

options
StorageAccountCredentialsGetOptionalParams

The options parameters.

Returns

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.

Returns