Delen via


IStorageAccountsOperations.UpdateWithHttpMessagesAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> UpdateWithHttpMessagesAsync (string resourceGroupName, string accountName, string storageAccountName, Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateStorageAccountParameters parameters = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateStorageAccountParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, storageAccountName As String, Optional parameters As UpdateStorageAccountParameters = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parameters

resourceGroupName
String

The name of the Azure resource group.

accountName
String

The name of the Data Lake Analytics account.

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

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Applies to