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

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

    • Network

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

    • publicNetworkAccess

      public EnableStatusEnum publicNetworkAccess()
      Get the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
      Returns:
      the publicNetworkAccess value.
    • delegatedSubnetResourceId

      public String delegatedSubnetResourceId()
      Get the delegatedSubnetResourceId property: Delegated subnet resource id used to setup vnet for a server.
      Returns:
      the delegatedSubnetResourceId value.
    • withDelegatedSubnetResourceId

      public Network withDelegatedSubnetResourceId(String delegatedSubnetResourceId)
      Set the delegatedSubnetResourceId property: Delegated subnet resource id used to setup vnet for a server.
      Parameters:
      delegatedSubnetResourceId - the delegatedSubnetResourceId value to set.
      Returns:
      the Network object itself.
    • privateDnsZoneResourceId

      public String privateDnsZoneResourceId()
      Get the privateDnsZoneResourceId property: Private DNS zone resource id.
      Returns:
      the privateDnsZoneResourceId value.
    • withPrivateDnsZoneResourceId

      public Network withPrivateDnsZoneResourceId(String privateDnsZoneResourceId)
      Set the privateDnsZoneResourceId property: Private DNS zone resource id.
      Parameters:
      privateDnsZoneResourceId - the privateDnsZoneResourceId value to set.
      Returns:
      the Network object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.