Sdílet prostřednictvím


BackendOperationsExtensions.ReconnectAsync Method

Definition

Notifies the APIM proxy to create a new connection to the backend after the specified timeout. If no timeout was specified, timeout of 2 minutes is used.

public static System.Threading.Tasks.Task ReconnectAsync (this Microsoft.Azure.Management.ApiManagement.IBackendOperations operations, string resourceGroupName, string serviceName, string backendId, Microsoft.Azure.Management.ApiManagement.Models.BackendReconnectContract parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member ReconnectAsync : Microsoft.Azure.Management.ApiManagement.IBackendOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.BackendReconnectContract * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ReconnectAsync (operations As IBackendOperations, resourceGroupName As String, serviceName As String, backendId As String, Optional parameters As BackendReconnectContract = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IBackendOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

backendId
String

Identifier of the Backend entity. Must be unique in the current API Management service instance.

parameters
BackendReconnectContract

Reconnect request parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to