ApplicationGatewayBackendSettingsPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ApplicationGatewayBackendSettingsPropertiesFormat

Implements

public final class ApplicationGatewayBackendSettingsPropertiesFormat
implements JsonSerializable<ApplicationGatewayBackendSettingsPropertiesFormat>

Properties of Backend address pool settings of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayBackendSettingsPropertiesFormat()

Creates an instance of ApplicationGatewayBackendSettingsPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
Boolean enableL4ClientIpPreservation()

Get the enableL4ClientIpPreservation property: Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols.

static ApplicationGatewayBackendSettingsPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendSettingsPropertiesFormat from the JsonReader.

String hostname()

Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol.

Boolean pickHostnameFromBackendAddress()

Get the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol.

Integer port()

Get the port property: The destination port on the backend.

SubResource probe()

Get the probe property: Probe resource of an application gateway.

ApplicationGatewayProtocol protocol()

Get the protocol property: The protocol used to communicate with the backend.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend HTTP settings resource.

Integer timeout()

Get the timeout property: Connection timeout in seconds.

JsonWriter toJson(JsonWriter jsonWriter)
List<SubResource> trustedRootCertificates()

Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

void validate()

Validates the instance.

ApplicationGatewayBackendSettingsPropertiesFormat withEnableL4ClientIpPreservation(Boolean enableL4ClientIpPreservation)

Set the enableL4ClientIpPreservation property: Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols.

ApplicationGatewayBackendSettingsPropertiesFormat withHostname(String hostname)

Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol.

ApplicationGatewayBackendSettingsPropertiesFormat withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress)

Set the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol.

ApplicationGatewayBackendSettingsPropertiesFormat withPort(Integer port)

Set the port property: The destination port on the backend.

ApplicationGatewayBackendSettingsPropertiesFormat withProbe(SubResource probe)

Set the probe property: Probe resource of an application gateway.

ApplicationGatewayBackendSettingsPropertiesFormat withProtocol(ApplicationGatewayProtocol protocol)

Set the protocol property: The protocol used to communicate with the backend.

ApplicationGatewayBackendSettingsPropertiesFormat withTimeout(Integer timeout)

Set the timeout property: Connection timeout in seconds.

ApplicationGatewayBackendSettingsPropertiesFormat withTrustedRootCertificates(List<SubResource> trustedRootCertificates)

Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayBackendSettingsPropertiesFormat

public ApplicationGatewayBackendSettingsPropertiesFormat()

Creates an instance of ApplicationGatewayBackendSettingsPropertiesFormat class.

Method Details

enableL4ClientIpPreservation

public Boolean enableL4ClientIpPreservation()

Get the enableL4ClientIpPreservation property: Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols. Default value is false.

Returns:

the enableL4ClientIpPreservation value.

fromJson

public static ApplicationGatewayBackendSettingsPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendSettingsPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayBackendSettingsPropertiesFormat if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ApplicationGatewayBackendSettingsPropertiesFormat.

hostname

public String hostname()

Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol.

Returns:

the hostname value.

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:

the pickHostnameFromBackendAddress value.

port

public Integer port()

Get the port property: The destination port on the backend.

Returns:

the port value.

probe

public SubResource probe()

Get the probe property: Probe resource of an application gateway.

Returns:

the probe value.

protocol

public ApplicationGatewayProtocol protocol()

Get the protocol property: The protocol used to communicate with the backend.

Returns:

the protocol value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend HTTP settings resource.

Returns:

the provisioningState value.

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:

the timeout value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trustedRootCertificates

public List<SubResource> trustedRootCertificates()

Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

Returns:

the trustedRootCertificates value.

validate

public void validate()

Validates the instance.

withEnableL4ClientIpPreservation

public ApplicationGatewayBackendSettingsPropertiesFormat withEnableL4ClientIpPreservation(Boolean enableL4ClientIpPreservation)

Set the enableL4ClientIpPreservation property: Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols. Default value is false.

Parameters:

enableL4ClientIpPreservation - the enableL4ClientIpPreservation value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

withHostname

public ApplicationGatewayBackendSettingsPropertiesFormat withHostname(String hostname)

Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol.

Parameters:

hostname - the hostname value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

withPickHostnameFromBackendAddress

public ApplicationGatewayBackendSettingsPropertiesFormat 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:

pickHostnameFromBackendAddress - the pickHostnameFromBackendAddress value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

withPort

public ApplicationGatewayBackendSettingsPropertiesFormat withPort(Integer port)

Set the port property: The destination port on the backend.

Parameters:

port - the port value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

withProbe

public ApplicationGatewayBackendSettingsPropertiesFormat withProbe(SubResource probe)

Set the probe property: Probe resource of an application gateway.

Parameters:

probe - the probe value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

withProtocol

public ApplicationGatewayBackendSettingsPropertiesFormat withProtocol(ApplicationGatewayProtocol protocol)

Set the protocol property: The protocol used to communicate with the backend.

Parameters:

protocol - the protocol value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

withTimeout

public ApplicationGatewayBackendSettingsPropertiesFormat 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:

timeout - the timeout value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

withTrustedRootCertificates

public ApplicationGatewayBackendSettingsPropertiesFormat withTrustedRootCertificates(List<SubResource> trustedRootCertificates)

Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

Parameters:

trustedRootCertificates - the trustedRootCertificates value to set.

Returns:

the ApplicationGatewayBackendSettingsPropertiesFormat object itself.

Applies to