Class VirtualNetworkProfile
java.lang.Object
com.azure.resourcemanager.appservice.models.VirtualNetworkProfile
Specification for using a Virtual Network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: Resource id of the Virtual Network.name()Get the name property: Name of the Virtual Network (read-only).subnet()Get the subnet property: Subnet within the Virtual Network.type()Get the type property: Resource type of the Virtual Network (read-only).voidvalidate()Validates the instance.Set the id property: Resource id of the Virtual Network.withSubnet(String subnet) Set the subnet property: Subnet within the Virtual Network.
-
Constructor Details
-
VirtualNetworkProfile
public VirtualNetworkProfile()Creates an instance of VirtualNetworkProfile class.
-
-
Method Details
-
id
Get the id property: Resource id of the Virtual Network.- Returns:
- the id value.
-
withId
Set the id property: Resource id of the Virtual Network.- Parameters:
id- the id value to set.- Returns:
- the VirtualNetworkProfile object itself.
-
name
Get the name property: Name of the Virtual Network (read-only).- Returns:
- the name value.
-
type
Get the type property: Resource type of the Virtual Network (read-only).- Returns:
- the type value.
-
subnet
Get the subnet property: Subnet within the Virtual Network.- Returns:
- the subnet value.
-
withSubnet
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.
-