azure-native.powerbidedicated.AutoScaleVCore
Explore with Pulumi AI
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",
});
});
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
})
}
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 * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const autoScaleVCore = new azure_native.powerbidedicated.AutoScaleVCore("autoScaleVCore", {
capacityLimit: 10,
capacityObjectId: "a28f00bd-5330-4572-88f1-fa883e074785",
location: "West US",
resourceGroupName: "TestRG",
sku: {
capacity: 0,
name: "AutoScale",
tier: azure_native.powerbidedicated.VCoreSkuTier.AutoScale,
},
tags: {
testKey: "testValue",
},
vcoreName: "testvcore",
});
import pulumi
import pulumi_azure_native as azure_native
auto_scale_v_core = azure_native.powerbidedicated.AutoScaleVCore("autoScaleVCore",
capacity_limit=10,
capacity_object_id="a28f00bd-5330-4572-88f1-fa883e074785",
location="West US",
resource_group_name="TestRG",
sku={
"capacity": 0,
"name": "AutoScale",
"tier": azure_native.powerbidedicated.VCoreSkuTier.AUTO_SCALE,
},
tags={
"testKey": "testValue",
},
vcore_name="testvcore")
resources:
autoScaleVCore:
type: azure-native:powerbidedicated:AutoScaleVCore
properties:
capacityLimit: 10
capacityObjectId: a28f00bd-5330-4572-88f1-fa883e074785
location: West US
resourceGroupName: TestRG
sku:
capacity: 0
name: AutoScale
tier: AutoScale
tags:
testKey: testValue
vcoreName: testvcore
Create AutoScaleVCore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutoScaleVCore(name: string, args: AutoScaleVCoreArgs, opts?: CustomResourceOptions);
@overload
def AutoScaleVCore(resource_name: str,
args: AutoScaleVCoreArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AutoScaleVCore(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[AutoScaleVCoreSkuArgs] = None,
capacity_limit: Optional[int] = None,
capacity_object_id: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vcore_name: Optional[str] = None)
func NewAutoScaleVCore(ctx *Context, name string, args AutoScaleVCoreArgs, opts ...ResourceOption) (*AutoScaleVCore, error)
public AutoScaleVCore(string name, AutoScaleVCoreArgs args, CustomResourceOptions? opts = null)
public AutoScaleVCore(String name, AutoScaleVCoreArgs args)
public AutoScaleVCore(String name, AutoScaleVCoreArgs args, CustomResourceOptions options)
type: azure-native:powerbidedicated:AutoScaleVCore
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutoScaleVCoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutoScaleVCoreArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutoScaleVCoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutoScaleVCoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutoScaleVCoreArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var autoScaleVCoreResource = new AzureNative.PowerBIDedicated.AutoScaleVCore("autoScaleVCoreResource", new()
{
ResourceGroupName = "string",
Sku = new AzureNative.PowerBIDedicated.Inputs.AutoScaleVCoreSkuArgs
{
Name = "string",
Capacity = 0,
Tier = "string",
},
CapacityLimit = 0,
CapacityObjectId = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
VcoreName = "string",
});
example, err := powerbidedicated.NewAutoScaleVCore(ctx, "autoScaleVCoreResource", &powerbidedicated.AutoScaleVCoreArgs{
ResourceGroupName: pulumi.String("string"),
Sku: &powerbidedicated.AutoScaleVCoreSkuArgs{
Name: pulumi.String("string"),
Capacity: pulumi.Int(0),
Tier: pulumi.String("string"),
},
CapacityLimit: pulumi.Int(0),
CapacityObjectId: pulumi.String("string"),
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VcoreName: pulumi.String("string"),
})
var autoScaleVCoreResource = new AutoScaleVCore("autoScaleVCoreResource", AutoScaleVCoreArgs.builder()
.resourceGroupName("string")
.sku(AutoScaleVCoreSkuArgs.builder()
.name("string")
.capacity(0)
.tier("string")
.build())
.capacityLimit(0)
.capacityObjectId("string")
.location("string")
.tags(Map.of("string", "string"))
.vcoreName("string")
.build());
auto_scale_v_core_resource = azure_native.powerbidedicated.AutoScaleVCore("autoScaleVCoreResource",
resource_group_name="string",
sku={
"name": "string",
"capacity": 0,
"tier": "string",
},
capacity_limit=0,
capacity_object_id="string",
location="string",
tags={
"string": "string",
},
vcore_name="string")
const autoScaleVCoreResource = new azure_native.powerbidedicated.AutoScaleVCore("autoScaleVCoreResource", {
resourceGroupName: "string",
sku: {
name: "string",
capacity: 0,
tier: "string",
},
capacityLimit: 0,
capacityObjectId: "string",
location: "string",
tags: {
string: "string",
},
vcoreName: "string",
});
type: azure-native:powerbidedicated:AutoScaleVCore
properties:
capacityLimit: 0
capacityObjectId: string
location: string
resourceGroupName: string
sku:
capacity: 0
name: string
tier: string
tags:
string: string
vcoreName: string
AutoScaleVCore Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AutoScaleVCore resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sku
Pulumi.
Azure Native. Power BIDedicated. Inputs. Auto Scale VCore Sku - The SKU of the auto scale v-core resource.
- Capacity
Limit int - The maximum capacity of an auto scale v-core resource.
- Capacity
Object stringId - The object ID of the capacity resource associated with the auto scale v-core resource.
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Vcore
Name string - The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sku
Auto
Scale VCore Sku Args - The SKU of the auto scale v-core resource.
- Capacity
Limit int - The maximum capacity of an auto scale v-core resource.
- Capacity
Object stringId - The object ID of the capacity resource associated with the auto scale v-core resource.
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- Vcore
Name string - The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sku
Auto
Scale VCore Sku - The SKU of the auto scale v-core resource.
- capacity
Limit Integer - The maximum capacity of an auto scale v-core resource.
- capacity
Object StringId - The object ID of the capacity resource associated with the auto scale v-core resource.
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- vcore
Name String - The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- sku
Auto
Scale VCore Sku - The SKU of the auto scale v-core resource.
- capacity
Limit number - The maximum capacity of an auto scale v-core resource.
- capacity
Object stringId - The object ID of the capacity resource associated with the auto scale v-core resource.
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- vcore
Name string - The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- sku
Auto
Scale VCore Sku Args - The SKU of the auto scale v-core resource.
- capacity_
limit int - The maximum capacity of an auto scale v-core resource.
- capacity_
object_ strid - The object ID of the capacity resource associated with the auto scale v-core resource.
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- vcore_
name str - The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sku Property Map
- The SKU of the auto scale v-core resource.
- capacity
Limit Number - The maximum capacity of an auto scale v-core resource.
- capacity
Object StringId - The object ID of the capacity resource associated with the auto scale v-core resource.
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
- vcore
Name String - The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
Outputs
All input properties are implicitly available as output properties. Additionally, the AutoScaleVCore resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- System
Data Pulumi.Azure Native. Power BIDedicated. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AutoScaleVCoreSku, AutoScaleVCoreSkuArgs
- Name string
- Name of the SKU level.
- Capacity int
- The capacity of an auto scale v-core resource.
- Tier
string | Pulumi.
Azure Native. Power BIDedicated. VCore Sku Tier - The name of the Azure pricing tier to which the SKU applies.
- Name string
- Name of the SKU level.
- Capacity int
- The capacity of an auto scale v-core resource.
- Tier
string | VCore
Sku Tier - The name of the Azure pricing tier to which the SKU applies.
- name String
- Name of the SKU level.
- capacity Integer
- The capacity of an auto scale v-core resource.
- tier
String | VCore
Sku Tier - The name of the Azure pricing tier to which the SKU applies.
- name string
- Name of the SKU level.
- capacity number
- The capacity of an auto scale v-core resource.
- tier
string | VCore
Sku Tier - The name of the Azure pricing tier to which the SKU applies.
- name str
- Name of the SKU level.
- capacity int
- The capacity of an auto scale v-core resource.
- tier
str | VCore
Sku Tier - The name of the Azure pricing tier to which the SKU applies.
- name String
- Name of the SKU level.
- capacity Number
- The capacity of an auto scale v-core resource.
- tier
String | "Auto
Scale" - The name of the Azure pricing tier to which the SKU applies.
AutoScaleVCoreSkuResponse, AutoScaleVCoreSkuResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VCoreSkuTier, VCoreSkuTierArgs
- Auto
Scale - AutoScale
- VCore
Sku Tier Auto Scale - AutoScale
- Auto
Scale - AutoScale
- Auto
Scale - AutoScale
- AUTO_SCALE
- AutoScale
- "Auto
Scale" - AutoScale
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0