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