alicloud.starrocks.NodeGroup
Provides a Star Rocks Node Group resource.
For information about Star Rocks Node Group and how to use it, see What is Node Group.
NOTE: Available since v1.262.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 defaultq6pcFe = new alicloud.vpc.Network("defaultq6pcFe", {
cidrBlock: "172.16.0.0/12",
vpcName: "example-vpc-487",
});
const defaultujlpyG = new alicloud.vpc.Switch("defaultujlpyG", {
vpcId: defaultq6pcFe.id,
zoneId: "cn-hangzhou-i",
cidrBlock: "172.16.0.0/24",
vswitchName: "sr-example-ng",
});
const defaultvjnpM0 = new alicloud.starrocks.Instance("defaultvjnpM0", {
clusterZoneId: "cn-hangzhou-i",
encrypted: false,
autoRenew: false,
payType: "postPaid",
frontendNodeGroups: [{
cu: 8,
storageSize: 100,
storagePerformanceLevel: "pl1",
diskNumber: 1,
zoneId: "cn-hangzhou-i",
specType: "standard",
residentNodeNumber: 1,
}],
instanceName: "t1",
vswitches: [{
zoneId: "cn-hangzhou-i",
vswitchId: defaultujlpyG.id,
}],
vpcId: defaultq6pcFe.id,
version: "3.3",
runMode: "shared_data",
packageType: "official",
ossAccessingRoleName: "AliyunEMRStarRocksAccessingOSSRolecn",
adminPassword: "1qaz@QAZ",
backendNodeGroups: [{
cu: 8,
storageSize: 200,
zoneId: "cn-hangzhou-i",
specType: "standard",
residentNodeNumber: 3,
diskNumber: 1,
storagePerformanceLevel: "pl1",
}],
});
const _default = new alicloud.starrocks.NodeGroup("default", {
description: "example_desc",
nodeGroupName: "ng_676",
instanceId: defaultvjnpM0.id,
specType: "standard",
storagePerformanceLevel: "pl1",
pricingCycle: "1",
autoRenew: false,
storageSize: 200,
duration: 1,
payType: "postPaid",
cu: 8,
diskNumber: 1,
residentNodeNumber: 1,
localStorageInstanceType: "non_local_storage",
promotionOptionNo: "blank",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
defaultq6pc_fe = alicloud.vpc.Network("defaultq6pcFe",
cidr_block="172.16.0.0/12",
vpc_name="example-vpc-487")
defaultujlpy_g = alicloud.vpc.Switch("defaultujlpyG",
vpc_id=defaultq6pc_fe.id,
zone_id="cn-hangzhou-i",
cidr_block="172.16.0.0/24",
vswitch_name="sr-example-ng")
defaultvjnp_m0 = alicloud.starrocks.Instance("defaultvjnpM0",
cluster_zone_id="cn-hangzhou-i",
encrypted=False,
auto_renew=False,
pay_type="postPaid",
frontend_node_groups=[{
"cu": 8,
"storage_size": 100,
"storage_performance_level": "pl1",
"disk_number": 1,
"zone_id": "cn-hangzhou-i",
"spec_type": "standard",
"resident_node_number": 1,
}],
instance_name="t1",
vswitches=[{
"zone_id": "cn-hangzhou-i",
"vswitch_id": defaultujlpy_g.id,
}],
vpc_id=defaultq6pc_fe.id,
version="3.3",
run_mode="shared_data",
package_type="official",
oss_accessing_role_name="AliyunEMRStarRocksAccessingOSSRolecn",
admin_password="1qaz@QAZ",
backend_node_groups=[{
"cu": 8,
"storage_size": 200,
"zone_id": "cn-hangzhou-i",
"spec_type": "standard",
"resident_node_number": 3,
"disk_number": 1,
"storage_performance_level": "pl1",
}])
default = alicloud.starrocks.NodeGroup("default",
description="example_desc",
node_group_name="ng_676",
instance_id=defaultvjnp_m0.id,
spec_type="standard",
storage_performance_level="pl1",
pricing_cycle="1",
auto_renew=False,
storage_size=200,
duration=1,
pay_type="postPaid",
cu=8,
disk_number=1,
resident_node_number=1,
local_storage_instance_type="non_local_storage",
promotion_option_no="blank")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/starrocks"
"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
}
defaultq6pcFe, err := vpc.NewNetwork(ctx, "defaultq6pcFe", &vpc.NetworkArgs{
CidrBlock: pulumi.String("172.16.0.0/12"),
VpcName: pulumi.String("example-vpc-487"),
})
if err != nil {
return err
}
defaultujlpyG, err := vpc.NewSwitch(ctx, "defaultujlpyG", &vpc.SwitchArgs{
VpcId: defaultq6pcFe.ID(),
ZoneId: pulumi.String("cn-hangzhou-i"),
CidrBlock: pulumi.String("172.16.0.0/24"),
VswitchName: pulumi.String("sr-example-ng"),
})
if err != nil {
return err
}
defaultvjnpM0, err := starrocks.NewInstance(ctx, "defaultvjnpM0", &starrocks.InstanceArgs{
ClusterZoneId: pulumi.String("cn-hangzhou-i"),
Encrypted: pulumi.Bool(false),
AutoRenew: pulumi.Bool(false),
PayType: pulumi.String("postPaid"),
FrontendNodeGroups: starrocks.InstanceFrontendNodeGroupArray{
&starrocks.InstanceFrontendNodeGroupArgs{
Cu: pulumi.Int(8),
StorageSize: pulumi.Int(100),
StoragePerformanceLevel: pulumi.String("pl1"),
DiskNumber: pulumi.Int(1),
ZoneId: pulumi.String("cn-hangzhou-i"),
SpecType: pulumi.String("standard"),
ResidentNodeNumber: pulumi.Int(1),
},
},
InstanceName: pulumi.String("t1"),
Vswitches: starrocks.InstanceVswitchArray{
&starrocks.InstanceVswitchArgs{
ZoneId: pulumi.String("cn-hangzhou-i"),
VswitchId: defaultujlpyG.ID(),
},
},
VpcId: defaultq6pcFe.ID(),
Version: pulumi.String("3.3"),
RunMode: pulumi.String("shared_data"),
PackageType: pulumi.String("official"),
OssAccessingRoleName: pulumi.String("AliyunEMRStarRocksAccessingOSSRolecn"),
AdminPassword: pulumi.String("1qaz@QAZ"),
BackendNodeGroups: starrocks.InstanceBackendNodeGroupArray{
&starrocks.InstanceBackendNodeGroupArgs{
Cu: pulumi.Int(8),
StorageSize: pulumi.Int(200),
ZoneId: pulumi.String("cn-hangzhou-i"),
SpecType: pulumi.String("standard"),
ResidentNodeNumber: pulumi.Int(3),
DiskNumber: pulumi.Int(1),
StoragePerformanceLevel: pulumi.String("pl1"),
},
},
})
if err != nil {
return err
}
_, err = starrocks.NewNodeGroup(ctx, "default", &starrocks.NodeGroupArgs{
Description: pulumi.String("example_desc"),
NodeGroupName: pulumi.String("ng_676"),
InstanceId: defaultvjnpM0.ID(),
SpecType: pulumi.String("standard"),
StoragePerformanceLevel: pulumi.String("pl1"),
PricingCycle: pulumi.String("1"),
AutoRenew: pulumi.Bool(false),
StorageSize: pulumi.Int(200),
Duration: pulumi.Int(1),
PayType: pulumi.String("postPaid"),
Cu: pulumi.Int(8),
DiskNumber: pulumi.Int(1),
ResidentNodeNumber: pulumi.Int(1),
LocalStorageInstanceType: pulumi.String("non_local_storage"),
PromotionOptionNo: pulumi.String("blank"),
})
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 defaultq6pcFe = new AliCloud.Vpc.Network("defaultq6pcFe", new()
{
CidrBlock = "172.16.0.0/12",
VpcName = "example-vpc-487",
});
var defaultujlpyG = new AliCloud.Vpc.Switch("defaultujlpyG", new()
{
VpcId = defaultq6pcFe.Id,
ZoneId = "cn-hangzhou-i",
CidrBlock = "172.16.0.0/24",
VswitchName = "sr-example-ng",
});
var defaultvjnpM0 = new AliCloud.StarRocks.Instance("defaultvjnpM0", new()
{
ClusterZoneId = "cn-hangzhou-i",
Encrypted = false,
AutoRenew = false,
PayType = "postPaid",
FrontendNodeGroups = new[]
{
new AliCloud.starRocks.Inputs.InstanceFrontendNodeGroupArgs
{
Cu = 8,
StorageSize = 100,
StoragePerformanceLevel = "pl1",
DiskNumber = 1,
ZoneId = "cn-hangzhou-i",
SpecType = "standard",
ResidentNodeNumber = 1,
},
},
InstanceName = "t1",
Vswitches = new[]
{
new AliCloud.starRocks.Inputs.InstanceVswitchArgs
{
ZoneId = "cn-hangzhou-i",
VswitchId = defaultujlpyG.Id,
},
},
VpcId = defaultq6pcFe.Id,
Version = "3.3",
RunMode = "shared_data",
PackageType = "official",
OssAccessingRoleName = "AliyunEMRStarRocksAccessingOSSRolecn",
AdminPassword = "1qaz@QAZ",
BackendNodeGroups = new[]
{
new AliCloud.starRocks.Inputs.InstanceBackendNodeGroupArgs
{
Cu = 8,
StorageSize = 200,
ZoneId = "cn-hangzhou-i",
SpecType = "standard",
ResidentNodeNumber = 3,
DiskNumber = 1,
StoragePerformanceLevel = "pl1",
},
},
});
var @default = new AliCloud.StarRocks.NodeGroup("default", new()
{
Description = "example_desc",
NodeGroupName = "ng_676",
InstanceId = defaultvjnpM0.Id,
SpecType = "standard",
StoragePerformanceLevel = "pl1",
PricingCycle = "1",
AutoRenew = false,
StorageSize = 200,
Duration = 1,
PayType = "postPaid",
Cu = 8,
DiskNumber = 1,
ResidentNodeNumber = 1,
LocalStorageInstanceType = "non_local_storage",
PromotionOptionNo = "blank",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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.starrocks.Instance;
import com.pulumi.alicloud.starrocks.InstanceArgs;
import com.pulumi.alicloud.starrocks.inputs.InstanceFrontendNodeGroupArgs;
import com.pulumi.alicloud.starrocks.inputs.InstanceVswitchArgs;
import com.pulumi.alicloud.starrocks.inputs.InstanceBackendNodeGroupArgs;
import com.pulumi.alicloud.starrocks.NodeGroup;
import com.pulumi.alicloud.starrocks.NodeGroupArgs;
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");
var defaultq6pcFe = new Network("defaultq6pcFe", NetworkArgs.builder()
.cidrBlock("172.16.0.0/12")
.vpcName("example-vpc-487")
.build());
var defaultujlpyG = new Switch("defaultujlpyG", SwitchArgs.builder()
.vpcId(defaultq6pcFe.id())
.zoneId("cn-hangzhou-i")
.cidrBlock("172.16.0.0/24")
.vswitchName("sr-example-ng")
.build());
var defaultvjnpM0 = new Instance("defaultvjnpM0", InstanceArgs.builder()
.clusterZoneId("cn-hangzhou-i")
.encrypted(false)
.autoRenew(false)
.payType("postPaid")
.frontendNodeGroups(InstanceFrontendNodeGroupArgs.builder()
.cu(8)
.storageSize(100)
.storagePerformanceLevel("pl1")
.diskNumber(1)
.zoneId("cn-hangzhou-i")
.specType("standard")
.residentNodeNumber(1)
.build())
.instanceName("t1")
.vswitches(InstanceVswitchArgs.builder()
.zoneId("cn-hangzhou-i")
.vswitchId(defaultujlpyG.id())
.build())
.vpcId(defaultq6pcFe.id())
.version("3.3")
.runMode("shared_data")
.packageType("official")
.ossAccessingRoleName("AliyunEMRStarRocksAccessingOSSRolecn")
.adminPassword("1qaz@QAZ")
.backendNodeGroups(InstanceBackendNodeGroupArgs.builder()
.cu(8)
.storageSize(200)
.zoneId("cn-hangzhou-i")
.specType("standard")
.residentNodeNumber(3)
.diskNumber(1)
.storagePerformanceLevel("pl1")
.build())
.build());
var default_ = new NodeGroup("default", NodeGroupArgs.builder()
.description("example_desc")
.nodeGroupName("ng_676")
.instanceId(defaultvjnpM0.id())
.specType("standard")
.storagePerformanceLevel("pl1")
.pricingCycle("1")
.autoRenew(false)
.storageSize(200)
.duration(1)
.payType("postPaid")
.cu(8)
.diskNumber(1)
.residentNodeNumber(1)
.localStorageInstanceType("non_local_storage")
.promotionOptionNo("blank")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultq6pcFe:
type: alicloud:vpc:Network
properties:
cidrBlock: 172.16.0.0/12
vpcName: example-vpc-487
defaultujlpyG:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultq6pcFe.id}
zoneId: cn-hangzhou-i
cidrBlock: 172.16.0.0/24
vswitchName: sr-example-ng
defaultvjnpM0:
type: alicloud:starrocks:Instance
properties:
clusterZoneId: cn-hangzhou-i
encrypted: false
autoRenew: false
payType: postPaid
frontendNodeGroups:
- cu: '8'
storageSize: '100'
storagePerformanceLevel: pl1
diskNumber: '1'
zoneId: cn-hangzhou-i
specType: standard
residentNodeNumber: '1'
instanceName: t1
vswitches:
- zoneId: cn-hangzhou-i
vswitchId: ${defaultujlpyG.id}
vpcId: ${defaultq6pcFe.id}
version: '3.3'
runMode: shared_data
packageType: official
ossAccessingRoleName: AliyunEMRStarRocksAccessingOSSRolecn
adminPassword: 1qaz@QAZ
backendNodeGroups:
- cu: '8'
storageSize: '200'
zoneId: cn-hangzhou-i
specType: standard
residentNodeNumber: '3'
diskNumber: '1'
storagePerformanceLevel: pl1
default:
type: alicloud:starrocks:NodeGroup
properties:
description: example_desc
nodeGroupName: ng_676
instanceId: ${defaultvjnpM0.id}
specType: standard
storagePerformanceLevel: pl1
pricingCycle: '1'
autoRenew: false
storageSize: '200'
duration: '1'
payType: postPaid
cu: '8'
diskNumber: '1'
residentNodeNumber: '1'
localStorageInstanceType: non_local_storage
promotionOptionNo: blank
Create NodeGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeGroup(name: string, args?: NodeGroupArgs, opts?: CustomResourceOptions);@overload
def NodeGroup(resource_name: str,
args: Optional[NodeGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def NodeGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_renew: Optional[bool] = None,
cu: Optional[int] = None,
description: Optional[str] = None,
disk_number: Optional[int] = None,
duration: Optional[int] = None,
fast_mode: Optional[bool] = None,
instance_id: Optional[str] = None,
local_storage_instance_type: Optional[str] = None,
node_group_name: Optional[str] = None,
pay_type: Optional[str] = None,
pricing_cycle: Optional[str] = None,
promotion_option_no: Optional[str] = None,
resident_node_number: Optional[int] = None,
spec_type: Optional[str] = None,
storage_performance_level: Optional[str] = None,
storage_size: Optional[int] = None)func NewNodeGroup(ctx *Context, name string, args *NodeGroupArgs, opts ...ResourceOption) (*NodeGroup, error)public NodeGroup(string name, NodeGroupArgs? args = null, CustomResourceOptions? opts = null)
public NodeGroup(String name, NodeGroupArgs args)
public NodeGroup(String name, NodeGroupArgs args, CustomResourceOptions options)
type: alicloud:starrocks:NodeGroup
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 NodeGroupArgs
- 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 NodeGroupArgs
- 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 NodeGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeGroupArgs
- 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 alicloudNodeGroupResource = new AliCloud.StarRocks.NodeGroup("alicloudNodeGroupResource", new()
{
AutoRenew = false,
Cu = 0,
Description = "string",
DiskNumber = 0,
Duration = 0,
FastMode = false,
InstanceId = "string",
LocalStorageInstanceType = "string",
NodeGroupName = "string",
PayType = "string",
PricingCycle = "string",
PromotionOptionNo = "string",
ResidentNodeNumber = 0,
SpecType = "string",
StoragePerformanceLevel = "string",
StorageSize = 0,
});
example, err := starrocks.NewNodeGroup(ctx, "alicloudNodeGroupResource", &starrocks.NodeGroupArgs{
AutoRenew: pulumi.Bool(false),
Cu: pulumi.Int(0),
Description: pulumi.String("string"),
DiskNumber: pulumi.Int(0),
Duration: pulumi.Int(0),
FastMode: pulumi.Bool(false),
InstanceId: pulumi.String("string"),
LocalStorageInstanceType: pulumi.String("string"),
NodeGroupName: pulumi.String("string"),
PayType: pulumi.String("string"),
PricingCycle: pulumi.String("string"),
PromotionOptionNo: pulumi.String("string"),
ResidentNodeNumber: pulumi.Int(0),
SpecType: pulumi.String("string"),
StoragePerformanceLevel: pulumi.String("string"),
StorageSize: pulumi.Int(0),
})
var alicloudNodeGroupResource = new com.pulumi.alicloud.starrocks.NodeGroup("alicloudNodeGroupResource", com.pulumi.alicloud.starrocks.NodeGroupArgs.builder()
.autoRenew(false)
.cu(0)
.description("string")
.diskNumber(0)
.duration(0)
.fastMode(false)
.instanceId("string")
.localStorageInstanceType("string")
.nodeGroupName("string")
.payType("string")
.pricingCycle("string")
.promotionOptionNo("string")
.residentNodeNumber(0)
.specType("string")
.storagePerformanceLevel("string")
.storageSize(0)
.build());
alicloud_node_group_resource = alicloud.starrocks.NodeGroup("alicloudNodeGroupResource",
auto_renew=False,
cu=0,
description="string",
disk_number=0,
duration=0,
fast_mode=False,
instance_id="string",
local_storage_instance_type="string",
node_group_name="string",
pay_type="string",
pricing_cycle="string",
promotion_option_no="string",
resident_node_number=0,
spec_type="string",
storage_performance_level="string",
storage_size=0)
const alicloudNodeGroupResource = new alicloud.starrocks.NodeGroup("alicloudNodeGroupResource", {
autoRenew: false,
cu: 0,
description: "string",
diskNumber: 0,
duration: 0,
fastMode: false,
instanceId: "string",
localStorageInstanceType: "string",
nodeGroupName: "string",
payType: "string",
pricingCycle: "string",
promotionOptionNo: "string",
residentNodeNumber: 0,
specType: "string",
storagePerformanceLevel: "string",
storageSize: 0,
});
type: alicloud:starrocks:NodeGroup
properties:
autoRenew: false
cu: 0
description: string
diskNumber: 0
duration: 0
fastMode: false
instanceId: string
localStorageInstanceType: string
nodeGroupName: string
payType: string
pricingCycle: string
promotionOptionNo: string
residentNodeNumber: 0
specType: string
storagePerformanceLevel: string
storageSize: 0
NodeGroup 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 NodeGroup resource accepts the following input properties:
- Auto
Renew bool Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Cu int
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- Description string
- Description of node group.
- Disk
Number int - Number of disks.
- Duration int
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Fast
Mode bool Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Instance
Id string - The ID of the instance.
- Local
Storage stringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- Node
Group stringName - The name of the node group.
- Pay
Type string - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- Pricing
Cycle string Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Promotion
Option stringNo - Resident
Node intNumber - Number of nodes.
- Spec
Type string - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- Storage
Performance stringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Auto
Renew bool Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Cu int
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- Description string
- Description of node group.
- Disk
Number int - Number of disks.
- Duration int
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Fast
Mode bool Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Instance
Id string - The ID of the instance.
- Local
Storage stringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- Node
Group stringName - The name of the node group.
- Pay
Type string - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- Pricing
Cycle string Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Promotion
Option stringNo - Resident
Node intNumber - Number of nodes.
- Spec
Type string - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- Storage
Performance stringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- auto
Renew Boolean Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- cu Integer
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description String
- Description of node group.
- disk
Number Integer - Number of disks.
- duration Integer
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast
Mode Boolean Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance
Id String - The ID of the instance.
- local
Storage StringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node
Group StringName - The name of the node group.
- pay
Type String - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing
Cycle String Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion
Option StringNo - resident
Node IntegerNumber - Number of nodes.
- spec
Type String - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- storage
Performance StringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage
Size Integer - Storage size, measured in GiB.
- auto
Renew boolean Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- cu number
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description string
- Description of node group.
- disk
Number number - Number of disks.
- duration number
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast
Mode boolean Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance
Id string - The ID of the instance.
- local
Storage stringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node
Group stringName - The name of the node group.
- pay
Type string - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing
Cycle string Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion
Option stringNo - resident
Node numberNumber - Number of nodes.
- spec
Type string - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- storage
Performance stringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage
Size number - Storage size, measured in GiB.
- auto_
renew bool Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- cu int
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description str
- Description of node group.
- disk_
number int - Number of disks.
- duration int
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast_
mode bool Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance_
id str - The ID of the instance.
- local_
storage_ strinstance_ type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node_
group_ strname - The name of the node group.
- pay_
type str - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing_
cycle str Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion_
option_ strno - resident_
node_ intnumber - Number of nodes.
- spec_
type str - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- storage_
performance_ strlevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage_
size int - Storage size, measured in GiB.
- auto
Renew Boolean Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- cu Number
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description String
- Description of node group.
- disk
Number Number - Number of disks.
- duration Number
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast
Mode Boolean Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance
Id String - The ID of the instance.
- local
Storage StringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node
Group StringName - The name of the node group.
- pay
Type String - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing
Cycle String Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion
Option StringNo - resident
Node NumberNumber - Number of nodes.
- spec
Type String - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- storage
Performance StringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage
Size Number - Storage size, measured in GiB.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeGroup resource produces the following output properties:
- Create
Time string - The creation time of the node group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Group stringId - The ID of the node group.
- Region
Id string - The region ID of the node group.
- Status string
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- Create
Time string - The creation time of the node group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Group stringId - The ID of the node group.
- Region
Id string - The region ID of the node group.
- Status string
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- create
Time String - The creation time of the node group.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Group StringId - The ID of the node group.
- region
Id String - The region ID of the node group.
- status String
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- create
Time string - The creation time of the node group.
- id string
- The provider-assigned unique ID for this managed resource.
- node
Group stringId - The ID of the node group.
- region
Id string - The region ID of the node group.
- status string
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- create_
time str - The creation time of the node group.
- id str
- The provider-assigned unique ID for this managed resource.
- node_
group_ strid - The ID of the node group.
- region_
id str - The region ID of the node group.
- status str
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- create
Time String - The creation time of the node group.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Group StringId - The ID of the node group.
- region
Id String - The region ID of the node group.
- status String
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
Look up Existing NodeGroup Resource
Get an existing NodeGroup 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?: NodeGroupState, opts?: CustomResourceOptions): NodeGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_renew: Optional[bool] = None,
create_time: Optional[str] = None,
cu: Optional[int] = None,
description: Optional[str] = None,
disk_number: Optional[int] = None,
duration: Optional[int] = None,
fast_mode: Optional[bool] = None,
instance_id: Optional[str] = None,
local_storage_instance_type: Optional[str] = None,
node_group_id: Optional[str] = None,
node_group_name: Optional[str] = None,
pay_type: Optional[str] = None,
pricing_cycle: Optional[str] = None,
promotion_option_no: Optional[str] = None,
region_id: Optional[str] = None,
resident_node_number: Optional[int] = None,
spec_type: Optional[str] = None,
status: Optional[str] = None,
storage_performance_level: Optional[str] = None,
storage_size: Optional[int] = None) -> NodeGroupfunc GetNodeGroup(ctx *Context, name string, id IDInput, state *NodeGroupState, opts ...ResourceOption) (*NodeGroup, error)public static NodeGroup Get(string name, Input<string> id, NodeGroupState? state, CustomResourceOptions? opts = null)public static NodeGroup get(String name, Output<String> id, NodeGroupState state, CustomResourceOptions options)resources: _: type: alicloud:starrocks:NodeGroup 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.
- Auto
Renew bool Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Create
Time string - The creation time of the node group.
- Cu int
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- Description string
- Description of node group.
- Disk
Number int - Number of disks.
- Duration int
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Fast
Mode bool Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Instance
Id string - The ID of the instance.
- Local
Storage stringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- Node
Group stringId - The ID of the node group.
- Node
Group stringName - The name of the node group.
- Pay
Type string - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- Pricing
Cycle string Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Promotion
Option stringNo - Region
Id string - The region ID of the node group.
- Resident
Node intNumber - Number of nodes.
- Spec
Type string - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- Status string
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- Storage
Performance stringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- Auto
Renew bool Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Create
Time string - The creation time of the node group.
- Cu int
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- Description string
- Description of node group.
- Disk
Number int - Number of disks.
- Duration int
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Fast
Mode bool Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Instance
Id string - The ID of the instance.
- Local
Storage stringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- Node
Group stringId - The ID of the node group.
- Node
Group stringName - The name of the node group.
- Pay
Type string - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- Pricing
Cycle string Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Promotion
Option stringNo - Region
Id string - The region ID of the node group.
- Resident
Node intNumber - Number of nodes.
- Spec
Type string - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- Status string
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- Storage
Performance stringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- Storage
Size int - Storage size, measured in GiB.
- auto
Renew Boolean Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- create
Time String - The creation time of the node group.
- cu Integer
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description String
- Description of node group.
- disk
Number Integer - Number of disks.
- duration Integer
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast
Mode Boolean Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance
Id String - The ID of the instance.
- local
Storage StringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node
Group StringId - The ID of the node group.
- node
Group StringName - The name of the node group.
- pay
Type String - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing
Cycle String Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion
Option StringNo - region
Id String - The region ID of the node group.
- resident
Node IntegerNumber - Number of nodes.
- spec
Type String - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- status String
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- storage
Performance StringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage
Size Integer - Storage size, measured in GiB.
- auto
Renew boolean Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- create
Time string - The creation time of the node group.
- cu number
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description string
- Description of node group.
- disk
Number number - Number of disks.
- duration number
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast
Mode boolean Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance
Id string - The ID of the instance.
- local
Storage stringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node
Group stringId - The ID of the node group.
- node
Group stringName - The name of the node group.
- pay
Type string - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing
Cycle string Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion
Option stringNo - region
Id string - The region ID of the node group.
- resident
Node numberNumber - Number of nodes.
- spec
Type string - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- status string
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- storage
Performance stringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage
Size number - Storage size, measured in GiB.
- auto_
renew bool Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- create_
time str - The creation time of the node group.
- cu int
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description str
- Description of node group.
- disk_
number int - Number of disks.
- duration int
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast_
mode bool Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance_
id str - The ID of the instance.
- local_
storage_ strinstance_ type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node_
group_ strid - The ID of the node group.
- node_
group_ strname - The name of the node group.
- pay_
type str - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing_
cycle str Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion_
option_ strno - region_
id str - The region ID of the node group.
- resident_
node_ intnumber - Number of nodes.
- spec_
type str - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- status str
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- storage_
performance_ strlevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage_
size int - Storage size, measured in GiB.
- auto
Renew Boolean Whether auto-renewal is enabled.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- create
Time String - The creation time of the node group.
- cu Number
- Number of CUs. CU (Compute Unit) is the basic unit of service measurement, where 1 CU = 1 vCPU + 4 GiB memory. When SpecType is memory-optimized, 1 CU = 1 vCPU + 8 GiB memory.
- description String
- Description of node group.
- disk
Number Number - Number of disks.
- duration Number
Duration of node group.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- fast
Mode Boolean Whether to restart in fast restart mode. The default is false.
- true: Reboots the compute node in fast restart mode. Restart computing nodes in multiple batches, restart in parallel within a batch, and execute serially between batches;
- false: Restarts the compute node in rolling restart mode.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- instance
Id String - The ID of the instance.
- local
Storage StringInstance Type - Node group local SSD instance specification. This value is only relevant when based on ECS instances and SpecType is set to local SSD/large-scale storage.
- node
Group StringId - The ID of the node group.
- node
Group StringName - The name of the node group.
- pay
Type String - Payment type:
- PrePaid: Subscription (prepaid).
- PostPaid: Pay-as-you-go (postpaid).
- pricing
Cycle String Unit of purchase duration:
- Month
- Year
This is only applicable when payType is set to PrePaid.
NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- promotion
Option StringNo - region
Id String - The region ID of the node group.
- resident
Node NumberNumber - Number of nodes.
- spec
Type String - Node group spec types include the following:
- standard: Standard edition.
- localSSD: Local SSD.
- bigData: Large-scale storage.
- ramEnhanced: Memory-enhanced type.
- networkEnhanced: Network-enhanced type.
- status String
- Node group status, including the following values:_FAILED: Creation failed._CONFIG: Modifying configuration._TIMEZONE: Modifying timezone._SCALING_OUT: Elastic scaling out._SCALING_IN: Elastic scaling in._OUT: Scaling out._IN: Scaling in._UP: Scaling up (upgrading configuration)._DOWN: Scaling down (downgrading configuration)._PUBLIC_NETWORK: Enabling public network._PUBLIC_NETWORK: Disabling public network._AZ: Switching availability zones.
- storage
Performance StringLevel - Performance levels of the cloud disk. Includes the following values:
- pl0: Maximum random read/write IOPS of a single disk is 10,000.
- pl1: Maximum random read/write IOPS of a single disk is 50,000.
- pl2: Maximum random read/write IOPS of a single disk is 100,000.
- pl3: Maximum random read/write IOPS of a single disk is 1,000,000.
- storage
Size Number - Storage size, measured in GiB.
Import
Star Rocks Node Group can be imported using the id, e.g.
$ pulumi import alicloud:starrocks/nodeGroup:NodeGroup example <instance_id>:<node_group_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
alicloudTerraform Provider.
