Class DedicatedCapacityUpdateParameters

java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.DedicatedCapacityUpdateParameters

public final class DedicatedCapacityUpdateParameters extends Object
Provision request specification.
  • Constructor Details

    • DedicatedCapacityUpdateParameters

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

    • sku

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

      Set the sku property: The SKU of the Dedicated capacity resource.
      Parameters:
      sku - the sku value to set.
      Returns:
      the DedicatedCapacityUpdateParameters object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Key-value pairs of additional provisioning properties.
      Returns:
      the tags value.
    • withTags

      Set the tags property: Key-value pairs of additional provisioning properties.
      Parameters:
      tags - the tags value to set.
      Returns:
      the DedicatedCapacityUpdateParameters object itself.
    • administration

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

      public DedicatedCapacityUpdateParameters withAdministration(DedicatedCapacityAdministrators administration)
      Set the administration property: A collection of Dedicated capacity administrators.
      Parameters:
      administration - the administration value to set.
      Returns:
      the DedicatedCapacityUpdateParameters 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 DedicatedCapacityUpdateParameters 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 DedicatedCapacityUpdateParameters 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.