java.lang.Object
com.azure.core.util.ExpandableStringEnum<Mode>
com.azure.resourcemanager.powerbidedicated.models.Mode

public final class Mode extends com.azure.core.util.ExpandableStringEnum<Mode>
Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. [Learn More](https://docs.microsoft.com/power-bi/developer/embedded/power-bi-embedded-generation-2).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Mode
    Static value Gen1 for Mode.
    static final Mode
    Static value Gen2 for Mode.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Mode
    Creates or finds a Mode from its string representation.
    Gets known Mode values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • GEN1

      public static final Mode GEN1
      Static value Gen1 for Mode.
    • GEN2

      public static final Mode GEN2
      Static value Gen2 for Mode.
  • Constructor Details

  • Method Details

    • fromString

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

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