Share via


IntegrationAccountCollection.CreateOrUpdateAsync Method

Definition

Creates or updates an integration account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}
  • Operation Id: IntegrationAccounts_CreateOrUpdate
  • Default Api Version: 2019-05-01
  • Resource: IntegrationAccountResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string integrationAccountName, Azure.ResourceManager.Logic.IntegrationAccountData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, integrationAccountName As String, data As IntegrationAccountData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of IntegrationAccountResource))

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.

integrationAccountName
String

The integration account name.

data
IntegrationAccountData

The integration account.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

integrationAccountName or data is null.

Applies to