1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. StarRocksInstance
Alibaba Cloud v3.85.0 published on Tuesday, Sep 9, 2025 by Pulumi

alicloud.StarRocksInstance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.85.0 published on Tuesday, Sep 9, 2025 by Pulumi

    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:

    AdminPassword string
    Password of admin user.
    ClusterZoneId string
    ZoneId of instance.
    InstanceName string
    The name of the instance.
    PackageType string
    The package type of the instance:

    • trial
    • official
    PayType string
    The pay type of the instance:

    • prePaid
    • postPaid
    RunMode string
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    Version string
    The version of the instance.
    VpcId string
    The VPC ID of the instance.
    AutoRenew bool
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    BackendNodeGroups List<Pulumi.AliCloud.Inputs.StarRocksInstanceBackendNodeGroup>
    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
    FrontendNodeGroups List<Pulumi.AliCloud.Inputs.StarRocksInstanceFrontendNodeGroup>
    FrontendNodeGroups See frontend_node_groups below.
    KmsKeyId string
    KmsKeyId
    ObserverNodeGroups List<Pulumi.AliCloud.Inputs.StarRocksInstanceObserverNodeGroup>
    ObserverNodeGroups See observer_node_groups below.
    OssAccessingRoleName string
    Role name used for password-free access to OSS.
    PricingCycle string
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    PromotionOptionNo string
    Promotion
    ResourceGroupId string
    ResourceGroupId
    Tags Dictionary<string, string>
    Tag list of the instance.
    Vswitches List<Pulumi.AliCloud.Inputs.StarRocksInstanceVswitch>
    The VSwitches info of the instance. See vswitches below.
    AdminPassword string
    Password of admin user.
    ClusterZoneId string
    ZoneId of instance.
    InstanceName string
    The name of the instance.
    PackageType string
    The package type of the instance:

    • trial
    • official
    PayType string
    The pay type of the instance:

    • prePaid
    • postPaid
    RunMode string
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    Version string
    The version of the instance.
    VpcId string
    The VPC ID of the instance.
    AutoRenew bool
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    BackendNodeGroups []StarRocksInstanceBackendNodeGroupArgs
    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
    FrontendNodeGroups []StarRocksInstanceFrontendNodeGroupArgs
    FrontendNodeGroups See frontend_node_groups below.
    KmsKeyId string
    KmsKeyId
    ObserverNodeGroups []StarRocksInstanceObserverNodeGroupArgs
    ObserverNodeGroups See observer_node_groups below.
    OssAccessingRoleName string
    Role name used for password-free access to OSS.
    PricingCycle string
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    PromotionOptionNo string
    Promotion
    ResourceGroupId string
    ResourceGroupId
    Tags map[string]string
    Tag list of the instance.
    Vswitches []StarRocksInstanceVswitchArgs
    The VSwitches info of the instance. See vswitches below.
    adminPassword String
    Password of admin user.
    clusterZoneId String
    ZoneId of instance.
    instanceName String
    The name of the instance.
    packageType String
    The package type of the instance:

    • trial
    • official
    payType String
    The pay type of the instance:

    • prePaid
    • postPaid
    runMode String
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    version String
    The version of the instance.
    vpcId String
    The VPC ID of the instance.
    autoRenew Boolean
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    backendNodeGroups List<StarRocksInstanceBackendNodeGroup>
    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
    frontendNodeGroups List<StarRocksInstanceFrontendNodeGroup>
    FrontendNodeGroups See frontend_node_groups below.
    kmsKeyId String
    KmsKeyId
    observerNodeGroups List<StarRocksInstanceObserverNodeGroup>
    ObserverNodeGroups See observer_node_groups below.
    ossAccessingRoleName String
    Role name used for password-free access to OSS.
    pricingCycle String
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    promotionOptionNo String
    Promotion
    resourceGroupId String
    ResourceGroupId
    tags Map<String,String>
    Tag list of the instance.
    vswitches List<StarRocksInstanceVswitch>
    The VSwitches info of the instance. See vswitches below.
    adminPassword string
    Password of admin user.
    clusterZoneId string
    ZoneId of instance.
    instanceName string
    The name of the instance.
    packageType string
    The package type of the instance:

    • trial
    • official
    payType string
    The pay type of the instance:

    • prePaid
    • postPaid
    runMode string
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    version string
    The version of the instance.
    vpcId string
    The VPC ID of the instance.
    autoRenew boolean
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    backendNodeGroups StarRocksInstanceBackendNodeGroup[]
    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
    frontendNodeGroups StarRocksInstanceFrontendNodeGroup[]
    FrontendNodeGroups See frontend_node_groups below.
    kmsKeyId string
    KmsKeyId
    observerNodeGroups StarRocksInstanceObserverNodeGroup[]
    ObserverNodeGroups See observer_node_groups below.
    ossAccessingRoleName string
    Role name used for password-free access to OSS.
    pricingCycle string
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    promotionOptionNo string
    Promotion
    resourceGroupId string
    ResourceGroupId
    tags {[key: string]: string}
    Tag list of the instance.
    vswitches StarRocksInstanceVswitch[]
    The VSwitches info of the instance. See vswitches below.
    admin_password str
    Password of admin user.
    cluster_zone_id str
    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_groups Sequence[StarRocksInstanceBackendNodeGroupArgs]
    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_groups Sequence[StarRocksInstanceFrontendNodeGroupArgs]
    FrontendNodeGroups See frontend_node_groups below.
    kms_key_id str
    KmsKeyId
    observer_node_groups Sequence[StarRocksInstanceObserverNodeGroupArgs]
    ObserverNodeGroups See observer_node_groups below.
    oss_accessing_role_name str
    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_no str
    Promotion
    resource_group_id str
    ResourceGroupId
    tags Mapping[str, str]
    Tag list of the instance.
    vswitches Sequence[StarRocksInstanceVswitchArgs]
    The VSwitches info of the instance. See vswitches below.
    adminPassword String
    Password of admin user.
    clusterZoneId String
    ZoneId of instance.
    instanceName String
    The name of the instance.
    packageType String
    The package type of the instance:

    • trial
    • official
    payType String
    The pay type of the instance:

    • prePaid
    • postPaid
    runMode String
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    version String
    The version of the instance.
    vpcId String
    The VPC ID of the instance.
    autoRenew Boolean
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    backendNodeGroups List<Property Map>
    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
    frontendNodeGroups List<Property Map>
    FrontendNodeGroups See frontend_node_groups below.
    kmsKeyId String
    KmsKeyId
    observerNodeGroups List<Property Map>
    ObserverNodeGroups See observer_node_groups below.
    ossAccessingRoleName String
    Role name used for password-free access to OSS.
    pricingCycle String
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    promotionOptionNo String
    Promotion
    resourceGroupId String
    ResourceGroupId
    tags 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:

    CreateTime string
    The creation time of the instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionId string
    The region ID of the instance.
    Status string
    The status of the instance.
    CreateTime string
    The creation time of the instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionId string
    The region ID of the instance.
    Status string
    The status of the instance.
    createTime String
    The creation time of the instance.
    id String
    The provider-assigned unique ID for this managed resource.
    regionId String
    The region ID of the instance.
    status String
    The status of the instance.
    createTime string
    The creation time of the instance.
    id string
    The provider-assigned unique ID for this managed resource.
    regionId 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.
    createTime String
    The creation time of the instance.
    id String
    The provider-assigned unique ID for this managed resource.
    regionId 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.
    The following state arguments are supported:
    AdminPassword string
    Password of admin user.
    AutoRenew bool
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    BackendNodeGroups List<Pulumi.AliCloud.Inputs.StarRocksInstanceBackendNodeGroup>
    BackendNodeGroups See backend_node_groups below.
    ClusterZoneId string
    ZoneId of instance.
    CreateTime 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
    FrontendNodeGroups List<Pulumi.AliCloud.Inputs.StarRocksInstanceFrontendNodeGroup>
    FrontendNodeGroups See frontend_node_groups below.
    InstanceName string
    The name of the instance.
    KmsKeyId string
    KmsKeyId
    ObserverNodeGroups List<Pulumi.AliCloud.Inputs.StarRocksInstanceObserverNodeGroup>
    ObserverNodeGroups See observer_node_groups below.
    OssAccessingRoleName string
    Role name used for password-free access to OSS.
    PackageType string
    The package type of the instance:

    • trial
    • official
    PayType string
    The pay type of the instance:

    • prePaid
    • postPaid
    PricingCycle string
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    PromotionOptionNo string
    Promotion
    RegionId string
    The region ID of the instance.
    ResourceGroupId string
    ResourceGroupId
    RunMode string
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    Status string
    The status of the instance.
    Tags Dictionary<string, string>
    Tag list of the instance.
    Version string
    The version of the instance.
    VpcId string
    The VPC ID of the instance.
    Vswitches List<Pulumi.AliCloud.Inputs.StarRocksInstanceVswitch>
    The VSwitches info of the instance. See vswitches below.
    AdminPassword string
    Password of admin user.
    AutoRenew bool
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    BackendNodeGroups []StarRocksInstanceBackendNodeGroupArgs
    BackendNodeGroups See backend_node_groups below.
    ClusterZoneId string
    ZoneId of instance.
    CreateTime 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
    FrontendNodeGroups []StarRocksInstanceFrontendNodeGroupArgs
    FrontendNodeGroups See frontend_node_groups below.
    InstanceName string
    The name of the instance.
    KmsKeyId string
    KmsKeyId
    ObserverNodeGroups []StarRocksInstanceObserverNodeGroupArgs
    ObserverNodeGroups See observer_node_groups below.
    OssAccessingRoleName string
    Role name used for password-free access to OSS.
    PackageType string
    The package type of the instance:

    • trial
    • official
    PayType string
    The pay type of the instance:

    • prePaid
    • postPaid
    PricingCycle string
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    PromotionOptionNo string
    Promotion
    RegionId string
    The region ID of the instance.
    ResourceGroupId string
    ResourceGroupId
    RunMode string
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    Status string
    The status of the instance.
    Tags map[string]string
    Tag list of the instance.
    Version string
    The version of the instance.
    VpcId string
    The VPC ID of the instance.
    Vswitches []StarRocksInstanceVswitchArgs
    The VSwitches info of the instance. See vswitches below.
    adminPassword String
    Password of admin user.
    autoRenew Boolean
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    backendNodeGroups List<StarRocksInstanceBackendNodeGroup>
    BackendNodeGroups See backend_node_groups below.
    clusterZoneId String
    ZoneId of instance.
    createTime 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
    frontendNodeGroups List<StarRocksInstanceFrontendNodeGroup>
    FrontendNodeGroups See frontend_node_groups below.
    instanceName String
    The name of the instance.
    kmsKeyId String
    KmsKeyId
    observerNodeGroups List<StarRocksInstanceObserverNodeGroup>
    ObserverNodeGroups See observer_node_groups below.
    ossAccessingRoleName String
    Role name used for password-free access to OSS.
    packageType String
    The package type of the instance:

    • trial
    • official
    payType String
    The pay type of the instance:

    • prePaid
    • postPaid
    pricingCycle String
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    promotionOptionNo String
    Promotion
    regionId String
    The region ID of the instance.
    resourceGroupId String
    ResourceGroupId
    runMode String
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    status String
    The status of the instance.
    tags Map<String,String>
    Tag list of the instance.
    version String
    The version of the instance.
    vpcId String
    The VPC ID of the instance.
    vswitches List<StarRocksInstanceVswitch>
    The VSwitches info of the instance. See vswitches below.
    adminPassword string
    Password of admin user.
    autoRenew boolean
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    backendNodeGroups StarRocksInstanceBackendNodeGroup[]
    BackendNodeGroups See backend_node_groups below.
    clusterZoneId string
    ZoneId of instance.
    createTime 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
    frontendNodeGroups StarRocksInstanceFrontendNodeGroup[]
    FrontendNodeGroups See frontend_node_groups below.
    instanceName string
    The name of the instance.
    kmsKeyId string
    KmsKeyId
    observerNodeGroups StarRocksInstanceObserverNodeGroup[]
    ObserverNodeGroups See observer_node_groups below.
    ossAccessingRoleName string
    Role name used for password-free access to OSS.
    packageType string
    The package type of the instance:

    • trial
    • official
    payType string
    The pay type of the instance:

    • prePaid
    • postPaid
    pricingCycle string
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    promotionOptionNo string
    Promotion
    regionId string
    The region ID of the instance.
    resourceGroupId string
    ResourceGroupId
    runMode string
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    status string
    The status of the instance.
    tags {[key: string]: string}
    Tag list of the instance.
    version string
    The version of the instance.
    vpcId string
    The VPC ID of the instance.
    vswitches StarRocksInstanceVswitch[]
    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_groups Sequence[StarRocksInstanceBackendNodeGroupArgs]
    BackendNodeGroups See backend_node_groups below.
    cluster_zone_id str
    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_groups Sequence[StarRocksInstanceFrontendNodeGroupArgs]
    FrontendNodeGroups See frontend_node_groups below.
    instance_name str
    The name of the instance.
    kms_key_id str
    KmsKeyId
    observer_node_groups Sequence[StarRocksInstanceObserverNodeGroupArgs]
    ObserverNodeGroups See observer_node_groups below.
    oss_accessing_role_name str
    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_no str
    Promotion
    region_id str
    The region ID of the instance.
    resource_group_id str
    ResourceGroupId
    run_mode str
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    status str
    The status of the instance.
    tags 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[StarRocksInstanceVswitchArgs]
    The VSwitches info of the instance. See vswitches below.
    adminPassword String
    Password of admin user.
    autoRenew Boolean
    Whether to enable automatic renewal. This is only meaningful when payType is set to PrePaid. Disabled by default.
    backendNodeGroups List<Property Map>
    BackendNodeGroups See backend_node_groups below.
    clusterZoneId String
    ZoneId of instance.
    createTime 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
    frontendNodeGroups List<Property Map>
    FrontendNodeGroups See frontend_node_groups below.
    instanceName String
    The name of the instance.
    kmsKeyId String
    KmsKeyId
    observerNodeGroups List<Property Map>
    ObserverNodeGroups See observer_node_groups below.
    ossAccessingRoleName String
    Role name used for password-free access to OSS.
    packageType String
    The package type of the instance:

    • trial
    • official
    payType String
    The pay type of the instance:

    • prePaid
    • postPaid
    pricingCycle String
    The duration unit for purchasing:

    • Month
    • Year This is only meaningful when PayType is set to PrePaid.
    promotionOptionNo String
    Promotion
    regionId String
    The region ID of the instance.
    resourceGroupId String
    ResourceGroupId
    runMode String
    The run mode of the instance:

    • shared_nothing
    • shared_data
    • lakehouse
    status String
    The status of the instance.
    tags Map<String>
    Tag list of the instance.
    version String
    The version of the instance.
    vpcId 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.
    DiskNumber int
    The number of disks.
    LocalStorageInstanceType string
    Local SSD instance specifications.
    ResidentNodeNumber int
    Resident node number of node group.
    SpecType string
    Compute group specification types include the following:

    • standard
    • localSSD
    • bigData
    • ramEnhanced
    • networkEnhanced
    StoragePerformanceLevel string
    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.
    StorageSize int
    Storage size, measured in GiB.
    ZoneId 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.
    DiskNumber int
    The number of disks.
    LocalStorageInstanceType string
    Local SSD instance specifications.
    ResidentNodeNumber int
    Resident node number of node group.
    SpecType string
    Compute group specification types include the following:

    • standard
    • localSSD
    • bigData
    • ramEnhanced
    • networkEnhanced
    StoragePerformanceLevel string
    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.
    StorageSize int
    Storage size, measured in GiB.
    ZoneId 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.
    diskNumber Integer
    The number of disks.
    localStorageInstanceType String
    Local SSD instance specifications.
    residentNodeNumber Integer
    Resident node number of node group.
    specType String
    Compute group specification types include the following:

    • standard
    • localSSD
    • bigData
    • ramEnhanced
    • networkEnhanced
    storagePerformanceLevel String
    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.
    storageSize Integer
    Storage size, measured in GiB.
    zoneId 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.
    diskNumber number
    The number of disks.
    localStorageInstanceType string
    Local SSD instance specifications.
    residentNodeNumber number
    Resident node number of node group.
    specType string
    Compute group specification types include the following:

    • standard
    • localSSD
    • bigData
    • ramEnhanced
    • networkEnhanced
    storagePerformanceLevel string
    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.
    storageSize number
    Storage size, measured in GiB.
    zoneId 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_instance_type str
    Local SSD instance specifications.
    resident_node_number int
    Resident node number of node group.
    spec_type str
    Compute group specification types include the following:

    • standard
    • localSSD
    • bigData
    • ramEnhanced
    • networkEnhanced
    storage_performance_level str
    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.
    diskNumber Number
    The number of disks.
    localStorageInstanceType String
    Local SSD instance specifications.
    residentNodeNumber Number
    Resident node number of node group.
    specType String
    Compute group specification types include the following:

    • standard
    • localSSD
    • bigData
    • ramEnhanced
    • networkEnhanced
    storagePerformanceLevel String
    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.
    storageSize Number
    Storage size, measured in GiB.
    zoneId 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.
    DiskNumber int
    DiskNumber
    LocalStorageInstanceType string
    Local SSD instance specifications.
    ResidentNodeNumber int
    Resident node number of node group.
    SpecType string
    Compute group specification types include the following:

    • standard
    • ramEnhanced
    StoragePerformanceLevel string
    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.
    StorageSize int
    Storage size, measured in GiB.
    ZoneId 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.
    DiskNumber int
    DiskNumber
    LocalStorageInstanceType string
    Local SSD instance specifications.
    ResidentNodeNumber int
    Resident node number of node group.
    SpecType string
    Compute group specification types include the following:

    • standard
    • ramEnhanced
    StoragePerformanceLevel string
    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.
    StorageSize int
    Storage size, measured in GiB.
    ZoneId 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.
    diskNumber Integer
    DiskNumber
    localStorageInstanceType String
    Local SSD instance specifications.
    residentNodeNumber Integer
    Resident node number of node group.
    specType String
    Compute group specification types include the following:

    • standard
    • ramEnhanced
    storagePerformanceLevel String
    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.
    storageSize Integer
    Storage size, measured in GiB.
    zoneId 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.
    diskNumber number
    DiskNumber
    localStorageInstanceType string
    Local SSD instance specifications.
    residentNodeNumber number
    Resident node number of node group.
    specType string
    Compute group specification types include the following:

    • standard
    • ramEnhanced
    storagePerformanceLevel string
    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.
    storageSize number
    Storage size, measured in GiB.
    zoneId 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_instance_type str
    Local SSD instance specifications.
    resident_node_number int
    Resident node number of node group.
    spec_type str
    Compute group specification types include the following:

    • standard
    • ramEnhanced
    storage_performance_level str
    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.
    diskNumber Number
    DiskNumber
    localStorageInstanceType String
    Local SSD instance specifications.
    residentNodeNumber Number
    Resident node number of node group.
    specType String
    Compute group specification types include the following:

    • standard
    • ramEnhanced
    storagePerformanceLevel String
    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.
    storageSize Number
    Storage size, measured in GiB.
    zoneId 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.
    DiskNumber int
    DiskNumber
    LocalStorageInstanceType string
    Local SSD instance specifications.
    ResidentNodeNumber int
    Resident node number of node group.
    SpecType string
    Compute group specification types include the following:

    • standard
    StoragePerformanceLevel string
    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.
    StorageSize int
    Storage size, measured in GiB.
    ZoneId 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.
    DiskNumber int
    DiskNumber
    LocalStorageInstanceType string
    Local SSD instance specifications.
    ResidentNodeNumber int
    Resident node number of node group.
    SpecType string
    Compute group specification types include the following:

    • standard
    StoragePerformanceLevel string
    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.
    StorageSize int
    Storage size, measured in GiB.
    ZoneId 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.
    diskNumber Integer
    DiskNumber
    localStorageInstanceType String
    Local SSD instance specifications.
    residentNodeNumber Integer
    Resident node number of node group.
    specType String
    Compute group specification types include the following:

    • standard
    storagePerformanceLevel String
    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.
    storageSize Integer
    Storage size, measured in GiB.
    zoneId 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.
    diskNumber number
    DiskNumber
    localStorageInstanceType string
    Local SSD instance specifications.
    residentNodeNumber number
    Resident node number of node group.
    specType string
    Compute group specification types include the following:

    • standard
    storagePerformanceLevel string
    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.
    storageSize number
    Storage size, measured in GiB.
    zoneId 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_instance_type str
    Local SSD instance specifications.
    resident_node_number int
    Resident node number of node group.
    spec_type str
    Compute group specification types include the following:

    • standard
    storage_performance_level str
    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.
    diskNumber Number
    DiskNumber
    localStorageInstanceType String
    Local SSD instance specifications.
    residentNodeNumber Number
    Resident node number of node group.
    specType String
    Compute group specification types include the following:

    • standard
    storagePerformanceLevel String
    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.
    storageSize Number
    Storage size, measured in GiB.
    zoneId String
    Zone ID.

    StarRocksInstanceVswitch, StarRocksInstanceVswitchArgs

    VswitchId string
    ID of VSwitch.
    ZoneId string
    Zone ID of VSwitch.
    VswitchId string
    ID of VSwitch.
    ZoneId string
    Zone ID of VSwitch.
    vswitchId String
    ID of VSwitch.
    zoneId String
    Zone ID of VSwitch.
    vswitchId string
    ID of VSwitch.
    zoneId string
    Zone ID of VSwitch.
    vswitch_id str
    ID of VSwitch.
    zone_id str
    Zone ID of VSwitch.
    vswitchId String
    ID of VSwitch.
    zoneId String
    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.
    alicloud logo
    Alibaba Cloud v3.85.0 published on Tuesday, Sep 9, 2025 by Pulumi