public static interface LoadBalancer.DefinitionStages.WithProbe
| Modifier and Type | Method and Description |
|---|---|
HttpProbe.DefinitionStages.Blank<LoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule> |
defineHttpProbe(String name)
Begins the definition of a new HTTP probe to add to the load balancer.
|
TcpProbe.DefinitionStages.Blank<LoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule> |
defineTcpProbe(String name)
Begins the definition of a new TCP probe to add to the load balancer.
|
LoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule |
withHttpProbe(String requestPath)
Adds an HTTP probe checking for an HTTP 200 response from the specified path at regular intervals, using port 80.
|
LoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule |
withTcpProbe(int port)
Adds a TCP probe checking the specified port.
|
LoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule withTcpProbe(int port)
The probe will be named using an automatically generated name.
port - the port number for the probe to monitorLoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule withHttpProbe(String requestPath)
An automatically generated name is assigned to the probe.
requestPath - the path for the probe to invokeTcpProbe.DefinitionStages.Blank<LoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule> defineTcpProbe(String name)
The definition must be completed with a call to Attachable.InDefinition.attach()
name - the name of the probeHttpProbe.DefinitionStages.Blank<LoadBalancer.DefinitionStages.WithProbeOrLoadBalancingRule> defineHttpProbe(String name)
The definition must be completed with a call to Attachable.InDefinition.attach()
name - the name of the probe/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/