ApplicationGateway Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.ApplicationGateway

Implements

public final class ApplicationGateway
implements JsonSerializable<ApplicationGateway>

Application Gateway the CG profile will use to interact with CGs in a backend pool.

Constructor Summary

Constructor Description
ApplicationGateway()

Creates an instance of ApplicationGateway class.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewayBackendAddressPool> backendAddressPools()

Get the backendAddressPools property: List of Application Gateway Backend Address Pools.

static ApplicationGateway fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGateway from the JsonReader.

String resource()

Get the resource property: The Application Gateway ARM resource Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGateway withBackendAddressPools(List<ApplicationGatewayBackendAddressPool> backendAddressPools)

Set the backendAddressPools property: List of Application Gateway Backend Address Pools.

ApplicationGateway withResource(String resource)

Set the resource property: The Application Gateway ARM resource Id.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGateway

public ApplicationGateway()

Creates an instance of ApplicationGateway class.

Method Details

backendAddressPools

public List<ApplicationGatewayBackendAddressPool> backendAddressPools()

Get the backendAddressPools property: List of Application Gateway Backend Address Pools.

Returns:

the backendAddressPools value.

fromJson

public static ApplicationGateway fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGateway from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resource

public String resource()

Get the resource property: The Application Gateway ARM resource Id.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBackendAddressPools

public ApplicationGateway withBackendAddressPools(List<ApplicationGatewayBackendAddressPool> backendAddressPools)

Set the backendAddressPools property: List of Application Gateway Backend Address Pools.

Parameters:

backendAddressPools - the backendAddressPools value to set.

Returns:

the ApplicationGateway object itself.

withResource

public ApplicationGateway withResource(String resource)

Set the resource property: The Application Gateway ARM resource Id.

Parameters:

resource - the resource value to set.

Returns:

the ApplicationGateway object itself.

Applies to