Class LicenseAssignmentState

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

public final class LicenseAssignmentState extends com.azure.core.util.ExpandableStringEnum<LicenseAssignmentState>
Describes the license assignment state (Assigned or NotAssigned).
  • Field Details

    • ASSIGNED

      public static final LicenseAssignmentState ASSIGNED
      Static value Assigned for LicenseAssignmentState.
    • NOT_ASSIGNED

      public static final LicenseAssignmentState NOT_ASSIGNED
      Static value NotAssigned for LicenseAssignmentState.
  • Constructor Details

    • LicenseAssignmentState

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

    • fromString

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

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