DataLakeStoreAccountInformationCollection.CreateOrUpdateAsync Method

Definition

Updates the specified Data Lake Analytics account to include the additional Data Lake Store account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}
  • Operation Id: DataLakeStoreAccounts_Add
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string dataLakeStoreAccountName, Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeStoreAccountInformationCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeStoreAccountInformationCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeStoreAccountInformationCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, dataLakeStoreAccountName As String, content As DataLakeStoreAccountInformationCreateOrUpdateContent, 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.

dataLakeStoreAccountName
String

The name of the Data Lake Store account to add.

content
DataLakeStoreAccountInformationCreateOrUpdateContent

The details of the Data Lake Store account.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataLakeStoreAccountName or content is null.

Applies to