Class NatGatewayState

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

public final class NatGatewayState extends com.azure.core.util.ExpandableStringEnum<NatGatewayState>
Property can be used to enable NAT Gateway for this API Management service.
  • Field Details

    • ENABLED

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

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

    • NatGatewayState

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

    • fromString

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

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