Class DedicatedCapacityUpdateParameters
java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.DedicatedCapacityUpdateParameters
Provision request specification.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DedicatedCapacityUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administration property: A collection of Dedicated capacity administrators.Get the friendlyName property: Capacity name.mode()
Get the mode property: Specifies the generation of the Power BI Embedded capacity.sku()
Get the sku property: The SKU of the Dedicated capacity resource.tags()
Get the tags property: Key-value pairs of additional provisioning properties.tenantId()
Get the tenantId property: Tenant ID for the capacity.void
validate()
Validates the instance.withAdministration
(DedicatedCapacityAdministrators administration) Set the administration property: A collection of Dedicated capacity administrators.Set the mode property: Specifies the generation of the Power BI Embedded capacity.withSku
(CapacitySku sku) Set the sku property: The SKU of the Dedicated capacity resource.Set the tags property: Key-value pairs of additional provisioning properties.
-
Constructor Details
-
DedicatedCapacityUpdateParameters
public DedicatedCapacityUpdateParameters()Creates an instance of DedicatedCapacityUpdateParameters class.
-
-
Method Details
-
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
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
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
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
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
Get the tenantId property: Tenant ID for the capacity. Used for creating Pro Plus capacity.- Returns:
- the tenantId value.
-
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.
-