public class ProbeInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
ProbeInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
Integer |
intervalInSeconds()
Get the intervalInSeconds property: The interval, in seconds, for how frequently to probe the endpoint for health
status.
|
List<com.azure.core.management.SubResource> |
loadBalancingRules()
Get the loadBalancingRules property: The load balancer rules that use this probe.
|
String |
name()
Get the name property: The name of the resource that is unique within the set of probes used by the load
balancer.
|
Integer |
numberOfProbes()
Get the numberOfProbes property: The number of probes where if no response, will result in stopping further
traffic from being delivered to the endpoint.
|
Integer |
port()
Get the port property: The port for communicating the probe.
|
ProbeProtocol |
protocol()
Get the protocol property: The protocol of the end point.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the probe resource.
|
String |
requestPath()
Get the requestPath property: The URI used for requesting health status from the VM.
|
String |
type()
Get the type property: Type of the resource.
|
void |
validate()
Validates the instance.
|
ProbeInner |
withIntervalInSeconds(Integer intervalInSeconds)
Set the intervalInSeconds property: The interval, in seconds, for how frequently to probe the endpoint for health
status.
|
ProbeInner |
withName(String name)
Set the name property: The name of the resource that is unique within the set of probes used by the load
balancer.
|
ProbeInner |
withNumberOfProbes(Integer numberOfProbes)
Set the numberOfProbes property: The number of probes where if no response, will result in stopping further
traffic from being delivered to the endpoint.
|
ProbeInner |
withPort(Integer port)
Set the port property: The port for communicating the probe.
|
ProbeInner |
withProtocol(ProbeProtocol protocol)
Set the protocol property: The protocol of the end point.
|
ProbeInner |
withRequestPath(String requestPath)
Set the requestPath property: The URI used for requesting health status from the VM.
|
public String name()
public ProbeInner withName(String name)
name - the name value to set.public String etag()
public String type()
public List<com.azure.core.management.SubResource> loadBalancingRules()
public ProbeProtocol protocol()
public ProbeInner withProtocol(ProbeProtocol protocol)
protocol - the protocol value to set.public Integer port()
public ProbeInner withPort(Integer port)
port - the port value to set.public Integer intervalInSeconds()
public ProbeInner withIntervalInSeconds(Integer intervalInSeconds)
intervalInSeconds - the intervalInSeconds value to set.public Integer numberOfProbes()
public ProbeInner withNumberOfProbes(Integer numberOfProbes)
numberOfProbes - the numberOfProbes value to set.public String requestPath()
public ProbeInner withRequestPath(String requestPath)
requestPath - the requestPath value to set.public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.