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
String

The name of the Azure resource group.

accountName
String

The name of the Data Lake Analytics account.

storageAccountName
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
CancellationToken

The cancellation token.

Returns

Applies to