Class DedicatedCapacityProperties

java.lang.Object
com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityMutableProperties
com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityProperties

public final class DedicatedCapacityProperties extends DedicatedCapacityMutableProperties
Properties of Dedicated Capacity resource.
  • Constructor Details

    • DedicatedCapacityProperties

      public DedicatedCapacityProperties()
      Creates an instance of DedicatedCapacityProperties class.
  • Method Details

    • state

      public State state()
      Get the state property: The current state of PowerBI Dedicated resource. The state is to indicate more states outside of resource provisioning.
      Returns:
      the state value.
    • provisioningState

      public CapacityProvisioningState provisioningState()
      Get the provisioningState property: The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.
      Returns:
      the provisioningState value.
    • withAdministration

      public DedicatedCapacityProperties withAdministration(DedicatedCapacityAdministrators administration)
      Set the administration property: A collection of Dedicated capacity administrators.
      Overrides:
      withAdministration in class DedicatedCapacityMutableProperties
      Parameters:
      administration - the administration value to set.
      Returns:
      the DedicatedCapacityMutableProperties object itself.
    • withMode

      public DedicatedCapacityProperties withMode(Mode mode)
      Set the mode property: 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).
      Overrides:
      withMode in class DedicatedCapacityMutableProperties
      Parameters:
      mode - the mode value to set.
      Returns:
      the DedicatedCapacityMutableProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DedicatedCapacityMutableProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.