Class PrivateAccessVirtualNetwork
- java.lang.Object
-
- com.microsoft.azure.management.appservice.PrivateAccessVirtualNetwork
-
public class PrivateAccessVirtualNetwork extends Object
Description of a Virtual Network that is useable for private site access.
-
-
Constructor Summary
Constructors Constructor Description PrivateAccessVirtualNetwork()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerkey()Get the key (ID) of the Virtual Network.Stringname()Get the name of the Virtual Network.StringresourceId()Get the ARM uri of the Virtual Network.List<PrivateAccessSubnet>subnets()Get a List of subnets that access is allowed to on this Virtual Network.PrivateAccessVirtualNetworkwithKey(Integer key)Set the key (ID) of the Virtual Network.PrivateAccessVirtualNetworkwithName(String name)Set the name of the Virtual Network.PrivateAccessVirtualNetworkwithResourceId(String resourceId)Set the ARM uri of the Virtual Network.PrivateAccessVirtualNetworkwithSubnets(List<PrivateAccessSubnet> subnets)Set a List of subnets that access is allowed to on this Virtual Network.
-
-
-
Method Detail
-
name
public String name()
Get the name of the Virtual Network.- Returns:
- the name value
-
withName
public PrivateAccessVirtualNetwork withName(String name)
Set the name of the Virtual Network.- Parameters:
name- the name value to set- Returns:
- the PrivateAccessVirtualNetwork object itself.
-
key
public Integer key()
Get the key (ID) of the Virtual Network.- Returns:
- the key value
-
withKey
public PrivateAccessVirtualNetwork withKey(Integer key)
Set the key (ID) of the Virtual Network.- Parameters:
key- the key value to set- Returns:
- the PrivateAccessVirtualNetwork object itself.
-
resourceId
public String resourceId()
Get the ARM uri of the Virtual Network.- Returns:
- the resourceId value
-
withResourceId
public PrivateAccessVirtualNetwork withResourceId(String resourceId)
Set the ARM uri of the Virtual Network.- Parameters:
resourceId- the resourceId value to set- Returns:
- the PrivateAccessVirtualNetwork object itself.
-
subnets
public List<PrivateAccessSubnet> subnets()
Get a List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean that all subnets are allowed within this Virtual Network.- Returns:
- the subnets value
-
withSubnets
public PrivateAccessVirtualNetwork withSubnets(List<PrivateAccessSubnet> subnets)
Set a List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean that all subnets are allowed within this Virtual Network.- Parameters:
subnets- the subnets value to set- Returns:
- the PrivateAccessVirtualNetwork object itself.
-
-