alicloud.StarRocksInstance
Explore with Pulumi AI
Provides a Star Rocks Instance resource.
StarRocks resource instance.
For information about Star Rocks Instance and how to use it, see What is Instance.
NOTE: Available since v1.256.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.resourcemanager.getResourceGroups({});
const defaultB21JUD = new alicloud.vpc.Network("defaultB21JUD", {cidrBlock: "172.16.0.0/12"});
const default106DkE = new alicloud.vpc.Switch("default106DkE", {
vpcId: defaultB21JUD.id,
cidrBlock: "172.16.1.0/24",
vswitchName: "sr-example",
zoneId: "cn-hangzhou-i",
});
const defaultStarRocksInstance = new alicloud.StarRocksInstance("default", {
instanceName: "create-instance-1",
autoRenew: false,
frontendNodeGroups: [{
cu: 8,
storageSize: 100,
residentNodeNumber: 3,
storagePerformanceLevel: "pl1",
specType: "standard",
diskNumber: 1,
zoneId: "cn-hangzhou-i",
localStorageInstanceType: "null",
}],
vswitches: [{
vswitchId: default106DkE.id,
zoneId: "cn-hangzhou-i",
}],
backendNodeGroups: [{
cu: 8,
storageSize: 100,
residentNodeNumber: 3,
diskNumber: 1,
storagePerformanceLevel: "pl1",
specType: "standard",
zoneId: "cn-hangzhou-i",
localStorageInstanceType: "null",
}],
clusterZoneId: "cn-hangzhou-i",
duration: 1,
payType: "postPaid",
vpcId: defaultB21JUD.id,
version: "3.3",
runMode: "shared_data",
packageType: "official",
adminPassword: "1qaz@QAZ",
ossAccessingRoleName: "AliyunEMRStarRocksAccessingOSSRole",
pricingCycle: "Month",
kmsKeyId: "123",
promotionOptionNo: "123",
encrypted: false,
observerNodeGroups: [{
cu: 8,
storageSize: 100,
storagePerformanceLevel: "pl1",
diskNumber: 1,
residentNodeNumber: 1,
specType: "standard",
localStorageInstanceType: "null",
zoneId: "cn-hangzhou-h",
}],
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.resourcemanager.get_resource_groups()
default_b21_jud = alicloud.vpc.Network("defaultB21JUD", cidr_block="172.16.0.0/12")
default106_dk_e = alicloud.vpc.Switch("default106DkE",
vpc_id=default_b21_jud.id,
cidr_block="172.16.1.0/24",
vswitch_name="sr-example",
zone_id="cn-hangzhou-i")
default_star_rocks_instance = alicloud.StarRocksInstance("default",
instance_name="create-instance-1",
auto_renew=False,
frontend_node_groups=[{
"cu": 8,
"storage_size": 100,
"resident_node_number": 3,
"storage_performance_level": "pl1",
"spec_type": "standard",
"disk_number": 1,
"zone_id": "cn-hangzhou-i",
"local_storage_instance_type": "null",
}],
vswitches=[{
"vswitch_id": default106_dk_e.id,
"zone_id": "cn-hangzhou-i",
}],
backend_node_groups=[{
"cu": 8,
"storage_size": 100,
"resident_node_number": 3,
"disk_number": 1,
"storage_performance_level": "pl1",
"spec_type": "standard",
"zone_id": "cn-hangzhou-i",
"local_storage_instance_type": "null",
}],
cluster_zone_id="cn-hangzhou-i",
duration=1,
pay_type="postPaid",
vpc_id=default_b21_jud.id,
version="3.3",
run_mode="shared_data",
package_type="official",
admin_password="1qaz@QAZ",
oss_accessing_role_name="AliyunEMRStarRocksAccessingOSSRole",
pricing_cycle="Month",
kms_key_id="123",
promotion_option_no="123",
encrypted=False,
observer_node_groups=[{
"cu": 8,
"storage_size": 100,
"storage_performance_level": "pl1",
"disk_number": 1,
"resident_node_number": 1,
"spec_type": "standard",
"local_storage_instance_type": "null",
"zone_id": "cn-hangzhou-h",
}])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
if err != nil {
return err
}
defaultB21JUD, err := vpc.NewNetwork(ctx, "defaultB21JUD", &vpc.NetworkArgs{
CidrBlock: pulumi.String("172.16.0.0/12"),
})
if err != nil {
return err
}
default106DkE, err := vpc.NewSwitch(ctx, "default106DkE", &vpc.SwitchArgs{
VpcId: defaultB21JUD.ID(),
CidrBlock: pulumi.String("172.16.1.0/24"),
VswitchName: pulumi.String("sr-example"),
ZoneId: pulumi.String("cn-hangzhou-i"),
})
if err != nil {
return err
}
_, err = alicloud.NewStarRocksInstance(ctx, "default", &alicloud.StarRocksInstanceArgs{
InstanceName: pulumi.String("create-instance-1"),
AutoRenew: pulumi.Bool(false),
FrontendNodeGroups: alicloud.StarRocksInstanceFrontendNodeGroupArray{
&alicloud.StarRocksInstanceFrontendNodeGroupArgs{
Cu: pulumi.Int(8),
StorageSize: pulumi.Int(100),
ResidentNodeNumber: pulumi.Int(3),
StoragePerformanceLevel: pulumi.String("pl1"),
SpecType: pulumi.String("standard"),
DiskNumber: pulumi.Int(1),
ZoneId: pulumi.String("cn-hangzhou-i"),
LocalStorageInstanceType: pulumi.String("null"),
},
},
Vswitches: alicloud.StarRocksInstanceVswitchArray{
&alicloud.StarRocksInstanceVswitchArgs{
VswitchId: default106DkE.ID(),
ZoneId: pulumi.String("cn-hangzhou-i"),
},
},
BackendNodeGroups: alicloud.StarRocksInstanceBackendNodeGroupArray{
&alicloud.StarRocksInstanceBackendNodeGroupArgs{
Cu: pulumi.Int(8),
StorageSize: pulumi.Int(100),
ResidentNodeNumber: pulumi.Int(3),
DiskNumber: pulumi.Int(1),
StoragePerformanceLevel: pulumi.String("pl1"),
SpecType: pulumi.String("standard"),
ZoneId: pulumi.String("cn-hangzhou-i"),
LocalStorageInstanceType: pulumi.String("null"),
},
},
ClusterZoneId: pulumi.String("cn-hangzhou-i"),
Duration: pulumi.Int(1),
PayType: pulumi.String("postPaid"),
VpcId: defaultB21JUD.ID(),
Version: pulumi.String("3.3"),
RunMode: pulumi.String("shared_data"),
PackageType: pulumi.String("official"),
AdminPassword: pulumi.String("1qaz@QAZ"),
OssAccessingRoleName: pulumi.String("AliyunEMRStarRocksAccessingOSSRole"),
PricingCycle: pulumi.String("Month"),
KmsKeyId: pulumi.String("123"),
PromotionOptionNo: pulumi.String("123"),
Encrypted: pulumi.Bool(false),
ObserverNodeGroups: alicloud.StarRocksInstanceObserverNodeGroupArray{
&alicloud.StarRocksInstanceObserverNodeGroupArgs{
Cu: pulumi.Int(8),
StorageSize: pulumi.Int(100),
StoragePerformanceLevel: pulumi.String("pl1"),
DiskNumber: pulumi.Int(1),
ResidentNodeNumber: pulumi.Int(1),
SpecType: pulumi.String("standard"),
LocalStorageInstanceType: pulumi.String("null"),
ZoneId: pulumi.String("cn-hangzhou-h"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
var defaultB21JUD = new AliCloud.Vpc.Network("defaultB21JUD", new()
{
CidrBlock = "172.16.0.0/12",
});
var default106DkE = new AliCloud.Vpc.Switch("default106DkE", new()
{
VpcId = defaultB21JUD.Id,
CidrBlock = "172.16.1.0/24",
VswitchName = "sr-example",
ZoneId = "cn-hangzhou-i",
});
var defaultStarRocksInstance = new AliCloud.StarRocksInstance("default", new()
{
InstanceName = "create-instance-1",
AutoRenew = false,
FrontendNodeGroups = new[]
{
new AliCloud.Inputs.StarRocksInstanceFrontendNodeGroupArgs
{
Cu = 8,
StorageSize = 100,
ResidentNodeNumber = 3,
StoragePerformanceLevel = "pl1",
SpecType = "standard",
DiskNumber = 1,
ZoneId = "cn-hangzhou-i",
LocalStorageInstanceType = "null",
},
},
Vswitches = new[]
{
new AliCloud.Inputs.StarRocksInstanceVswitchArgs
{
VswitchId = default106DkE.Id,
ZoneId = "cn-hangzhou-i",
},
},
BackendNodeGroups = new[]
{
new AliCloud.Inputs.StarRocksInstanceBackendNodeGroupArgs
{
Cu = 8,
StorageSize = 100,
ResidentNodeNumber = 3,
DiskNumber = 1,
StoragePerformanceLevel = "pl1",
SpecType = "standard",
ZoneId = "cn-hangzhou-i",
LocalStorageInstanceType = "null",
},
},
ClusterZoneId = "cn-hangzhou-i",
Duration = 1,
PayType = "postPaid",
VpcId = defaultB21JUD.Id,
Version = "3.3",
RunMode = "shared_data",
PackageType = "official",
AdminPassword = "1qaz@QAZ",
OssAccessingRoleName = "AliyunEMRStarRocksAccessingOSSRole",
PricingCycle = "Month",
KmsKeyId = "123",
PromotionOptionNo = "123",
Encrypted = false,
ObserverNodeGroups = new[]
{
new AliCloud.Inputs.StarRocksInstanceObserverNodeGroupArgs
{
Cu = 8,
StorageSize = 100,
StoragePerformanceLevel = "pl1",
DiskNumber = 1,
ResidentNodeNumber = 1,
SpecType = "standard",
LocalStorageInstanceType = "null",
ZoneId = "cn-hangzhou-h",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.StarRocksInstance;
import com.pulumi.alicloud.StarRocksInstanceArgs;
import com.pulumi.alicloud.inputs.StarRocksInstanceFrontendNodeGroupArgs;
import com.pulumi.alicloud.inputs.StarRocksInstanceVswitchArgs;
import com.pulumi.alicloud.inputs.StarRocksInstanceBackendNodeGroupArgs;
import com.pulumi.alicloud.inputs.StarRocksInstanceObserverNodeGroupArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.build());
var defaultB21JUD = new Network("defaultB21JUD", NetworkArgs.builder()
.cidrBlock("172.16.0.0/12")
.build());
var default106DkE = new Switch("default106DkE", SwitchArgs.builder()
.vpcId(defaultB21JUD.id())
.cidrBlock("172.16.1.0/24")
.vswitchName("sr-example")
.zoneId("cn-hangzhou-i")
.build());
var defaultStarRocksInstance = new StarRocksInstance("defaultStarRocksInstance", StarRocksInstanceArgs.builder()
.instanceName("create-instance-1")
.autoRenew(false)
.frontendNodeGroups(StarRocksInstanceFrontendNodeGroupArgs.builder()
.cu(8)
.storageSize(100)
.residentNodeNumber(3)
.storagePerformanceLevel("pl1")
.specType("standard")
.diskNumber(1)
.zoneId("cn-hangzhou-i")
.localStorageInstanceType("null")
.build())
.vswitches(StarRocksInstanceVswitchArgs.builder()
.vswitchId(default106DkE.id())
.zoneId("cn-hangzhou-i")
.build())
.backendNodeGroups(StarRocksInstanceBackendNodeGroupArgs.builder()
.cu(8)
.storageSize(100)
.residentNodeNumber(3)
.diskNumber(1)
.storagePerformanceLevel("pl1")
.specType("standard")
.zoneId("cn-hangzhou-i")
.localStorageInstanceType("null")
.build())
.clusterZoneId("cn-hangzhou-i")
.duration(1)
.payType("postPaid")
.vpcId(defaultB21JUD.id())
.version("3.3")
.runMode("shared_data")
.packageType("official")
.adminPassword("1qaz@QAZ")
.ossAccessingRoleName("AliyunEMRStarRocksAccessingOSSRole")
.pricingCycle("Month")
.kmsKeyId("123")
.promotionOptionNo("123")
.encrypted(false)
.observerNodeGroups(StarRocksInstanceObserverNodeGroupArgs.builder()
.cu(8)
.storageSize(100)
.storagePerformanceLevel("pl1")
.diskNumber(1)
.residentNodeNumber(1)
.specType("standard")
.localStorageInstanceType("null")
.zoneId("cn-hangzhou-h")
.build())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultB21JUD:
type: alicloud:vpc:Network
properties:
cidrBlock: 172.16.0.0/12
default106DkE:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultB21JUD.id}
cidrBlock: 172.16.1.0/24
vswitchName: sr-example
zoneId: cn-hangzhou-i
defaultStarRocksInstance:
type: alicloud:StarRocksInstance
name: default
properties:
instanceName: create-instance-1
autoRenew: false
frontendNodeGroups:
- cu: '8'
storageSize: '100'
residentNodeNumber: '3'
storagePerformanceLevel: pl1
specType: standard
diskNumber: '1'
zoneId: cn-hangzhou-i
localStorageInstanceType: null
vswitches:
- vswitchId: ${default106DkE.id}
zoneId: cn-hangzhou-i
backendNodeGroups:
- cu: '8'
storageSize: '100'
residentNodeNumber: '3'
diskNumber: '1'
storagePerformanceLevel: pl1
specType: standard
zoneId: cn-hangzhou-i
localStorageInstanceType: null
clusterZoneId: cn-hangzhou-i
duration: '1'
payType: postPaid
vpcId: ${defaultB21JUD.id}
version: '3.3'
runMode: shared_data
packageType: official
adminPassword: 1qaz@QAZ
ossAccessingRoleName: AliyunEMRStarRocksAccessingOSSRole
pricingCycle: Month
kmsKeyId: '123'
promotionOptionNo: '123'
encrypted: false
observerNodeGroups:
- cu: '8'
storageSize: '100'
storagePerformanceLevel: pl1
diskNumber: '1'
residentNodeNumber: '1'
specType: standard
localStorageInstanceType: null
zoneId: cn-hangzhou-h
variables:
default:
fn::invoke:
function: alicloud:resourcemanager:getResourceGroups
arguments: {}
Create StarRocksInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StarRocksInstance(name: string, args: StarRocksInstanceArgs, opts?: CustomResourceOptions);
@overload
def StarRocksInstance(resource_name: str,
args: StarRocksInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StarRocksInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_password: Optional[str] = None,
vpc_id: Optional[str] = None,
version: Optional[str] = None,
cluster_zone_id: Optional[str] = None,
run_mode: Optional[str] = None,
pay_type: Optional[str] = None,
package_type: Optional[str] = None,
instance_name: Optional[str] = None,
oss_accessing_role_name: Optional[str] = None,
observer_node_groups: Optional[Sequence[StarRocksInstanceObserverNodeGroupArgs]] = None,
kms_key_id: Optional[str] = None,
frontend_node_groups: Optional[Sequence[StarRocksInstanceFrontendNodeGroupArgs]] = None,
encrypted: Optional[bool] = None,
pricing_cycle: Optional[str] = None,
promotion_option_no: Optional[str] = None,
resource_group_id: Optional[str] = None,
duration: Optional[int] = None,
tags: Optional[Mapping[str, str]] = None,
backend_node_groups: Optional[Sequence[StarRocksInstanceBackendNodeGroupArgs]] = None,
auto_renew: Optional[bool] = None,
vswitches: Optional[Sequence[StarRocksInstanceVswitchArgs]] = None)
func NewStarRocksInstance(ctx *Context, name string, args StarRocksInstanceArgs, opts ...ResourceOption) (*StarRocksInstance, error)
public StarRocksInstance(string name, StarRocksInstanceArgs args, CustomResourceOptions? opts = null)
public StarRocksInstance(String name, StarRocksInstanceArgs args)
public StarRocksInstance(String name, StarRocksInstanceArgs args, CustomResourceOptions options)
type: alicloud:StarRocksInstance
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 StarRocksInstanceArgs
- 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 StarRocksInstanceArgs
- 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 StarRocksInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StarRocksInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StarRocksInstanceArgs
- 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 starRocksInstanceResource = new AliCloud.StarRocksInstance("starRocksInstanceResource", new()
{
AdminPassword = "string",
VpcId = "string",
Version = "string",
ClusterZoneId = "string",
RunMode = "string",
PayType = "string",
PackageType = "string",
InstanceName = "string",
OssAccessingRoleName = "string",
ObserverNodeGroups = new[]
{
new AliCloud.Inputs.StarRocksInstanceObserverNodeGroupArgs
{
Cu = 0,
DiskNumber = 0,
LocalStorageInstanceType = "string",
ResidentNodeNumber = 0,
SpecType = "string",
StoragePerformanceLevel = "string",
StorageSize = 0,
ZoneId = "string",
},
},
KmsKeyId = "string",
FrontendNodeGroups = new[]
{
new AliCloud.Inputs.StarRocksInstanceFrontendNodeGroupArgs
{
Cu = 0,
DiskNumber = 0,
LocalStorageInstanceType = "string",
ResidentNodeNumber = 0,
SpecType = "string",
StoragePerformanceLevel = "string",
StorageSize = 0,
ZoneId = "string",
},
},
Encrypted = false,
PricingCycle = "string",
PromotionOptionNo = "string",
ResourceGroupId = "string",
Duration = 0,
Tags =
{
{ "string", "string" },
},
BackendNodeGroups = new[]
{
new AliCloud.Inputs.StarRocksInstanceBackendNodeGroupArgs
{
Cu = 0,
DiskNumber = 0,
LocalStorageInstanceType = "string",
ResidentNodeNumber = 0,
SpecType = "string",
StoragePerformanceLevel = "string",
StorageSize = 0,
ZoneId = "string",
},
},
AutoRenew = false,
Vswitches = new[]
{
new AliCloud.Inputs.StarRocksInstanceVswitchArgs
{
VswitchId = "string",
ZoneId = "string",
},
},
});
example, err := alicloud.NewStarRocksInstance(ctx, "starRocksInstanceResource", &alicloud.StarRocksInstanceArgs{
AdminPassword: pulumi.String("string"),
VpcId: pulumi.String("string"),
Version: pulumi.String("string"),
ClusterZoneId: pulumi.String("string"),
RunMode: pulumi.String("string"),
PayType: pulumi.String("string"),
PackageType: pulumi.String("string"),
InstanceName: pulumi.String("string"),
OssAccessingRoleName: pulumi.String("string"),
ObserverNodeGroups: alicloud.StarRocksInstanceObserverNodeGroupArray{
&alicloud.StarRocksInstanceObserverNodeGroupArgs{
Cu: pulumi.Int(0),
DiskNumber: pulumi.Int(0),
LocalStorageInstanceType: pulumi.String("string"),
ResidentNodeNumber: pulumi.Int(0),
SpecType: pulumi.String("string"),
StoragePerformanceLevel: pulumi.String("string"),
StorageSize: pulumi.Int(0),
ZoneId: pulumi.String("string"),
},
},
KmsKeyId: pulumi.String("string"),
FrontendNodeGroups: alicloud.StarRocksInstanceFrontendNodeGroupArray{
&alicloud.StarRocksInstanceFrontendNodeGroupArgs{
Cu: pulumi.Int(0),
DiskNumber: pulumi.Int(0),
LocalStorageInstanceType: pulumi.String("string"),
ResidentNodeNumber: pulumi.Int(0),
SpecType: pulumi.String("string"),
StoragePerformanceLevel: pulumi.String("string"),
StorageSize: pulumi.Int(0),
ZoneId: pulumi.String("string"),
},
},
Encrypted: pulumi.Bool(false),
PricingCycle: pulumi.String("string"),
PromotionOptionNo: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Duration: pulumi.Int(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
BackendNodeGroups: alicloud.StarRocksInstanceBackendNodeGroupArray{
&alicloud.StarRocksInstanceBackendNodeGroupArgs{
Cu: pulumi.Int(0),
DiskNumber: pulumi.Int(0),
LocalStorageInstanceType: pulumi.String("string"),
ResidentNodeNumber: pulumi.Int(0),
SpecType: pulumi.String("string"),
StoragePerformanceLevel: pulumi.String("string"),
StorageSize: pulumi.Int(0),
ZoneId: pulumi.String("string"),
},
},
AutoRenew: pulumi.Bool(false),
Vswitches: alicloud.StarRocksInstanceVswitchArray{
&alicloud.StarRocksInstanceVswitchArgs{
VswitchId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
},
},
})
var starRocksInstanceResource = new StarRocksInstance("starRocksInstanceResource", StarRocksInstanceArgs.builder()
.adminPassword("string")
.vpcId("string")
.version("string")
.clusterZoneId("string")
.runMode("string")
.payType("string")
.packageType("string")
.instanceName("string")
.ossAccessingRoleName("string")
.observerNodeGroups(StarRocksInstanceObserverNodeGroupArgs.builder()
.cu(0)
.diskNumber(0)
.localStorageInstanceType("string")
.residentNodeNumber(0)
.specType("string")
.storagePerformanceLevel("string")
.storageSize(0)
.zoneId("string")
.build())
.kmsKeyId("string")
.frontendNodeGroups(StarRocksInstanceFrontendNodeGroupArgs.builder()
.cu(0)
.diskNumber(0)
.localStorageInstanceType("string")
.residentNodeNumber(0)
.specType("string")
.storagePerformanceLevel("string")
.storageSize(0)
.zoneId("string")
.build())
.encrypted(false)
.pricingCycle("string")
.promotionOptionNo("string")
.resourceGroupId("string")
.duration(0)
.tags(Map.of("string", "string"))
.backendNodeGroups(StarRocksInstanceBackendNodeGroupArgs.builder()
.cu(0)
.diskNumber(0)
.localStorageInstanceType("string")
.residentNodeNumber(0)
.specType("string")
.storagePerformanceLevel("string")
.storageSize(0)
.zoneId("string")
.build())
.autoRenew(false)
.vswitches(StarRocksInstanceVswitchArgs.builder()
.vswitchId("string")
.zoneId("string")
.build())
.build());
star_rocks_instance_resource = alicloud.StarRocksInstance("starRocksInstanceResource",
admin_password="string",
vpc_id="string",
version="string",
cluster_zone_id="string",
run_mode="string",
pay_type="string",
package_type="string",
instance_name="string",
oss_accessing_role_name="string",
observer_node_groups=[{
"cu": 0,
"disk_number": 0,
"local_storage_instance_type": "string",
"resident_node_number": 0,
"spec_type": "string",
"storage_performance_level": "string",
"storage_size": 0,
"zone_id": "string",
}],
kms_key_id="string",
frontend_node_groups=[{
"cu": 0,
"disk_number": 0,
"local_storage_instance_type": "string",
"resident_node_number": 0,
"spec_type": "string",
"storage_performance_level": "string",
"storage_size": 0,
"zone_id": "string",
}],
encrypted=False,
pricing_cycle="string",
promotion_option_no="string",
resource_group_id="string",
duration=0,
tags={
"string": "string",
},
backend_node_groups=[{
"cu": 0,
"disk_number": 0,
"local_storage_instance_type": "string",
"resident_node_number": 0,
"spec_type": "string",
"storage_performance_level": "string",
"storage_size": 0,
"zone_id": "string",
}],
auto_renew=False,
vswitches=[{
"vswitch_id": "string",
"zone_id": "string",
}])
const starRocksInstanceResource = new alicloud.StarRocksInstance("starRocksInstanceResource", {
adminPassword: "string",
vpcId: "string",
version: "string",
clusterZoneId: "string",
runMode: "string",
payType: "string",
packageType: "string",
instanceName: "string",
ossAccessingRoleName: "string",
observerNodeGroups: [{
cu: 0,
diskNumber: 0,
localStorageInstanceType: "string",
residentNodeNumber: 0,
specType: "string",
storagePerformanceLevel: "string",
storageSize: 0,
zoneId: "string",
}],
kmsKeyId: "string",
frontendNodeGroups: [{
cu: 0,
diskNumber: 0,
localStorageInstanceType: "string",
residentNodeNumber: 0,
specType: "string",
storagePerformanceLevel: "string",
storageSize: 0,
zoneId: "string",
}],
encrypted: false,
pricingCycle: "string",
promotionOptionNo: "string",
resourceGroupId: "string",
duration: 0,
tags: {
string: "string",
},
backendNodeGroups: [{
cu: 0,
diskNumber: 0,
localStorageInstanceType: "string",
residentNodeNumber: 0,
specType: "string",
storagePerformanceLevel: "string",
storageSize: 0,
zoneId: "string",
}],
autoRenew: false,
vswitches: [{
vswitchId: "string",
zoneId: "string",
}],
});
type: alicloud:StarRocksInstance
properties:
adminPassword: string
autoRenew: false
backendNodeGroups:
- cu: 0
diskNumber: 0
localStorageInstanceType: string
residentNodeNumber: 0
specType: string
storagePerformanceLevel: string
storageSize: 0
zoneId: string
clusterZoneId: string
duration: 0
encrypted: false
frontendNodeGroups:
- cu: 0
diskNumber: 0
localStorageInstanceType: string
residentNodeNumber: 0
specType: string
storagePerformanceLevel: string
storageSize: 0
zoneId: string
instanceName: string
kmsKeyId: string
observerNodeGroups:
- cu: 0
diskNumber: 0
localStorageInstanceType: string
residentNodeNumber: 0
specType: string
storagePerformanceLevel: string
storageSize: 0
zoneId: string
ossAccessingRoleName: string
packageType: string
payType: string
pricingCycle: string
promotionOptionNo: string
resourceGroupId: string
runMode: string
tags:
string: string
version: string
vpcId: string
vswitches:
- vswitchId: string
zoneId: string
StarRocksInstance 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 StarRocksInstance resource accepts the following input properties:
- Admin
Password string - Password of admin user.
- Cluster
Zone stringId - ZoneId of instance.
- Instance
Name string - The name of the instance.
- Package
Type string - The package type of the instance:
- trial
- official
- Pay
Type string - The pay type of the instance:
- prePaid
- postPaid
- Run
Mode string - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- Version string
- The version of the instance.
- Vpc
Id string - The VPC ID of the instance.
- Auto
Renew bool - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- Backend
Node List<Pulumi.Groups Ali Cloud. Inputs. Star Rocks Instance Backend Node Group> - BackendNodeGroups See
backend_node_groups
below. - Duration int
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- Encrypted bool
- Whether encrypted
- Frontend
Node List<Pulumi.Groups Ali Cloud. Inputs. Star Rocks Instance Frontend Node Group> - FrontendNodeGroups See
frontend_node_groups
below. - Kms
Key stringId - KmsKeyId
- Observer
Node List<Pulumi.Groups Ali Cloud. Inputs. Star Rocks Instance Observer Node Group> - ObserverNodeGroups See
observer_node_groups
below. - Oss
Accessing stringRole Name - Role name used for password-free access to OSS.
- Pricing
Cycle string - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- Promotion
Option stringNo - Promotion
- Resource
Group stringId - ResourceGroupId
- Dictionary<string, string>
- Tag list of the instance.
- Vswitches
List<Pulumi.
Ali Cloud. Inputs. Star Rocks Instance Vswitch> - The VSwitches info of the instance. See
vswitches
below.
- Admin
Password string - Password of admin user.
- Cluster
Zone stringId - ZoneId of instance.
- Instance
Name string - The name of the instance.
- Package
Type string - The package type of the instance:
- trial
- official
- Pay
Type string - The pay type of the instance:
- prePaid
- postPaid
- Run
Mode string - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- Version string
- The version of the instance.
- Vpc
Id string - The VPC ID of the instance.
- Auto
Renew bool - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- Backend
Node []StarGroups Rocks Instance Backend Node Group Args - BackendNodeGroups See
backend_node_groups
below. - Duration int
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- Encrypted bool
- Whether encrypted
- Frontend
Node []StarGroups Rocks Instance Frontend Node Group Args - FrontendNodeGroups See
frontend_node_groups
below. - Kms
Key stringId - KmsKeyId
- Observer
Node []StarGroups Rocks Instance Observer Node Group Args - ObserverNodeGroups See
observer_node_groups
below. - Oss
Accessing stringRole Name - Role name used for password-free access to OSS.
- Pricing
Cycle string - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- Promotion
Option stringNo - Promotion
- Resource
Group stringId - ResourceGroupId
- map[string]string
- Tag list of the instance.
- Vswitches
[]Star
Rocks Instance Vswitch Args - The VSwitches info of the instance. See
vswitches
below.
- admin
Password String - Password of admin user.
- cluster
Zone StringId - ZoneId of instance.
- instance
Name String - The name of the instance.
- package
Type String - The package type of the instance:
- trial
- official
- pay
Type String - The pay type of the instance:
- prePaid
- postPaid
- run
Mode String - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- version String
- The version of the instance.
- vpc
Id String - The VPC ID of the instance.
- auto
Renew Boolean - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend
Node List<StarGroups Rocks Instance Backend Node Group> - BackendNodeGroups See
backend_node_groups
below. - duration Integer
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted Boolean
- Whether encrypted
- frontend
Node List<StarGroups Rocks Instance Frontend Node Group> - FrontendNodeGroups See
frontend_node_groups
below. - kms
Key StringId - KmsKeyId
- observer
Node List<StarGroups Rocks Instance Observer Node Group> - ObserverNodeGroups See
observer_node_groups
below. - oss
Accessing StringRole Name - Role name used for password-free access to OSS.
- pricing
Cycle String - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion
Option StringNo - Promotion
- resource
Group StringId - ResourceGroupId
- Map<String,String>
- Tag list of the instance.
- vswitches
List<Star
Rocks Instance Vswitch> - The VSwitches info of the instance. See
vswitches
below.
- admin
Password string - Password of admin user.
- cluster
Zone stringId - ZoneId of instance.
- instance
Name string - The name of the instance.
- package
Type string - The package type of the instance:
- trial
- official
- pay
Type string - The pay type of the instance:
- prePaid
- postPaid
- run
Mode string - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- version string
- The version of the instance.
- vpc
Id string - The VPC ID of the instance.
- auto
Renew boolean - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend
Node StarGroups Rocks Instance Backend Node Group[] - BackendNodeGroups See
backend_node_groups
below. - duration number
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted boolean
- Whether encrypted
- frontend
Node StarGroups Rocks Instance Frontend Node Group[] - FrontendNodeGroups See
frontend_node_groups
below. - kms
Key stringId - KmsKeyId
- observer
Node StarGroups Rocks Instance Observer Node Group[] - ObserverNodeGroups See
observer_node_groups
below. - oss
Accessing stringRole Name - Role name used for password-free access to OSS.
- pricing
Cycle string - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion
Option stringNo - Promotion
- resource
Group stringId - ResourceGroupId
- {[key: string]: string}
- Tag list of the instance.
- vswitches
Star
Rocks Instance Vswitch[] - The VSwitches info of the instance. See
vswitches
below.
- admin_
password str - Password of admin user.
- cluster_
zone_ strid - ZoneId of instance.
- instance_
name str - The name of the instance.
- package_
type str - The package type of the instance:
- trial
- official
- pay_
type str - The pay type of the instance:
- prePaid
- postPaid
- run_
mode str - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- version str
- The version of the instance.
- vpc_
id str - The VPC ID of the instance.
- auto_
renew bool - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend_
node_ Sequence[Stargroups Rocks Instance Backend Node Group Args] - BackendNodeGroups See
backend_node_groups
below. - duration int
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted bool
- Whether encrypted
- frontend_
node_ Sequence[Stargroups Rocks Instance Frontend Node Group Args] - FrontendNodeGroups See
frontend_node_groups
below. - kms_
key_ strid - KmsKeyId
- observer_
node_ Sequence[Stargroups Rocks Instance Observer Node Group Args] - ObserverNodeGroups See
observer_node_groups
below. - oss_
accessing_ strrole_ name - Role name used for password-free access to OSS.
- pricing_
cycle str - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion_
option_ strno - Promotion
- resource_
group_ strid - ResourceGroupId
- Mapping[str, str]
- Tag list of the instance.
- vswitches
Sequence[Star
Rocks Instance Vswitch Args] - The VSwitches info of the instance. See
vswitches
below.
- admin
Password String - Password of admin user.
- cluster
Zone StringId - ZoneId of instance.
- instance
Name String - The name of the instance.
- package
Type String - The package type of the instance:
- trial
- official
- pay
Type String - The pay type of the instance:
- prePaid
- postPaid
- run
Mode String - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- version String
- The version of the instance.
- vpc
Id String - The VPC ID of the instance.
- auto
Renew Boolean - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend
Node List<Property Map>Groups - BackendNodeGroups See
backend_node_groups
below. - duration Number
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted Boolean
- Whether encrypted
- frontend
Node List<Property Map>Groups - FrontendNodeGroups See
frontend_node_groups
below. - kms
Key StringId - KmsKeyId
- observer
Node List<Property Map>Groups - ObserverNodeGroups See
observer_node_groups
below. - oss
Accessing StringRole Name - Role name used for password-free access to OSS.
- pricing
Cycle String - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion
Option StringNo - Promotion
- resource
Group StringId - ResourceGroupId
- Map<String>
- Tag list of the instance.
- vswitches List<Property Map>
- The VSwitches info of the instance. See
vswitches
below.
Outputs
All input properties are implicitly available as output properties. Additionally, the StarRocksInstance resource produces the following output properties:
- Create
Time string - The creation time of the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The region ID of the instance.
- Status string
- The status of the instance.
- Create
Time string - The creation time of the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The region ID of the instance.
- Status string
- The status of the instance.
- create
Time String - The creation time of the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - The region ID of the instance.
- status String
- The status of the instance.
- create
Time string - The creation time of the instance.
- id string
- The provider-assigned unique ID for this managed resource.
- region
Id string - The region ID of the instance.
- status string
- The status of the instance.
- create_
time str - The creation time of the instance.
- id str
- The provider-assigned unique ID for this managed resource.
- region_
id str - The region ID of the instance.
- status str
- The status of the instance.
- create
Time String - The creation time of the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - The region ID of the instance.
- status String
- The status of the instance.
Look up Existing StarRocksInstance Resource
Get an existing StarRocksInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StarRocksInstanceState, opts?: CustomResourceOptions): StarRocksInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_password: Optional[str] = None,
auto_renew: Optional[bool] = None,
backend_node_groups: Optional[Sequence[StarRocksInstanceBackendNodeGroupArgs]] = None,
cluster_zone_id: Optional[str] = None,
create_time: Optional[str] = None,
duration: Optional[int] = None,
encrypted: Optional[bool] = None,
frontend_node_groups: Optional[Sequence[StarRocksInstanceFrontendNodeGroupArgs]] = None,
instance_name: Optional[str] = None,
kms_key_id: Optional[str] = None,
observer_node_groups: Optional[Sequence[StarRocksInstanceObserverNodeGroupArgs]] = None,
oss_accessing_role_name: Optional[str] = None,
package_type: Optional[str] = None,
pay_type: Optional[str] = None,
pricing_cycle: Optional[str] = None,
promotion_option_no: Optional[str] = None,
region_id: Optional[str] = None,
resource_group_id: Optional[str] = None,
run_mode: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
version: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitches: Optional[Sequence[StarRocksInstanceVswitchArgs]] = None) -> StarRocksInstance
func GetStarRocksInstance(ctx *Context, name string, id IDInput, state *StarRocksInstanceState, opts ...ResourceOption) (*StarRocksInstance, error)
public static StarRocksInstance Get(string name, Input<string> id, StarRocksInstanceState? state, CustomResourceOptions? opts = null)
public static StarRocksInstance get(String name, Output<String> id, StarRocksInstanceState state, CustomResourceOptions options)
resources: _: type: alicloud:StarRocksInstance get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Admin
Password string - Password of admin user.
- Auto
Renew bool - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- Backend
Node List<Pulumi.Groups Ali Cloud. Inputs. Star Rocks Instance Backend Node Group> - BackendNodeGroups See
backend_node_groups
below. - Cluster
Zone stringId - ZoneId of instance.
- Create
Time string - The creation time of the instance.
- Duration int
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- Encrypted bool
- Whether encrypted
- Frontend
Node List<Pulumi.Groups Ali Cloud. Inputs. Star Rocks Instance Frontend Node Group> - FrontendNodeGroups See
frontend_node_groups
below. - Instance
Name string - The name of the instance.
- Kms
Key stringId - KmsKeyId
- Observer
Node List<Pulumi.Groups Ali Cloud. Inputs. Star Rocks Instance Observer Node Group> - ObserverNodeGroups See
observer_node_groups
below. - Oss
Accessing stringRole Name - Role name used for password-free access to OSS.
- Package
Type string - The package type of the instance:
- trial
- official
- Pay
Type string - The pay type of the instance:
- prePaid
- postPaid
- Pricing
Cycle string - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- Promotion
Option stringNo - Promotion
- Region
Id string - The region ID of the instance.
- Resource
Group stringId - ResourceGroupId
- Run
Mode string - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- Status string
- The status of the instance.
- Dictionary<string, string>
- Tag list of the instance.
- Version string
- The version of the instance.
- Vpc
Id string - The VPC ID of the instance.
- Vswitches
List<Pulumi.
Ali Cloud. Inputs. Star Rocks Instance Vswitch> - The VSwitches info of the instance. See
vswitches
below.
- Admin
Password string - Password of admin user.
- Auto
Renew bool - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- Backend
Node []StarGroups Rocks Instance Backend Node Group Args - BackendNodeGroups See
backend_node_groups
below. - Cluster
Zone stringId - ZoneId of instance.
- Create
Time string - The creation time of the instance.
- Duration int
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- Encrypted bool
- Whether encrypted
- Frontend
Node []StarGroups Rocks Instance Frontend Node Group Args - FrontendNodeGroups See
frontend_node_groups
below. - Instance
Name string - The name of the instance.
- Kms
Key stringId - KmsKeyId
- Observer
Node []StarGroups Rocks Instance Observer Node Group Args - ObserverNodeGroups See
observer_node_groups
below. - Oss
Accessing stringRole Name - Role name used for password-free access to OSS.
- Package
Type string - The package type of the instance:
- trial
- official
- Pay
Type string - The pay type of the instance:
- prePaid
- postPaid
- Pricing
Cycle string - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- Promotion
Option stringNo - Promotion
- Region
Id string - The region ID of the instance.
- Resource
Group stringId - ResourceGroupId
- Run
Mode string - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- Status string
- The status of the instance.
- map[string]string
- Tag list of the instance.
- Version string
- The version of the instance.
- Vpc
Id string - The VPC ID of the instance.
- Vswitches
[]Star
Rocks Instance Vswitch Args - The VSwitches info of the instance. See
vswitches
below.
- admin
Password String - Password of admin user.
- auto
Renew Boolean - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend
Node List<StarGroups Rocks Instance Backend Node Group> - BackendNodeGroups See
backend_node_groups
below. - cluster
Zone StringId - ZoneId of instance.
- create
Time String - The creation time of the instance.
- duration Integer
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted Boolean
- Whether encrypted
- frontend
Node List<StarGroups Rocks Instance Frontend Node Group> - FrontendNodeGroups See
frontend_node_groups
below. - instance
Name String - The name of the instance.
- kms
Key StringId - KmsKeyId
- observer
Node List<StarGroups Rocks Instance Observer Node Group> - ObserverNodeGroups See
observer_node_groups
below. - oss
Accessing StringRole Name - Role name used for password-free access to OSS.
- package
Type String - The package type of the instance:
- trial
- official
- pay
Type String - The pay type of the instance:
- prePaid
- postPaid
- pricing
Cycle String - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion
Option StringNo - Promotion
- region
Id String - The region ID of the instance.
- resource
Group StringId - ResourceGroupId
- run
Mode String - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- status String
- The status of the instance.
- Map<String,String>
- Tag list of the instance.
- version String
- The version of the instance.
- vpc
Id String - The VPC ID of the instance.
- vswitches
List<Star
Rocks Instance Vswitch> - The VSwitches info of the instance. See
vswitches
below.
- admin
Password string - Password of admin user.
- auto
Renew boolean - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend
Node StarGroups Rocks Instance Backend Node Group[] - BackendNodeGroups See
backend_node_groups
below. - cluster
Zone stringId - ZoneId of instance.
- create
Time string - The creation time of the instance.
- duration number
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted boolean
- Whether encrypted
- frontend
Node StarGroups Rocks Instance Frontend Node Group[] - FrontendNodeGroups See
frontend_node_groups
below. - instance
Name string - The name of the instance.
- kms
Key stringId - KmsKeyId
- observer
Node StarGroups Rocks Instance Observer Node Group[] - ObserverNodeGroups See
observer_node_groups
below. - oss
Accessing stringRole Name - Role name used for password-free access to OSS.
- package
Type string - The package type of the instance:
- trial
- official
- pay
Type string - The pay type of the instance:
- prePaid
- postPaid
- pricing
Cycle string - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion
Option stringNo - Promotion
- region
Id string - The region ID of the instance.
- resource
Group stringId - ResourceGroupId
- run
Mode string - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- status string
- The status of the instance.
- {[key: string]: string}
- Tag list of the instance.
- version string
- The version of the instance.
- vpc
Id string - The VPC ID of the instance.
- vswitches
Star
Rocks Instance Vswitch[] - The VSwitches info of the instance. See
vswitches
below.
- admin_
password str - Password of admin user.
- auto_
renew bool - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend_
node_ Sequence[Stargroups Rocks Instance Backend Node Group Args] - BackendNodeGroups See
backend_node_groups
below. - cluster_
zone_ strid - ZoneId of instance.
- create_
time str - The creation time of the instance.
- duration int
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted bool
- Whether encrypted
- frontend_
node_ Sequence[Stargroups Rocks Instance Frontend Node Group Args] - FrontendNodeGroups See
frontend_node_groups
below. - instance_
name str - The name of the instance.
- kms_
key_ strid - KmsKeyId
- observer_
node_ Sequence[Stargroups Rocks Instance Observer Node Group Args] - ObserverNodeGroups See
observer_node_groups
below. - oss_
accessing_ strrole_ name - Role name used for password-free access to OSS.
- package_
type str - The package type of the instance:
- trial
- official
- pay_
type str - The pay type of the instance:
- prePaid
- postPaid
- pricing_
cycle str - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion_
option_ strno - Promotion
- region_
id str - The region ID of the instance.
- resource_
group_ strid - ResourceGroupId
- run_
mode str - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- status str
- The status of the instance.
- Mapping[str, str]
- Tag list of the instance.
- version str
- The version of the instance.
- vpc_
id str - The VPC ID of the instance.
- vswitches
Sequence[Star
Rocks Instance Vswitch Args] - The VSwitches info of the instance. See
vswitches
below.
- admin
Password String - Password of admin user.
- auto
Renew Boolean - Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
- backend
Node List<Property Map>Groups - BackendNodeGroups See
backend_node_groups
below. - cluster
Zone StringId - ZoneId of instance.
- create
Time String - The creation time of the instance.
- duration Number
- Duration of purchase. It is only meaningful when payType is set to PrePaid.
- encrypted Boolean
- Whether encrypted
- frontend
Node List<Property Map>Groups - FrontendNodeGroups See
frontend_node_groups
below. - instance
Name String - The name of the instance.
- kms
Key StringId - KmsKeyId
- observer
Node List<Property Map>Groups - ObserverNodeGroups See
observer_node_groups
below. - oss
Accessing StringRole Name - Role name used for password-free access to OSS.
- package
Type String - The package type of the instance:
- trial
- official
- pay
Type String - The pay type of the instance:
- prePaid
- postPaid
- pricing
Cycle String - The duration unit for purchasing:
- Month
- Year This is only meaningful when PayType is set to PrePaid.
- promotion
Option StringNo - Promotion
- region
Id String - The region ID of the instance.
- resource
Group StringId - ResourceGroupId
- run
Mode String - The run mode of the instance:
- shared_nothing
- shared_data
- lakehouse
- status String
- The status of the instance.
- Map<String>
- Tag list of the instance.
- version String
- The version of the instance.
- vpc
Id String - The VPC ID of the instance.
- vswitches List<Property Map>
- The VSwitches info of the instance. See
vswitches
below.
Supporting Types
StarRocksInstanceBackendNodeGroup, StarRocksInstanceBackendNodeGroupArgs
- Cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- Disk
Number int - The number of disks.
- Local
Storage stringInstance Type - Local SSD instance specifications.
- Resident
Node intNumber - Resident node number of node group.
- Spec
Type string - Compute group specification types include the following:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
- Storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Zone
Id string - Zone ID.
- Cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- Disk
Number int - The number of disks.
- Local
Storage stringInstance Type - Local SSD instance specifications.
- Resident
Node intNumber - Resident node number of node group.
- Spec
Type string - Compute group specification types include the following:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
- Storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Zone
Id string - Zone ID.
- cu Integer
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number Integer - The number of disks.
- local
Storage StringInstance Type - Local SSD instance specifications.
- resident
Node IntegerNumber - Resident node number of node group.
- spec
Type String - Compute group specification types include the following:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
- storage
Performance StringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size Integer - Storage size, measured in GiB.
- zone
Id String - Zone ID.
- cu number
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number number - The number of disks.
- local
Storage stringInstance Type - Local SSD instance specifications.
- resident
Node numberNumber - Resident node number of node group.
- spec
Type string - Compute group specification types include the following:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
- storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size number - Storage size, measured in GiB.
- zone
Id string - Zone ID.
- cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk_
number int - The number of disks.
- local_
storage_ strinstance_ type - Local SSD instance specifications.
- resident_
node_ intnumber - Resident node number of node group.
- spec_
type str - Compute group specification types include the following:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
- storage_
performance_ strlevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage_
size int - Storage size, measured in GiB.
- zone_
id str - Zone ID.
- cu Number
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number Number - The number of disks.
- local
Storage StringInstance Type - Local SSD instance specifications.
- resident
Node NumberNumber - Resident node number of node group.
- spec
Type String - Compute group specification types include the following:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
- storage
Performance StringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size Number - Storage size, measured in GiB.
- zone
Id String - Zone ID.
StarRocksInstanceFrontendNodeGroup, StarRocksInstanceFrontendNodeGroupArgs
- Cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- Disk
Number int - DiskNumber
- Local
Storage stringInstance Type - Local SSD instance specifications.
- Resident
Node intNumber - Resident node number of node group.
- Spec
Type string - Compute group specification types include the following:
- standard
- ramEnhanced
- Storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Zone
Id string - Zone ID.
- Cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- Disk
Number int - DiskNumber
- Local
Storage stringInstance Type - Local SSD instance specifications.
- Resident
Node intNumber - Resident node number of node group.
- Spec
Type string - Compute group specification types include the following:
- standard
- ramEnhanced
- Storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Zone
Id string - Zone ID.
- cu Integer
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number Integer - DiskNumber
- local
Storage StringInstance Type - Local SSD instance specifications.
- resident
Node IntegerNumber - Resident node number of node group.
- spec
Type String - Compute group specification types include the following:
- standard
- ramEnhanced
- storage
Performance StringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size Integer - Storage size, measured in GiB.
- zone
Id String - Zone ID.
- cu number
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number number - DiskNumber
- local
Storage stringInstance Type - Local SSD instance specifications.
- resident
Node numberNumber - Resident node number of node group.
- spec
Type string - Compute group specification types include the following:
- standard
- ramEnhanced
- storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size number - Storage size, measured in GiB.
- zone
Id string - Zone ID.
- cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk_
number int - DiskNumber
- local_
storage_ strinstance_ type - Local SSD instance specifications.
- resident_
node_ intnumber - Resident node number of node group.
- spec_
type str - Compute group specification types include the following:
- standard
- ramEnhanced
- storage_
performance_ strlevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage_
size int - Storage size, measured in GiB.
- zone_
id str - Zone ID.
- cu Number
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number Number - DiskNumber
- local
Storage StringInstance Type - Local SSD instance specifications.
- resident
Node NumberNumber - Resident node number of node group.
- spec
Type String - Compute group specification types include the following:
- standard
- ramEnhanced
- storage
Performance StringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size Number - Storage size, measured in GiB.
- zone
Id String - Zone ID.
StarRocksInstanceObserverNodeGroup, StarRocksInstanceObserverNodeGroupArgs
- Cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- Disk
Number int - DiskNumber
- Local
Storage stringInstance Type - Local SSD instance specifications.
- Resident
Node intNumber - Resident node number of node group.
- Spec
Type string - Compute group specification types include the following:
- standard
- Storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Zone
Id string - Zone ID.
- Cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- Disk
Number int - DiskNumber
- Local
Storage stringInstance Type - Local SSD instance specifications.
- Resident
Node intNumber - Resident node number of node group.
- Spec
Type string - Compute group specification types include the following:
- standard
- Storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Zone
Id string - Zone ID.
- cu Integer
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number Integer - DiskNumber
- local
Storage StringInstance Type - Local SSD instance specifications.
- resident
Node IntegerNumber - Resident node number of node group.
- spec
Type String - Compute group specification types include the following:
- standard
- storage
Performance StringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size Integer - Storage size, measured in GiB.
- zone
Id String - Zone ID.
- cu number
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number number - DiskNumber
- local
Storage stringInstance Type - Local SSD instance specifications.
- resident
Node numberNumber - Resident node number of node group.
- spec
Type string - Compute group specification types include the following:
- standard
- storage
Performance stringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size number - Storage size, measured in GiB.
- zone
Id string - Zone ID.
- cu int
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk_
number int - DiskNumber
- local_
storage_ strinstance_ type - Local SSD instance specifications.
- resident_
node_ intnumber - Resident node number of node group.
- spec_
type str - Compute group specification types include the following:
- standard
- storage_
performance_ strlevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage_
size int - Storage size, measured in GiB.
- zone_
id str - Zone ID.
- cu Number
- Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
- disk
Number Number - DiskNumber
- local
Storage StringInstance Type - Local SSD instance specifications.
- resident
Node NumberNumber - Resident node number of node group.
- spec
Type String - Compute group specification types include the following:
- standard
- storage
Performance StringLevel - Performance levels of cloud disks include the following values:
- pl0: Maximum random read/write IOPS per disk is 10,000.
- pl1: Maximum random read/write IOPS per disk is 50,000.
- pl2: Maximum random read/write IOPS per disk is 100,000.
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
- storage
Size Number - Storage size, measured in GiB.
- zone
Id String - Zone ID.
StarRocksInstanceVswitch, StarRocksInstanceVswitchArgs
- vswitch_
id str - ID of VSwitch.
- zone_
id str - Zone ID of VSwitch.
Import
Star Rocks Instance can be imported using the id, e.g.
$ pulumi import alicloud:index/starRocksInstance:StarRocksInstance example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.