Share via


ApiGatewayConfigConnectionResource.UpdateAsync 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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiGatewayConfigConnectionResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ApiGatewayConfigConnectionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

data
ApiGatewayConfigConnectionData

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to