Class DedicatedCapacityMutableProperties
java.lang.Object
com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityMutableProperties
- Direct Known Subclasses:
DedicatedCapacityProperties
An object that represents a set of mutable Dedicated capacity resource properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DedicatedCapacityMutableProperties 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.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.
-
Constructor Details
-
DedicatedCapacityMutableProperties
public DedicatedCapacityMutableProperties()Creates an instance of DedicatedCapacityMutableProperties class.
-
-
Method Details
-
administration
Get the administration property: A collection of Dedicated capacity administrators.- Returns:
- the administration value.
-
withAdministration
public DedicatedCapacityMutableProperties withAdministration(DedicatedCapacityAdministrators administration) Set the administration property: A collection of Dedicated capacity administrators.- Parameters:
administration
- the administration value to set.- Returns:
- the DedicatedCapacityMutableProperties 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 DedicatedCapacityMutableProperties 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.
-