1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. MysqlInstance
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.MysqlInstance

Explore with Pulumi AI

Provides a mysql instance resource to create master database instances.

NOTE: If this mysql has readonly instance, the terminate operation of the mysql does NOT take effect immediately, maybe takes for several hours. so during that time, VPCs associated with that mysql instance can’t be terminated also.

NOTE: The value of parameter parameters can be used with tencentcloud.getMysqlParameterList to obtain.

Example Usage

Create a single node instance

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const zones = tencentcloud.getAvailabilityZonesByProduct({
    product: "cdb",
});
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const subnet = new tencentcloud.Subnet("subnet", {
    availabilityZone: zones.then(zones => zones.zones?.[0]?.name),
    vpcId: vpc.vpcId,
    cidrBlock: "10.0.0.0/16",
    isMulticast: false,
});
const securityGroup = new tencentcloud.SecurityGroup("securityGroup", {description: "mysql test"});
const example = new tencentcloud.MysqlInstance("example", {
    deviceType: "BASIC_V2",
    internetService: 1,
    engineVersion: "5.7",
    chargeType: "POSTPAID",
    rootPassword: "PassWord123",
    slaveDeployMode: 0,
    availabilityZone: zones.then(zones => zones.zones?.[0]?.name),
    slaveSyncMode: 1,
    instanceName: "tf-example-mysql",
    memSize: 4000,
    volumeSize: 200,
    vpcId: vpc.vpcId,
    subnetId: subnet.subnetId,
    intranetPort: 3306,
    securityGroups: [securityGroup.securityGroupId],
    tags: {
        name: "test",
    },
    parameters: {
        character_set_server: "utf8",
        max_connections: "1000",
    },
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

zones = tencentcloud.get_availability_zones_by_product(product="cdb")
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
subnet = tencentcloud.Subnet("subnet",
    availability_zone=zones.zones[0].name,
    vpc_id=vpc.vpc_id,
    cidr_block="10.0.0.0/16",
    is_multicast=False)
security_group = tencentcloud.SecurityGroup("securityGroup", description="mysql test")
example = tencentcloud.MysqlInstance("example",
    device_type="BASIC_V2",
    internet_service=1,
    engine_version="5.7",
    charge_type="POSTPAID",
    root_password="PassWord123",
    slave_deploy_mode=0,
    availability_zone=zones.zones[0].name,
    slave_sync_mode=1,
    instance_name="tf-example-mysql",
    mem_size=4000,
    volume_size=200,
    vpc_id=vpc.vpc_id,
    subnet_id=subnet.subnet_id,
    intranet_port=3306,
    security_groups=[security_group.security_group_id],
    tags={
        "name": "test",
    },
    parameters={
        "character_set_server": "utf8",
        "max_connections": "1000",
    })
Copy
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 {
		zones, err := tencentcloud.GetAvailabilityZonesByProduct(ctx, &tencentcloud.GetAvailabilityZonesByProductArgs{
			Product: "cdb",
		}, nil)
		if err != nil {
			return err
		}
		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
			AvailabilityZone: pulumi.String(zones.Zones[0].Name),
			VpcId:            vpc.VpcId,
			CidrBlock:        pulumi.String("10.0.0.0/16"),
			IsMulticast:      pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		securityGroup, err := tencentcloud.NewSecurityGroup(ctx, "securityGroup", &tencentcloud.SecurityGroupArgs{
			Description: pulumi.String("mysql test"),
		})
		if err != nil {
			return err
		}
		_, err = tencentcloud.NewMysqlInstance(ctx, "example", &tencentcloud.MysqlInstanceArgs{
			DeviceType:       pulumi.String("BASIC_V2"),
			InternetService:  pulumi.Float64(1),
			EngineVersion:    pulumi.String("5.7"),
			ChargeType:       pulumi.String("POSTPAID"),
			RootPassword:     pulumi.String("PassWord123"),
			SlaveDeployMode:  pulumi.Float64(0),
			AvailabilityZone: pulumi.String(zones.Zones[0].Name),
			SlaveSyncMode:    pulumi.Float64(1),
			InstanceName:     pulumi.String("tf-example-mysql"),
			MemSize:          pulumi.Float64(4000),
			VolumeSize:       pulumi.Float64(200),
			VpcId:            vpc.VpcId,
			SubnetId:         subnet.SubnetId,
			IntranetPort:     pulumi.Float64(3306),
			SecurityGroups: pulumi.StringArray{
				securityGroup.SecurityGroupId,
			},
			Tags: pulumi.StringMap{
				"name": pulumi.String("test"),
			},
			Parameters: pulumi.StringMap{
				"character_set_server": pulumi.String("utf8"),
				"max_connections":      pulumi.String("1000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var zones = Tencentcloud.GetAvailabilityZonesByProduct.Invoke(new()
    {
        Product = "cdb",
    });

    var vpc = new Tencentcloud.Vpc("vpc", new()
    {
        CidrBlock = "10.0.0.0/16",
    });

    var subnet = new Tencentcloud.Subnet("subnet", new()
    {
        AvailabilityZone = zones.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[0]?.Name),
        VpcId = vpc.VpcId,
        CidrBlock = "10.0.0.0/16",
        IsMulticast = false,
    });

    var securityGroup = new Tencentcloud.SecurityGroup("securityGroup", new()
    {
        Description = "mysql test",
    });

    var example = new Tencentcloud.MysqlInstance("example", new()
    {
        DeviceType = "BASIC_V2",
        InternetService = 1,
        EngineVersion = "5.7",
        ChargeType = "POSTPAID",
        RootPassword = "PassWord123",
        SlaveDeployMode = 0,
        AvailabilityZone = zones.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[0]?.Name),
        SlaveSyncMode = 1,
        InstanceName = "tf-example-mysql",
        MemSize = 4000,
        VolumeSize = 200,
        VpcId = vpc.VpcId,
        SubnetId = subnet.SubnetId,
        IntranetPort = 3306,
        SecurityGroups = new[]
        {
            securityGroup.SecurityGroupId,
        },
        Tags = 
        {
            { "name", "test" },
        },
        Parameters = 
        {
            { "character_set_server", "utf8" },
            { "max_connections", "1000" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetAvailabilityZonesByProductArgs;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.SecurityGroup;
import com.pulumi.tencentcloud.SecurityGroupArgs;
import com.pulumi.tencentcloud.MysqlInstance;
import com.pulumi.tencentcloud.MysqlInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var zones = TencentcloudFunctions.getAvailabilityZonesByProduct(GetAvailabilityZonesByProductArgs.builder()
            .product("cdb")
            .build());

        var vpc = new Vpc("vpc", VpcArgs.builder()
            .cidrBlock("10.0.0.0/16")
            .build());

        var subnet = new Subnet("subnet", SubnetArgs.builder()
            .availabilityZone(zones.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[0].name()))
            .vpcId(vpc.vpcId())
            .cidrBlock("10.0.0.0/16")
            .isMulticast(false)
            .build());

        var securityGroup = new SecurityGroup("securityGroup", SecurityGroupArgs.builder()
            .description("mysql test")
            .build());

        var example = new MysqlInstance("example", MysqlInstanceArgs.builder()
            .deviceType("BASIC_V2")
            .internetService(1)
            .engineVersion("5.7")
            .chargeType("POSTPAID")
            .rootPassword("PassWord123")
            .slaveDeployMode(0)
            .availabilityZone(zones.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[0].name()))
            .slaveSyncMode(1)
            .instanceName("tf-example-mysql")
            .memSize(4000)
            .volumeSize(200)
            .vpcId(vpc.vpcId())
            .subnetId(subnet.subnetId())
            .intranetPort(3306)
            .securityGroups(securityGroup.securityGroupId())
            .tags(Map.of("name", "test"))
            .parameters(Map.ofEntries(
                Map.entry("character_set_server", "utf8"),
                Map.entry("max_connections", "1000")
            ))
            .build());

    }
}
Copy
resources:
  vpc:
    type: tencentcloud:Vpc
    properties:
      cidrBlock: 10.0.0.0/16
  subnet:
    type: tencentcloud:Subnet
    properties:
      availabilityZone: ${zones.zones[0].name}
      vpcId: ${vpc.vpcId}
      cidrBlock: 10.0.0.0/16
      isMulticast: false
  securityGroup:
    type: tencentcloud:SecurityGroup
    properties:
      description: mysql test
  example:
    type: tencentcloud:MysqlInstance
    properties:
      deviceType: BASIC_V2
      internetService: 1
      engineVersion: '5.7'
      chargeType: POSTPAID
      rootPassword: PassWord123
      slaveDeployMode: 0
      availabilityZone: ${zones.zones[0].name}
      slaveSyncMode: 1
      instanceName: tf-example-mysql
      memSize: 4000
      volumeSize: 200
      vpcId: ${vpc.vpcId}
      subnetId: ${subnet.subnetId}
      intranetPort: 3306
      securityGroups:
        - ${securityGroup.securityGroupId}
      tags:
        name: test
      parameters:
        character_set_server: utf8
        max_connections: '1000'
variables:
  zones:
    fn::invoke:
      function: tencentcloud:getAvailabilityZonesByProduct
      arguments:
        product: cdb
Copy

Create a double node instance

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = new tencentcloud.MysqlInstance("example", {
    internetService: 1,
    engineVersion: "5.7",
    chargeType: "POSTPAID",
    rootPassword: "PassWord123",
    slaveDeployMode: 1,
    availabilityZone: data.tencentcloud_availability_zones_by_product.zones.zones[0].name,
    firstSlaveZone: data.tencentcloud_availability_zones_by_product.zones.zones[1].name,
    slaveSyncMode: 1,
    instanceName: "tf-example-mysql",
    memSize: 4000,
    volumeSize: 200,
    vpcId: tencentcloud_vpc.vpc.id,
    subnetId: tencentcloud_subnet.subnet.id,
    intranetPort: 3306,
    securityGroups: [tencentcloud_security_group.security_group.id],
    tags: {
        name: "test",
    },
    parameters: {
        character_set_server: "utf8",
        max_connections: "1000",
    },
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.MysqlInstance("example",
    internet_service=1,
    engine_version="5.7",
    charge_type="POSTPAID",
    root_password="PassWord123",
    slave_deploy_mode=1,
    availability_zone=data["tencentcloud_availability_zones_by_product"]["zones"]["zones"][0]["name"],
    first_slave_zone=data["tencentcloud_availability_zones_by_product"]["zones"]["zones"][1]["name"],
    slave_sync_mode=1,
    instance_name="tf-example-mysql",
    mem_size=4000,
    volume_size=200,
    vpc_id=tencentcloud_vpc["vpc"]["id"],
    subnet_id=tencentcloud_subnet["subnet"]["id"],
    intranet_port=3306,
    security_groups=[tencentcloud_security_group["security_group"]["id"]],
    tags={
        "name": "test",
    },
    parameters={
        "character_set_server": "utf8",
        "max_connections": "1000",
    })
Copy
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.NewMysqlInstance(ctx, "example", &tencentcloud.MysqlInstanceArgs{
			InternetService:  pulumi.Float64(1),
			EngineVersion:    pulumi.String("5.7"),
			ChargeType:       pulumi.String("POSTPAID"),
			RootPassword:     pulumi.String("PassWord123"),
			SlaveDeployMode:  pulumi.Float64(1),
			AvailabilityZone: pulumi.Any(data.Tencentcloud_availability_zones_by_product.Zones.Zones[0].Name),
			FirstSlaveZone:   pulumi.Any(data.Tencentcloud_availability_zones_by_product.Zones.Zones[1].Name),
			SlaveSyncMode:    pulumi.Float64(1),
			InstanceName:     pulumi.String("tf-example-mysql"),
			MemSize:          pulumi.Float64(4000),
			VolumeSize:       pulumi.Float64(200),
			VpcId:            pulumi.Any(tencentcloud_vpc.Vpc.Id),
			SubnetId:         pulumi.Any(tencentcloud_subnet.Subnet.Id),
			IntranetPort:     pulumi.Float64(3306),
			SecurityGroups: pulumi.StringArray{
				tencentcloud_security_group.Security_group.Id,
			},
			Tags: pulumi.StringMap{
				"name": pulumi.String("test"),
			},
			Parameters: pulumi.StringMap{
				"character_set_server": pulumi.String("utf8"),
				"max_connections":      pulumi.String("1000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var example = new Tencentcloud.MysqlInstance("example", new()
    {
        InternetService = 1,
        EngineVersion = "5.7",
        ChargeType = "POSTPAID",
        RootPassword = "PassWord123",
        SlaveDeployMode = 1,
        AvailabilityZone = data.Tencentcloud_availability_zones_by_product.Zones.Zones[0].Name,
        FirstSlaveZone = data.Tencentcloud_availability_zones_by_product.Zones.Zones[1].Name,
        SlaveSyncMode = 1,
        InstanceName = "tf-example-mysql",
        MemSize = 4000,
        VolumeSize = 200,
        VpcId = tencentcloud_vpc.Vpc.Id,
        SubnetId = tencentcloud_subnet.Subnet.Id,
        IntranetPort = 3306,
        SecurityGroups = new[]
        {
            tencentcloud_security_group.Security_group.Id,
        },
        Tags = 
        {
            { "name", "test" },
        },
        Parameters = 
        {
            { "character_set_server", "utf8" },
            { "max_connections", "1000" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MysqlInstance;
import com.pulumi.tencentcloud.MysqlInstanceArgs;
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 MysqlInstance("example", MysqlInstanceArgs.builder()
            .internetService(1)
            .engineVersion("5.7")
            .chargeType("POSTPAID")
            .rootPassword("PassWord123")
            .slaveDeployMode(1)
            .availabilityZone(data.tencentcloud_availability_zones_by_product().zones().zones()[0].name())
            .firstSlaveZone(data.tencentcloud_availability_zones_by_product().zones().zones()[1].name())
            .slaveSyncMode(1)
            .instanceName("tf-example-mysql")
            .memSize(4000)
            .volumeSize(200)
            .vpcId(tencentcloud_vpc.vpc().id())
            .subnetId(tencentcloud_subnet.subnet().id())
            .intranetPort(3306)
            .securityGroups(tencentcloud_security_group.security_group().id())
            .tags(Map.of("name", "test"))
            .parameters(Map.ofEntries(
                Map.entry("character_set_server", "utf8"),
                Map.entry("max_connections", "1000")
            ))
            .build());

    }
}
Copy
resources:
  example:
    type: tencentcloud:MysqlInstance
    properties:
      internetService: 1
      engineVersion: '5.7'
      chargeType: POSTPAID
      rootPassword: PassWord123
      slaveDeployMode: 1
      availabilityZone: ${data.tencentcloud_availability_zones_by_product.zones.zones[0].name}
      firstSlaveZone: ${data.tencentcloud_availability_zones_by_product.zones.zones[1].name}
      slaveSyncMode: 1
      instanceName: tf-example-mysql
      memSize: 4000
      volumeSize: 200
      vpcId: ${tencentcloud_vpc.vpc.id}
      subnetId: ${tencentcloud_subnet.subnet.id}
      intranetPort: 3306
      securityGroups:
        - ${tencentcloud_security_group.security_group.id}
      tags:
        name: test
      parameters:
        character_set_server: utf8
        max_connections: '1000'
Copy

Create MysqlInstance Resource

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

Constructor syntax

new MysqlInstance(name: string, args: MysqlInstanceArgs, opts?: CustomResourceOptions);
@overload
def MysqlInstance(resource_name: str,
                  args: MysqlInstanceArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def MysqlInstance(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  instance_name: Optional[str] = None,
                  volume_size: Optional[float] = None,
                  mem_size: Optional[float] = None,
                  param_template_id: Optional[float] = None,
                  second_slave_zone: Optional[str] = None,
                  engine_type: Optional[str] = None,
                  engine_version: Optional[str] = None,
                  fast_upgrade: Optional[float] = None,
                  first_slave_zone: Optional[str] = None,
                  force_delete: Optional[bool] = None,
                  cpu: Optional[float] = None,
                  internet_service: Optional[float] = None,
                  intranet_port: Optional[float] = None,
                  max_deay_time: Optional[float] = None,
                  charge_type: Optional[str] = None,
                  mysql_instance_id: Optional[str] = None,
                  auto_renew_flag: Optional[float] = None,
                  device_type: Optional[str] = None,
                  parameters: Optional[Mapping[str, str]] = None,
                  slave_deploy_mode: Optional[float] = None,
                  prepaid_period: Optional[float] = None,
                  project_id: Optional[float] = None,
                  root_password: Optional[str] = None,
                  pay_type: Optional[float] = None,
                  security_groups: Optional[Sequence[str]] = None,
                  period: Optional[float] = None,
                  slave_sync_mode: Optional[float] = None,
                  subnet_id: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  upgrade_subversion: Optional[float] = None,
                  availability_zone: Optional[str] = None,
                  vpc_id: Optional[str] = None,
                  wait_switch: Optional[float] = None)
func NewMysqlInstance(ctx *Context, name string, args MysqlInstanceArgs, opts ...ResourceOption) (*MysqlInstance, error)
public MysqlInstance(string name, MysqlInstanceArgs args, CustomResourceOptions? opts = null)
public MysqlInstance(String name, MysqlInstanceArgs args)
public MysqlInstance(String name, MysqlInstanceArgs args, CustomResourceOptions options)
type: tencentcloud:MysqlInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MysqlInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MysqlInstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MysqlInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MysqlInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MysqlInstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

InstanceName This property is required. string
The name of a mysql instance.
MemSize This property is required. double
Memory size (in MB).
VolumeSize This property is required. double
Disk size (in GB).
AutoRenewFlag double
Auto renew flag. NOTES: Only supported prepaid instance.
AvailabilityZone string
Indicates which availability zone will be used.
ChargeType string
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
Cpu double
CPU cores.
DeviceType string
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
EngineType string
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
EngineVersion string
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
FastUpgrade double
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
FirstSlaveZone string
Zone information about first slave instance.
ForceDelete bool
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
InternetService double
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
IntranetPort double
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
MaxDeayTime double
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
MysqlInstanceId string
ID of the resource.
ParamTemplateId double
Specify parameter template id.
Parameters Dictionary<string, string>
List of parameters to use.
PayType double
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

Period double
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

PrepaidPeriod double
Period of instance. NOTES: Only supported prepaid instance.
ProjectId double
Project ID, default value is 0.
RootPassword string
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
SecondSlaveZone string
Zone information about second slave instance.
SecurityGroups List<string>
Security groups to use.
SlaveDeployMode double
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
SlaveSyncMode double
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
SubnetId string
Private network ID. If vpc_id is set, this value is required.
Tags Dictionary<string, string>
Instance tags.
UpgradeSubversion double
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
VpcId string
ID of VPC, which can be modified once every 24 hours and can't be removed.
WaitSwitch double
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
InstanceName This property is required. string
The name of a mysql instance.
MemSize This property is required. float64
Memory size (in MB).
VolumeSize This property is required. float64
Disk size (in GB).
AutoRenewFlag float64
Auto renew flag. NOTES: Only supported prepaid instance.
AvailabilityZone string
Indicates which availability zone will be used.
ChargeType string
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
Cpu float64
CPU cores.
DeviceType string
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
EngineType string
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
EngineVersion string
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
FastUpgrade float64
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
FirstSlaveZone string
Zone information about first slave instance.
ForceDelete bool
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
InternetService float64
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
IntranetPort float64
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
MaxDeayTime float64
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
MysqlInstanceId string
ID of the resource.
ParamTemplateId float64
Specify parameter template id.
Parameters map[string]string
List of parameters to use.
PayType float64
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

Period float64
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

PrepaidPeriod float64
Period of instance. NOTES: Only supported prepaid instance.
ProjectId float64
Project ID, default value is 0.
RootPassword string
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
SecondSlaveZone string
Zone information about second slave instance.
SecurityGroups []string
Security groups to use.
SlaveDeployMode float64
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
SlaveSyncMode float64
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
SubnetId string
Private network ID. If vpc_id is set, this value is required.
Tags map[string]string
Instance tags.
UpgradeSubversion float64
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
VpcId string
ID of VPC, which can be modified once every 24 hours and can't be removed.
WaitSwitch float64
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
instanceName This property is required. String
The name of a mysql instance.
memSize This property is required. Double
Memory size (in MB).
volumeSize This property is required. Double
Disk size (in GB).
autoRenewFlag Double
Auto renew flag. NOTES: Only supported prepaid instance.
availabilityZone String
Indicates which availability zone will be used.
chargeType String
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu Double
CPU cores.
deviceType String
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engineType String
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engineVersion String
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fastUpgrade Double
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
firstSlaveZone String
Zone information about first slave instance.
forceDelete Boolean
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
internetService Double
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranetPort Double
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
maxDeayTime Double
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
mysqlInstanceId String
ID of the resource.
paramTemplateId Double
Specify parameter template id.
parameters Map<String,String>
List of parameters to use.
payType Double
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period Double
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaidPeriod Double
Period of instance. NOTES: Only supported prepaid instance.
projectId Double
Project ID, default value is 0.
rootPassword String
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
secondSlaveZone String
Zone information about second slave instance.
securityGroups List<String>
Security groups to use.
slaveDeployMode Double
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slaveSyncMode Double
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
subnetId String
Private network ID. If vpc_id is set, this value is required.
tags Map<String,String>
Instance tags.
upgradeSubversion Double
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
vpcId String
ID of VPC, which can be modified once every 24 hours and can't be removed.
waitSwitch Double
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
instanceName This property is required. string
The name of a mysql instance.
memSize This property is required. number
Memory size (in MB).
volumeSize This property is required. number
Disk size (in GB).
autoRenewFlag number
Auto renew flag. NOTES: Only supported prepaid instance.
availabilityZone string
Indicates which availability zone will be used.
chargeType string
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu number
CPU cores.
deviceType string
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engineType string
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engineVersion string
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fastUpgrade number
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
firstSlaveZone string
Zone information about first slave instance.
forceDelete boolean
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
internetService number
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranetPort number
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
maxDeayTime number
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
mysqlInstanceId string
ID of the resource.
paramTemplateId number
Specify parameter template id.
parameters {[key: string]: string}
List of parameters to use.
payType number
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period number
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaidPeriod number
Period of instance. NOTES: Only supported prepaid instance.
projectId number
Project ID, default value is 0.
rootPassword string
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
secondSlaveZone string
Zone information about second slave instance.
securityGroups string[]
Security groups to use.
slaveDeployMode number
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slaveSyncMode number
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
subnetId string
Private network ID. If vpc_id is set, this value is required.
tags {[key: string]: string}
Instance tags.
upgradeSubversion number
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
vpcId string
ID of VPC, which can be modified once every 24 hours and can't be removed.
waitSwitch number
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
instance_name This property is required. str
The name of a mysql instance.
mem_size This property is required. float
Memory size (in MB).
volume_size This property is required. float
Disk size (in GB).
auto_renew_flag float
Auto renew flag. NOTES: Only supported prepaid instance.
availability_zone str
Indicates which availability zone will be used.
charge_type str
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu float
CPU cores.
device_type str
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engine_type str
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engine_version str
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fast_upgrade float
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
first_slave_zone str
Zone information about first slave instance.
force_delete bool
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
internet_service float
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranet_port float
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
max_deay_time float
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
mysql_instance_id str
ID of the resource.
param_template_id float
Specify parameter template id.
parameters Mapping[str, str]
List of parameters to use.
pay_type float
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period float
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaid_period float
Period of instance. NOTES: Only supported prepaid instance.
project_id float
Project ID, default value is 0.
root_password str
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
second_slave_zone str
Zone information about second slave instance.
security_groups Sequence[str]
Security groups to use.
slave_deploy_mode float
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slave_sync_mode float
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
subnet_id str
Private network ID. If vpc_id is set, this value is required.
tags Mapping[str, str]
Instance tags.
upgrade_subversion float
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
vpc_id str
ID of VPC, which can be modified once every 24 hours and can't be removed.
wait_switch float
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
instanceName This property is required. String
The name of a mysql instance.
memSize This property is required. Number
Memory size (in MB).
volumeSize This property is required. Number
Disk size (in GB).
autoRenewFlag Number
Auto renew flag. NOTES: Only supported prepaid instance.
availabilityZone String
Indicates which availability zone will be used.
chargeType String
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu Number
CPU cores.
deviceType String
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engineType String
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engineVersion String
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fastUpgrade Number
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
firstSlaveZone String
Zone information about first slave instance.
forceDelete Boolean
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
internetService Number
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranetPort Number
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
maxDeayTime Number
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
mysqlInstanceId String
ID of the resource.
paramTemplateId Number
Specify parameter template id.
parameters Map<String>
List of parameters to use.
payType Number
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period Number
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaidPeriod Number
Period of instance. NOTES: Only supported prepaid instance.
projectId Number
Project ID, default value is 0.
rootPassword String
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
secondSlaveZone String
Zone information about second slave instance.
securityGroups List<String>
Security groups to use.
slaveDeployMode Number
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slaveSyncMode Number
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
subnetId String
Private network ID. If vpc_id is set, this value is required.
tags Map<String>
Instance tags.
upgradeSubversion Number
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
vpcId String
ID of VPC, which can be modified once every 24 hours and can't be removed.
waitSwitch Number
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.

Outputs

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

Gtid double
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
Id string
The provider-assigned unique ID for this managed resource.
InternetHost string
host for public access.
InternetPort double
Access port for public access.
IntranetIp string
instance intranet IP.
Locked double
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
Status double
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
TaskStatus double
Indicates which kind of operations is being executed.
Gtid float64
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
Id string
The provider-assigned unique ID for this managed resource.
InternetHost string
host for public access.
InternetPort float64
Access port for public access.
IntranetIp string
instance intranet IP.
Locked float64
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
Status float64
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
TaskStatus float64
Indicates which kind of operations is being executed.
gtid Double
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
id String
The provider-assigned unique ID for this managed resource.
internetHost String
host for public access.
internetPort Double
Access port for public access.
intranetIp String
instance intranet IP.
locked Double
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
status Double
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
taskStatus Double
Indicates which kind of operations is being executed.
gtid number
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
id string
The provider-assigned unique ID for this managed resource.
internetHost string
host for public access.
internetPort number
Access port for public access.
intranetIp string
instance intranet IP.
locked number
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
status number
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
taskStatus number
Indicates which kind of operations is being executed.
gtid float
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
id str
The provider-assigned unique ID for this managed resource.
internet_host str
host for public access.
internet_port float
Access port for public access.
intranet_ip str
instance intranet IP.
locked float
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
status float
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
task_status float
Indicates which kind of operations is being executed.
gtid Number
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
id String
The provider-assigned unique ID for this managed resource.
internetHost String
host for public access.
internetPort Number
Access port for public access.
intranetIp String
instance intranet IP.
locked Number
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
status Number
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
taskStatus Number
Indicates which kind of operations is being executed.

Look up Existing MysqlInstance Resource

Get an existing MysqlInstance 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?: MysqlInstanceState, opts?: CustomResourceOptions): MysqlInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_renew_flag: Optional[float] = None,
        availability_zone: Optional[str] = None,
        charge_type: Optional[str] = None,
        cpu: Optional[float] = None,
        device_type: Optional[str] = None,
        engine_type: Optional[str] = None,
        engine_version: Optional[str] = None,
        fast_upgrade: Optional[float] = None,
        first_slave_zone: Optional[str] = None,
        force_delete: Optional[bool] = None,
        gtid: Optional[float] = None,
        instance_name: Optional[str] = None,
        internet_host: Optional[str] = None,
        internet_port: Optional[float] = None,
        internet_service: Optional[float] = None,
        intranet_ip: Optional[str] = None,
        intranet_port: Optional[float] = None,
        locked: Optional[float] = None,
        max_deay_time: Optional[float] = None,
        mem_size: Optional[float] = None,
        mysql_instance_id: Optional[str] = None,
        param_template_id: Optional[float] = None,
        parameters: Optional[Mapping[str, str]] = None,
        pay_type: Optional[float] = None,
        period: Optional[float] = None,
        prepaid_period: Optional[float] = None,
        project_id: Optional[float] = None,
        root_password: Optional[str] = None,
        second_slave_zone: Optional[str] = None,
        security_groups: Optional[Sequence[str]] = None,
        slave_deploy_mode: Optional[float] = None,
        slave_sync_mode: Optional[float] = None,
        status: Optional[float] = None,
        subnet_id: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        task_status: Optional[float] = None,
        upgrade_subversion: Optional[float] = None,
        volume_size: Optional[float] = None,
        vpc_id: Optional[str] = None,
        wait_switch: Optional[float] = None) -> MysqlInstance
func GetMysqlInstance(ctx *Context, name string, id IDInput, state *MysqlInstanceState, opts ...ResourceOption) (*MysqlInstance, error)
public static MysqlInstance Get(string name, Input<string> id, MysqlInstanceState? state, CustomResourceOptions? opts = null)
public static MysqlInstance get(String name, Output<String> id, MysqlInstanceState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:MysqlInstance    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AutoRenewFlag double
Auto renew flag. NOTES: Only supported prepaid instance.
AvailabilityZone string
Indicates which availability zone will be used.
ChargeType string
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
Cpu double
CPU cores.
DeviceType string
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
EngineType string
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
EngineVersion string
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
FastUpgrade double
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
FirstSlaveZone string
Zone information about first slave instance.
ForceDelete bool
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
Gtid double
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
InstanceName string
The name of a mysql instance.
InternetHost string
host for public access.
InternetPort double
Access port for public access.
InternetService double
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
IntranetIp string
instance intranet IP.
IntranetPort double
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
Locked double
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
MaxDeayTime double
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
MemSize double
Memory size (in MB).
MysqlInstanceId string
ID of the resource.
ParamTemplateId double
Specify parameter template id.
Parameters Dictionary<string, string>
List of parameters to use.
PayType double
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

Period double
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

PrepaidPeriod double
Period of instance. NOTES: Only supported prepaid instance.
ProjectId double
Project ID, default value is 0.
RootPassword string
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
SecondSlaveZone string
Zone information about second slave instance.
SecurityGroups List<string>
Security groups to use.
SlaveDeployMode double
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
SlaveSyncMode double
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
Status double
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
SubnetId string
Private network ID. If vpc_id is set, this value is required.
Tags Dictionary<string, string>
Instance tags.
TaskStatus double
Indicates which kind of operations is being executed.
UpgradeSubversion double
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
VolumeSize double
Disk size (in GB).
VpcId string
ID of VPC, which can be modified once every 24 hours and can't be removed.
WaitSwitch double
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
AutoRenewFlag float64
Auto renew flag. NOTES: Only supported prepaid instance.
AvailabilityZone string
Indicates which availability zone will be used.
ChargeType string
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
Cpu float64
CPU cores.
DeviceType string
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
EngineType string
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
EngineVersion string
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
FastUpgrade float64
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
FirstSlaveZone string
Zone information about first slave instance.
ForceDelete bool
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
Gtid float64
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
InstanceName string
The name of a mysql instance.
InternetHost string
host for public access.
InternetPort float64
Access port for public access.
InternetService float64
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
IntranetIp string
instance intranet IP.
IntranetPort float64
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
Locked float64
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
MaxDeayTime float64
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
MemSize float64
Memory size (in MB).
MysqlInstanceId string
ID of the resource.
ParamTemplateId float64
Specify parameter template id.
Parameters map[string]string
List of parameters to use.
PayType float64
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

Period float64
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

PrepaidPeriod float64
Period of instance. NOTES: Only supported prepaid instance.
ProjectId float64
Project ID, default value is 0.
RootPassword string
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
SecondSlaveZone string
Zone information about second slave instance.
SecurityGroups []string
Security groups to use.
SlaveDeployMode float64
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
SlaveSyncMode float64
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
Status float64
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
SubnetId string
Private network ID. If vpc_id is set, this value is required.
Tags map[string]string
Instance tags.
TaskStatus float64
Indicates which kind of operations is being executed.
UpgradeSubversion float64
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
VolumeSize float64
Disk size (in GB).
VpcId string
ID of VPC, which can be modified once every 24 hours and can't be removed.
WaitSwitch float64
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
autoRenewFlag Double
Auto renew flag. NOTES: Only supported prepaid instance.
availabilityZone String
Indicates which availability zone will be used.
chargeType String
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu Double
CPU cores.
deviceType String
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engineType String
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engineVersion String
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fastUpgrade Double
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
firstSlaveZone String
Zone information about first slave instance.
forceDelete Boolean
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
gtid Double
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
instanceName String
The name of a mysql instance.
internetHost String
host for public access.
internetPort Double
Access port for public access.
internetService Double
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranetIp String
instance intranet IP.
intranetPort Double
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
locked Double
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
maxDeayTime Double
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
memSize Double
Memory size (in MB).
mysqlInstanceId String
ID of the resource.
paramTemplateId Double
Specify parameter template id.
parameters Map<String,String>
List of parameters to use.
payType Double
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period Double
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaidPeriod Double
Period of instance. NOTES: Only supported prepaid instance.
projectId Double
Project ID, default value is 0.
rootPassword String
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
secondSlaveZone String
Zone information about second slave instance.
securityGroups List<String>
Security groups to use.
slaveDeployMode Double
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slaveSyncMode Double
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
status Double
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
subnetId String
Private network ID. If vpc_id is set, this value is required.
tags Map<String,String>
Instance tags.
taskStatus Double
Indicates which kind of operations is being executed.
upgradeSubversion Double
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
volumeSize Double
Disk size (in GB).
vpcId String
ID of VPC, which can be modified once every 24 hours and can't be removed.
waitSwitch Double
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
autoRenewFlag number
Auto renew flag. NOTES: Only supported prepaid instance.
availabilityZone string
Indicates which availability zone will be used.
chargeType string
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu number
CPU cores.
deviceType string
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engineType string
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engineVersion string
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fastUpgrade number
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
firstSlaveZone string
Zone information about first slave instance.
forceDelete boolean
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
gtid number
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
instanceName string
The name of a mysql instance.
internetHost string
host for public access.
internetPort number
Access port for public access.
internetService number
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranetIp string
instance intranet IP.
intranetPort number
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
locked number
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
maxDeayTime number
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
memSize number
Memory size (in MB).
mysqlInstanceId string
ID of the resource.
paramTemplateId number
Specify parameter template id.
parameters {[key: string]: string}
List of parameters to use.
payType number
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period number
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaidPeriod number
Period of instance. NOTES: Only supported prepaid instance.
projectId number
Project ID, default value is 0.
rootPassword string
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
secondSlaveZone string
Zone information about second slave instance.
securityGroups string[]
Security groups to use.
slaveDeployMode number
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slaveSyncMode number
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
status number
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
subnetId string
Private network ID. If vpc_id is set, this value is required.
tags {[key: string]: string}
Instance tags.
taskStatus number
Indicates which kind of operations is being executed.
upgradeSubversion number
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
volumeSize number
Disk size (in GB).
vpcId string
ID of VPC, which can be modified once every 24 hours and can't be removed.
waitSwitch number
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
auto_renew_flag float
Auto renew flag. NOTES: Only supported prepaid instance.
availability_zone str
Indicates which availability zone will be used.
charge_type str
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu float
CPU cores.
device_type str
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engine_type str
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engine_version str
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fast_upgrade float
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
first_slave_zone str
Zone information about first slave instance.
force_delete bool
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
gtid float
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
instance_name str
The name of a mysql instance.
internet_host str
host for public access.
internet_port float
Access port for public access.
internet_service float
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranet_ip str
instance intranet IP.
intranet_port float
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
locked float
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
max_deay_time float
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
mem_size float
Memory size (in MB).
mysql_instance_id str
ID of the resource.
param_template_id float
Specify parameter template id.
parameters Mapping[str, str]
List of parameters to use.
pay_type float
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period float
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaid_period float
Period of instance. NOTES: Only supported prepaid instance.
project_id float
Project ID, default value is 0.
root_password str
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
second_slave_zone str
Zone information about second slave instance.
security_groups Sequence[str]
Security groups to use.
slave_deploy_mode float
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slave_sync_mode float
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
status float
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
subnet_id str
Private network ID. If vpc_id is set, this value is required.
tags Mapping[str, str]
Instance tags.
task_status float
Indicates which kind of operations is being executed.
upgrade_subversion float
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
volume_size float
Disk size (in GB).
vpc_id str
ID of VPC, which can be modified once every 24 hours and can't be removed.
wait_switch float
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.
autoRenewFlag Number
Auto renew flag. NOTES: Only supported prepaid instance.
availabilityZone String
Indicates which availability zone will be used.
chargeType String
Pay type of instance. Valid values:PREPAID, POSTPAID. Default is POSTPAID.
cpu Number
CPU cores.
deviceType String
Specify device type, available values:

  • UNIVERSAL (default): universal instance,
  • EXCLUSIVE: exclusive instance,
  • BASIC_V2: ONTKE single-node instance,
  • CLOUD_NATIVE_CLUSTER: cluster version standard type,
  • CLOUD_NATIVE_CLUSTER_EXCLUSIVE: cluster version enhanced type. If it is not specified, it defaults to a universal instance.
engineType String
Instance engine type. The default value is InnoDB. Supported values include InnoDB and RocksDB.
engineVersion String
The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately.
fastUpgrade Number
Specify whether to enable fast upgrade when upgrade instance spec, available value: 1 - enabled, 0 - disabled.
firstSlaveZone String
Zone information about first slave instance.
forceDelete Boolean
Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
gtid Number
Indicates whether GTID is enable. 0 - Not enabled; 1 - Enabled.
instanceName String
The name of a mysql instance.
internetHost String
host for public access.
internetPort Number
Access port for public access.
internetService Number
Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes.
intranetIp String
instance intranet IP.
intranetPort Number
Public access port. Valid value ranges: [1024~65535]. The default value is 3306.
locked Number
Indicates whether the instance is locked. Valid values: 0, 1. 0 - No; 1 - Yes.
maxDeayTime Number
Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version.
memSize Number
Memory size (in MB).
mysqlInstanceId String
ID of the resource.
paramTemplateId Number
Specify parameter template id.
parameters Map<String>
List of parameters to use.
payType Number
It has been deprecated from version 1.36.0. Please use charge_type instead. Pay type of instance. Valid values: 0, 1. 0: prepaid, 1: postpaid.

Deprecated: Deprecated

period Number
It has been deprecated from version 1.36.0. Please use prepaid_period instead. Period of instance. NOTES: Only supported prepaid instance.

Deprecated: Deprecated

prepaidPeriod Number
Period of instance. NOTES: Only supported prepaid instance.
projectId Number
Project ID, default value is 0.
rootPassword String
Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
secondSlaveZone String
Zone information about second slave instance.
securityGroups List<String>
Security groups to use.
slaveDeployMode Number
Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
slaveSyncMode Number
Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication.
status Number
Instance status. Valid values: 0, 1, 4, 5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.
subnetId String
Private network ID. If vpc_id is set, this value is required.
tags Map<String>
Instance tags.
taskStatus Number
Indicates which kind of operations is being executed.
upgradeSubversion Number
Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version.
volumeSize Number
Disk size (in GB).
vpcId String
ID of VPC, which can be modified once every 24 hours and can't be removed.
waitSwitch Number
Switch the method of accessing new instances, default is 0. Supported values include: 0 - switch immediately, 1 - switch in time window.

Import

MySQL instance can be imported using the id, e.g.

$ pulumi import tencentcloud:index/mysqlInstance:MysqlInstance foo cdb-12345678
Copy

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.