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>
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final LegacyApiStateStatic value Disabled for LegacyApiState.static final LegacyApiStateStatic value Enabled for LegacyApiState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LegacyApiStatefromString(String name) Creates or finds a LegacyApiState from its string representation.static Collection<LegacyApiState> values()Gets known LegacyApiState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for LegacyApiState. -
DISABLED
Static value Disabled for LegacyApiState.
-
-
Constructor Details
-
LegacyApiState
Deprecated.Use thefromString(String)factory method.Creates a new instance of LegacyApiState value.
-
-
Method Details
-
fromString
Creates or finds a LegacyApiState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LegacyApiState.
-
values
Gets known LegacyApiState values.- Returns:
- known LegacyApiState values.
-
fromString(String)factory method.