共用方式為


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

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