Share via


IntegrationServiceEnvironmentCollection.CreateOrUpdateAsync Method

Definition

Creates or updates an integration service environment.

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

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.

integrationServiceEnvironmentName
String

The integration service environment name.

data
IntegrationServiceEnvironmentData

The integration service environment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

integrationServiceEnvironmentName or data is null.

Applies to