Class ApplicationGatewayBackendAddressPool
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddressPool
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class ApplicationGatewayBackendAddressPool
extends com.azure.core.management.SubResource
Backend Address Pool of an application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayBackendAddressPool class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backendAddresses property: Backend addresses.Get the backendIpConfigurations property: Collection of references to IPs defined in network interfaces.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayBackendAddressPool from the JsonReader.name()Get the name property: Name of the backend address pool that is unique within an Application Gateway.Get the provisioningState property: The provisioning state of the backend address pool resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the resource.voidvalidate()Validates the instance.withBackendAddresses(List<ApplicationGatewayBackendAddress> backendAddresses) Set the backendAddresses property: Backend addresses.Set the name property: Name of the backend address pool that is unique within an Application Gateway.Methods inherited from class com.azure.core.management.SubResource
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApplicationGatewayBackendAddressPool
public ApplicationGatewayBackendAddressPool()Creates an instance of ApplicationGatewayBackendAddressPool class.
-
-
Method Details
-
name
Get the name property: Name of the backend address pool that is unique within an Application Gateway.- Returns:
- the name value.
-
withName
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.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
backendIpConfigurations
Get the backendIpConfigurations property: Collection of references to IPs defined in network interfaces.- Returns:
- the backendIpConfigurations value.
-
backendAddresses
Get the backendAddresses property: Backend addresses.- Returns:
- the backendAddresses value.
-
withBackendAddresses
public ApplicationGatewayBackendAddressPool withBackendAddresses(List<ApplicationGatewayBackendAddress> backendAddresses) Set the backendAddresses property: Backend addresses.- Parameters:
backendAddresses- the backendAddresses value to set.- Returns:
- the ApplicationGatewayBackendAddressPool object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the backend address pool resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.SubResource>- Overrides:
toJsonin classcom.azure.core.management.SubResource- Throws:
IOException
-
fromJson
public static ApplicationGatewayBackendAddressPool fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-