Share via


StorageAccountsOperationsExtensions.UpdateAsync Method

Definition

Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.

public static System.Threading.Tasks.Task UpdateAsync(this Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations operations, string resourceGroupName, string accountName, string storageAccountName, Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateStorageAccountParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations * string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateStorageAccountParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, storageAccountName As String, Optional parameters As UpdateStorageAccountParameters = Nothing, 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 Azure Storage account to modify

parameters
UpdateStorageAccountParameters

The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to