Dela via


IntegrationServiceEnvironmentManagedApiCollection.CreateOrUpdateAsync 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
  • Default Api Version: 2019-05-01
  • Resource: IntegrationServiceEnvironmentManagedApiResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string apiName, Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, apiName As String, data As IntegrationServiceEnvironmentManagedApiData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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