Share via


IntegrationServiceEnvironmentManagedApiCollection.CreateOrUpdate Method

Definition

Puts the integration service environment managed Api.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis/{apiName}
  • Operation Id: IntegrationServiceEnvironmentManagedApis_Put
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string apiName, Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, apiName As String, data As IntegrationServiceEnvironmentManagedApiData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of IntegrationServiceEnvironmentManagedApiResource)

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.

apiName
String

The api name.

data
IntegrationServiceEnvironmentManagedApiData

The integration service environment managed api.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

apiName or data is null.

Applies to