Auto Scale VCore Args
data class AutoScaleVCoreArgs(val capacityLimit: Output<Int>? = null, val capacityObjectId: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<AutoScaleVCoreSkuArgs>? = null, val systemData: Output<SystemDataArgs>? = null, val tags: Output<Map<String, String>>? = null, val vcoreName: Output<String>? = null) : ConvertibleToJava<AutoScaleVCoreArgs>
Represents an instance of an auto scale v-core resource. Uses Azure REST API version 2021-01-01. In version 2.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",
});
});
Content copied to clipboard
package main
import (
powerbidedicated "github.com/pulumi/pulumi-azure-native-sdk/powerbidedicated/v3"
"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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(capacityLimit: Output<Int>? = null, capacityObjectId: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<AutoScaleVCoreSkuArgs>? = null, systemData: Output<SystemDataArgs>? = null, tags: Output<Map<String, String>>? = null, vcoreName: Output<String>? = null)
Properties
Link copied to clipboard
The maximum capacity of an auto scale v-core resource.
Link copied to clipboard
The object ID of the capacity resource associated with the auto scale v-core resource.
Link copied to clipboard
The 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.
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.