Skip to main content

auto_scale_vcores

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

Overview

Nameauto_scale_vcores
TypeResource
Idazure.powerbi_dedicated.auto_scale_vcores

Fields

The following fields are returned by SELECT queries:

OK. The operation was successful.

NameDatatypeDescription
idstringAn identifier that represents the PowerBI Dedicated resource.
namestringThe name of the PowerBI Dedicated resource.
locationstringLocation of the PowerBI Dedicated resource.
propertiesobjectProperties of an auto scale v-core resource.
skuobjectThe SKU of the auto scale v-core resource.
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
getselectsubscriptionId, resourceGroupName, vcoreNameGets details about the specified auto scale v-core.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGets all the auto scale v-cores for the given resource group.
list_by_subscriptionselectsubscriptionIdLists all the auto scale v-cores for the given subscription.
createinsertsubscriptionId, resourceGroupName, vcoreName, data__skuProvisions the specified auto scale v-core based on the configuration specified in the request.
updateupdatesubscriptionId, resourceGroupName, vcoreNameUpdates the current state of the specified auto scale v-core.
deletedeletesubscriptionId, resourceGroupName, vcoreNameDeletes 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
resourceGroupNamestringThe 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.
subscriptionIdstringA unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
vcoreNamestringThe name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

SELECT examples

Gets details about the specified auto scale v-core.

SELECT
id,
name,
location,
properties,
sku,
systemData,
tags,
type
FROM azure.powerbi_dedicated.auto_scale_vcores
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vcoreName = '{{ vcoreName }}' -- required
;

INSERT examples

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

INSERT INTO azure.powerbi_dedicated.auto_scale_vcores (
data__sku,
data__properties,
data__location,
data__tags,
data__systemData,
subscriptionId,
resourceGroupName,
vcoreName
)
SELECT
'{{ sku }}' /* required */,
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ systemData }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ vcoreName }}'
RETURNING
id,
name,
location,
properties,
sku,
systemData,
tags,
type
;

UPDATE examples

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

UPDATE azure.powerbi_dedicated.auto_scale_vcores
SET
data__sku = '{{ sku }}',
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND vcoreName = '{{ vcoreName }}' --required
RETURNING
id,
name,
location,
properties,
sku,
systemData,
tags,
type;

DELETE examples

Deletes the specified auto scale v-core.

DELETE FROM azure.powerbi_dedicated.auto_scale_vcores
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND vcoreName = '{{ vcoreName }}' --required
;