Partager via


ApplicationGatewayBackendHealthServerInner Class

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

Implements

public final class ApplicationGatewayBackendHealthServerInner
implements JsonSerializable<ApplicationGatewayBackendHealthServerInner>

Application gateway backendhealth http settings.

Constructor Summary

Constructor Description
ApplicationGatewayBackendHealthServerInner()

Creates an instance of ApplicationGatewayBackendHealthServerInner class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: IP address or FQDN of backend server.

static ApplicationGatewayBackendHealthServerInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendHealthServerInner from the JsonReader.

ApplicationGatewayBackendHealthServerHealth health()

Get the health property: Health of backend server.

String healthProbeLog()

Get the healthProbeLog property: Health Probe Log.

NetworkInterfaceIpConfigurationInner ipConfiguration()

Get the ipConfiguration property: Reference to IP configuration of backend server.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayBackendHealthServerInner withAddress(String address)

Set the address property: IP address or FQDN of backend server.

ApplicationGatewayBackendHealthServerInner withHealth(ApplicationGatewayBackendHealthServerHealth health)

Set the health property: Health of backend server.

ApplicationGatewayBackendHealthServerInner withHealthProbeLog(String healthProbeLog)

Set the healthProbeLog property: Health Probe Log.

ApplicationGatewayBackendHealthServerInner withIpConfiguration(NetworkInterfaceIpConfigurationInner ipConfiguration)

Set the ipConfiguration property: Reference to IP configuration of backend server.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayBackendHealthServerInner

public ApplicationGatewayBackendHealthServerInner()

Creates an instance of ApplicationGatewayBackendHealthServerInner class.

Method Details

address

public String address()

Get the address property: IP address or FQDN of backend server.

Returns:

the address value.

fromJson

public static ApplicationGatewayBackendHealthServerInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendHealthServerInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayBackendHealthServerInner 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 ApplicationGatewayBackendHealthServerInner.

health

public ApplicationGatewayBackendHealthServerHealth health()

Get the health property: Health of backend server.

Returns:

the health value.

healthProbeLog

public String healthProbeLog()

Get the healthProbeLog property: Health Probe Log.

Returns:

the healthProbeLog value.

ipConfiguration

public NetworkInterfaceIpConfigurationInner ipConfiguration()

Get the ipConfiguration property: Reference to IP configuration of backend server.

Returns:

the ipConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAddress

public ApplicationGatewayBackendHealthServerInner withAddress(String address)

Set the address property: IP address or FQDN of backend server.

Parameters:

address - the address value to set.

Returns:

the ApplicationGatewayBackendHealthServerInner object itself.

withHealth

public ApplicationGatewayBackendHealthServerInner withHealth(ApplicationGatewayBackendHealthServerHealth health)

Set the health property: Health of backend server.

Parameters:

health - the health value to set.

Returns:

the ApplicationGatewayBackendHealthServerInner object itself.

withHealthProbeLog

public ApplicationGatewayBackendHealthServerInner withHealthProbeLog(String healthProbeLog)

Set the healthProbeLog property: Health Probe Log.

Parameters:

healthProbeLog - the healthProbeLog value to set.

Returns:

the ApplicationGatewayBackendHealthServerInner object itself.

withIpConfiguration

public ApplicationGatewayBackendHealthServerInner withIpConfiguration(NetworkInterfaceIpConfigurationInner ipConfiguration)

Set the ipConfiguration property: Reference to IP configuration of backend server.

Parameters:

ipConfiguration - the ipConfiguration value to set.

Returns:

the ApplicationGatewayBackendHealthServerInner object itself.

Applies to