DataLakeAnalyticsStorageAccountInformationCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation CreateOrUpdate (Azure.WaitUntil waitUntil, string storageAccountName, Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, storageAccountName As String, content As DataLakeAnalyticsStorageAccountInformationCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As 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