DedicatedCapacityUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.powerbidedicated.models.DedicatedCapacityUpdateParameters

public final class DedicatedCapacityUpdateParameters

Provision request specification.

Constructor Summary

Constructor Description
DedicatedCapacityUpdateParameters()

Creates an instance of DedicatedCapacityUpdateParameters class.

Method Summary

Modifier and Type Method and Description
DedicatedCapacityAdministrators administration()

Get the administration property: A collection of Dedicated capacity administrators.

String friendlyName()

Get the friendlyName property: Capacity name.

Mode mode()

Get the mode property: Specifies the generation of the Power BI Embedded capacity.

CapacitySku sku()

Get the sku property: The SKU of the Dedicated capacity resource.

Map<String,String> tags()

Get the tags property: Key-value pairs of additional provisioning properties.

String tenantId()

Get the tenantId property: Tenant ID for the capacity.

void validate()

Validates the instance.

DedicatedCapacityUpdateParameters withAdministration(DedicatedCapacityAdministrators administration)

Set the administration property: A collection of Dedicated capacity administrators.

DedicatedCapacityUpdateParameters withMode(Mode mode)

Set the mode property: Specifies the generation of the Power BI Embedded capacity.

DedicatedCapacityUpdateParameters withSku(CapacitySku sku)

Set the sku property: The SKU of the Dedicated capacity resource.

DedicatedCapacityUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Key-value pairs of additional provisioning properties.

Methods inherited from java.lang.Object

Constructor Details

DedicatedCapacityUpdateParameters

public DedicatedCapacityUpdateParameters()

Creates an instance of DedicatedCapacityUpdateParameters class.

Method Details

administration

public DedicatedCapacityAdministrators administration()

Get the administration property: A collection of Dedicated capacity administrators.

Returns:

the administration value.

friendlyName

public String friendlyName()

Get the friendlyName property: Capacity name.

Returns:

the friendlyName value.

mode

public Mode 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.

sku

public CapacitySku sku()

Get the sku property: The SKU of the Dedicated capacity resource.

Returns:

the sku value.

tags

public Map tags()

Get the tags property: Key-value pairs of additional provisioning properties.

Returns:

the tags value.

tenantId

public String tenantId()

Get the tenantId property: Tenant ID for the capacity. Used for creating Pro Plus capacity.

Returns:

the tenantId value.

validate

public void validate()

Validates the instance.

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.

withMode

public DedicatedCapacityUpdateParameters withMode(Mode mode)

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.

withSku

public DedicatedCapacityUpdateParameters withSku(CapacitySku sku)

Set the sku property: The SKU of the Dedicated capacity resource.

Parameters:

sku - the sku value to set.

Returns:

the DedicatedCapacityUpdateParameters object itself.

withTags

public DedicatedCapacityUpdateParameters withTags(Map tags)

Set the tags property: Key-value pairs of additional provisioning properties.

Parameters:

tags - the tags value to set.

Returns:

the DedicatedCapacityUpdateParameters object itself.

Applies to