Skip to main content

auto_scale_vcores

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

Overview

Nameauto_scale_vcores
TypeResource
Idazure.powerbi_dedicated.auto_scale_vcores

Fields

NameDatatypeDescription
idtextAn identifier that represents the PowerBI Dedicated resource.
nametextThe name of the PowerBI Dedicated resource.
capacity_limittextfield from the properties object
capacity_object_idtextfield from the properties object
locationtextLocation of the PowerBI Dedicated resource.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
skutextRepresents the SKU name and Azure pricing tier for auto scale v-core resource.
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextKey-value pairs of additional resource provisioning properties.
typetextThe type of the PowerBI Dedicated resource.
vcoreNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, vcoreNameGets details about the specified auto scale v-core.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets all the auto scale v-cores for the given resource group.
list_by_subscriptionSELECTsubscriptionIdLists all the auto scale v-cores for the given subscription.
createINSERTresourceGroupName, subscriptionId, vcoreName, data__skuProvisions the specified auto scale v-core based on the configuration specified in the request.
deleteDELETEresourceGroupName, subscriptionId, vcoreNameDeletes the specified auto scale v-core.
updateUPDATEresourceGroupName, subscriptionId, vcoreNameUpdates the current state of the specified auto scale v-core.

SELECT examples

Lists all the auto scale v-cores for the given subscription.

SELECT
id,
name,
capacity_limit,
capacity_object_id,
location,
provisioning_state,
resourceGroupName,
sku,
subscriptionId,
system_data,
tags,
type,
vcoreName
FROM azure.powerbi_dedicated.vw_auto_scale_vcores
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new auto_scale_vcores resource.

/*+ create */
INSERT INTO azure.powerbi_dedicated.auto_scale_vcores (
resourceGroupName,
subscriptionId,
vcoreName,
data__sku,
sku,
properties,
location,
tags,
systemData
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vcoreName }}',
'{{ data__sku }}',
'{{ sku }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ systemData }}'
;

UPDATE example

Updates a auto_scale_vcores resource.

/*+ update */
UPDATE azure.powerbi_dedicated.auto_scale_vcores
SET
sku = '{{ sku }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vcoreName = '{{ vcoreName }}';

DELETE example

Deletes the specified auto_scale_vcores resource.

/*+ delete */
DELETE FROM azure.powerbi_dedicated.auto_scale_vcores
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vcoreName = '{{ vcoreName }}';