Class Network
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.Network
Network properties of a server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the delegatedSubnetResourceId property: delegated subnet arm resource id.Get the privateDnsZoneArmResourceId property: private dns zone arm resource id.Get the publicNetworkAccess property: public network access is enabled or not.void
validate()
Validates the instance.withDelegatedSubnetResourceId
(String delegatedSubnetResourceId) Set the delegatedSubnetResourceId property: delegated subnet arm resource id.withPrivateDnsZoneArmResourceId
(String privateDnsZoneArmResourceId) Set the privateDnsZoneArmResourceId property: private dns zone arm resource id.
-
Constructor Details
-
Network
public Network()Creates an instance of Network class.
-
-
Method Details
-
publicNetworkAccess
Get the publicNetworkAccess property: public network access is enabled or not.- Returns:
- the publicNetworkAccess value.
-
delegatedSubnetResourceId
Get the delegatedSubnetResourceId property: delegated subnet arm resource id.- Returns:
- the delegatedSubnetResourceId value.
-
withDelegatedSubnetResourceId
Set the delegatedSubnetResourceId property: delegated subnet arm resource id.- Parameters:
delegatedSubnetResourceId
- the delegatedSubnetResourceId value to set.- Returns:
- the Network object itself.
-
privateDnsZoneArmResourceId
Get the privateDnsZoneArmResourceId property: private dns zone arm resource id.- Returns:
- the privateDnsZoneArmResourceId value.
-
withPrivateDnsZoneArmResourceId
Set the privateDnsZoneArmResourceId property: private dns zone arm resource id.- Parameters:
privateDnsZoneArmResourceId
- the privateDnsZoneArmResourceId value to set.- Returns:
- the Network object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-