Class LocationRestricted

java.lang.Object
com.azure.core.util.ExpandableStringEnum<LocationRestricted>
com.azure.resourcemanager.postgresqlflexibleserver.models.LocationRestricted
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class LocationRestricted extends com.azure.core.util.ExpandableStringEnum<LocationRestricted>
Indicates if this location is restricted. 'Enabled' means location is restricted. 'Disabled' stands for location is not restricted. Will be deprecated in the future. Look to Supported Features for 'Restricted'.
  • Field Details

    • ENABLED

      public static final LocationRestricted ENABLED
      Static value Enabled for LocationRestricted.
    • DISABLED

      public static final LocationRestricted DISABLED
      Static value Disabled for LocationRestricted.
  • Constructor Details

    • LocationRestricted

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

    • fromString

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

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