Class PublicNetworkAccessEnum

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PublicNetworkAccessEnum>
com.azure.resourcemanager.mariadb.models.PublicNetworkAccessEnum

public final class PublicNetworkAccessEnum extends com.azure.core.util.ExpandableStringEnum<PublicNetworkAccessEnum>
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
  • Field Details

  • Constructor Details

    • PublicNetworkAccessEnum

      @Deprecated public PublicNetworkAccessEnum()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of PublicNetworkAccessEnum value.
  • Method Details

    • fromString

      public static PublicNetworkAccessEnum fromString(String name)
      Creates or finds a PublicNetworkAccessEnum from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding PublicNetworkAccessEnum.
    • values

      public static Collection<PublicNetworkAccessEnum> values()
      Gets known PublicNetworkAccessEnum values.
      Returns:
      known PublicNetworkAccessEnum values.