Class PrivateAccessVirtualNetwork
java.lang.Object
com.microsoft.azure.management.appservice.PrivateAccessVirtualNetwork
Description of a Virtual Network that is useable for private site access.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkey()
Get the key (ID) of the Virtual Network.name()
Get the name of the Virtual Network.Get the ARM uri of the Virtual Network.subnets()
Get a List of subnets that access is allowed to on this Virtual Network.Set the key (ID) of the Virtual Network.Set the name of the Virtual Network.withResourceId
(String resourceId) Set the ARM uri of the Virtual Network.withSubnets
(List<PrivateAccessSubnet> subnets) Set a List of subnets that access is allowed to on this Virtual Network.
-
Constructor Details
-
PrivateAccessVirtualNetwork
public PrivateAccessVirtualNetwork()
-
-
Method Details
-
name
Get the name of the Virtual Network.- Returns:
- the name value
-
withName
Set the name of the Virtual Network.- Parameters:
name
- the name value to set- Returns:
- the PrivateAccessVirtualNetwork object itself.
-
key
Get the key (ID) of the Virtual Network.- Returns:
- the key value
-
withKey
Set the key (ID) of the Virtual Network.- Parameters:
key
- the key value to set- Returns:
- the PrivateAccessVirtualNetwork object itself.
-
resourceId
Get the ARM uri of the Virtual Network.- Returns:
- the resourceId value
-
withResourceId
Set the ARM uri of the Virtual Network.- Parameters:
resourceId
- the resourceId value to set- Returns:
- the PrivateAccessVirtualNetwork object itself.
-
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
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.
-