Class LegacyApiState

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

public final class LegacyApiState extends com.azure.core.util.ExpandableStringEnum<LegacyApiState>
Indication whether or not the legacy Configuration API (v1) should be exposed on the API Management service. Value is optional but must be 'Enabled' or 'Disabled'. If 'Disabled', legacy Configuration API (v1) will not be available for self-hosted gateways. Default value is 'Enabled'.
  • Field Details

    • ENABLED

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

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

    • LegacyApiState

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

    • fromString

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

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