1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. MongodbScaleUpDbInstanceCpu
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack

    Provides a resource to manage MongoDB instance elastic CPU scale-up.

    NOTE: This resource is used to manually enable elastic CPU scale-up for MongoDB instances. When the resource is created, ScaleUpDBInstanceCpu is called to scale up the CPU. When the resource is destroyed, ScaleDownDBInstanceCpu is called to disable the elastic CPU scale-up and shrink back.

    NOTE: Suggest using instances with machine_type values of HIO10G to operate CPU elastic scaling, and if CPU elastic scaling is required, it is not recommended to actually configure the instance CPU value.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.MongodbInstance("example", {
        instanceName: "tf-example",
        memory: 4,
        volume: 100,
        engineVersion: "MONGO_80_WT",
        machineType: "HIO10G",
        availableZone: "ap-guangzhou-6",
        vpcId: "vpc-i5yyodl9",
        subnetId: "subnet-hhi88a58",
        projectId: 0,
        password: "Password@2026",
    });
    const exampleMongodbScaleUpDbInstanceCpu = new tencentcloud.MongodbScaleUpDbInstanceCpu("example", {
        instanceId: example.mongodbInstanceId,
        extraCpu: 2,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.MongodbInstance("example",
        instance_name="tf-example",
        memory=4,
        volume=100,
        engine_version="MONGO_80_WT",
        machine_type="HIO10G",
        available_zone="ap-guangzhou-6",
        vpc_id="vpc-i5yyodl9",
        subnet_id="subnet-hhi88a58",
        project_id=0,
        password="Password@2026")
    example_mongodb_scale_up_db_instance_cpu = tencentcloud.MongodbScaleUpDbInstanceCpu("example",
        instance_id=example.mongodb_instance_id,
        extra_cpu=2)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewMongodbInstance(ctx, "example", &tencentcloud.MongodbInstanceArgs{
    			InstanceName:  pulumi.String("tf-example"),
    			Memory:        pulumi.Float64(4),
    			Volume:        pulumi.Float64(100),
    			EngineVersion: pulumi.String("MONGO_80_WT"),
    			MachineType:   pulumi.String("HIO10G"),
    			AvailableZone: pulumi.String("ap-guangzhou-6"),
    			VpcId:         pulumi.String("vpc-i5yyodl9"),
    			SubnetId:      pulumi.String("subnet-hhi88a58"),
    			ProjectId:     pulumi.Float64(0),
    			Password:      pulumi.String("Password@2026"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewMongodbScaleUpDbInstanceCpu(ctx, "example", &tencentcloud.MongodbScaleUpDbInstanceCpuArgs{
    			InstanceId: example.MongodbInstanceId,
    			ExtraCpu:   pulumi.Float64(2),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.MongodbInstance("example", new()
        {
            InstanceName = "tf-example",
            Memory = 4,
            Volume = 100,
            EngineVersion = "MONGO_80_WT",
            MachineType = "HIO10G",
            AvailableZone = "ap-guangzhou-6",
            VpcId = "vpc-i5yyodl9",
            SubnetId = "subnet-hhi88a58",
            ProjectId = 0,
            Password = "Password@2026",
        });
    
        var exampleMongodbScaleUpDbInstanceCpu = new Tencentcloud.MongodbScaleUpDbInstanceCpu("example", new()
        {
            InstanceId = example.MongodbInstanceId,
            ExtraCpu = 2,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.MongodbInstance;
    import com.pulumi.tencentcloud.MongodbInstanceArgs;
    import com.pulumi.tencentcloud.MongodbScaleUpDbInstanceCpu;
    import com.pulumi.tencentcloud.MongodbScaleUpDbInstanceCpuArgs;
    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 example = new MongodbInstance("example", MongodbInstanceArgs.builder()
                .instanceName("tf-example")
                .memory(4.0)
                .volume(100.0)
                .engineVersion("MONGO_80_WT")
                .machineType("HIO10G")
                .availableZone("ap-guangzhou-6")
                .vpcId("vpc-i5yyodl9")
                .subnetId("subnet-hhi88a58")
                .projectId(0.0)
                .password("Password@2026")
                .build());
    
            var exampleMongodbScaleUpDbInstanceCpu = new MongodbScaleUpDbInstanceCpu("exampleMongodbScaleUpDbInstanceCpu", MongodbScaleUpDbInstanceCpuArgs.builder()
                .instanceId(example.mongodbInstanceId())
                .extraCpu(2.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:MongodbInstance
        properties:
          instanceName: tf-example
          memory: 4
          volume: 100
          engineVersion: MONGO_80_WT
          machineType: HIO10G
          availableZone: ap-guangzhou-6
          vpcId: vpc-i5yyodl9
          subnetId: subnet-hhi88a58
          projectId: 0
          password: Password@2026
      exampleMongodbScaleUpDbInstanceCpu:
        type: tencentcloud:MongodbScaleUpDbInstanceCpu
        name: example
        properties:
          instanceId: ${example.mongodbInstanceId}
          extraCpu: 2
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create MongodbScaleUpDbInstanceCpu Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MongodbScaleUpDbInstanceCpu(name: string, args: MongodbScaleUpDbInstanceCpuArgs, opts?: CustomResourceOptions);
    @overload
    def MongodbScaleUpDbInstanceCpu(resource_name: str,
                                    args: MongodbScaleUpDbInstanceCpuArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def MongodbScaleUpDbInstanceCpu(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    extra_cpu: Optional[float] = None,
                                    instance_id: Optional[str] = None,
                                    mongodb_scale_up_db_instance_cpu_id: Optional[str] = None,
                                    timeouts: Optional[MongodbScaleUpDbInstanceCpuTimeoutsArgs] = None)
    func NewMongodbScaleUpDbInstanceCpu(ctx *Context, name string, args MongodbScaleUpDbInstanceCpuArgs, opts ...ResourceOption) (*MongodbScaleUpDbInstanceCpu, error)
    public MongodbScaleUpDbInstanceCpu(string name, MongodbScaleUpDbInstanceCpuArgs args, CustomResourceOptions? opts = null)
    public MongodbScaleUpDbInstanceCpu(String name, MongodbScaleUpDbInstanceCpuArgs args)
    public MongodbScaleUpDbInstanceCpu(String name, MongodbScaleUpDbInstanceCpuArgs args, CustomResourceOptions options)
    
    type: tencentcloud:MongodbScaleUpDbInstanceCpu
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_mongodb_scale_up_db_instance_cpu" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args MongodbScaleUpDbInstanceCpuArgs
    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 MongodbScaleUpDbInstanceCpuArgs
    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 MongodbScaleUpDbInstanceCpuArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MongodbScaleUpDbInstanceCpuArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MongodbScaleUpDbInstanceCpuArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MongodbScaleUpDbInstanceCpu 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 MongodbScaleUpDbInstanceCpu resource accepts the following input properties:

    ExtraCpu double
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    InstanceId string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    MongodbScaleUpDbInstanceCpuId string
    ID of the resource.
    Timeouts MongodbScaleUpDbInstanceCpuTimeouts
    ExtraCpu float64
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    InstanceId string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    MongodbScaleUpDbInstanceCpuId string
    ID of the resource.
    Timeouts MongodbScaleUpDbInstanceCpuTimeoutsArgs
    extra_cpu number
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instance_id string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    mongodb_scale_up_db_instance_cpu_id string
    ID of the resource.
    timeouts object
    extraCpu Double
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instanceId String
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    mongodbScaleUpDbInstanceCpuId String
    ID of the resource.
    timeouts MongodbScaleUpDbInstanceCpuTimeouts
    extraCpu number
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instanceId string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    mongodbScaleUpDbInstanceCpuId string
    ID of the resource.
    timeouts MongodbScaleUpDbInstanceCpuTimeouts
    extra_cpu float
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instance_id str
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    mongodb_scale_up_db_instance_cpu_id str
    ID of the resource.
    timeouts MongodbScaleUpDbInstanceCpuTimeoutsArgs
    extraCpu Number
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instanceId String
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    mongodbScaleUpDbInstanceCpuId String
    ID of the resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MongodbScaleUpDbInstanceCpu resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    IsLocked bool
    Whether the instance is locked (a flow is in progress).
    IsScaled bool
    Whether the instance is currently in scaled state.
    MaxExtraCpu double
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    Reason string
    Reason why elastic CPU scale-up is not available.
    Scalable bool
    Whether elastic CPU scale-up is available.
    ScaleUpTime string
    Scale-up time.
    TriggerType double
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsLocked bool
    Whether the instance is locked (a flow is in progress).
    IsScaled bool
    Whether the instance is currently in scaled state.
    MaxExtraCpu float64
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    Reason string
    Reason why elastic CPU scale-up is not available.
    Scalable bool
    Whether elastic CPU scale-up is available.
    ScaleUpTime string
    Scale-up time.
    TriggerType float64
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    id string
    The provider-assigned unique ID for this managed resource.
    is_locked bool
    Whether the instance is locked (a flow is in progress).
    is_scaled bool
    Whether the instance is currently in scaled state.
    max_extra_cpu number
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    reason string
    Reason why elastic CPU scale-up is not available.
    scalable bool
    Whether elastic CPU scale-up is available.
    scale_up_time string
    Scale-up time.
    trigger_type number
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    id String
    The provider-assigned unique ID for this managed resource.
    isLocked Boolean
    Whether the instance is locked (a flow is in progress).
    isScaled Boolean
    Whether the instance is currently in scaled state.
    maxExtraCpu Double
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    reason String
    Reason why elastic CPU scale-up is not available.
    scalable Boolean
    Whether elastic CPU scale-up is available.
    scaleUpTime String
    Scale-up time.
    triggerType Double
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    id string
    The provider-assigned unique ID for this managed resource.
    isLocked boolean
    Whether the instance is locked (a flow is in progress).
    isScaled boolean
    Whether the instance is currently in scaled state.
    maxExtraCpu number
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    reason string
    Reason why elastic CPU scale-up is not available.
    scalable boolean
    Whether elastic CPU scale-up is available.
    scaleUpTime string
    Scale-up time.
    triggerType number
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    id str
    The provider-assigned unique ID for this managed resource.
    is_locked bool
    Whether the instance is locked (a flow is in progress).
    is_scaled bool
    Whether the instance is currently in scaled state.
    max_extra_cpu float
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    reason str
    Reason why elastic CPU scale-up is not available.
    scalable bool
    Whether elastic CPU scale-up is available.
    scale_up_time str
    Scale-up time.
    trigger_type float
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    id String
    The provider-assigned unique ID for this managed resource.
    isLocked Boolean
    Whether the instance is locked (a flow is in progress).
    isScaled Boolean
    Whether the instance is currently in scaled state.
    maxExtraCpu Number
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    reason String
    Reason why elastic CPU scale-up is not available.
    scalable Boolean
    Whether elastic CPU scale-up is available.
    scaleUpTime String
    Scale-up time.
    triggerType Number
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.

    Look up Existing MongodbScaleUpDbInstanceCpu Resource

    Get an existing MongodbScaleUpDbInstanceCpu 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?: MongodbScaleUpDbInstanceCpuState, opts?: CustomResourceOptions): MongodbScaleUpDbInstanceCpu
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            extra_cpu: Optional[float] = None,
            instance_id: Optional[str] = None,
            is_locked: Optional[bool] = None,
            is_scaled: Optional[bool] = None,
            max_extra_cpu: Optional[float] = None,
            mongodb_scale_up_db_instance_cpu_id: Optional[str] = None,
            reason: Optional[str] = None,
            scalable: Optional[bool] = None,
            scale_up_time: Optional[str] = None,
            timeouts: Optional[MongodbScaleUpDbInstanceCpuTimeoutsArgs] = None,
            trigger_type: Optional[float] = None) -> MongodbScaleUpDbInstanceCpu
    func GetMongodbScaleUpDbInstanceCpu(ctx *Context, name string, id IDInput, state *MongodbScaleUpDbInstanceCpuState, opts ...ResourceOption) (*MongodbScaleUpDbInstanceCpu, error)
    public static MongodbScaleUpDbInstanceCpu Get(string name, Input<string> id, MongodbScaleUpDbInstanceCpuState? state, CustomResourceOptions? opts = null)
    public static MongodbScaleUpDbInstanceCpu get(String name, Output<String> id, MongodbScaleUpDbInstanceCpuState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:MongodbScaleUpDbInstanceCpu    get:      id: ${id}
    import {
      to = tencentcloud_mongodb_scale_up_db_instance_cpu.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ExtraCpu double
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    InstanceId string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    IsLocked bool
    Whether the instance is locked (a flow is in progress).
    IsScaled bool
    Whether the instance is currently in scaled state.
    MaxExtraCpu double
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    MongodbScaleUpDbInstanceCpuId string
    ID of the resource.
    Reason string
    Reason why elastic CPU scale-up is not available.
    Scalable bool
    Whether elastic CPU scale-up is available.
    ScaleUpTime string
    Scale-up time.
    Timeouts MongodbScaleUpDbInstanceCpuTimeouts
    TriggerType double
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    ExtraCpu float64
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    InstanceId string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    IsLocked bool
    Whether the instance is locked (a flow is in progress).
    IsScaled bool
    Whether the instance is currently in scaled state.
    MaxExtraCpu float64
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    MongodbScaleUpDbInstanceCpuId string
    ID of the resource.
    Reason string
    Reason why elastic CPU scale-up is not available.
    Scalable bool
    Whether elastic CPU scale-up is available.
    ScaleUpTime string
    Scale-up time.
    Timeouts MongodbScaleUpDbInstanceCpuTimeoutsArgs
    TriggerType float64
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    extra_cpu number
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instance_id string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    is_locked bool
    Whether the instance is locked (a flow is in progress).
    is_scaled bool
    Whether the instance is currently in scaled state.
    max_extra_cpu number
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    mongodb_scale_up_db_instance_cpu_id string
    ID of the resource.
    reason string
    Reason why elastic CPU scale-up is not available.
    scalable bool
    Whether elastic CPU scale-up is available.
    scale_up_time string
    Scale-up time.
    timeouts object
    trigger_type number
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    extraCpu Double
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instanceId String
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    isLocked Boolean
    Whether the instance is locked (a flow is in progress).
    isScaled Boolean
    Whether the instance is currently in scaled state.
    maxExtraCpu Double
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    mongodbScaleUpDbInstanceCpuId String
    ID of the resource.
    reason String
    Reason why elastic CPU scale-up is not available.
    scalable Boolean
    Whether elastic CPU scale-up is available.
    scaleUpTime String
    Scale-up time.
    timeouts MongodbScaleUpDbInstanceCpuTimeouts
    triggerType Double
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    extraCpu number
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instanceId string
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    isLocked boolean
    Whether the instance is locked (a flow is in progress).
    isScaled boolean
    Whether the instance is currently in scaled state.
    maxExtraCpu number
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    mongodbScaleUpDbInstanceCpuId string
    ID of the resource.
    reason string
    Reason why elastic CPU scale-up is not available.
    scalable boolean
    Whether elastic CPU scale-up is available.
    scaleUpTime string
    Scale-up time.
    timeouts MongodbScaleUpDbInstanceCpuTimeouts
    triggerType number
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    extra_cpu float
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instance_id str
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    is_locked bool
    Whether the instance is locked (a flow is in progress).
    is_scaled bool
    Whether the instance is currently in scaled state.
    max_extra_cpu float
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    mongodb_scale_up_db_instance_cpu_id str
    ID of the resource.
    reason str
    Reason why elastic CPU scale-up is not available.
    scalable bool
    Whether elastic CPU scale-up is available.
    scale_up_time str
    Scale-up time.
    timeouts MongodbScaleUpDbInstanceCpuTimeoutsArgs
    trigger_type float
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.
    extraCpu Number
    Number of CPU cores to scale up (increment). Each node will increase by this number of cores. It cannot be changed after creation.
    instanceId String
    MongoDB instance ID, for example: cmgo-p8vnipr5.
    isLocked Boolean
    Whether the instance is locked (a flow is in progress).
    isScaled Boolean
    Whether the instance is currently in scaled state.
    maxExtraCpu Number
    Maximum number of CPU cores that can be scaled up, MIN(minimum shard CPU cores, 24).
    mongodbScaleUpDbInstanceCpuId String
    ID of the resource.
    reason String
    Reason why elastic CPU scale-up is not available.
    scalable Boolean
    Whether elastic CPU scale-up is available.
    scaleUpTime String
    Scale-up time.
    timeouts Property Map
    triggerType Number
    Scale-up trigger type. Valid values: 1-manual, 2-periodic, 3-one-time time period, 4-monitor.

    Supporting Types

    MongodbScaleUpDbInstanceCpuTimeouts, MongodbScaleUpDbInstanceCpuTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create string
    delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    MongoDB instance elastic CPU scale-up can be imported using the instance id, e.g.

    $ pulumi import tencentcloud:index/mongodbScaleUpDbInstanceCpu:MongodbScaleUpDbInstanceCpu example cmgo-p8vnipr5
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud
    Viewing docs for tencentcloud 1.83.41
    published on Friday, Nov 6, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial