public final class Network extends Object
| Constructor and Description |
|---|
Network() |
| Modifier and Type | Method and Description |
|---|---|
String |
delegatedSubnetResourceId()
Get the delegatedSubnetResourceId property: delegated subnet arm resource id.
|
String |
privateDnsZoneArmResourceId()
Get the privateDnsZoneArmResourceId property: private dns zone arm resource id.
|
ServerPublicNetworkAccessState |
publicNetworkAccess()
Get the publicNetworkAccess property: public network access is enabled or not.
|
void |
validate()
Validates the instance.
|
Network |
withDelegatedSubnetResourceId(String delegatedSubnetResourceId)
Set the delegatedSubnetResourceId property: delegated subnet arm resource id.
|
Network |
withPrivateDnsZoneArmResourceId(String privateDnsZoneArmResourceId)
Set the privateDnsZoneArmResourceId property: private dns zone arm resource id.
|
public ServerPublicNetworkAccessState publicNetworkAccess()
public String delegatedSubnetResourceId()
public Network withDelegatedSubnetResourceId(String delegatedSubnetResourceId)
delegatedSubnetResourceId - the delegatedSubnetResourceId value to set.public String privateDnsZoneArmResourceId()
public Network withPrivateDnsZoneArmResourceId(String privateDnsZoneArmResourceId)
privateDnsZoneArmResourceId - the privateDnsZoneArmResourceId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.