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 Details

    • ApplicationGatewayBackendAddressPool

      public ApplicationGatewayBackendAddressPool()
      Creates an instance of ApplicationGatewayBackendAddressPool class.
  • Method Details

    • 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.
    • 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

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • type

      public String type()
      Get the type property: Type of the resource.
      Returns:
      the type value.
    • withId

      Overrides:
      withId in class com.azure.core.management.SubResource
    • backendIpConfigurations

      public List<NetworkInterfaceIpConfigurationInner> backendIpConfigurations()
      Get the backendIpConfigurations property: Collection of references to IPs defined in network interfaces.
      Returns:
      the backendIpConfigurations value.
    • backendAddresses

      public List<ApplicationGatewayBackendAddress> 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

      public ProvisioningState 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
      Overrides:
      toJson in class com.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.