published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
MongoDB document database supports multiple architectures for flexible business deployment. In addition to replica set instances, MongoDB document database also provides sharded cluster architecture for large-scale data scenarios, along with disaster recovery, backup and restore, monitoring, and a complete solution set. It is widely used in industries such as internet (gaming, e-commerce, live streaming, news, social), new retail, online education, finance, IoT, and government/enterprise.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const mongoDBInstanceDemo = new bytepluscc.mongodb.Instance("MongoDBInstanceDemo", {
zoneId: "cn-beijing-a,cn-beijing-c,cn-beijing-d",
vpcId: "vpc-1a1vgeo9xxxcg8nvepjyxxxxx",
subnetId: "subnet-ij9s4hxxxs3k74o8cuxxxxx",
dbEngine: "MongoDB",
dbEngineVersion: "MongoDB_7_0",
instanceType: "ShardedCluster",
nodeSpec: "mongo.shard.2c4g",
nodeNumber: 3,
mongosNodeSpec: "mongo.mongos.2c4g",
mongosNodeNumber: 3,
shardNumber: 2,
storageSpaceGb: 100,
configServerNodeSpec: "mongo.config.2c4g",
configServerStorageSpaceGb: 20,
superAccountName: "****",
superAccountPassword: "*******",
instanceName: "MongoDBInstanceDemo",
instanceCount: 1,
chargeType: "PostPaid",
projectName: "default",
tags: [{
key: "env",
value: "test",
}],
allowListIds: [
"acl-c972e7b4ce4941a1a8d5xxxe57xxxxx",
"acl-70dbb8ee8893467dbafxxxc964xxxxx",
],
});
import pulumi
import pulumi_bytepluscc as bytepluscc
mongo_db_instance_demo = bytepluscc.mongodb.Instance("MongoDBInstanceDemo",
zone_id="cn-beijing-a,cn-beijing-c,cn-beijing-d",
vpc_id="vpc-1a1vgeo9xxxcg8nvepjyxxxxx",
subnet_id="subnet-ij9s4hxxxs3k74o8cuxxxxx",
db_engine="MongoDB",
db_engine_version="MongoDB_7_0",
instance_type="ShardedCluster",
node_spec="mongo.shard.2c4g",
node_number=3,
mongos_node_spec="mongo.mongos.2c4g",
mongos_node_number=3,
shard_number=2,
storage_space_gb=100,
config_server_node_spec="mongo.config.2c4g",
config_server_storage_space_gb=20,
super_account_name="****",
super_account_password="*******",
instance_name="MongoDBInstanceDemo",
instance_count=1,
charge_type="PostPaid",
project_name="default",
tags=[{
"key": "env",
"value": "test",
}],
allow_list_ids=[
"acl-c972e7b4ce4941a1a8d5xxxe57xxxxx",
"acl-70dbb8ee8893467dbafxxxc964xxxxx",
])
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/mongodb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mongodb.NewInstance(ctx, "MongoDBInstanceDemo", &mongodb.InstanceArgs{
ZoneId: pulumi.String("cn-beijing-a,cn-beijing-c,cn-beijing-d"),
VpcId: pulumi.String("vpc-1a1vgeo9xxxcg8nvepjyxxxxx"),
SubnetId: pulumi.String("subnet-ij9s4hxxxs3k74o8cuxxxxx"),
DbEngine: pulumi.String("MongoDB"),
DbEngineVersion: pulumi.String("MongoDB_7_0"),
InstanceType: pulumi.String("ShardedCluster"),
NodeSpec: pulumi.String("mongo.shard.2c4g"),
NodeNumber: pulumi.Int(3),
MongosNodeSpec: pulumi.String("mongo.mongos.2c4g"),
MongosNodeNumber: pulumi.Int(3),
ShardNumber: pulumi.Int(2),
StorageSpaceGb: pulumi.Int(100),
ConfigServerNodeSpec: pulumi.String("mongo.config.2c4g"),
ConfigServerStorageSpaceGb: pulumi.Int(20),
SuperAccountName: pulumi.String("****"),
SuperAccountPassword: pulumi.String("*******"),
InstanceName: pulumi.String("MongoDBInstanceDemo"),
InstanceCount: pulumi.Int(1),
ChargeType: pulumi.String("PostPaid"),
ProjectName: pulumi.String("default"),
Tags: mongodb.InstanceTagArray{
&mongodb.InstanceTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
AllowListIds: pulumi.StringArray{
pulumi.String("acl-c972e7b4ce4941a1a8d5xxxe57xxxxx"),
pulumi.String("acl-70dbb8ee8893467dbafxxxc964xxxxx"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var mongoDBInstanceDemo = new Bytepluscc.Mongodb.Instance("MongoDBInstanceDemo", new()
{
ZoneId = "cn-beijing-a,cn-beijing-c,cn-beijing-d",
VpcId = "vpc-1a1vgeo9xxxcg8nvepjyxxxxx",
SubnetId = "subnet-ij9s4hxxxs3k74o8cuxxxxx",
DbEngine = "MongoDB",
DbEngineVersion = "MongoDB_7_0",
InstanceType = "ShardedCluster",
NodeSpec = "mongo.shard.2c4g",
NodeNumber = 3,
MongosNodeSpec = "mongo.mongos.2c4g",
MongosNodeNumber = 3,
ShardNumber = 2,
StorageSpaceGb = 100,
ConfigServerNodeSpec = "mongo.config.2c4g",
ConfigServerStorageSpaceGb = 20,
SuperAccountName = "****",
SuperAccountPassword = "*******",
InstanceName = "MongoDBInstanceDemo",
InstanceCount = 1,
ChargeType = "PostPaid",
ProjectName = "default",
Tags = new[]
{
new Bytepluscc.Mongodb.Inputs.InstanceTagArgs
{
Key = "env",
Value = "test",
},
},
AllowListIds = new[]
{
"acl-c972e7b4ce4941a1a8d5xxxe57xxxxx",
"acl-70dbb8ee8893467dbafxxxc964xxxxx",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.mongodb.Instance;
import com.byteplus.bytepluscc.mongodb.InstanceArgs;
import com.pulumi.bytepluscc.mongodb.inputs.InstanceTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mongoDBInstanceDemo = new Instance("mongoDBInstanceDemo", InstanceArgs.builder()
.zoneId("cn-beijing-a,cn-beijing-c,cn-beijing-d")
.vpcId("vpc-1a1vgeo9xxxcg8nvepjyxxxxx")
.subnetId("subnet-ij9s4hxxxs3k74o8cuxxxxx")
.dbEngine("MongoDB")
.dbEngineVersion("MongoDB_7_0")
.instanceType("ShardedCluster")
.nodeSpec("mongo.shard.2c4g")
.nodeNumber(3)
.mongosNodeSpec("mongo.mongos.2c4g")
.mongosNodeNumber(3)
.shardNumber(2)
.storageSpaceGb(100)
.configServerNodeSpec("mongo.config.2c4g")
.configServerStorageSpaceGb(20)
.superAccountName("****")
.superAccountPassword("*******")
.instanceName("MongoDBInstanceDemo")
.instanceCount(1)
.chargeType("PostPaid")
.projectName("default")
.tags(InstanceTagArgs.builder()
.key("env")
.value("test")
.build())
.allowListIds(
"acl-c972e7b4ce4941a1a8d5xxxe57xxxxx",
"acl-70dbb8ee8893467dbafxxxc964xxxxx")
.build());
}
}
resources:
mongoDBInstanceDemo:
type: bytepluscc:mongodb:Instance
name: MongoDBInstanceDemo
properties:
zoneId: cn-beijing-a,cn-beijing-c,cn-beijing-d
vpcId: vpc-1a1vgeo9xxxcg8nvepjyxxxxx
subnetId: subnet-ij9s4hxxxs3k74o8cuxxxxx
dbEngine: MongoDB
dbEngineVersion: MongoDB_7_0
instanceType: ShardedCluster
nodeSpec: mongo.shard.2c4g
nodeNumber: 3
mongosNodeSpec: mongo.mongos.2c4g
mongosNodeNumber: 3
shardNumber: 2
storageSpaceGb: 100
configServerNodeSpec: mongo.config.2c4g
configServerStorageSpaceGb: 20
superAccountName: '****'
superAccountPassword: '*******'
instanceName: MongoDBInstanceDemo
instanceCount: 1
chargeType: PostPaid
projectName: default
tags:
- key: env
value: test
allowListIds:
- acl-c972e7b4ce4941a1a8d5xxxe57xxxxx
- acl-70dbb8ee8893467dbafxxxc964xxxxx
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_spec: Optional[str] = None,
zone_id: Optional[str] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
storage_space_gb: Optional[int] = None,
node_availability_zones: Optional[Sequence[InstanceNodeAvailabilityZoneArgs]] = None,
period_unit: Optional[str] = None,
instance_count: Optional[int] = None,
instance_name: Optional[str] = None,
instance_type: Optional[str] = None,
mongos_node_number: Optional[int] = None,
mongos_node_spec: Optional[str] = None,
allow_list_ids: Optional[Sequence[str]] = None,
node_number: Optional[int] = None,
db_engine: Optional[str] = None,
period: Optional[int] = None,
db_engine_version: Optional[str] = None,
project_name: Optional[str] = None,
shard_number: Optional[int] = None,
config_server_storage_space_gb: Optional[int] = None,
config_server_node_spec: Optional[str] = None,
super_account_name: Optional[str] = None,
super_account_password: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
charge_type: Optional[str] = None,
auto_renew: Optional[bool] = None)func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: bytepluscc:mongodb:Instance
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 InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- 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 exampleinstanceResourceResourceFromMongodbinstance = new Bytepluscc.Mongodb.Instance("exampleinstanceResourceResourceFromMongodbinstance", new()
{
NodeSpec = "string",
ZoneId = "string",
VpcId = "string",
SubnetId = "string",
StorageSpaceGb = 0,
NodeAvailabilityZones = new[]
{
new Bytepluscc.Mongodb.Inputs.InstanceNodeAvailabilityZoneArgs
{
NodeNumber = 0,
ZoneId = "string",
},
},
PeriodUnit = "string",
InstanceCount = 0,
InstanceName = "string",
InstanceType = "string",
MongosNodeNumber = 0,
MongosNodeSpec = "string",
AllowListIds = new[]
{
"string",
},
NodeNumber = 0,
DbEngine = "string",
Period = 0,
DbEngineVersion = "string",
ProjectName = "string",
ShardNumber = 0,
ConfigServerStorageSpaceGb = 0,
ConfigServerNodeSpec = "string",
SuperAccountName = "string",
SuperAccountPassword = "string",
Tags = new[]
{
new Bytepluscc.Mongodb.Inputs.InstanceTagArgs
{
Key = "string",
Value = "string",
},
},
ChargeType = "string",
AutoRenew = false,
});
example, err := mongodb.NewInstance(ctx, "exampleinstanceResourceResourceFromMongodbinstance", &mongodb.InstanceArgs{
NodeSpec: pulumi.String("string"),
ZoneId: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
StorageSpaceGb: pulumi.Int(0),
NodeAvailabilityZones: mongodb.InstanceNodeAvailabilityZoneArray{
&mongodb.InstanceNodeAvailabilityZoneArgs{
NodeNumber: pulumi.Int(0),
ZoneId: pulumi.String("string"),
},
},
PeriodUnit: pulumi.String("string"),
InstanceCount: pulumi.Int(0),
InstanceName: pulumi.String("string"),
InstanceType: pulumi.String("string"),
MongosNodeNumber: pulumi.Int(0),
MongosNodeSpec: pulumi.String("string"),
AllowListIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeNumber: pulumi.Int(0),
DbEngine: pulumi.String("string"),
Period: pulumi.Int(0),
DbEngineVersion: pulumi.String("string"),
ProjectName: pulumi.String("string"),
ShardNumber: pulumi.Int(0),
ConfigServerStorageSpaceGb: pulumi.Int(0),
ConfigServerNodeSpec: pulumi.String("string"),
SuperAccountName: pulumi.String("string"),
SuperAccountPassword: pulumi.String("string"),
Tags: mongodb.InstanceTagArray{
&mongodb.InstanceTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ChargeType: pulumi.String("string"),
AutoRenew: pulumi.Bool(false),
})
var exampleinstanceResourceResourceFromMongodbinstance = new com.byteplus.bytepluscc.mongodb.Instance("exampleinstanceResourceResourceFromMongodbinstance", com.byteplus.bytepluscc.mongodb.InstanceArgs.builder()
.nodeSpec("string")
.zoneId("string")
.vpcId("string")
.subnetId("string")
.storageSpaceGb(0)
.nodeAvailabilityZones(InstanceNodeAvailabilityZoneArgs.builder()
.nodeNumber(0)
.zoneId("string")
.build())
.periodUnit("string")
.instanceCount(0)
.instanceName("string")
.instanceType("string")
.mongosNodeNumber(0)
.mongosNodeSpec("string")
.allowListIds("string")
.nodeNumber(0)
.dbEngine("string")
.period(0)
.dbEngineVersion("string")
.projectName("string")
.shardNumber(0)
.configServerStorageSpaceGb(0)
.configServerNodeSpec("string")
.superAccountName("string")
.superAccountPassword("string")
.tags(InstanceTagArgs.builder()
.key("string")
.value("string")
.build())
.chargeType("string")
.autoRenew(false)
.build());
exampleinstance_resource_resource_from_mongodbinstance = bytepluscc.mongodb.Instance("exampleinstanceResourceResourceFromMongodbinstance",
node_spec="string",
zone_id="string",
vpc_id="string",
subnet_id="string",
storage_space_gb=0,
node_availability_zones=[{
"node_number": 0,
"zone_id": "string",
}],
period_unit="string",
instance_count=0,
instance_name="string",
instance_type="string",
mongos_node_number=0,
mongos_node_spec="string",
allow_list_ids=["string"],
node_number=0,
db_engine="string",
period=0,
db_engine_version="string",
project_name="string",
shard_number=0,
config_server_storage_space_gb=0,
config_server_node_spec="string",
super_account_name="string",
super_account_password="string",
tags=[{
"key": "string",
"value": "string",
}],
charge_type="string",
auto_renew=False)
const exampleinstanceResourceResourceFromMongodbinstance = new bytepluscc.mongodb.Instance("exampleinstanceResourceResourceFromMongodbinstance", {
nodeSpec: "string",
zoneId: "string",
vpcId: "string",
subnetId: "string",
storageSpaceGb: 0,
nodeAvailabilityZones: [{
nodeNumber: 0,
zoneId: "string",
}],
periodUnit: "string",
instanceCount: 0,
instanceName: "string",
instanceType: "string",
mongosNodeNumber: 0,
mongosNodeSpec: "string",
allowListIds: ["string"],
nodeNumber: 0,
dbEngine: "string",
period: 0,
dbEngineVersion: "string",
projectName: "string",
shardNumber: 0,
configServerStorageSpaceGb: 0,
configServerNodeSpec: "string",
superAccountName: "string",
superAccountPassword: "string",
tags: [{
key: "string",
value: "string",
}],
chargeType: "string",
autoRenew: false,
});
type: bytepluscc:mongodb:Instance
properties:
allowListIds:
- string
autoRenew: false
chargeType: string
configServerNodeSpec: string
configServerStorageSpaceGb: 0
dbEngine: string
dbEngineVersion: string
instanceCount: 0
instanceName: string
instanceType: string
mongosNodeNumber: 0
mongosNodeSpec: string
nodeAvailabilityZones:
- nodeNumber: 0
zoneId: string
nodeNumber: 0
nodeSpec: string
period: 0
periodUnit: string
projectName: string
shardNumber: 0
storageSpaceGb: 0
subnetId: string
superAccountName: string
superAccountPassword: string
tags:
- key: string
value: string
vpcId: string
zoneId: string
Instance 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 Instance resource accepts the following input properties:
- Node
Spec string - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- Storage
Space intGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- Subnet
Id string - Subnet ID.
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID where the instance is located.
- Allow
List List<string>Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- Auto
Renew bool - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- Charge
Type string - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- Config
Server stringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- Config
Server intStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- Db
Engine string - Database engine. The value is fixed as MongoDB
- Db
Engine stringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- Instance
Count int - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- Instance
Name string - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- Instance
Type string - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- Mongos
Node intNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- Mongos
Node stringSpec - Specification code for Mongos nodes in a sharded cluster.
- Node
Availability List<Byteplus.Zones Instance Node Availability Zone> - Node
Number int - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- Period int
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- Period
Unit string - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- Project
Name string - Select the project for the instance. If left blank, the new instance will be added to the default project.
- int
- Number of shards in the sharded cluster. Range: 2–32.
- Super
Account stringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- Super
Account stringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
List<Byteplus.
Instance Tag>
- Node
Spec string - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- Storage
Space intGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- Subnet
Id string - Subnet ID.
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID where the instance is located.
- Allow
List []stringIds - Allowlist ID list. New instances are bound to the specified allowlist.
- Auto
Renew bool - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- Charge
Type string - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- Config
Server stringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- Config
Server intStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- Db
Engine string - Database engine. The value is fixed as MongoDB
- Db
Engine stringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- Instance
Count int - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- Instance
Name string - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- Instance
Type string - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- Mongos
Node intNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- Mongos
Node stringSpec - Specification code for Mongos nodes in a sharded cluster.
- Node
Availability []InstanceZones Node Availability Zone Args - Node
Number int - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- Period int
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- Period
Unit string - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- Project
Name string - Select the project for the instance. If left blank, the new instance will be added to the default project.
- int
- Number of shards in the sharded cluster. Range: 2–32.
- Super
Account stringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- Super
Account stringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
[]Instance
Tag Args
- node
Spec String - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- storage
Space IntegerGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- subnet
Id String - Subnet ID.
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID where the instance is located.
- allow
List List<String>Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto
Renew Boolean - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge
Type String - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- config
Server StringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config
Server IntegerStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- db
Engine String - Database engine. The value is fixed as MongoDB
- db
Engine StringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- instance
Count Integer - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance
Name String - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance
Type String - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos
Node IntegerNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos
Node StringSpec - Specification code for Mongos nodes in a sharded cluster.
- node
Availability List<InstanceZones Node Availability Zone> - node
Number Integer - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- period Integer
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period
Unit String - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- project
Name String - Select the project for the instance. If left blank, the new instance will be added to the default project.
- Integer
- Number of shards in the sharded cluster. Range: 2–32.
- super
Account StringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super
Account StringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
List<Instance
Tag>
- node
Spec string - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- storage
Space numberGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- subnet
Id string - Subnet ID.
- vpc
Id string - Private network ID.
- zone
Id string - Availability zone ID where the instance is located.
- allow
List string[]Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto
Renew boolean - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge
Type string - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- config
Server stringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config
Server numberStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- db
Engine string - Database engine. The value is fixed as MongoDB
- db
Engine stringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- instance
Count number - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance
Name string - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance
Type string - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos
Node numberNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos
Node stringSpec - Specification code for Mongos nodes in a sharded cluster.
- node
Availability InstanceZones Node Availability Zone[] - node
Number number - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- period number
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period
Unit string - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- project
Name string - Select the project for the instance. If left blank, the new instance will be added to the default project.
- number
- Number of shards in the sharded cluster. Range: 2–32.
- super
Account stringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super
Account stringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
Instance
Tag[]
- node_
spec str - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- storage_
space_ intgb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- subnet_
id str - Subnet ID.
- vpc_
id str - Private network ID.
- zone_
id str - Availability zone ID where the instance is located.
- allow_
list_ Sequence[str]ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto_
renew bool - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge_
type str - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- config_
server_ strnode_ spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config_
server_ intstorage_ space_ gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- db_
engine str - Database engine. The value is fixed as MongoDB
- db_
engine_ strversion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- instance_
count int - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance_
name str - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance_
type str - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos_
node_ intnumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos_
node_ strspec - Specification code for Mongos nodes in a sharded cluster.
- node_
availability_ Sequence[Instancezones Node Availability Zone Args] - node_
number int - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- period int
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period_
unit str - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- project_
name str - Select the project for the instance. If left blank, the new instance will be added to the default project.
- int
- Number of shards in the sharded cluster. Range: 2–32.
- super_
account_ strname - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super_
account_ strpassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
Sequence[Instance
Tag Args]
- node
Spec String - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- storage
Space NumberGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- subnet
Id String - Subnet ID.
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID where the instance is located.
- allow
List List<String>Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto
Renew Boolean - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge
Type String - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- config
Server StringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config
Server NumberStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- db
Engine String - Database engine. The value is fixed as MongoDB
- db
Engine StringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- instance
Count Number - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance
Name String - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance
Type String - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos
Node NumberNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos
Node StringSpec - Specification code for Mongos nodes in a sharded cluster.
- node
Availability List<Property Map>Zones - node
Number Number - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- period Number
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period
Unit String - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- project
Name String - Select the project for the instance. If left blank, the new instance will be added to the default project.
- Number
- Number of shards in the sharded cluster. Range: 2–32.
- super
Account StringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super
Account StringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Charge
Status string - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- Closed
Time string - Scheduled shutdown time (UTC).
- Config
Servers List<Byteplus.Instance Config Server> - Config
Servers stringId - ConfigServer ID
- Created
Time string - Instance creation time (UTC).
- Db
Engine stringVersion Str - Database engine version string
- Expired
Time string - Instance expiration time (UTC).
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- Mongos
List<Byteplus.
Instance Mongo> - Mongos
Id string - Mongos ID.
- Nodes
List<Byteplus.
Instance Node> - Private
Endpoint string - String information for the instance's private network connection address.
- Read
Only intNode Number - Number of read-only nodes in the instance
- Reclaim
Time string - Scheduled recycle time for the instance (UTC)
-
List<Byteplus.
Instance Shard> - Storage
Type string - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- Updated
Time string - Instance update time (UTC).
- Charge
Status string - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- Closed
Time string - Scheduled shutdown time (UTC).
- Config
Servers []InstanceConfig Server - Config
Servers stringId - ConfigServer ID
- Created
Time string - Instance creation time (UTC).
- Db
Engine stringVersion Str - Database engine version string
- Expired
Time string - Instance expiration time (UTC).
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- Mongos
[]Instance
Mongo - Mongos
Id string - Mongos ID.
- Nodes
[]Instance
Node - Private
Endpoint string - String information for the instance's private network connection address.
- Read
Only intNode Number - Number of read-only nodes in the instance
- Reclaim
Time string - Scheduled recycle time for the instance (UTC)
-
[]Instance
Shard - Storage
Type string - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- Updated
Time string - Instance update time (UTC).
- charge
Status String - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- closed
Time String - Scheduled shutdown time (UTC).
- config
Servers List<InstanceConfig Server> - config
Servers StringId - ConfigServer ID
- created
Time String - Instance creation time (UTC).
- db
Engine StringVersion Str - Database engine version string
- expired
Time String - Instance expiration time (UTC).
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- mongos
List<Instance
Mongo> - mongos
Id String - Mongos ID.
- nodes
List<Instance
Node> - private
Endpoint String - String information for the instance's private network connection address.
- read
Only IntegerNode Number - Number of read-only nodes in the instance
- reclaim
Time String - Scheduled recycle time for the instance (UTC)
-
List<Instance
Shard> - storage
Type String - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- updated
Time String - Instance update time (UTC).
- charge
Status string - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- closed
Time string - Scheduled shutdown time (UTC).
- config
Servers InstanceConfig Server[] - config
Servers stringId - ConfigServer ID
- created
Time string - Instance creation time (UTC).
- db
Engine stringVersion Str - Database engine version string
- expired
Time string - Instance expiration time (UTC).
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - Instance ID.
- instance
Status string - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- mongos
Instance
Mongo[] - mongos
Id string - Mongos ID.
- nodes
Instance
Node[] - private
Endpoint string - String information for the instance's private network connection address.
- read
Only numberNode Number - Number of read-only nodes in the instance
- reclaim
Time string - Scheduled recycle time for the instance (UTC)
-
Instance
Shard[] - storage
Type string - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- updated
Time string - Instance update time (UTC).
- charge_
status str - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- closed_
time str - Scheduled shutdown time (UTC).
- config_
servers Sequence[InstanceConfig Server] - config_
servers_ strid - ConfigServer ID
- created_
time str - Instance creation time (UTC).
- db_
engine_ strversion_ str - Database engine version string
- expired_
time str - Instance expiration time (UTC).
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - Instance ID.
- instance_
status str - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- mongos
Sequence[Instance
Mongo] - mongos_
id str - Mongos ID.
- nodes
Sequence[Instance
Node] - private_
endpoint str - String information for the instance's private network connection address.
- read_
only_ intnode_ number - Number of read-only nodes in the instance
- reclaim_
time str - Scheduled recycle time for the instance (UTC)
-
Sequence[Instance
Shard] - storage_
type str - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- updated_
time str - Instance update time (UTC).
- charge
Status String - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- closed
Time String - Scheduled shutdown time (UTC).
- config
Servers List<Property Map> - config
Servers StringId - ConfigServer ID
- created
Time String - Instance creation time (UTC).
- db
Engine StringVersion Str - Database engine version string
- expired
Time String - Instance expiration time (UTC).
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- mongos List<Property Map>
- mongos
Id String - Mongos ID.
- nodes List<Property Map>
- private
Endpoint String - String information for the instance's private network connection address.
- read
Only NumberNode Number - Number of read-only nodes in the instance
- reclaim
Time String - Scheduled recycle time for the instance (UTC)
- List<Property Map>
- storage
Type String - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- updated
Time String - Instance update time (UTC).
Look up Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_list_ids: Optional[Sequence[str]] = None,
auto_renew: Optional[bool] = None,
charge_status: Optional[str] = None,
charge_type: Optional[str] = None,
closed_time: Optional[str] = None,
config_server_node_spec: Optional[str] = None,
config_server_storage_space_gb: Optional[int] = None,
config_servers: Optional[Sequence[InstanceConfigServerArgs]] = None,
config_servers_id: Optional[str] = None,
created_time: Optional[str] = None,
db_engine: Optional[str] = None,
db_engine_version: Optional[str] = None,
db_engine_version_str: Optional[str] = None,
expired_time: Optional[str] = None,
instance_count: Optional[int] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
instance_status: Optional[str] = None,
instance_type: Optional[str] = None,
mongos: Optional[Sequence[InstanceMongoArgs]] = None,
mongos_id: Optional[str] = None,
mongos_node_number: Optional[int] = None,
mongos_node_spec: Optional[str] = None,
node_availability_zones: Optional[Sequence[InstanceNodeAvailabilityZoneArgs]] = None,
node_number: Optional[int] = None,
node_spec: Optional[str] = None,
nodes: Optional[Sequence[InstanceNodeArgs]] = None,
period: Optional[int] = None,
period_unit: Optional[str] = None,
private_endpoint: Optional[str] = None,
project_name: Optional[str] = None,
read_only_node_number: Optional[int] = None,
reclaim_time: Optional[str] = None,
shard_number: Optional[int] = None,
shards: Optional[Sequence[InstanceShardArgs]] = None,
storage_space_gb: Optional[int] = None,
storage_type: Optional[str] = None,
subnet_id: Optional[str] = None,
super_account_name: Optional[str] = None,
super_account_password: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
updated_time: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_id: Optional[str] = None) -> Instancefunc GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)resources: _: type: bytepluscc:mongodb:Instance 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.
- Allow
List List<string>Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- Auto
Renew bool - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- Charge
Status string - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- Charge
Type string - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- Closed
Time string - Scheduled shutdown time (UTC).
- Config
Server stringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- Config
Server intStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- Config
Servers List<Byteplus.Instance Config Server> - Config
Servers stringId - ConfigServer ID
- Created
Time string - Instance creation time (UTC).
- Db
Engine string - Database engine. The value is fixed as MongoDB
- Db
Engine stringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- Db
Engine stringVersion Str - Database engine version string
- Expired
Time string - Instance expiration time (UTC).
- Instance
Count int - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- Instance
Status string - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- Instance
Type string - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- Mongos
List<Byteplus.
Instance Mongo> - Mongos
Id string - Mongos ID.
- Mongos
Node intNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- Mongos
Node stringSpec - Specification code for Mongos nodes in a sharded cluster.
- Node
Availability List<Byteplus.Zones Instance Node Availability Zone> - Node
Number int - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- Node
Spec string - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- Nodes
List<Byteplus.
Instance Node> - Period int
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- Period
Unit string - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- Private
Endpoint string - String information for the instance's private network connection address.
- Project
Name string - Select the project for the instance. If left blank, the new instance will be added to the default project.
- Read
Only intNode Number - Number of read-only nodes in the instance
- Reclaim
Time string - Scheduled recycle time for the instance (UTC)
- Shard
Number int - Number of shards in the sharded cluster. Range: 2–32.
- Shards
List<Byteplus.
Instance Shard> - Storage
Space intGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- Storage
Type string - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- Subnet
Id string - Subnet ID.
- Super
Account stringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- Super
Account stringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
List<Byteplus.
Instance Tag> - Updated
Time string - Instance update time (UTC).
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID where the instance is located.
- Allow
List []stringIds - Allowlist ID list. New instances are bound to the specified allowlist.
- Auto
Renew bool - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- Charge
Status string - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- Charge
Type string - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- Closed
Time string - Scheduled shutdown time (UTC).
- Config
Server stringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- Config
Server intStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- Config
Servers []InstanceConfig Server Args - Config
Servers stringId - ConfigServer ID
- Created
Time string - Instance creation time (UTC).
- Db
Engine string - Database engine. The value is fixed as MongoDB
- Db
Engine stringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- Db
Engine stringVersion Str - Database engine version string
- Expired
Time string - Instance expiration time (UTC).
- Instance
Count int - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- Instance
Status string - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- Instance
Type string - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- Mongos
[]Instance
Mongo Args - Mongos
Id string - Mongos ID.
- Mongos
Node intNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- Mongos
Node stringSpec - Specification code for Mongos nodes in a sharded cluster.
- Node
Availability []InstanceZones Node Availability Zone Args - Node
Number int - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- Node
Spec string - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- Nodes
[]Instance
Node Args - Period int
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- Period
Unit string - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- Private
Endpoint string - String information for the instance's private network connection address.
- Project
Name string - Select the project for the instance. If left blank, the new instance will be added to the default project.
- Read
Only intNode Number - Number of read-only nodes in the instance
- Reclaim
Time string - Scheduled recycle time for the instance (UTC)
- Shard
Number int - Number of shards in the sharded cluster. Range: 2–32.
- Shards
[]Instance
Shard Args - Storage
Space intGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- Storage
Type string - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- Subnet
Id string - Subnet ID.
- Super
Account stringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- Super
Account stringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
[]Instance
Tag Args - Updated
Time string - Instance update time (UTC).
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID where the instance is located.
- allow
List List<String>Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto
Renew Boolean - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge
Status String - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- charge
Type String - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- closed
Time String - Scheduled shutdown time (UTC).
- config
Server StringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config
Server IntegerStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- config
Servers List<InstanceConfig Server> - config
Servers StringId - ConfigServer ID
- created
Time String - Instance creation time (UTC).
- db
Engine String - Database engine. The value is fixed as MongoDB
- db
Engine StringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- db
Engine StringVersion Str - Database engine version string
- expired
Time String - Instance expiration time (UTC).
- instance
Count Integer - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance
Id String - Instance ID.
- instance
Name String - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance
Status String - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- instance
Type String - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos
List<Instance
Mongo> - mongos
Id String - Mongos ID.
- mongos
Node IntegerNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos
Node StringSpec - Specification code for Mongos nodes in a sharded cluster.
- node
Availability List<InstanceZones Node Availability Zone> - node
Number Integer - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- node
Spec String - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- nodes
List<Instance
Node> - period Integer
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period
Unit String - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- private
Endpoint String - String information for the instance's private network connection address.
- project
Name String - Select the project for the instance. If left blank, the new instance will be added to the default project.
- read
Only IntegerNode Number - Number of read-only nodes in the instance
- reclaim
Time String - Scheduled recycle time for the instance (UTC)
- shard
Number Integer - Number of shards in the sharded cluster. Range: 2–32.
- shards
List<Instance
Shard> - storage
Space IntegerGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- storage
Type String - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- subnet
Id String - Subnet ID.
- super
Account StringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super
Account StringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
List<Instance
Tag> - updated
Time String - Instance update time (UTC).
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID where the instance is located.
- allow
List string[]Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto
Renew boolean - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge
Status string - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- charge
Type string - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- closed
Time string - Scheduled shutdown time (UTC).
- config
Server stringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config
Server numberStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- config
Servers InstanceConfig Server[] - config
Servers stringId - ConfigServer ID
- created
Time string - Instance creation time (UTC).
- db
Engine string - Database engine. The value is fixed as MongoDB
- db
Engine stringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- db
Engine stringVersion Str - Database engine version string
- expired
Time string - Instance expiration time (UTC).
- instance
Count number - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance
Id string - Instance ID.
- instance
Name string - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance
Status string - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- instance
Type string - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos
Instance
Mongo[] - mongos
Id string - Mongos ID.
- mongos
Node numberNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos
Node stringSpec - Specification code for Mongos nodes in a sharded cluster.
- node
Availability InstanceZones Node Availability Zone[] - node
Number number - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- node
Spec string - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- nodes
Instance
Node[] - period number
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period
Unit string - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- private
Endpoint string - String information for the instance's private network connection address.
- project
Name string - Select the project for the instance. If left blank, the new instance will be added to the default project.
- read
Only numberNode Number - Number of read-only nodes in the instance
- reclaim
Time string - Scheduled recycle time for the instance (UTC)
- shard
Number number - Number of shards in the sharded cluster. Range: 2–32.
- shards
Instance
Shard[] - storage
Space numberGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- storage
Type string - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- subnet
Id string - Subnet ID.
- super
Account stringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super
Account stringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
Instance
Tag[] - updated
Time string - Instance update time (UTC).
- vpc
Id string - Private network ID.
- zone
Id string - Availability zone ID where the instance is located.
- allow_
list_ Sequence[str]ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto_
renew bool - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge_
status str - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- charge_
type str - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- closed_
time str - Scheduled shutdown time (UTC).
- config_
server_ strnode_ spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config_
server_ intstorage_ space_ gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- config_
servers Sequence[InstanceConfig Server Args] - config_
servers_ strid - ConfigServer ID
- created_
time str - Instance creation time (UTC).
- db_
engine str - Database engine. The value is fixed as MongoDB
- db_
engine_ strversion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- db_
engine_ strversion_ str - Database engine version string
- expired_
time str - Instance expiration time (UTC).
- instance_
count int - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance_
id str - Instance ID.
- instance_
name str - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance_
status str - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- instance_
type str - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos
Sequence[Instance
Mongo Args] - mongos_
id str - Mongos ID.
- mongos_
node_ intnumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos_
node_ strspec - Specification code for Mongos nodes in a sharded cluster.
- node_
availability_ Sequence[Instancezones Node Availability Zone Args] - node_
number int - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- node_
spec str - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- nodes
Sequence[Instance
Node Args] - period int
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period_
unit str - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- private_
endpoint str - String information for the instance's private network connection address.
- project_
name str - Select the project for the instance. If left blank, the new instance will be added to the default project.
- read_
only_ intnode_ number - Number of read-only nodes in the instance
- reclaim_
time str - Scheduled recycle time for the instance (UTC)
- shard_
number int - Number of shards in the sharded cluster. Range: 2–32.
- shards
Sequence[Instance
Shard Args] - storage_
space_ intgb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- storage_
type str - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- subnet_
id str - Subnet ID.
- super_
account_ strname - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super_
account_ strpassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
-
Sequence[Instance
Tag Args] - updated_
time str - Instance update time (UTC).
- vpc_
id str - Private network ID.
- zone_
id str - Availability zone ID where the instance is located.
- allow
List List<String>Ids - Allowlist ID list. New instances are bound to the specified allowlist.
- auto
Renew Boolean - Enable auto-renewal. Options: false (default): auto-renewal disabled. true: auto-renewal enabled.
- charge
Status String - Instance billing status. Valid values: Normal: normal. WaitingPaid: waiting for payment. ChangingPayType: changing billing type. Renewing: renewing. Overdue: overdue. Owing: owing. Unsubscribing: unsubscribing.
- charge
Type String - Instance billing type. Options: PostPaid (default): pay-as-you-go (also called postpaid). Prepaid: subscription (also called prepaid).
- closed
Time String - Scheduled shutdown time (UTC).
- config
Server StringNode Spec - ConfigServer node specification code in the sharded cluster. Default: mongo.config.1c2g.
- config
Server NumberStorage Space Gb - ConfigServer storage space in the sharded cluster, unit: GiB. Step size: 10. Default: 20.
- config
Servers List<Property Map> - config
Servers StringId - ConfigServer ID
- created
Time String - Instance creation time (UTC).
- db
Engine String - Database engine. The value is fixed as MongoDB
- db
Engine StringVersion - Database engine version. Options: MongoDB40 (default): MongoDB 4.0. MongoDB42: MongoDB 4.2. MongoDB44: MongoDB 4.4. MongoDB50: MongoDB 5.0. MongoDB60: MongoDB 6.0. MongoDB70: MongoDB 7.0.
- db
Engine StringVersion Str - Database engine version string
- expired
Time String - Instance expiration time (UTC).
- instance
Count Number - Number of instances to create. Must be a positive integer greater than or equal to 1. Default is 1.
- instance
Id String - Instance ID.
- instance
Name String - Instance name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 2–64 characters.
- instance
Status String - Instance status. Creating: Creating. Running: Running. Allowlist maintenance: AllowListMaintaining. Scaling: Scaling. Restarting: Restarting. Network maintaining: NetworkMaintaining. Restoring: Restoring. Upgrading: Upgrading. Unavailable: Unavailable. Closing: Closing. Deleting: Deleting. Closed: Closed. SSL updating: SSLUpdating. Switch mastering: SwitchMastering. Role changing: RoleChanging. Migrating: Migrating.
- instance
Type String - MongoDB instance type. Valid values: ReplicaSet (default): replica set. ShardedCluster: sharded cluster.
- mongos List<Property Map>
- mongos
Id String - Mongos ID.
- mongos
Node NumberNumber - Number of Mongos nodes in the sharded cluster. Range: 2~32.
- mongos
Node StringSpec - Specification code for Mongos nodes in a sharded cluster.
- node
Availability List<Property Map>Zones - node
Number Number - Node count. When the instance type is ReplicaSet, this parameter indicates the number of compute nodes in the replica set instance. When the instance type is ShardedCluster, it indicates the number of nodes in each shard.
- node
Spec String - Instance specification code. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this parameter specifies the compute node specification for the replica set instance. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this parameter specifies the specification for Shard nodes.
- nodes List<Property Map>
- period Number
- Subscription instance purchase duration. When PeriodUnit is Year, Period can be 1–3. When PeriodUnit is Month, Period can be 1–9.
- period
Unit String - Specify whether the subscription instance is yearly or monthly. Options: Year: yearly. Month: monthly.
- private
Endpoint String - String information for the instance's private network connection address.
- project
Name String - Select the project for the instance. If left blank, the new instance will be added to the default project.
- read
Only NumberNode Number - Number of read-only nodes in the instance
- reclaim
Time String - Scheduled recycle time for the instance (UTC)
- shard
Number Number - Number of shards in the sharded cluster. Range: 2–32.
- shards List<Property Map>
- storage
Space NumberGb - Total storage space for replica set instances, or storage space for a single Shard in a sharded cluster. Unit: GiB, step size: 10.
- storage
Type String - Instance storage type. Currently, only local SSD disks (LocalSSD) are supported.
- subnet
Id String - Subnet ID.
- super
Account StringName - Database account name. Currently, only the super administrator account can be set when creating an instance. The account name is fixed as root.
- super
Account StringPassword - Password for the root account. The password must meet the following requirements: Only uppercase and lowercase letters, digits, and the following special characters _#!@$%^&*()+=-. Length: 8–32 characters. Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, or special characters. Weak passwords that are easily cracked (such as Admin@123) are not allowed.
- List<Property Map>
- updated
Time String - Instance update time (UTC).
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID where the instance is located.
Supporting Types
InstanceConfigServer, InstanceConfigServerArgs
- Config
Server stringNode Id - ConfigServer node ID
- Node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node.
- Node
Status string - Node status.
- Total
Memory doubleGb - Total memory. Unit: GiB.
- Totalv
Cpu double - Total cores.
- Used
Memory doubleGb - Used memory. Unit: GiB.
- Usedv
Cpu double - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- Config
Server stringNode Id - ConfigServer node ID
- Node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node.
- Node
Status string - Node status.
- Total
Memory float64Gb - Total memory. Unit: GiB.
- Totalv
Cpu float64 - Total cores.
- Used
Memory float64Gb - Used memory. Unit: GiB.
- Usedv
Cpu float64 - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- config
Server StringNode Id - ConfigServer node ID
- node
Role String - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node.
- node
Status String - Node status.
- total
Memory DoubleGb - Total memory. Unit: GiB.
- totalv
Cpu Double - Total cores.
- used
Memory DoubleGb - Used memory. Unit: GiB.
- usedv
Cpu Double - Used cores.
- zone
Id String - Availability zone ID of the current node.
- config
Server stringNode Id - ConfigServer node ID
- node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node.
- node
Status string - Node status.
- total
Memory numberGb - Total memory. Unit: GiB.
- totalv
Cpu number - Total cores.
- used
Memory numberGb - Used memory. Unit: GiB.
- usedv
Cpu number - Used cores.
- zone
Id string - Availability zone ID of the current node.
- config_
server_ strnode_ id - ConfigServer node ID
- node_
role str - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node.
- node_
status str - Node status.
- total_
memory_ floatgb - Total memory. Unit: GiB.
- totalv_
cpu float - Total cores.
- used_
memory_ floatgb - Used memory. Unit: GiB.
- usedv_
cpu float - Used cores.
- zone_
id str - Availability zone ID of the current node.
- config
Server StringNode Id - ConfigServer node ID
- node
Role String - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node.
- node
Status String - Node status.
- total
Memory NumberGb - Total memory. Unit: GiB.
- totalv
Cpu Number - Total cores.
- used
Memory NumberGb - Used memory. Unit: GiB.
- usedv
Cpu Number - Used cores.
- zone
Id String - Availability zone ID of the current node.
InstanceMongo, InstanceMongoArgs
- Mongos
Node stringId - Mongos node ID
- Node
Spec string - Node specification.
- Node
Status string - Node status.
- Total
Memory doubleGb - Total memory. Unit: GiB.
- Totalv
Cpu double - Total cores.
- Used
Memory doubleGb - Used memory. Unit: GiB.
- Usedv
Cpu double - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- Mongos
Node stringId - Mongos node ID
- Node
Spec string - Node specification.
- Node
Status string - Node status.
- Total
Memory float64Gb - Total memory. Unit: GiB.
- Totalv
Cpu float64 - Total cores.
- Used
Memory float64Gb - Used memory. Unit: GiB.
- Usedv
Cpu float64 - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- mongos
Node StringId - Mongos node ID
- node
Spec String - Node specification.
- node
Status String - Node status.
- total
Memory DoubleGb - Total memory. Unit: GiB.
- totalv
Cpu Double - Total cores.
- used
Memory DoubleGb - Used memory. Unit: GiB.
- usedv
Cpu Double - Used cores.
- zone
Id String - Availability zone ID of the current node.
- mongos
Node stringId - Mongos node ID
- node
Spec string - Node specification.
- node
Status string - Node status.
- total
Memory numberGb - Total memory. Unit: GiB.
- totalv
Cpu number - Total cores.
- used
Memory numberGb - Used memory. Unit: GiB.
- usedv
Cpu number - Used cores.
- zone
Id string - Availability zone ID of the current node.
- mongos_
node_ strid - Mongos node ID
- node_
spec str - Node specification.
- node_
status str - Node status.
- total_
memory_ floatgb - Total memory. Unit: GiB.
- totalv_
cpu float - Total cores.
- used_
memory_ floatgb - Used memory. Unit: GiB.
- usedv_
cpu float - Used cores.
- zone_
id str - Availability zone ID of the current node.
- mongos
Node StringId - Mongos node ID
- node
Spec String - Node specification.
- node
Status String - Node status.
- total
Memory NumberGb - Total memory. Unit: GiB.
- totalv
Cpu Number - Total cores.
- used
Memory NumberGb - Used memory. Unit: GiB.
- usedv
Cpu Number - Used cores.
- zone
Id String - Availability zone ID of the current node.
InstanceNode, InstanceNodeArgs
- Node
Delay intTime - Node latency. Unit: seconds.
- Node
Id string - Node ID.
- Node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- Node
Spec string - Node specification.
- Node
Status string - Node status.
- Total
Memory doubleGb - Total memory. Unit: GiB.
- Total
Storage doubleGb - Total storage space for this node. Unit: GiB.
- Totalv
Cpu double - Total cores.
- Used
Memory doubleGb - Used memory. Unit: GiB.
- Used
Storage doubleGb - Storage space used by this node. Unit: GiB.
- Usedv
Cpu double - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- Node
Delay intTime - Node latency. Unit: seconds.
- Node
Id string - Node ID.
- Node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- Node
Spec string - Node specification.
- Node
Status string - Node status.
- Total
Memory float64Gb - Total memory. Unit: GiB.
- Total
Storage float64Gb - Total storage space for this node. Unit: GiB.
- Totalv
Cpu float64 - Total cores.
- Used
Memory float64Gb - Used memory. Unit: GiB.
- Used
Storage float64Gb - Storage space used by this node. Unit: GiB.
- Usedv
Cpu float64 - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- node
Delay IntegerTime - Node latency. Unit: seconds.
- node
Id String - Node ID.
- node
Role String - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node
Spec String - Node specification.
- node
Status String - Node status.
- total
Memory DoubleGb - Total memory. Unit: GiB.
- total
Storage DoubleGb - Total storage space for this node. Unit: GiB.
- totalv
Cpu Double - Total cores.
- used
Memory DoubleGb - Used memory. Unit: GiB.
- used
Storage DoubleGb - Storage space used by this node. Unit: GiB.
- usedv
Cpu Double - Used cores.
- zone
Id String - Availability zone ID of the current node.
- node
Delay numberTime - Node latency. Unit: seconds.
- node
Id string - Node ID.
- node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node
Spec string - Node specification.
- node
Status string - Node status.
- total
Memory numberGb - Total memory. Unit: GiB.
- total
Storage numberGb - Total storage space for this node. Unit: GiB.
- totalv
Cpu number - Total cores.
- used
Memory numberGb - Used memory. Unit: GiB.
- used
Storage numberGb - Storage space used by this node. Unit: GiB.
- usedv
Cpu number - Used cores.
- zone
Id string - Availability zone ID of the current node.
- node_
delay_ inttime - Node latency. Unit: seconds.
- node_
id str - Node ID.
- node_
role str - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node_
spec str - Node specification.
- node_
status str - Node status.
- total_
memory_ floatgb - Total memory. Unit: GiB.
- total_
storage_ floatgb - Total storage space for this node. Unit: GiB.
- totalv_
cpu float - Total cores.
- used_
memory_ floatgb - Used memory. Unit: GiB.
- used_
storage_ floatgb - Storage space used by this node. Unit: GiB.
- usedv_
cpu float - Used cores.
- zone_
id str - Availability zone ID of the current node.
- node
Delay NumberTime - Node latency. Unit: seconds.
- node
Id String - Node ID.
- node
Role String - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node
Spec String - Node specification.
- node
Status String - Node status.
- total
Memory NumberGb - Total memory. Unit: GiB.
- total
Storage NumberGb - Total storage space for this node. Unit: GiB.
- totalv
Cpu Number - Total cores.
- used
Memory NumberGb - Used memory. Unit: GiB.
- used
Storage NumberGb - Storage space used by this node. Unit: GiB.
- usedv
Cpu Number - Used cores.
- zone
Id String - Availability zone ID of the current node.
InstanceNodeAvailabilityZone, InstanceNodeAvailabilityZoneArgs
- Node
Number int - Number of read-only nodes to add in the current availability zone. Currently, only replica set instances and Shard nodes in sharded cluster instances support adding read-only nodes. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this value indicates the total number of read-only nodes in a single replica set instance. Each replica set instance supports up to 5 read-only nodes. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this value indicates the number of read-only nodes per Shard node. Each Shard node supports up to 5 read-only nodes.
- Zone
Id string - Availability zone of the read-only node.
- Node
Number int - Number of read-only nodes to add in the current availability zone. Currently, only replica set instances and Shard nodes in sharded cluster instances support adding read-only nodes. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this value indicates the total number of read-only nodes in a single replica set instance. Each replica set instance supports up to 5 read-only nodes. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this value indicates the number of read-only nodes per Shard node. Each Shard node supports up to 5 read-only nodes.
- Zone
Id string - Availability zone of the read-only node.
- node
Number Integer - Number of read-only nodes to add in the current availability zone. Currently, only replica set instances and Shard nodes in sharded cluster instances support adding read-only nodes. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this value indicates the total number of read-only nodes in a single replica set instance. Each replica set instance supports up to 5 read-only nodes. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this value indicates the number of read-only nodes per Shard node. Each Shard node supports up to 5 read-only nodes.
- zone
Id String - Availability zone of the read-only node.
- node
Number number - Number of read-only nodes to add in the current availability zone. Currently, only replica set instances and Shard nodes in sharded cluster instances support adding read-only nodes. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this value indicates the total number of read-only nodes in a single replica set instance. Each replica set instance supports up to 5 read-only nodes. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this value indicates the number of read-only nodes per Shard node. Each Shard node supports up to 5 read-only nodes.
- zone
Id string - Availability zone of the read-only node.
- node_
number int - Number of read-only nodes to add in the current availability zone. Currently, only replica set instances and Shard nodes in sharded cluster instances support adding read-only nodes. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this value indicates the total number of read-only nodes in a single replica set instance. Each replica set instance supports up to 5 read-only nodes. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this value indicates the number of read-only nodes per Shard node. Each Shard node supports up to 5 read-only nodes.
- zone_
id str - Availability zone of the read-only node.
- node
Number Number - Number of read-only nodes to add in the current availability zone. Currently, only replica set instances and Shard nodes in sharded cluster instances support adding read-only nodes. When the instance type is ReplicaSet (InstanceType is ReplicaSet), this value indicates the total number of read-only nodes in a single replica set instance. Each replica set instance supports up to 5 read-only nodes. When the instance type is ShardedCluster (InstanceType is ShardedCluster), this value indicates the number of read-only nodes per Shard node. Each Shard node supports up to 5 read-only nodes.
- zone
Id String - Availability zone of the read-only node.
InstanceShard, InstanceShardArgs
- Nodes
List<Byteplus.
Instance Shard Node> - string
- Shard node ID.
- Nodes
[]Instance
Shard Node - string
- Shard node ID.
- nodes
List<Instance
Shard Node> - String
- Shard node ID.
- nodes
Instance
Shard Node[] - string
- Shard node ID.
- nodes
Sequence[Instance
Shard Node] - str
- Shard node ID.
- nodes List<Property Map>
- String
- Shard node ID.
InstanceShardNode, InstanceShardNodeArgs
- Node
Delay intTime - Node latency. Unit: seconds.
- Node
Id string - Node ID.
- Node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- Node
Spec string - Node specification.
- Node
Status string - Node status.
- Total
Memory doubleGb - Total memory. Unit: GiB.
- Total
Storage doubleGb - Total storage space for this node. Unit: GiB.
- Totalv
Cpu double - Total cores.
- Used
Memory doubleGb - Used memory. Unit: GiB.
- Used
Storage doubleGb - Storage space used by this node. Unit: GiB.
- Usedv
Cpu double - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- Node
Delay intTime - Node latency. Unit: seconds.
- Node
Id string - Node ID.
- Node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- Node
Spec string - Node specification.
- Node
Status string - Node status.
- Total
Memory float64Gb - Total memory. Unit: GiB.
- Total
Storage float64Gb - Total storage space for this node. Unit: GiB.
- Totalv
Cpu float64 - Total cores.
- Used
Memory float64Gb - Used memory. Unit: GiB.
- Used
Storage float64Gb - Storage space used by this node. Unit: GiB.
- Usedv
Cpu float64 - Used cores.
- Zone
Id string - Availability zone ID of the current node.
- node
Delay IntegerTime - Node latency. Unit: seconds.
- node
Id String - Node ID.
- node
Role String - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node
Spec String - Node specification.
- node
Status String - Node status.
- total
Memory DoubleGb - Total memory. Unit: GiB.
- total
Storage DoubleGb - Total storage space for this node. Unit: GiB.
- totalv
Cpu Double - Total cores.
- used
Memory DoubleGb - Used memory. Unit: GiB.
- used
Storage DoubleGb - Storage space used by this node. Unit: GiB.
- usedv
Cpu Double - Used cores.
- zone
Id String - Availability zone ID of the current node.
- node
Delay numberTime - Node latency. Unit: seconds.
- node
Id string - Node ID.
- node
Role string - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node
Spec string - Node specification.
- node
Status string - Node status.
- total
Memory numberGb - Total memory. Unit: GiB.
- total
Storage numberGb - Total storage space for this node. Unit: GiB.
- totalv
Cpu number - Total cores.
- used
Memory numberGb - Used memory. Unit: GiB.
- used
Storage numberGb - Storage space used by this node. Unit: GiB.
- usedv
Cpu number - Used cores.
- zone
Id string - Availability zone ID of the current node.
- node_
delay_ inttime - Node latency. Unit: seconds.
- node_
id str - Node ID.
- node_
role str - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node_
spec str - Node specification.
- node_
status str - Node status.
- total_
memory_ floatgb - Total memory. Unit: GiB.
- total_
storage_ floatgb - Total storage space for this node. Unit: GiB.
- totalv_
cpu float - Total cores.
- used_
memory_ floatgb - Used memory. Unit: GiB.
- used_
storage_ floatgb - Storage space used by this node. Unit: GiB.
- usedv_
cpu float - Used cores.
- zone_
id str - Availability zone ID of the current node.
- node
Delay NumberTime - Node latency. Unit: seconds.
- node
Id String - Node ID.
- node
Role String - Node role. Options: Primary: primary node. Secondary: secondary node. Hidden: hidden node. ReadOnly: read-only node.
- node
Spec String - Node specification.
- node
Status String - Node status.
- total
Memory NumberGb - Total memory. Unit: GiB.
- total
Storage NumberGb - Total storage space for this node. Unit: GiB.
- totalv
Cpu Number - Total cores.
- used
Memory NumberGb - Used memory. Unit: GiB.
- used
Storage NumberGb - Storage space used by this node. Unit: GiB.
- usedv
Cpu Number - Used cores.
- zone
Id String - Availability zone ID of the current node.
InstanceTag, InstanceTagArgs
Import
$ pulumi import bytepluscc:mongodb/instance:Instance example "instance_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Apr 2, 2026 by Byteplus
