Skip to main content

auto_scale_vcores

Creates, updates, deletes, gets or lists an auto_scale_vcores resource.

Overview

Nameauto_scale_vcores
TypeResource
Idazure.power_bi_dedicated.auto_scale_vcores

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringAn identifier that represents the PowerBI Dedicated resource.
namestringThe name of the PowerBI Dedicated resource.
capacityLimitintegerThe maximum capacity of an auto scale v-core resource.
capacityObjectIdstringThe object ID of the capacity resource associated with the auto scale v-core resource.
locationstringLocation of the PowerBI Dedicated resource. Required.
provisioningStatestringThe current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning. "Succeeded"
skuobjectThe SKU of the auto scale v-core resource. Required.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectKey-value pairs of additional resource provisioning properties.
typestringThe type of the PowerBI Dedicated resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, vcore_name, subscription_idGets details about the specified auto scale v-core.
list_by_resource_groupselectresource_group_name, subscription_idGets all the auto scale v-cores for the given resource group.
list_by_subscriptionselectsubscription_idLists all the auto scale v-cores for the given subscription.
createinsertresource_group_name, vcore_name, subscription_id, location, skuProvisions the specified auto scale v-core based on the configuration specified in the request.
updateupdateresource_group_name, vcore_name, subscription_idUpdates the current state of the specified auto scale v-core.
deletedeleteresource_group_name, vcore_name, subscription_idDeletes the specified auto scale v-core.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resource_group_namestringThe name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. Required.
subscription_idstring
vcore_namestringThe name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63. Required.

SELECT examples

Gets details about the specified auto scale v-core.

SELECT
id,
name,
capacityLimit,
capacityObjectId,
location,
provisioningState,
sku,
systemData,
tags,
type
FROM azure.power_bi_dedicated.auto_scale_vcores
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND vcore_name = '{{ vcore_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Provisions the specified auto scale v-core based on the configuration specified in the request.

INSERT INTO azure.power_bi_dedicated.auto_scale_vcores (
location,
tags,
systemData,
sku,
properties,
resource_group_name,
vcore_name,
subscription_id
)
SELECT
'{{ location }}' /* required */,
'{{ tags }}',
'{{ systemData }}',
'{{ sku }}' /* required */,
'{{ properties }}',
'{{ resource_group_name }}',
'{{ vcore_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
sku,
systemData,
tags,
type
;

UPDATE examples

Updates the current state of the specified auto scale v-core.

UPDATE azure.power_bi_dedicated.auto_scale_vcores
SET
sku = '{{ sku }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND vcore_name = '{{ vcore_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
sku,
systemData,
tags,
type;

DELETE examples

Deletes the specified auto scale v-core.

DELETE FROM azure.power_bi_dedicated.auto_scale_vcores
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND vcore_name = '{{ vcore_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;