Dela via


DataBoxEdgeDeviceResource.GetDataBoxEdgeStorageAccountCredentialAsync Method

Definition

Gets the properties of the specified storage account credential.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}
  • Operation Id: StorageAccountCredentials_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageAccountCredentialResource>> GetDataBoxEdgeStorageAccountCredentialAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataBoxEdgeStorageAccountCredentialAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageAccountCredentialResource>>
override this.GetDataBoxEdgeStorageAccountCredentialAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageAccountCredentialResource>>
Public Overridable Function GetDataBoxEdgeStorageAccountCredentialAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataBoxEdgeStorageAccountCredentialResource))

Parameters

name
String

The storage account credential name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Applies to