published on Tuesday, Jun 30, 2026 by tencentcloudstack
published on Tuesday, Jun 30, 2026 by tencentcloudstack
Provides a resource to create a CDB CPU elastic expand attachment
Example Usage
Auto expansion type
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.CdbStartCpuExpand("example", {
instanceId: "cdb-test1234",
type: "auto",
autoStrategy: {
expandThreshold: 80,
shrinkThreshold: 20,
expandSecondPeriod: 300,
shrinkSecondPeriod: 600,
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.CdbStartCpuExpand("example",
instance_id="cdb-test1234",
type="auto",
auto_strategy={
"expand_threshold": 80,
"shrink_threshold": 20,
"expand_second_period": 300,
"shrink_second_period": 600,
})
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 {
_, err := tencentcloud.NewCdbStartCpuExpand(ctx, "example", &tencentcloud.CdbStartCpuExpandArgs{
InstanceId: pulumi.String("cdb-test1234"),
Type: pulumi.String("auto"),
AutoStrategy: &tencentcloud.CdbStartCpuExpandAutoStrategyArgs{
ExpandThreshold: pulumi.Float64(80),
ShrinkThreshold: pulumi.Float64(20),
ExpandSecondPeriod: pulumi.Float64(300),
ShrinkSecondPeriod: pulumi.Float64(600),
},
})
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.CdbStartCpuExpand("example", new()
{
InstanceId = "cdb-test1234",
Type = "auto",
AutoStrategy = new Tencentcloud.Inputs.CdbStartCpuExpandAutoStrategyArgs
{
ExpandThreshold = 80,
ShrinkThreshold = 20,
ExpandSecondPeriod = 300,
ShrinkSecondPeriod = 600,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CdbStartCpuExpand;
import com.pulumi.tencentcloud.CdbStartCpuExpandArgs;
import com.pulumi.tencentcloud.inputs.CdbStartCpuExpandAutoStrategyArgs;
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 CdbStartCpuExpand("example", CdbStartCpuExpandArgs.builder()
.instanceId("cdb-test1234")
.type("auto")
.autoStrategy(CdbStartCpuExpandAutoStrategyArgs.builder()
.expandThreshold(80.0)
.shrinkThreshold(20.0)
.expandSecondPeriod(300.0)
.shrinkSecondPeriod(600.0)
.build())
.build());
}
}
resources:
example:
type: tencentcloud:CdbStartCpuExpand
properties:
instanceId: cdb-test1234
type: auto
autoStrategy:
expandThreshold: 80
shrinkThreshold: 20
expandSecondPeriod: 300
shrinkSecondPeriod: 600
Example coming soon!
Manual expansion type
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.CdbStartCpuExpand("example", {
instanceId: "cdb-test1234",
type: "manual",
expandCpu: 4,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.CdbStartCpuExpand("example",
instance_id="cdb-test1234",
type="manual",
expand_cpu=4)
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 {
_, err := tencentcloud.NewCdbStartCpuExpand(ctx, "example", &tencentcloud.CdbStartCpuExpandArgs{
InstanceId: pulumi.String("cdb-test1234"),
Type: pulumi.String("manual"),
ExpandCpu: pulumi.Float64(4),
})
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.CdbStartCpuExpand("example", new()
{
InstanceId = "cdb-test1234",
Type = "manual",
ExpandCpu = 4,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CdbStartCpuExpand;
import com.pulumi.tencentcloud.CdbStartCpuExpandArgs;
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 CdbStartCpuExpand("example", CdbStartCpuExpandArgs.builder()
.instanceId("cdb-test1234")
.type("manual")
.expandCpu(4.0)
.build());
}
}
resources:
example:
type: tencentcloud:CdbStartCpuExpand
properties:
instanceId: cdb-test1234
type: manual
expandCpu: 4
Example coming soon!
TimeInterval expansion type
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.CdbStartCpuExpand("example", {
instanceId: "cdb-test1234",
type: "timeInterval",
expandCpu: 4,
timeIntervalStrategy: {
startTime: 1709251200,
endTime: 1709337600,
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.CdbStartCpuExpand("example",
instance_id="cdb-test1234",
type="timeInterval",
expand_cpu=4,
time_interval_strategy={
"start_time": 1709251200,
"end_time": 1709337600,
})
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 {
_, err := tencentcloud.NewCdbStartCpuExpand(ctx, "example", &tencentcloud.CdbStartCpuExpandArgs{
InstanceId: pulumi.String("cdb-test1234"),
Type: pulumi.String("timeInterval"),
ExpandCpu: pulumi.Float64(4),
TimeIntervalStrategy: &tencentcloud.CdbStartCpuExpandTimeIntervalStrategyArgs{
StartTime: pulumi.Float64(1709251200),
EndTime: pulumi.Float64(1709337600),
},
})
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.CdbStartCpuExpand("example", new()
{
InstanceId = "cdb-test1234",
Type = "timeInterval",
ExpandCpu = 4,
TimeIntervalStrategy = new Tencentcloud.Inputs.CdbStartCpuExpandTimeIntervalStrategyArgs
{
StartTime = 1709251200,
EndTime = 1709337600,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CdbStartCpuExpand;
import com.pulumi.tencentcloud.CdbStartCpuExpandArgs;
import com.pulumi.tencentcloud.inputs.CdbStartCpuExpandTimeIntervalStrategyArgs;
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 CdbStartCpuExpand("example", CdbStartCpuExpandArgs.builder()
.instanceId("cdb-test1234")
.type("timeInterval")
.expandCpu(4.0)
.timeIntervalStrategy(CdbStartCpuExpandTimeIntervalStrategyArgs.builder()
.startTime(1709251200.0)
.endTime(1709337600.0)
.build())
.build());
}
}
resources:
example:
type: tencentcloud:CdbStartCpuExpand
properties:
instanceId: cdb-test1234
type: timeInterval
expandCpu: 4
timeIntervalStrategy:
startTime: 1.7092512e+09
endTime: 1.7093376e+09
Example coming soon!
Period expansion type
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.CdbStartCpuExpand("example", {
instanceId: "cdb-test1234",
type: "period",
expandCpu: 4,
periodStrategy: {
timeCycle: {
monday: true,
tuesday: true,
wednesday: true,
thursday: true,
friday: true,
saturday: false,
sunday: false,
},
timeInterval: {
startTime: "09:00",
endTime: "18:00",
},
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.CdbStartCpuExpand("example",
instance_id="cdb-test1234",
type="period",
expand_cpu=4,
period_strategy={
"time_cycle": {
"monday": True,
"tuesday": True,
"wednesday": True,
"thursday": True,
"friday": True,
"saturday": False,
"sunday": False,
},
"time_interval": {
"start_time": "09:00",
"end_time": "18:00",
},
})
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 {
_, err := tencentcloud.NewCdbStartCpuExpand(ctx, "example", &tencentcloud.CdbStartCpuExpandArgs{
InstanceId: pulumi.String("cdb-test1234"),
Type: pulumi.String("period"),
ExpandCpu: pulumi.Float64(4),
PeriodStrategy: &tencentcloud.CdbStartCpuExpandPeriodStrategyArgs{
TimeCycle: &tencentcloud.CdbStartCpuExpandPeriodStrategyTimeCycleArgs{
Monday: pulumi.Bool(true),
Tuesday: pulumi.Bool(true),
Wednesday: pulumi.Bool(true),
Thursday: pulumi.Bool(true),
Friday: pulumi.Bool(true),
Saturday: pulumi.Bool(false),
Sunday: pulumi.Bool(false),
},
TimeInterval: &tencentcloud.CdbStartCpuExpandPeriodStrategyTimeIntervalArgs{
StartTime: pulumi.String("09:00"),
EndTime: pulumi.String("18:00"),
},
},
})
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.CdbStartCpuExpand("example", new()
{
InstanceId = "cdb-test1234",
Type = "period",
ExpandCpu = 4,
PeriodStrategy = new Tencentcloud.Inputs.CdbStartCpuExpandPeriodStrategyArgs
{
TimeCycle = new Tencentcloud.Inputs.CdbStartCpuExpandPeriodStrategyTimeCycleArgs
{
Monday = true,
Tuesday = true,
Wednesday = true,
Thursday = true,
Friday = true,
Saturday = false,
Sunday = false,
},
TimeInterval = new Tencentcloud.Inputs.CdbStartCpuExpandPeriodStrategyTimeIntervalArgs
{
StartTime = "09:00",
EndTime = "18:00",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CdbStartCpuExpand;
import com.pulumi.tencentcloud.CdbStartCpuExpandArgs;
import com.pulumi.tencentcloud.inputs.CdbStartCpuExpandPeriodStrategyArgs;
import com.pulumi.tencentcloud.inputs.CdbStartCpuExpandPeriodStrategyTimeCycleArgs;
import com.pulumi.tencentcloud.inputs.CdbStartCpuExpandPeriodStrategyTimeIntervalArgs;
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 CdbStartCpuExpand("example", CdbStartCpuExpandArgs.builder()
.instanceId("cdb-test1234")
.type("period")
.expandCpu(4.0)
.periodStrategy(CdbStartCpuExpandPeriodStrategyArgs.builder()
.timeCycle(CdbStartCpuExpandPeriodStrategyTimeCycleArgs.builder()
.monday(true)
.tuesday(true)
.wednesday(true)
.thursday(true)
.friday(true)
.saturday(false)
.sunday(false)
.build())
.timeInterval(CdbStartCpuExpandPeriodStrategyTimeIntervalArgs.builder()
.startTime("09:00")
.endTime("18:00")
.build())
.build())
.build());
}
}
resources:
example:
type: tencentcloud:CdbStartCpuExpand
properties:
instanceId: cdb-test1234
type: period
expandCpu: 4
periodStrategy:
timeCycle:
monday: true
tuesday: true
wednesday: true
thursday: true
friday: true
saturday: false
sunday: false
timeInterval:
startTime: 09:00
endTime: 18:00
Example coming soon!
Create CdbStartCpuExpand Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdbStartCpuExpand(name: string, args: CdbStartCpuExpandArgs, opts?: CustomResourceOptions);@overload
def CdbStartCpuExpand(resource_name: str,
args: CdbStartCpuExpandArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdbStartCpuExpand(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
type: Optional[str] = None,
auto_strategy: Optional[CdbStartCpuExpandAutoStrategyArgs] = None,
cdb_start_cpu_expand_id: Optional[str] = None,
expand_cpu: Optional[float] = None,
period_strategy: Optional[CdbStartCpuExpandPeriodStrategyArgs] = None,
time_interval_strategy: Optional[CdbStartCpuExpandTimeIntervalStrategyArgs] = None,
timeouts: Optional[CdbStartCpuExpandTimeoutsArgs] = None)func NewCdbStartCpuExpand(ctx *Context, name string, args CdbStartCpuExpandArgs, opts ...ResourceOption) (*CdbStartCpuExpand, error)public CdbStartCpuExpand(string name, CdbStartCpuExpandArgs args, CustomResourceOptions? opts = null)
public CdbStartCpuExpand(String name, CdbStartCpuExpandArgs args)
public CdbStartCpuExpand(String name, CdbStartCpuExpandArgs args, CustomResourceOptions options)
type: tencentcloud:CdbStartCpuExpand
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_cdbstartcpuexpand" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CdbStartCpuExpandArgs
- 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 CdbStartCpuExpandArgs
- 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 CdbStartCpuExpandArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdbStartCpuExpandArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdbStartCpuExpandArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CdbStartCpuExpand 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 CdbStartCpuExpand resource accepts the following input properties:
- Instance
Id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- Type string
- Expansion type. Valid values:
auto,manual,timeInterval,period. - Auto
Strategy CdbStart Cpu Expand Auto Strategy - Auto expansion strategy. Required when
typeisauto. - Cdb
Start stringCpu Expand Id - ID of the resource.
- Expand
Cpu double - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - Period
Strategy CdbStart Cpu Expand Period Strategy - Period expansion strategy. Required when
typeisperiod. - Time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy - Time interval expansion strategy. Required when
typeistimeInterval. - Timeouts
Cdb
Start Cpu Expand Timeouts
- Instance
Id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- Type string
- Expansion type. Valid values:
auto,manual,timeInterval,period. - Auto
Strategy CdbStart Cpu Expand Auto Strategy Args - Auto expansion strategy. Required when
typeisauto. - Cdb
Start stringCpu Expand Id - ID of the resource.
- Expand
Cpu float64 - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - Period
Strategy CdbStart Cpu Expand Period Strategy Args - Period expansion strategy. Required when
typeisperiod. - Time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy Args - Time interval expansion strategy. Required when
typeistimeInterval. - Timeouts
Cdb
Start Cpu Expand Timeouts Args
- instance_
id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- type string
- Expansion type. Valid values:
auto,manual,timeInterval,period. - auto_
strategy object - Auto expansion strategy. Required when
typeisauto. - cdb_
start_ stringcpu_ expand_ id - ID of the resource.
- expand_
cpu number - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - period_
strategy object - Period expansion strategy. Required when
typeisperiod. - time_
interval_ objectstrategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts object
- instance
Id String - Instance ID, which can be obtained from the DescribeDBInstances API.
- type String
- Expansion type. Valid values:
auto,manual,timeInterval,period. - auto
Strategy CdbStart Cpu Expand Auto Strategy - Auto expansion strategy. Required when
typeisauto. - cdb
Start StringCpu Expand Id - ID of the resource.
- expand
Cpu Double - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - period
Strategy CdbStart Cpu Expand Period Strategy - Period expansion strategy. Required when
typeisperiod. - time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts
Cdb
Start Cpu Expand Timeouts
- instance
Id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- type string
- Expansion type. Valid values:
auto,manual,timeInterval,period. - auto
Strategy CdbStart Cpu Expand Auto Strategy - Auto expansion strategy. Required when
typeisauto. - cdb
Start stringCpu Expand Id - ID of the resource.
- expand
Cpu number - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - period
Strategy CdbStart Cpu Expand Period Strategy - Period expansion strategy. Required when
typeisperiod. - time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts
Cdb
Start Cpu Expand Timeouts
- instance_
id str - Instance ID, which can be obtained from the DescribeDBInstances API.
- type str
- Expansion type. Valid values:
auto,manual,timeInterval,period. - auto_
strategy CdbStart Cpu Expand Auto Strategy Args - Auto expansion strategy. Required when
typeisauto. - cdb_
start_ strcpu_ expand_ id - ID of the resource.
- expand_
cpu float - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - period_
strategy CdbStart Cpu Expand Period Strategy Args - Period expansion strategy. Required when
typeisperiod. - time_
interval_ Cdbstrategy Start Cpu Expand Time Interval Strategy Args - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts
Cdb
Start Cpu Expand Timeouts Args
- instance
Id String - Instance ID, which can be obtained from the DescribeDBInstances API.
- type String
- Expansion type. Valid values:
auto,manual,timeInterval,period. - auto
Strategy Property Map - Auto expansion strategy. Required when
typeisauto. - cdb
Start StringCpu Expand Id - ID of the resource.
- expand
Cpu Number - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - period
Strategy Property Map - Period expansion strategy. Required when
typeisperiod. - time
Interval Property MapStrategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CdbStartCpuExpand resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CdbStartCpuExpand Resource
Get an existing CdbStartCpuExpand 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?: CdbStartCpuExpandState, opts?: CustomResourceOptions): CdbStartCpuExpand@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_strategy: Optional[CdbStartCpuExpandAutoStrategyArgs] = None,
cdb_start_cpu_expand_id: Optional[str] = None,
expand_cpu: Optional[float] = None,
instance_id: Optional[str] = None,
period_strategy: Optional[CdbStartCpuExpandPeriodStrategyArgs] = None,
time_interval_strategy: Optional[CdbStartCpuExpandTimeIntervalStrategyArgs] = None,
timeouts: Optional[CdbStartCpuExpandTimeoutsArgs] = None,
type: Optional[str] = None) -> CdbStartCpuExpandfunc GetCdbStartCpuExpand(ctx *Context, name string, id IDInput, state *CdbStartCpuExpandState, opts ...ResourceOption) (*CdbStartCpuExpand, error)public static CdbStartCpuExpand Get(string name, Input<string> id, CdbStartCpuExpandState? state, CustomResourceOptions? opts = null)public static CdbStartCpuExpand get(String name, Output<String> id, CdbStartCpuExpandState state, CustomResourceOptions options)resources: _: type: tencentcloud:CdbStartCpuExpand get: id: ${id}import {
to = tencentcloud_cdbstartcpuexpand.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.
- Auto
Strategy CdbStart Cpu Expand Auto Strategy - Auto expansion strategy. Required when
typeisauto. - Cdb
Start stringCpu Expand Id - ID of the resource.
- Expand
Cpu double - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - Instance
Id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- Period
Strategy CdbStart Cpu Expand Period Strategy - Period expansion strategy. Required when
typeisperiod. - Time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy - Time interval expansion strategy. Required when
typeistimeInterval. - Timeouts
Cdb
Start Cpu Expand Timeouts - Type string
- Expansion type. Valid values:
auto,manual,timeInterval,period.
- Auto
Strategy CdbStart Cpu Expand Auto Strategy Args - Auto expansion strategy. Required when
typeisauto. - Cdb
Start stringCpu Expand Id - ID of the resource.
- Expand
Cpu float64 - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - Instance
Id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- Period
Strategy CdbStart Cpu Expand Period Strategy Args - Period expansion strategy. Required when
typeisperiod. - Time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy Args - Time interval expansion strategy. Required when
typeistimeInterval. - Timeouts
Cdb
Start Cpu Expand Timeouts Args - Type string
- Expansion type. Valid values:
auto,manual,timeInterval,period.
- auto_
strategy object - Auto expansion strategy. Required when
typeisauto. - cdb_
start_ stringcpu_ expand_ id - ID of the resource.
- expand_
cpu number - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - instance_
id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- period_
strategy object - Period expansion strategy. Required when
typeisperiod. - time_
interval_ objectstrategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts object
- type string
- Expansion type. Valid values:
auto,manual,timeInterval,period.
- auto
Strategy CdbStart Cpu Expand Auto Strategy - Auto expansion strategy. Required when
typeisauto. - cdb
Start StringCpu Expand Id - ID of the resource.
- expand
Cpu Double - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - instance
Id String - Instance ID, which can be obtained from the DescribeDBInstances API.
- period
Strategy CdbStart Cpu Expand Period Strategy - Period expansion strategy. Required when
typeisperiod. - time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts
Cdb
Start Cpu Expand Timeouts - type String
- Expansion type. Valid values:
auto,manual,timeInterval,period.
- auto
Strategy CdbStart Cpu Expand Auto Strategy - Auto expansion strategy. Required when
typeisauto. - cdb
Start stringCpu Expand Id - ID of the resource.
- expand
Cpu number - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - instance
Id string - Instance ID, which can be obtained from the DescribeDBInstances API.
- period
Strategy CdbStart Cpu Expand Period Strategy - Period expansion strategy. Required when
typeisperiod. - time
Interval CdbStrategy Start Cpu Expand Time Interval Strategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts
Cdb
Start Cpu Expand Timeouts - type string
- Expansion type. Valid values:
auto,manual,timeInterval,period.
- auto_
strategy CdbStart Cpu Expand Auto Strategy Args - Auto expansion strategy. Required when
typeisauto. - cdb_
start_ strcpu_ expand_ id - ID of the resource.
- expand_
cpu float - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - instance_
id str - Instance ID, which can be obtained from the DescribeDBInstances API.
- period_
strategy CdbStart Cpu Expand Period Strategy Args - Period expansion strategy. Required when
typeisperiod. - time_
interval_ Cdbstrategy Start Cpu Expand Time Interval Strategy Args - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts
Cdb
Start Cpu Expand Timeouts Args - type str
- Expansion type. Valid values:
auto,manual,timeInterval,period.
- auto
Strategy Property Map - Auto expansion strategy. Required when
typeisauto. - cdb
Start StringCpu Expand Id - ID of the resource.
- expand
Cpu Number - CPU cores to expand. Required when
typeismanual,timeInterval, orperiod. - instance
Id String - Instance ID, which can be obtained from the DescribeDBInstances API.
- period
Strategy Property Map - Period expansion strategy. Required when
typeisperiod. - time
Interval Property MapStrategy - Time interval expansion strategy. Required when
typeistimeInterval. - timeouts Property Map
- type String
- Expansion type. Valid values:
auto,manual,timeInterval,period.
Supporting Types
CdbStartCpuExpandAutoStrategy, CdbStartCpuExpandAutoStrategyArgs
- Expand
Threshold double - Auto expansion threshold. Valid values: 40, 50, 60, 70, 80, 90.
- Shrink
Threshold double - Auto shrink threshold. Valid values: 10, 20, 30.
- Expand
Second doublePeriod - Expansion observation period in seconds. Valid values: 15, 30, 45, 60, 180, 300, 600, 900, 1800.
- Shrink
Second doublePeriod - Shrink observation period in seconds. Valid values: 300, 600, 900, 1800.
- Expand
Threshold float64 - Auto expansion threshold. Valid values: 40, 50, 60, 70, 80, 90.
- Shrink
Threshold float64 - Auto shrink threshold. Valid values: 10, 20, 30.
- Expand
Second float64Period - Expansion observation period in seconds. Valid values: 15, 30, 45, 60, 180, 300, 600, 900, 1800.
- Shrink
Second float64Period - Shrink observation period in seconds. Valid values: 300, 600, 900, 1800.
- expand_
threshold number - Auto expansion threshold. Valid values: 40, 50, 60, 70, 80, 90.
- shrink_
threshold number - Auto shrink threshold. Valid values: 10, 20, 30.
- expand_
second_ numberperiod - Expansion observation period in seconds. Valid values: 15, 30, 45, 60, 180, 300, 600, 900, 1800.
- shrink_
second_ numberperiod - Shrink observation period in seconds. Valid values: 300, 600, 900, 1800.
- expand
Threshold Double - Auto expansion threshold. Valid values: 40, 50, 60, 70, 80, 90.
- shrink
Threshold Double - Auto shrink threshold. Valid values: 10, 20, 30.
- expand
Second DoublePeriod - Expansion observation period in seconds. Valid values: 15, 30, 45, 60, 180, 300, 600, 900, 1800.
- shrink
Second DoublePeriod - Shrink observation period in seconds. Valid values: 300, 600, 900, 1800.
- expand
Threshold number - Auto expansion threshold. Valid values: 40, 50, 60, 70, 80, 90.
- shrink
Threshold number - Auto shrink threshold. Valid values: 10, 20, 30.
- expand
Second numberPeriod - Expansion observation period in seconds. Valid values: 15, 30, 45, 60, 180, 300, 600, 900, 1800.
- shrink
Second numberPeriod - Shrink observation period in seconds. Valid values: 300, 600, 900, 1800.
- expand_
threshold float - Auto expansion threshold. Valid values: 40, 50, 60, 70, 80, 90.
- shrink_
threshold float - Auto shrink threshold. Valid values: 10, 20, 30.
- expand_
second_ floatperiod - Expansion observation period in seconds. Valid values: 15, 30, 45, 60, 180, 300, 600, 900, 1800.
- shrink_
second_ floatperiod - Shrink observation period in seconds. Valid values: 300, 600, 900, 1800.
- expand
Threshold Number - Auto expansion threshold. Valid values: 40, 50, 60, 70, 80, 90.
- shrink
Threshold Number - Auto shrink threshold. Valid values: 10, 20, 30.
- expand
Second NumberPeriod - Expansion observation period in seconds. Valid values: 15, 30, 45, 60, 180, 300, 600, 900, 1800.
- shrink
Second NumberPeriod - Shrink observation period in seconds. Valid values: 300, 600, 900, 1800.
CdbStartCpuExpandPeriodStrategy, CdbStartCpuExpandPeriodStrategyArgs
- Time
Cycle CdbStart Cpu Expand Period Strategy Time Cycle - Weekly cycle configuration.
- Time
Interval CdbStart Cpu Expand Period Strategy Time Interval - Daily time range configuration.
- Time
Cycle CdbStart Cpu Expand Period Strategy Time Cycle - Weekly cycle configuration.
- Time
Interval CdbStart Cpu Expand Period Strategy Time Interval - Daily time range configuration.
- time_
cycle object - Weekly cycle configuration.
- time_
interval object - Daily time range configuration.
- time
Cycle CdbStart Cpu Expand Period Strategy Time Cycle - Weekly cycle configuration.
- time
Interval CdbStart Cpu Expand Period Strategy Time Interval - Daily time range configuration.
- time
Cycle CdbStart Cpu Expand Period Strategy Time Cycle - Weekly cycle configuration.
- time
Interval CdbStart Cpu Expand Period Strategy Time Interval - Daily time range configuration.
- time_
cycle CdbStart Cpu Expand Period Strategy Time Cycle - Weekly cycle configuration.
- time_
interval CdbStart Cpu Expand Period Strategy Time Interval - Daily time range configuration.
- time
Cycle Property Map - Weekly cycle configuration.
- time
Interval Property Map - Daily time range configuration.
CdbStartCpuExpandPeriodStrategyTimeCycle, CdbStartCpuExpandPeriodStrategyTimeCycleArgs
- friday Boolean
- Whether to expand on Friday.
- monday Boolean
- Whether to expand on Monday.
- saturday Boolean
- Whether to expand on Saturday.
- sunday Boolean
- Whether to expand on Sunday.
- thursday Boolean
- Whether to expand on Thursday.
- tuesday Boolean
- Whether to expand on Tuesday.
- wednesday Boolean
- Whether to expand on Wednesday.
- friday boolean
- Whether to expand on Friday.
- monday boolean
- Whether to expand on Monday.
- saturday boolean
- Whether to expand on Saturday.
- sunday boolean
- Whether to expand on Sunday.
- thursday boolean
- Whether to expand on Thursday.
- tuesday boolean
- Whether to expand on Tuesday.
- wednesday boolean
- Whether to expand on Wednesday.
- friday Boolean
- Whether to expand on Friday.
- monday Boolean
- Whether to expand on Monday.
- saturday Boolean
- Whether to expand on Saturday.
- sunday Boolean
- Whether to expand on Sunday.
- thursday Boolean
- Whether to expand on Thursday.
- tuesday Boolean
- Whether to expand on Tuesday.
- wednesday Boolean
- Whether to expand on Wednesday.
CdbStartCpuExpandPeriodStrategyTimeInterval, CdbStartCpuExpandPeriodStrategyTimeIntervalArgs
- end_
time string - End time string.
- start_
time string - Start time string.
- end_
time str - End time string.
- start_
time str - Start time string.
CdbStartCpuExpandTimeIntervalStrategy, CdbStartCpuExpandTimeIntervalStrategyArgs
- end_
time number - End expansion time as integer timestamp in seconds.
- start_
time number - Start expansion time as integer timestamp in seconds.
- end_
time float - End expansion time as integer timestamp in seconds.
- start_
time float - Start expansion time as integer timestamp in seconds.
CdbStartCpuExpandTimeouts, CdbStartCpuExpandTimeoutsArgs
Import
CDB start cpu expand can be imported using the instance_id, e.g.
$ pulumi import tencentcloud:index/cdbStartCpuExpand:CdbStartCpuExpand example cdb-test1234
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
tencentcloudTerraform Provider.
published on Tuesday, Jun 30, 2026 by tencentcloudstack