Share via


StorageAccountsOperationsExtensions.GetAsync Method

Definition

Gets a StorageAccount by name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount> GetAsync (this Microsoft.Azure.Management.DataBoxEdge.IStorageAccountsOperations operations, string deviceName, string storageAccountName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.DataBoxEdge.IStorageAccountsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount>
<Extension()>
Public Function GetAsync (operations As IStorageAccountsOperations, deviceName As String, storageAccountName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccount)

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

deviceName
String

The device name.

storageAccountName
String

The storage account name.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to