Class CloudServiceSlotType

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

public final class CloudServiceSlotType extends com.azure.core.util.ExpandableStringEnum<CloudServiceSlotType>
Slot type for the cloud service. Possible values are <br /><br />**Production**<br /><br />**Staging**<br /><br /> If not specified, the default value is Production.
  • Field Details

    • PRODUCTION

      public static final CloudServiceSlotType PRODUCTION
      Static value Production for CloudServiceSlotType.
    • STAGING

      public static final CloudServiceSlotType STAGING
      Static value Staging for CloudServiceSlotType.
  • Constructor Details

    • CloudServiceSlotType

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

    • fromString

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

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