ApplicationGatewayBackendSettings Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayBackendSettings
- com.
- com.
public final class ApplicationGatewayBackendSettings
extends SubResource
Backend address pool settings of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayBackendSettings() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
hostname()
Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol. |
String |
name()
Get the name property: Name of the backend settings that is unique within an Application Gateway. |
Boolean |
pickHostnameFromBackendAddress()
Get the pick |
Integer |
port()
Get the port property: The destination port on the backend. |
Sub |
probe()
Get the probe property: Probe resource of an application gateway. |
Application |
protocol()
Get the protocol property: The protocol used to communicate with the backend. |
Provisioning |
provisioningState()
Get the provisioning |
Integer |
timeout()
Get the timeout property: Connection timeout in seconds. |
Json |
toJson(JsonWriter jsonWriter) |
List<Sub |
trustedRootCertificates()
Get the trusted |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Application |
withHostname(String hostname)
Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol. |
Application |
withId(String id) |
Application |
withName(String name)
Set the name property: Name of the backend settings that is unique within an Application Gateway. |
Application |
withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress)
Set the pick |
Application |
withPort(Integer port)
Set the port property: The destination port on the backend. |
Application |
withProbe(SubResource probe)
Set the probe property: Probe resource of an application gateway. |
Application |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used to communicate with the backend. |
Application |
withTimeout(Integer timeout)
Set the timeout property: Connection timeout in seconds. |
Application |
withTrustedRootCertificates(List<SubResource> trustedRootCertificates)
Set the trusted |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayBackendSettings
public ApplicationGatewayBackendSettings()
Creates an instance of ApplicationGatewayBackendSettings class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ApplicationGatewayBackendSettings fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayBackendSettings from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol.
Returns:
name
public String name()
Get the name property: Name of the backend settings that is unique within an Application Gateway.
Returns:
pickHostnameFromBackendAddress
public Boolean pickHostnameFromBackendAddress()
Get the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false.
Returns:
port
public Integer port()
Get the port property: The destination port on the backend.
Returns:
probe
public SubResource probe()
Get the probe property: Probe resource of an application gateway.
Returns:
protocol
public ApplicationGatewayProtocol protocol()
Get the protocol property: The protocol used to communicate with the backend.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the backend HTTP settings resource.
Returns:
timeout
public Integer timeout()
Get the timeout property: Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayBackendSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trustedRootCertificates
public List
Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Returns:
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withHostname
public ApplicationGatewayBackendSettings withHostname(String hostname)
Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol.
Parameters:
Returns:
withId
public ApplicationGatewayBackendSettings withId(String id)
Overrides:
ApplicationGatewayBackendSettings.withId(String id)Parameters:
withName
public ApplicationGatewayBackendSettings withName(String name)
Set the name property: Name of the backend settings that is unique within an Application Gateway.
Parameters:
Returns:
withPickHostnameFromBackendAddress
public ApplicationGatewayBackendSettings withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress)
Set the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false.
Parameters:
Returns:
withPort
public ApplicationGatewayBackendSettings withPort(Integer port)
Set the port property: The destination port on the backend.
Parameters:
Returns:
withProbe
public ApplicationGatewayBackendSettings withProbe(SubResource probe)
Set the probe property: Probe resource of an application gateway.
Parameters:
Returns:
withProtocol
public ApplicationGatewayBackendSettings withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used to communicate with the backend.
Parameters:
Returns:
withTimeout
public ApplicationGatewayBackendSettings withTimeout(Integer timeout)
Set the timeout property: Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds.
Parameters:
Returns:
withTrustedRootCertificates
public ApplicationGatewayBackendSettings withTrustedRootCertificates(List
Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Parameters:
Returns:
Applies to
Azure SDK for Java