Share via


StorageAccountsOperationsExtensions.AddAsync Method

Definition

Updates the specified Data Lake Analytics account to add an Azure Storage account.

public static System.Threading.Tasks.Task AddAsync(this Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations operations, string resourceGroupName, string accountName, string storageAccountName, Microsoft.Azure.Management.DataLake.Analytics.Models.AddStorageAccountParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member AddAsync : Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations * string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.AddStorageAccountParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, storageAccountName As String, parameters As AddStorageAccountParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the Azure resource group.

accountName
System.String

The name of the Data Lake Analytics account.

storageAccountName
System.String

The name of the Azure Storage account to add

parameters
AddStorageAccountParameters

The parameters containing the access key and optional suffix for the Azure Storage Account.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to