Class VirtualNetworkProfile

java.lang.Object
com.azure.resourcemanager.appservice.models.VirtualNetworkProfile

public final class VirtualNetworkProfile extends Object
Specification for using a Virtual Network.
  • Constructor Details

    • VirtualNetworkProfile

      public VirtualNetworkProfile()
  • Method Details

    • id

      public String id()
      Get the id property: Resource id of the Virtual Network.
      Returns:
      the id value.
    • withId

      public VirtualNetworkProfile withId(String id)
      Set the id property: Resource id of the Virtual Network.
      Parameters:
      id - the id value to set.
      Returns:
      the VirtualNetworkProfile object itself.
    • name

      public String name()
      Get the name property: Name of the Virtual Network (read-only).
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type of the Virtual Network (read-only).
      Returns:
      the type value.
    • subnet

      public String subnet()
      Get the subnet property: Subnet within the Virtual Network.
      Returns:
      the subnet value.
    • withSubnet

      public VirtualNetworkProfile withSubnet(String subnet)
      Set the subnet property: Subnet within the Virtual Network.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the VirtualNetworkProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.