PrivateAccessVirtualNetwork Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. PrivateAccessVirtualNetwork
- com.
public final class PrivateAccessVirtualNetwork
Description of a Virtual Network that is useable for private site access.
Constructor Summary
Constructor | Description |
---|---|
PrivateAccessVirtualNetwork() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
key()
Get the key property: The key (ID) of the Virtual Network. |
String |
name()
Get the name property: The name of the Virtual Network. |
String |
resourceId()
Get the resource |
List<Private |
subnets()
Get the subnets property: A List of subnets that access is allowed to on this Virtual Network. |
void |
validate()
Validates the instance. |
Private |
withKey(Integer key)
Set the key property: The key (ID) of the Virtual Network. |
Private |
withName(String name)
Set the name property: The name of the Virtual Network. |
Private |
withResourceId(String resourceId)
Set the resource |
Private |
withSubnets(List<PrivateAccessSubnet> subnets)
Set the subnets property: A List of subnets that access is allowed to on this Virtual Network. |
Methods inherited from java.lang.Object
Constructor Details
PrivateAccessVirtualNetwork
public PrivateAccessVirtualNetwork()
Creates an instance of PrivateAccessVirtualNetwork class.
Method Details
key
public Integer key()
Get the key property: The key (ID) of the Virtual Network.
Returns:
name
public String name()
Get the name property: The name of the Virtual Network.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The ARM uri of the Virtual Network.
Returns:
subnets
public List
Get the subnets property: 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:
validate
public void validate()
Validates the instance.
withKey
public PrivateAccessVirtualNetwork withKey(Integer key)
Set the key property: The key (ID) of the Virtual Network.
Parameters:
Returns:
withName
public PrivateAccessVirtualNetwork withName(String name)
Set the name property: The name of the Virtual Network.
Parameters:
Returns:
withResourceId
public PrivateAccessVirtualNetwork withResourceId(String resourceId)
Set the resourceId property: The ARM uri of the Virtual Network.
Parameters:
Returns:
withSubnets
public PrivateAccessVirtualNetwork withSubnets(List
Set the subnets property: 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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for