java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.Network

public final class Network extends Object
Network properties of a server.
  • Constructor Details

    • Network

      public Network()
      Creates an instance of Network class.
  • Method Details

    • publicNetworkAccess

      public ServerPublicNetworkAccessState publicNetworkAccess()
      Get the publicNetworkAccess property: public network access is enabled or not.
      Returns:
      the publicNetworkAccess value.
    • delegatedSubnetResourceId

      public String 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

      public Network withDelegatedSubnetResourceId(String delegatedSubnetResourceId)
      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

      public String 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

      public Network withPrivateDnsZoneArmResourceId(String privateDnsZoneArmResourceId)
      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.