Sdílet prostřednictvím


LoadBalancingRuleResource.Health(WaitUntil, CancellationToken) Method

Definition

Get health details of a load balancing rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}/health
  • Operation Id: LoadBalancerLoadBalancingRules_Health
  • Default Api Version: 2024-05-01
  • Resource: LoadBalancingRuleResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.LoadBalancerHealthPerRule> Health (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member Health : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.LoadBalancerHealthPerRule>
override this.Health : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.LoadBalancerHealthPerRule>
Public Overridable Function Health (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of LoadBalancerHealthPerRule)

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