AutoScaleVCore

class AutoScaleVCore : KotlinCustomResource

Represents an instance of an auto scale v-core resource. Uses Azure REST API version 2021-01-01. In version 1.x of the Azure Native provider, it used API version 2021-01-01.

Example Usage

Create auto scale v-core

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var autoScaleVCore = new AzureNative.PowerBIDedicated.AutoScaleVCore("autoScaleVCore", new()
{
CapacityLimit = 10,
CapacityObjectId = "a28f00bd-5330-4572-88f1-fa883e074785",
Location = "West US",
ResourceGroupName = "TestRG",
Sku = new AzureNative.PowerBIDedicated.Inputs.AutoScaleVCoreSkuArgs
{
Capacity = 0,
Name = "AutoScale",
Tier = AzureNative.PowerBIDedicated.VCoreSkuTier.AutoScale,
},
Tags =
{
{ "testKey", "testValue" },
},
VcoreName = "testvcore",
});
});
package main
import (
powerbidedicated "github.com/pulumi/pulumi-azure-native-sdk/powerbidedicated/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := powerbidedicated.NewAutoScaleVCore(ctx, "autoScaleVCore", &powerbidedicated.AutoScaleVCoreArgs{
CapacityLimit: pulumi.Int(10),
CapacityObjectId: pulumi.String("a28f00bd-5330-4572-88f1-fa883e074785"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("TestRG"),
Sku: &powerbidedicated.AutoScaleVCoreSkuArgs{
Capacity: pulumi.Int(0),
Name: pulumi.String("AutoScale"),
Tier: pulumi.String(powerbidedicated.VCoreSkuTierAutoScale),
},
Tags: pulumi.StringMap{
"testKey": pulumi.String("testValue"),
},
VcoreName: pulumi.String("testvcore"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.powerbidedicated.AutoScaleVCore;
import com.pulumi.azurenative.powerbidedicated.AutoScaleVCoreArgs;
import com.pulumi.azurenative.powerbidedicated.inputs.AutoScaleVCoreSkuArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var autoScaleVCore = new AutoScaleVCore("autoScaleVCore", AutoScaleVCoreArgs.builder()
.capacityLimit(10)
.capacityObjectId("a28f00bd-5330-4572-88f1-fa883e074785")
.location("West US")
.resourceGroupName("TestRG")
.sku(AutoScaleVCoreSkuArgs.builder()
.capacity(0)
.name("AutoScale")
.tier("AutoScale")
.build())
.tags(Map.of("testKey", "testValue"))
.vcoreName("testvcore")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:powerbidedicated:AutoScaleVCore testvcore /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}

Properties

Link copied to clipboard
val capacityLimit: Output<Int>?

The maximum capacity of an auto scale v-core resource.

Link copied to clipboard
val capacityObjectId: Output<String>?

The object ID of the capacity resource associated with the auto scale v-core resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Location of the PowerBI Dedicated resource.

Link copied to clipboard
val name: Output<String>

The name of the PowerBI Dedicated resource.

Link copied to clipboard

The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The SKU of the auto scale v-core resource.

Link copied to clipboard

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value pairs of additional resource provisioning properties.

Link copied to clipboard
val type: Output<String>

The type of the PowerBI Dedicated resource.

Link copied to clipboard
val urn: Output<String>