Aracılığıyla paylaş


DataLakeAnalyticsStorageAccountInformationCollection.CreateOrUpdateAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}
  • Operation Id: StorageAccounts_Add
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string storageAccountName, Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, storageAccountName As String, content As DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

storageAccountName
String

The name of the Azure Storage account to add.

content
DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

storageAccountName is an empty string, and was expected to be non-empty.

storageAccountName or content is null.

Applies to