Class DedicatedCapacityProperties
java.lang.Object
com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityMutableProperties
com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityProperties
Properties of Dedicated Capacity resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DedicatedCapacityProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: The current deployment state of PowerBI Dedicated resource.state()
Get the state property: The current state of PowerBI Dedicated resource.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.Methods inherited from class com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityMutableProperties
administration, friendlyName, mode, tenantId
-
Constructor Details
-
DedicatedCapacityProperties
public DedicatedCapacityProperties()Creates an instance of DedicatedCapacityProperties class.
-
-
Method Details
-
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
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 classDedicatedCapacityMutableProperties
- Parameters:
administration
- the administration value to set.- Returns:
- the DedicatedCapacityMutableProperties object itself.
-
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).- Overrides:
withMode
in classDedicatedCapacityMutableProperties
- Parameters:
mode
- the mode value to set.- Returns:
- the DedicatedCapacityMutableProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDedicatedCapacityMutableProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-