Class DedicatedCapacityInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityInner

public final class DedicatedCapacityInner extends com.azure.core.management.Resource
Represents an instance of a Dedicated Capacity resource.
  • Constructor Details

    • DedicatedCapacityInner

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

    • sku

      public CapacitySku sku()
      Get the sku property: The SKU of the PowerBI Dedicated capacity resource.
      Returns:
      the sku value.
    • withSku

      public DedicatedCapacityInner withSku(CapacitySku sku)
      Set the sku property: The SKU of the PowerBI Dedicated capacity resource.
      Parameters:
      sku - the sku value to set.
      Returns:
      the DedicatedCapacityInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • withSystemData

      public DedicatedCapacityInner withSystemData(com.azure.core.management.SystemData systemData)
      Set the systemData property: Metadata pertaining to creation and last modification of the resource.
      Parameters:
      systemData - the systemData value to set.
      Returns:
      the DedicatedCapacityInner object itself.
    • withLocation

      public DedicatedCapacityInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public DedicatedCapacityInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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.
    • administration

      public DedicatedCapacityAdministrators administration()
      Get the administration property: A collection of Dedicated capacity administrators.
      Returns:
      the administration value.
    • withAdministration

      public DedicatedCapacityInner withAdministration(DedicatedCapacityAdministrators administration)
      Set the administration property: A collection of Dedicated capacity administrators.
      Parameters:
      administration - the administration value to set.
      Returns:
      the DedicatedCapacityInner object itself.
    • mode

      public Mode mode()
      Get 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).
      Returns:
      the mode value.
    • withMode

      public DedicatedCapacityInner 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).
      Parameters:
      mode - the mode value to set.
      Returns:
      the DedicatedCapacityInner object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: Tenant ID for the capacity. Used for creating Pro Plus capacity.
      Returns:
      the tenantId value.
    • friendlyName

      public String friendlyName()
      Get the friendlyName property: Capacity name.
      Returns:
      the friendlyName value.
    • validate

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