Partager via


ApplicationGatewayBackendHealthOnDemandInner Class

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

Implements

public final class ApplicationGatewayBackendHealthOnDemandInner
implements JsonSerializable<ApplicationGatewayBackendHealthOnDemandInner>

Result of on demand test probe.

Constructor Summary

Constructor Description
ApplicationGatewayBackendHealthOnDemandInner()

Creates an instance of ApplicationGatewayBackendHealthOnDemandInner class.

Method Summary

Modifier and Type Method and Description
ApplicationGatewayBackendAddressPool backendAddressPool()

Get the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.

ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings()

Get the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.

static ApplicationGatewayBackendHealthOnDemandInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendHealthOnDemandInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayBackendHealthOnDemandInner withBackendAddressPool(ApplicationGatewayBackendAddressPool backendAddressPool)

Set the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.

ApplicationGatewayBackendHealthOnDemandInner withBackendHealthHttpSettings(ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings)

Set the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayBackendHealthOnDemandInner

public ApplicationGatewayBackendHealthOnDemandInner()

Creates an instance of ApplicationGatewayBackendHealthOnDemandInner class.

Method Details

backendAddressPool

public ApplicationGatewayBackendAddressPool backendAddressPool()

Get the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.

Returns:

the backendAddressPool value.

backendHealthHttpSettings

public ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings()

Get the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.

Returns:

the backendHealthHttpSettings value.

fromJson

public static ApplicationGatewayBackendHealthOnDemandInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendHealthOnDemandInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBackendAddressPool

public ApplicationGatewayBackendHealthOnDemandInner withBackendAddressPool(ApplicationGatewayBackendAddressPool backendAddressPool)

Set the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.

Parameters:

backendAddressPool - the backendAddressPool value to set.

Returns:

the ApplicationGatewayBackendHealthOnDemandInner object itself.

withBackendHealthHttpSettings

public ApplicationGatewayBackendHealthOnDemandInner withBackendHealthHttpSettings(ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings)

Set the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.

Parameters:

backendHealthHttpSettings - the backendHealthHttpSettings value to set.

Returns:

the ApplicationGatewayBackendHealthOnDemandInner object itself.

Applies to