public class ApplicationGatewayProbeInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
ApplicationGatewayProbeInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
host()
Get the host property: Host name to send the probe to.
|
Integer |
interval()
Get the interval property: The probing interval in seconds.
|
ApplicationGatewayProbeHealthResponseMatch |
match()
Get the match property: Criterion for classifying a healthy probe response.
|
Integer |
minServers()
Get the minServers property: Minimum number of servers that are always marked healthy.
|
String |
name()
Get the name property: Name of the probe that is unique within an Application Gateway.
|
String |
path()
Get the path property: Relative path of probe.
|
Boolean |
pickHostnameFromBackendHttpSettings()
Get the pickHostnameFromBackendHttpSettings property: Whether the host header should be picked from the backend
http settings.
|
Integer |
port()
Get the port property: Custom port which will be used for probing the backend servers.
|
ApplicationGatewayProtocol |
protocol()
Get the protocol property: The protocol used for the probe.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the probe resource.
|
Integer |
timeout()
Get the timeout property: The probe timeout in seconds.
|
String |
type()
Get the type property: Type of the resource.
|
Integer |
unhealthyThreshold()
Get the unhealthyThreshold property: The probe retry count.
|
void |
validate()
Validates the instance.
|
ApplicationGatewayProbeInner |
withHost(String host)
Set the host property: Host name to send the probe to.
|
ApplicationGatewayProbeInner |
withInterval(Integer interval)
Set the interval property: The probing interval in seconds.
|
ApplicationGatewayProbeInner |
withMatch(ApplicationGatewayProbeHealthResponseMatch match)
Set the match property: Criterion for classifying a healthy probe response.
|
ApplicationGatewayProbeInner |
withMinServers(Integer minServers)
Set the minServers property: Minimum number of servers that are always marked healthy.
|
ApplicationGatewayProbeInner |
withName(String name)
Set the name property: Name of the probe that is unique within an Application Gateway.
|
ApplicationGatewayProbeInner |
withPath(String path)
Set the path property: Relative path of probe.
|
ApplicationGatewayProbeInner |
withPickHostnameFromBackendHttpSettings(Boolean pickHostnameFromBackendHttpSettings)
Set the pickHostnameFromBackendHttpSettings property: Whether the host header should be picked from the backend
http settings.
|
ApplicationGatewayProbeInner |
withPort(Integer port)
Set the port property: Custom port which will be used for probing the backend servers.
|
ApplicationGatewayProbeInner |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used for the probe.
|
ApplicationGatewayProbeInner |
withTimeout(Integer timeout)
Set the timeout property: The probe timeout in seconds.
|
ApplicationGatewayProbeInner |
withUnhealthyThreshold(Integer unhealthyThreshold)
Set the unhealthyThreshold property: The probe retry count.
|
public String name()
public ApplicationGatewayProbeInner withName(String name)
name - the name value to set.public String etag()
public String type()
public ApplicationGatewayProtocol protocol()
public ApplicationGatewayProbeInner withProtocol(ApplicationGatewayProtocol protocol)
protocol - the protocol value to set.public String host()
public ApplicationGatewayProbeInner withHost(String host)
host - the host value to set.public String path()
public ApplicationGatewayProbeInner withPath(String path)
path - the path value to set.public Integer interval()
public ApplicationGatewayProbeInner withInterval(Integer interval)
interval - the interval value to set.public Integer timeout()
public ApplicationGatewayProbeInner withTimeout(Integer timeout)
timeout - the timeout value to set.public Integer unhealthyThreshold()
public ApplicationGatewayProbeInner withUnhealthyThreshold(Integer unhealthyThreshold)
unhealthyThreshold - the unhealthyThreshold value to set.public Boolean pickHostnameFromBackendHttpSettings()
public ApplicationGatewayProbeInner withPickHostnameFromBackendHttpSettings(Boolean pickHostnameFromBackendHttpSettings)
pickHostnameFromBackendHttpSettings - the pickHostnameFromBackendHttpSettings value to set.public Integer minServers()
public ApplicationGatewayProbeInner withMinServers(Integer minServers)
minServers - the minServers value to set.public ApplicationGatewayProbeHealthResponseMatch match()
public ApplicationGatewayProbeInner withMatch(ApplicationGatewayProbeHealthResponseMatch match)
match - the match value to set.public ProvisioningState provisioningState()
public Integer port()
public ApplicationGatewayProbeInner withPort(Integer port)
port - the port value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.