Dela via


P2SVpnGatewayResource.GetP2SVpnConnectionHealth Method

Definition

Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth
  • Operation Id: P2sVpnGateways_GetP2sVpnConnectionHealth
  • Default Api Version: 2023-09-01
  • Resource: P2SVpnGatewayResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.P2SVpnGatewayResource> GetP2SVpnConnectionHealth (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member GetP2SVpnConnectionHealth : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.P2SVpnGatewayResource>
override this.GetP2SVpnConnectionHealth : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.P2SVpnGatewayResource>
Public Overridable Function GetP2SVpnConnectionHealth (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of P2SVpnGatewayResource)

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.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to