Share via


ApiGatewayConfigConnectionCollection.CreateOrUpdate Method

Definition

Creates or updates an API Management gateway config connection. This is long running operation and could take several minutes to complete.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/gateways/{gatewayName}/configConnections/{configConnectionName}
  • Operation Id: ApiGatewayConfigConnection_CreateOrUpdate
  • Default Api Version: 2024-05-01
  • Resource: ApiGatewayConfigConnectionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string configConnectionName, Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, configConnectionName As String, data As ApiGatewayConfigConnectionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ApiGatewayConfigConnectionResource)

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.

configConnectionName
String

The name of the API Management gateway config connection.

data
ApiGatewayConfigConnectionData

Parameters supplied to the CreateOrUpdate API Management gateway config connection operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

configConnectionName or data is null.

Applies to