다음을 통해 공유


ApplicationGatewayBackendAddressPool Class

public final class ApplicationGatewayBackendAddressPool
extends SubResource

Backend Address Pool of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayBackendAddressPool()

Creates an instance of ApplicationGatewayBackendAddressPool class.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewayBackendAddress> backendAddresses()

Get the backendAddresses property: Backend addresses.

List<NetworkInterfaceIpConfigurationInner> backendIpConfigurations()

Get the backendIpConfigurations property: Collection of references to IPs defined in network interfaces.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ApplicationGatewayBackendAddressPool fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendAddressPool from the JsonReader.

String name()

Get the name property: Name of the backend address pool that is unique within an Application Gateway.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend address pool resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayBackendAddressPool withBackendAddresses(List<ApplicationGatewayBackendAddress> backendAddresses)

Set the backendAddresses property: Backend addresses.

ApplicationGatewayBackendAddressPool withId(String id)
ApplicationGatewayBackendAddressPool withName(String name)

Set the name property: Name of the backend address pool that is unique within an Application Gateway.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayBackendAddressPool

public ApplicationGatewayBackendAddressPool()

Creates an instance of ApplicationGatewayBackendAddressPool class.

Method Details

backendAddresses

public List backendAddresses()

Get the backendAddresses property: Backend addresses.

Returns:

the backendAddresses value.

backendIpConfigurations

public List backendIpConfigurations()

Get the backendIpConfigurations property: Collection of references to IPs defined in network interfaces.

Returns:

the backendIpConfigurations value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ApplicationGatewayBackendAddressPool fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendAddressPool from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the backend address pool that is unique within an Application Gateway.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend address pool resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayBackendAddressPool.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBackendAddresses

public ApplicationGatewayBackendAddressPool withBackendAddresses(List backendAddresses)

Set the backendAddresses property: Backend addresses.

Parameters:

backendAddresses - the backendAddresses value to set.

Returns:

the ApplicationGatewayBackendAddressPool object itself.

withId

public ApplicationGatewayBackendAddressPool withId(String id)

Overrides:

ApplicationGatewayBackendAddressPool.withId(String id)

Parameters:

id

withName

public ApplicationGatewayBackendAddressPool withName(String name)

Set the name property: Name of the backend address pool that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayBackendAddressPool object itself.

Applies to