Interface DedicatedCapacity
public interface DedicatedCapacity
An immutable client-side representation of DedicatedCapacity.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the DedicatedCapacity definition.static interface
The DedicatedCapacity definition stages.static interface
The template for DedicatedCapacity update.static interface
The DedicatedCapacity update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the administration property: A collection of Dedicated capacity administrators.Gets the friendlyName property: Capacity name.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityInner object.location()
Gets the location property: The geo-location where the resource lives.mode()
Gets the mode property: Specifies the generation of the Power BI Embedded capacity.name()
Gets the name property: The name of the resource.Gets the provisioningState property: The current deployment state of PowerBI Dedicated resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.void
resume()
Resumes operation of the specified Dedicated capacity instance.void
resume
(com.azure.core.util.Context context) Resumes operation of the specified Dedicated capacity instance.sku()
Gets the sku property: The SKU of the PowerBI Dedicated capacity resource.state()
Gets the state property: The current state of PowerBI Dedicated resource.void
suspend()
Suspends operation of the specified dedicated capacity instance.void
suspend
(com.azure.core.util.Context context) Suspends operation of the specified dedicated capacity instance.com.azure.core.management.SystemData
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.tags()
Gets the tags property: Resource tags.tenantId()
Gets the tenantId property: Tenant ID for the capacity.type()
Gets the type property: The type of the resource.update()
Begins update for the DedicatedCapacity resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
sku
CapacitySku sku()Gets the sku property: The SKU of the PowerBI Dedicated capacity resource.- Returns:
- the sku value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
state
State state()Gets 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
CapacityProvisioningState provisioningState()Gets 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
DedicatedCapacityAdministrators administration()Gets the administration property: A collection of Dedicated capacity administrators.- Returns:
- the administration value.
-
mode
Mode mode()Gets 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.
-
tenantId
String tenantId()Gets the tenantId property: Tenant ID for the capacity. Used for creating Pro Plus capacity.- Returns:
- the tenantId value.
-
friendlyName
String friendlyName()Gets the friendlyName property: Capacity name.- Returns:
- the friendlyName value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
DedicatedCapacityInner innerModel()Gets the inner com.azure.resourcemanager.powerbidedicated.fluent.models.DedicatedCapacityInner object.- Returns:
- the inner object.
-
update
DedicatedCapacity.Update update()Begins update for the DedicatedCapacity resource.- Returns:
- the stage of resource update.
-
refresh
DedicatedCapacity refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
suspend
void suspend()Suspends operation of the specified dedicated capacity instance.- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
suspend
void suspend(com.azure.core.util.Context context) Suspends operation of the specified dedicated capacity instance.- Parameters:
context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
resume
void resume()Resumes operation of the specified Dedicated capacity instance.- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
resume
void resume(com.azure.core.util.Context context) Resumes operation of the specified Dedicated capacity instance.- Parameters:
context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-