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 Summary
ConstructorDescriptionCreates an instance of DedicatedCapacityInner 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.Get the provisioningState property: The current deployment state of PowerBI Dedicated resource.sku()
Get the sku property: The SKU of the PowerBI Dedicated capacity resource.state()
Get the state property: The current state of PowerBI Dedicated resource.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.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.withLocation
(String location) Set the mode property: Specifies the generation of the Power BI Embedded capacity.withSku
(CapacitySku sku) Set the sku property: The SKU of the PowerBI Dedicated capacity resource.withSystemData
(com.azure.core.management.SystemData systemData) Set the systemData property: Metadata pertaining to creation and last modification of the resource.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DedicatedCapacityInner
public DedicatedCapacityInner()Creates an instance of DedicatedCapacityInner class.
-
-
Method Details
-
sku
Get the sku property: The SKU of the PowerBI Dedicated capacity resource.- Returns:
- the sku value.
-
withSku
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
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
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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.
-
administration
Get the administration property: A collection of Dedicated capacity administrators.- Returns:
- the administration value.
-
withAdministration
Set the administration property: A collection of Dedicated capacity administrators.- Parameters:
administration
- the administration value to set.- Returns:
- the DedicatedCapacityInner 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 DedicatedCapacityInner 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.
-