Class Network
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.Network
Network properties of a server.
-
Constructor Summary
Constructors -
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.voidvalidate()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. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.- Returns:
- the delegatedSubnetResourceId value.
-
withDelegatedSubnetResourceId
Set the delegatedSubnetResourceId property: Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.- Parameters:
delegatedSubnetResourceId- the delegatedSubnetResourceId value to set.- Returns:
- the Network object itself.
-
privateDnsZoneArmResourceId
Get the privateDnsZoneArmResourceId property: Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.- Returns:
- the privateDnsZoneArmResourceId value.
-
withPrivateDnsZoneArmResourceId
Set the privateDnsZoneArmResourceId property: Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.- 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.
-