Class ComputeRole

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ComputeRole>
com.azure.resourcemanager.azurestack.models.ComputeRole

public final class ComputeRole extends com.azure.core.util.ExpandableStringEnum<ComputeRole>
Compute role type (IaaS or PaaS).
  • Field Details

    • NONE

      public static final ComputeRole NONE
      Static value None for ComputeRole.
    • IAAS

      public static final ComputeRole IAAS
      Static value IaaS for ComputeRole.
    • PAAS

      public static final ComputeRole PAAS
      Static value PaaS for ComputeRole.
  • Constructor Details

    • ComputeRole

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

    • fromString

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

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