azure-native.powerbidedicated.AutoScaleVCore
Explore with Pulumi AI
Represents an instance of an auto scale v-core resource. 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 = "AutoScale",
},
Tags =
{
{ "testKey", "testValue" },
},
VcoreName = "testvcore",
});
});
package main
import (
powerbidedicated "github.com/pulumi/pulumi-azure-native-sdk/powerbidedicated"
"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("AutoScale"),
},
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 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(Map.ofEntries(
Map.entry("capacity", 0),
Map.entry("name", "AutoScale"),
Map.entry("tier", "AutoScale")
))
.tags(Map.of("testKey", "testValue"))
.vcoreName("testvcore")
.build());
}
}
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=azure_native.powerbidedicated.AutoScaleVCoreSkuArgs(
capacity=0,
name="AutoScale",
tier="AutoScale",
),
tags={
"testKey": "testValue",
},
vcore_name="testvcore")
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: "AutoScale",
},
tags: {
testKey: "testValue",
},
vcoreName: "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,
system_data: Optional[SystemDataArgs] = 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 =
{
{ "name", "string" },
{ "capacity", 0 },
{ "tier", "string" },
},
CapacityLimit = 0,
CapacityObjectId = "string",
Location = "string",
SystemData =
{
{ "createdAt", "string" },
{ "createdBy", "string" },
{ "createdByType", "string" },
{ "lastModifiedAt", "string" },
{ "lastModifiedBy", "string" },
{ "lastModifiedByType", "string" },
},
Tags =
{
{ "string", "string" },
},
VcoreName = "string",
});
example, err := powerbidedicated.NewAutoScaleVCore(ctx, "autoScaleVCoreResource", &powerbidedicated.AutoScaleVCoreArgs{
ResourceGroupName: "string",
Sku: map[string]interface{}{
"name": "string",
"capacity": 0,
"tier": "string",
},
CapacityLimit: 0,
CapacityObjectId: "string",
Location: "string",
SystemData: map[string]interface{}{
"createdAt": "string",
"createdBy": "string",
"createdByType": "string",
"lastModifiedAt": "string",
"lastModifiedBy": "string",
"lastModifiedByType": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
VcoreName: "string",
})
var autoScaleVCoreResource = new AutoScaleVCore("autoScaleVCoreResource", AutoScaleVCoreArgs.builder()
.resourceGroupName("string")
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.capacityLimit(0)
.capacityObjectId("string")
.location("string")
.systemData(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.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,
system_data={
createdAt: string,
createdBy: string,
createdByType: string,
lastModifiedAt: string,
lastModifiedBy: string,
lastModifiedByType: 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",
systemData: {
createdAt: "string",
createdBy: "string",
createdByType: "string",
lastModifiedAt: "string",
lastModifiedBy: "string",
lastModifiedByType: "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
systemData:
createdAt: string
createdBy: string
createdByType: string
lastModifiedAt: string
lastModifiedBy: string
lastModifiedByType: 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 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.
- 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
- Location of the PowerBI Dedicated resource.
- System
Data Pulumi.Azure Native. Power BIDedicated. Inputs. System Data - Metadata pertaining to creation and last modification of the resource.
- Dictionary<string, string>
- Key-value pairs of additional resource provisioning properties.
- 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 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.
- 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
- Location of the PowerBI Dedicated resource.
- System
Data SystemData Args - Metadata pertaining to creation and last modification of the resource.
- map[string]string
- Key-value pairs of additional resource provisioning properties.
- 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 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.
- 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
- Location of the PowerBI Dedicated resource.
- system
Data SystemData - Metadata pertaining to creation and last modification of the resource.
- Map<String,String>
- Key-value pairs of additional resource provisioning properties.
- 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 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.
- 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
- Location of the PowerBI Dedicated resource.
- system
Data SystemData - Metadata pertaining to creation and last modification of the resource.
- {[key: string]: string}
- Key-value pairs of additional resource provisioning properties.
- 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 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.
- 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
- Location of the PowerBI Dedicated resource.
- system_
data SystemData Args - Metadata pertaining to creation and last modification of the resource.
- Mapping[str, str]
- Key-value pairs of additional resource provisioning properties.
- 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 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.
- 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
- Location of the PowerBI Dedicated resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- Map<String>
- Key-value pairs of additional resource provisioning properties.
- 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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the PowerBI Dedicated resource.
- Provisioning
State string - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- Type string
- The type of the PowerBI Dedicated resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the PowerBI Dedicated resource.
- Provisioning
State string - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- Type string
- The type of the PowerBI Dedicated resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the PowerBI Dedicated resource.
- provisioning
State String - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- type String
- The type of the PowerBI Dedicated resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the PowerBI Dedicated resource.
- provisioning
State string - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- type string
- The type of the PowerBI Dedicated resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the PowerBI Dedicated resource.
- provisioning_
state str - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- type str
- The type of the PowerBI Dedicated resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the PowerBI Dedicated resource.
- provisioning
State String - The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning.
- type String
- The type of the PowerBI Dedicated resource.
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
IdentityType, IdentityTypeArgs
- User
- User
- Application
- Application
- Managed
Identity - ManagedIdentity
- Key
- Key
- Identity
Type User - User
- Identity
Type Application - Application
- Identity
Type Managed Identity - ManagedIdentity
- Identity
Type Key - Key
- User
- User
- Application
- Application
- Managed
Identity - ManagedIdentity
- Key
- Key
- User
- User
- Application
- Application
- Managed
Identity - ManagedIdentity
- Key
- Key
- USER
- User
- APPLICATION
- Application
- MANAGED_IDENTITY
- ManagedIdentity
- KEY
- Key
- "User"
- User
- "Application"
- Application
- "Managed
Identity" - ManagedIdentity
- "Key"
- Key
SystemData, SystemDataArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By string | Pulumi.Type Azure Native. Power BIDedicated. Identity Type - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified string | Pulumi.By Type Azure Native. Power BIDedicated. Identity Type - The type of identity that last modified the resource
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By string | IdentityType Type - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified string | IdentityBy Type Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By String | IdentityType Type - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified String | IdentityBy Type Type - The type of identity that last modified the resource
- created
At string - The timestamp of resource creation (UTC)
- created
By string - An identifier for the identity that created the resource
- created
By string | IdentityType Type - The type of identity that created the resource
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - An identifier for the identity that last modified the resource
- last
Modified string | IdentityBy Type Type - The type of identity that last modified the resource
- created_
at str - The timestamp of resource creation (UTC)
- created_
by str - An identifier for the identity that created the resource
- created_
by_ str | Identitytype Type - The type of identity that created the resource
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - An identifier for the identity that last modified the resource
- last_
modified_ str | Identityby_ type Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By String | "User" | "Application" | "ManagedType Identity" | "Key" - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified String | "User" | "Application" | "ManagedBy Type Identity" | "Key" - The type of identity that last modified the resource
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0