Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vedb_mysql.Instances
Explore with Pulumi AI
Use this data source to query detailed information of vedb mysql instances
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
    vpcId: fooVpc.id,
});
const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
    chargeType: "PostPaid",
    storageChargeType: "PostPaid",
    dbEngineVersion: "MySQL_8_0",
    dbMinorVersion: "3.0",
    nodeNumber: 2,
    nodeSpec: "vedb.mysql.x4.large",
    subnetId: fooSubnet.id,
    instanceName: "tf-test",
    projectName: "testA",
    tags: [
        {
            key: "tftest",
            value: "tftest",
        },
        {
            key: "tftest2",
            value: "tftest2",
        },
    ],
});
const fooInstances = volcengine.vedb_mysql.InstancesOutput({
    instanceId: fooInstance.id,
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id=foo_zones.zones[2].id,
    vpc_id=foo_vpc.id)
foo_instance = volcengine.vedb_mysql.Instance("fooInstance",
    charge_type="PostPaid",
    storage_charge_type="PostPaid",
    db_engine_version="MySQL_8_0",
    db_minor_version="3.0",
    node_number=2,
    node_spec="vedb.mysql.x4.large",
    subnet_id=foo_subnet.id,
    instance_name="tf-test",
    project_name="testA",
    tags=[
        volcengine.vedb_mysql.InstanceTagArgs(
            key="tftest",
            value="tftest",
        ),
        volcengine.vedb_mysql.InstanceTagArgs(
            key="tftest2",
            value="tftest2",
        ),
    ])
foo_instances = volcengine.vedb_mysql.instances_output(instance_id=foo_instance.id)
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vedb_mysql"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String(fooZones.Zones[2].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooInstance, err := vedb_mysql.NewInstance(ctx, "fooInstance", &vedb_mysql.InstanceArgs{
			ChargeType:        pulumi.String("PostPaid"),
			StorageChargeType: pulumi.String("PostPaid"),
			DbEngineVersion:   pulumi.String("MySQL_8_0"),
			DbMinorVersion:    pulumi.String("3.0"),
			NodeNumber:        pulumi.Int(2),
			NodeSpec:          pulumi.String("vedb.mysql.x4.large"),
			SubnetId:          fooSubnet.ID(),
			InstanceName:      pulumi.String("tf-test"),
			ProjectName:       pulumi.String("testA"),
			Tags: vedb_mysql.InstanceTagArray{
				&vedb_mysql.InstanceTagArgs{
					Key:   pulumi.String("tftest"),
					Value: pulumi.String("tftest"),
				},
				&vedb_mysql.InstanceTagArgs{
					Key:   pulumi.String("tftest2"),
					Value: pulumi.String("tftest2"),
				},
			},
		})
		if err != nil {
			return err
		}
		_ = vedb_mysql.InstancesOutput(ctx, vedb_mysql.InstancesOutputArgs{
			InstanceId: fooInstance.ID(),
		}, nil)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var fooZones = Volcengine.Ecs.Zones.Invoke();
    var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });
    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[2]?.Id),
        VpcId = fooVpc.Id,
    });
    var fooInstance = new Volcengine.Vedb_mysql.Instance("fooInstance", new()
    {
        ChargeType = "PostPaid",
        StorageChargeType = "PostPaid",
        DbEngineVersion = "MySQL_8_0",
        DbMinorVersion = "3.0",
        NodeNumber = 2,
        NodeSpec = "vedb.mysql.x4.large",
        SubnetId = fooSubnet.Id,
        InstanceName = "tf-test",
        ProjectName = "testA",
        Tags = new[]
        {
            new Volcengine.Vedb_mysql.Inputs.InstanceTagArgs
            {
                Key = "tftest",
                Value = "tftest",
            },
            new Volcengine.Vedb_mysql.Inputs.InstanceTagArgs
            {
                Key = "tftest2",
                Value = "tftest2",
            },
        },
    });
    var fooInstances = Volcengine.Vedb_mysql.Instances.Invoke(new()
    {
        InstanceId = fooInstance.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vedb_mysql.Instance;
import com.pulumi.volcengine.vedb_mysql.InstanceArgs;
import com.pulumi.volcengine.vedb_mysql.inputs.InstanceTagArgs;
import com.pulumi.volcengine.vedb_mysql.Vedb_mysqlFunctions;
import com.pulumi.volcengine.vedb_mysql.inputs.InstancesArgs;
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 fooZones = EcsFunctions.Zones();
        var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());
        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[2].id()))
            .vpcId(fooVpc.id())
            .build());
        var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
            .chargeType("PostPaid")
            .storageChargeType("PostPaid")
            .dbEngineVersion("MySQL_8_0")
            .dbMinorVersion("3.0")
            .nodeNumber(2)
            .nodeSpec("vedb.mysql.x4.large")
            .subnetId(fooSubnet.id())
            .instanceName("tf-test")
            .projectName("testA")
            .tags(            
                InstanceTagArgs.builder()
                    .key("tftest")
                    .value("tftest")
                    .build(),
                InstanceTagArgs.builder()
                    .key("tftest2")
                    .value("tftest2")
                    .build())
            .build());
        final var fooInstances = Vedb_mysqlFunctions.Instances(InstancesArgs.builder()
            .instanceId(fooInstance.id())
            .build());
    }
}
resources:
  fooVpc:
    type: volcengine:vpc:Vpc
    properties:
      vpcName: acc-test-vpc
      cidrBlock: 172.16.0.0/16
  fooSubnet:
    type: volcengine:vpc:Subnet
    properties:
      subnetName: acc-test-subnet
      cidrBlock: 172.16.0.0/24
      zoneId: ${fooZones.zones[2].id}
      vpcId: ${fooVpc.id}
  fooInstance:
    type: volcengine:vedb_mysql:Instance
    properties:
      chargeType: PostPaid
      storageChargeType: PostPaid
      dbEngineVersion: MySQL_8_0
      dbMinorVersion: '3.0'
      nodeNumber: 2
      nodeSpec: vedb.mysql.x4.large
      subnetId: ${fooSubnet.id}
      instanceName: tf-test
      projectName: testA
      tags:
        - key: tftest
          value: tftest
        - key: tftest2
          value: tftest2
variables:
  fooZones:
    fn::invoke:
      Function: volcengine:ecs:Zones
      Arguments: {}
  fooInstances:
    fn::invoke:
      Function: volcengine:vedb_mysql:Instances
      Arguments:
        instanceId: ${fooInstance.id}
Using Instances
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function instances(args: InstancesArgs, opts?: InvokeOptions): Promise<InstancesResult>
function instancesOutput(args: InstancesOutputArgs, opts?: InvokeOptions): Output<InstancesResult>def instances(charge_type: Optional[str] = None,
              create_time_end: Optional[str] = None,
              create_time_start: Optional[str] = None,
              db_engine_version: Optional[str] = None,
              instance_id: Optional[str] = None,
              instance_name: Optional[str] = None,
              instance_status: Optional[str] = None,
              name_regex: Optional[str] = None,
              output_file: Optional[str] = None,
              project_name: Optional[str] = None,
              tags: Optional[Sequence[InstancesTag]] = None,
              zone_id: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> InstancesResult
def instances_output(charge_type: Optional[pulumi.Input[str]] = None,
              create_time_end: Optional[pulumi.Input[str]] = None,
              create_time_start: Optional[pulumi.Input[str]] = None,
              db_engine_version: Optional[pulumi.Input[str]] = None,
              instance_id: Optional[pulumi.Input[str]] = None,
              instance_name: Optional[pulumi.Input[str]] = None,
              instance_status: Optional[pulumi.Input[str]] = None,
              name_regex: Optional[pulumi.Input[str]] = None,
              output_file: Optional[pulumi.Input[str]] = None,
              project_name: Optional[pulumi.Input[str]] = None,
              tags: Optional[pulumi.Input[Sequence[pulumi.Input[InstancesTagArgs]]]] = None,
              zone_id: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[InstancesResult]func Instances(ctx *Context, args *InstancesArgs, opts ...InvokeOption) (*InstancesResult, error)
func InstancesOutput(ctx *Context, args *InstancesOutputArgs, opts ...InvokeOption) InstancesResultOutputpublic static class Instances 
{
    public static Task<InstancesResult> InvokeAsync(InstancesArgs args, InvokeOptions? opts = null)
    public static Output<InstancesResult> Invoke(InstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<InstancesResult> instances(InstancesArgs args, InvokeOptions options)
public static Output<InstancesResult> instances(InstancesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:vedb_mysql:Instances
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ChargeType string
- The charge type of the veDB Mysql instance.
- CreateTime stringEnd 
- The end time of creating veDB Mysql instance.
- CreateTime stringStart 
- The start time of creating veDB Mysql instance.
- DbEngine stringVersion 
- The version of the veDB Mysql instance.
- InstanceId string
- The id of the veDB Mysql instance.
- InstanceName string
- The name of the veDB Mysql instance.
- InstanceStatus string
- The status of the veDB Mysql instance.
- NameRegex string
- A Name Regex of veDB mysql instance.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the veDB Mysql instance.
- 
List<InstancesTag> 
- Tags.
- ZoneId string
- The available zone of the veDB Mysql instance.
- ChargeType string
- The charge type of the veDB Mysql instance.
- CreateTime stringEnd 
- The end time of creating veDB Mysql instance.
- CreateTime stringStart 
- The start time of creating veDB Mysql instance.
- DbEngine stringVersion 
- The version of the veDB Mysql instance.
- InstanceId string
- The id of the veDB Mysql instance.
- InstanceName string
- The name of the veDB Mysql instance.
- InstanceStatus string
- The status of the veDB Mysql instance.
- NameRegex string
- A Name Regex of veDB mysql instance.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the veDB Mysql instance.
- 
[]InstancesTag 
- Tags.
- ZoneId string
- The available zone of the veDB Mysql instance.
- chargeType String
- The charge type of the veDB Mysql instance.
- createTime StringEnd 
- The end time of creating veDB Mysql instance.
- createTime StringStart 
- The start time of creating veDB Mysql instance.
- dbEngine StringVersion 
- The version of the veDB Mysql instance.
- instanceId String
- The id of the veDB Mysql instance.
- instanceName String
- The name of the veDB Mysql instance.
- instanceStatus String
- The status of the veDB Mysql instance.
- nameRegex String
- A Name Regex of veDB mysql instance.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the veDB Mysql instance.
- 
List<InstancesTag> 
- Tags.
- zoneId String
- The available zone of the veDB Mysql instance.
- chargeType string
- The charge type of the veDB Mysql instance.
- createTime stringEnd 
- The end time of creating veDB Mysql instance.
- createTime stringStart 
- The start time of creating veDB Mysql instance.
- dbEngine stringVersion 
- The version of the veDB Mysql instance.
- instanceId string
- The id of the veDB Mysql instance.
- instanceName string
- The name of the veDB Mysql instance.
- instanceStatus string
- The status of the veDB Mysql instance.
- nameRegex string
- A Name Regex of veDB mysql instance.
- outputFile string
- File name where to save data source results.
- projectName string
- The project name of the veDB Mysql instance.
- 
InstancesTag[] 
- Tags.
- zoneId string
- The available zone of the veDB Mysql instance.
- charge_type str
- The charge type of the veDB Mysql instance.
- create_time_ strend 
- The end time of creating veDB Mysql instance.
- create_time_ strstart 
- The start time of creating veDB Mysql instance.
- db_engine_ strversion 
- The version of the veDB Mysql instance.
- instance_id str
- The id of the veDB Mysql instance.
- instance_name str
- The name of the veDB Mysql instance.
- instance_status str
- The status of the veDB Mysql instance.
- name_regex str
- A Name Regex of veDB mysql instance.
- output_file str
- File name where to save data source results.
- project_name str
- The project name of the veDB Mysql instance.
- 
Sequence[InstancesTag] 
- Tags.
- zone_id str
- The available zone of the veDB Mysql instance.
- chargeType String
- The charge type of the veDB Mysql instance.
- createTime StringEnd 
- The end time of creating veDB Mysql instance.
- createTime StringStart 
- The start time of creating veDB Mysql instance.
- dbEngine StringVersion 
- The version of the veDB Mysql instance.
- instanceId String
- The id of the veDB Mysql instance.
- instanceName String
- The name of the veDB Mysql instance.
- instanceStatus String
- The status of the veDB Mysql instance.
- nameRegex String
- A Name Regex of veDB mysql instance.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the veDB Mysql instance.
- List<Property Map>
- Tags.
- zoneId String
- The available zone of the veDB Mysql instance.
Instances Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
List<InstancesInstance> 
- The collection of query.
- TotalCount int
- The total count of query.
- ChargeType string
- Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- CreateTime stringEnd 
- CreateTime stringStart 
- DbEngine stringVersion 
- The engine version of the veDB Mysql instance.
- InstanceId string
- The ID of the veDB Mysql instance.
- InstanceName string
- The name of the veDB Mysql instance.
- InstanceStatus string
- The status of the veDB Mysql instance.
- NameRegex string
- OutputFile string
- ProjectName string
- The project name of the veDB Mysql instance.
- 
List<InstancesTag> 
- Tags.
- ZoneId string
- The zone id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
[]InstancesInstance 
- The collection of query.
- TotalCount int
- The total count of query.
- ChargeType string
- Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- CreateTime stringEnd 
- CreateTime stringStart 
- DbEngine stringVersion 
- The engine version of the veDB Mysql instance.
- InstanceId string
- The ID of the veDB Mysql instance.
- InstanceName string
- The name of the veDB Mysql instance.
- InstanceStatus string
- The status of the veDB Mysql instance.
- NameRegex string
- OutputFile string
- ProjectName string
- The project name of the veDB Mysql instance.
- 
[]InstancesTag 
- Tags.
- ZoneId string
- The zone id.
- id String
- The provider-assigned unique ID for this managed resource.
- instances
List<InstancesInstance> 
- The collection of query.
- totalCount Integer
- The total count of query.
- chargeType String
- Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- createTime StringEnd 
- createTime StringStart 
- dbEngine StringVersion 
- The engine version of the veDB Mysql instance.
- instanceId String
- The ID of the veDB Mysql instance.
- instanceName String
- The name of the veDB Mysql instance.
- instanceStatus String
- The status of the veDB Mysql instance.
- nameRegex String
- outputFile String
- projectName String
- The project name of the veDB Mysql instance.
- 
List<InstancesTag> 
- Tags.
- zoneId String
- The zone id.
- id string
- The provider-assigned unique ID for this managed resource.
- instances
InstancesInstance[] 
- The collection of query.
- totalCount number
- The total count of query.
- chargeType string
- Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- createTime stringEnd 
- createTime stringStart 
- dbEngine stringVersion 
- The engine version of the veDB Mysql instance.
- instanceId string
- The ID of the veDB Mysql instance.
- instanceName string
- The name of the veDB Mysql instance.
- instanceStatus string
- The status of the veDB Mysql instance.
- nameRegex string
- outputFile string
- projectName string
- The project name of the veDB Mysql instance.
- 
InstancesTag[] 
- Tags.
- zoneId string
- The zone id.
- id str
- The provider-assigned unique ID for this managed resource.
- instances
Sequence[InstancesInstance] 
- The collection of query.
- total_count int
- The total count of query.
- charge_type str
- Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- create_time_ strend 
- create_time_ strstart 
- db_engine_ strversion 
- The engine version of the veDB Mysql instance.
- instance_id str
- The ID of the veDB Mysql instance.
- instance_name str
- The name of the veDB Mysql instance.
- instance_status str
- The status of the veDB Mysql instance.
- name_regex str
- output_file str
- project_name str
- The project name of the veDB Mysql instance.
- 
Sequence[InstancesTag] 
- Tags.
- zone_id str
- The zone id.
- id String
- The provider-assigned unique ID for this managed resource.
- instances List<Property Map>
- The collection of query.
- totalCount Number
- The total count of query.
- chargeType String
- Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- createTime StringEnd 
- createTime StringStart 
- dbEngine StringVersion 
- The engine version of the veDB Mysql instance.
- instanceId String
- The ID of the veDB Mysql instance.
- instanceName String
- The name of the veDB Mysql instance.
- instanceStatus String
- The status of the veDB Mysql instance.
- nameRegex String
- outputFile String
- projectName String
- The project name of the veDB Mysql instance.
- List<Property Map>
- Tags.
- zoneId String
- The zone id.
Supporting Types
InstancesInstance 
- AutoRenew bool
- Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
- ChargeEnd stringTime 
- The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- ChargeStart stringTime 
- The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- ChargeStatus string
- Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
- ChargeType string
- The charge type of the veDB Mysql instance.
- CreateTime string
- The create time of the veDB Mysql instance.
- DbEngine stringVersion 
- The version of the veDB Mysql instance.
- Id string
- The ID of the veDB Mysql instance.
- InstanceId string
- The id of the veDB Mysql instance.
- InstanceName string
- The name of the veDB Mysql instance.
- InstanceStatus string
- The status of the veDB Mysql instance.
- LowerCase stringTable Names 
- Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
- Nodes
List<InstancesInstance Node> 
- Detailed information of instance nodes.
- OverdueReclaim stringTime 
- Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- OverdueTime string
- Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- PrePaid intStorage In Gb 
- Total storage capacity in GiB for prepaid services.
- ProjectName string
- The project name of the veDB Mysql instance.
- RegionId string
- The region id.
- StorageCharge stringType 
- Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- StorageUsed doubleGib 
- Used storage size, unit: GiB.
- SubnetId string
- The subnet ID of the veDB Mysql instance.
- 
List<InstancesInstance Tag> 
- Tags.
- TimeZone string
- Time zone.
- VpcId string
- The vpc ID of the veDB Mysql instance.
- ZoneIds string
- The available zone of the veDB Mysql instance.
- AutoRenew bool
- Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
- ChargeEnd stringTime 
- The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- ChargeStart stringTime 
- The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- ChargeStatus string
- Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
- ChargeType string
- The charge type of the veDB Mysql instance.
- CreateTime string
- The create time of the veDB Mysql instance.
- DbEngine stringVersion 
- The version of the veDB Mysql instance.
- Id string
- The ID of the veDB Mysql instance.
- InstanceId string
- The id of the veDB Mysql instance.
- InstanceName string
- The name of the veDB Mysql instance.
- InstanceStatus string
- The status of the veDB Mysql instance.
- LowerCase stringTable Names 
- Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
- Nodes
[]InstancesInstance Node 
- Detailed information of instance nodes.
- OverdueReclaim stringTime 
- Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- OverdueTime string
- Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- PrePaid intStorage In Gb 
- Total storage capacity in GiB for prepaid services.
- ProjectName string
- The project name of the veDB Mysql instance.
- RegionId string
- The region id.
- StorageCharge stringType 
- Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- StorageUsed float64Gib 
- Used storage size, unit: GiB.
- SubnetId string
- The subnet ID of the veDB Mysql instance.
- 
[]InstancesInstance Tag 
- Tags.
- TimeZone string
- Time zone.
- VpcId string
- The vpc ID of the veDB Mysql instance.
- ZoneIds string
- The available zone of the veDB Mysql instance.
- autoRenew Boolean
- Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
- chargeEnd StringTime 
- The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- chargeStart StringTime 
- The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- chargeStatus String
- Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
- chargeType String
- The charge type of the veDB Mysql instance.
- createTime String
- The create time of the veDB Mysql instance.
- dbEngine StringVersion 
- The version of the veDB Mysql instance.
- id String
- The ID of the veDB Mysql instance.
- instanceId String
- The id of the veDB Mysql instance.
- instanceName String
- The name of the veDB Mysql instance.
- instanceStatus String
- The status of the veDB Mysql instance.
- lowerCase StringTable Names 
- Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
- nodes
List<InstancesInstance Node> 
- Detailed information of instance nodes.
- overdueReclaim StringTime 
- Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdueTime String
- Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- prePaid IntegerStorage In Gb 
- Total storage capacity in GiB for prepaid services.
- projectName String
- The project name of the veDB Mysql instance.
- regionId String
- The region id.
- storageCharge StringType 
- Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- storageUsed DoubleGib 
- Used storage size, unit: GiB.
- subnetId String
- The subnet ID of the veDB Mysql instance.
- 
List<InstancesInstance Tag> 
- Tags.
- timeZone String
- Time zone.
- vpcId String
- The vpc ID of the veDB Mysql instance.
- zoneIds String
- The available zone of the veDB Mysql instance.
- autoRenew boolean
- Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
- chargeEnd stringTime 
- The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- chargeStart stringTime 
- The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- chargeStatus string
- Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
- chargeType string
- The charge type of the veDB Mysql instance.
- createTime string
- The create time of the veDB Mysql instance.
- dbEngine stringVersion 
- The version of the veDB Mysql instance.
- id string
- The ID of the veDB Mysql instance.
- instanceId string
- The id of the veDB Mysql instance.
- instanceName string
- The name of the veDB Mysql instance.
- instanceStatus string
- The status of the veDB Mysql instance.
- lowerCase stringTable Names 
- Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
- nodes
InstancesInstance Node[] 
- Detailed information of instance nodes.
- overdueReclaim stringTime 
- Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdueTime string
- Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- prePaid numberStorage In Gb 
- Total storage capacity in GiB for prepaid services.
- projectName string
- The project name of the veDB Mysql instance.
- regionId string
- The region id.
- storageCharge stringType 
- Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- storageUsed numberGib 
- Used storage size, unit: GiB.
- subnetId string
- The subnet ID of the veDB Mysql instance.
- 
InstancesInstance Tag[] 
- Tags.
- timeZone string
- Time zone.
- vpcId string
- The vpc ID of the veDB Mysql instance.
- zoneIds string
- The available zone of the veDB Mysql instance.
- auto_renew bool
- Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
- charge_end_ strtime 
- The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge_start_ strtime 
- The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge_status str
- Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
- charge_type str
- The charge type of the veDB Mysql instance.
- create_time str
- The create time of the veDB Mysql instance.
- db_engine_ strversion 
- The version of the veDB Mysql instance.
- id str
- The ID of the veDB Mysql instance.
- instance_id str
- The id of the veDB Mysql instance.
- instance_name str
- The name of the veDB Mysql instance.
- instance_status str
- The status of the veDB Mysql instance.
- lower_case_ strtable_ names 
- Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
- nodes
Sequence[InstancesInstance Node] 
- Detailed information of instance nodes.
- overdue_reclaim_ strtime 
- Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdue_time str
- Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- pre_paid_ intstorage_ in_ gb 
- Total storage capacity in GiB for prepaid services.
- project_name str
- The project name of the veDB Mysql instance.
- region_id str
- The region id.
- storage_charge_ strtype 
- Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- storage_used_ floatgib 
- Used storage size, unit: GiB.
- subnet_id str
- The subnet ID of the veDB Mysql instance.
- 
Sequence[InstancesInstance Tag] 
- Tags.
- time_zone str
- Time zone.
- vpc_id str
- The vpc ID of the veDB Mysql instance.
- zone_ids str
- The available zone of the veDB Mysql instance.
- autoRenew Boolean
- Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
- chargeEnd StringTime 
- The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- chargeStart StringTime 
- The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- chargeStatus String
- Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
- chargeType String
- The charge type of the veDB Mysql instance.
- createTime String
- The create time of the veDB Mysql instance.
- dbEngine StringVersion 
- The version of the veDB Mysql instance.
- id String
- The ID of the veDB Mysql instance.
- instanceId String
- The id of the veDB Mysql instance.
- instanceName String
- The name of the veDB Mysql instance.
- instanceStatus String
- The status of the veDB Mysql instance.
- lowerCase StringTable Names 
- Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
- nodes List<Property Map>
- Detailed information of instance nodes.
- overdueReclaim StringTime 
- Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdueTime String
- Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- prePaid NumberStorage In Gb 
- Total storage capacity in GiB for prepaid services.
- projectName String
- The project name of the veDB Mysql instance.
- regionId String
- The region id.
- storageCharge StringType 
- Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
- storageUsed NumberGib 
- Used storage size, unit: GiB.
- subnetId String
- The subnet ID of the veDB Mysql instance.
- List<Property Map>
- Tags.
- timeZone String
- Time zone.
- vpcId String
- The vpc ID of the veDB Mysql instance.
- zoneIds String
- The available zone of the veDB Mysql instance.
InstancesInstanceNode  
- Memory int
- Memory size, in GiB.
- NodeId string
- The id of the node.
- NodeSpec string
- Node specification of an instance.
- NodeType string
- Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
- VCpu int
- CPU size. For example, when the value is 1, it means the CPU size is 1U.
- ZoneId string
- The available zone of the veDB Mysql instance.
- Memory int
- Memory size, in GiB.
- NodeId string
- The id of the node.
- NodeSpec string
- Node specification of an instance.
- NodeType string
- Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
- VCpu int
- CPU size. For example, when the value is 1, it means the CPU size is 1U.
- ZoneId string
- The available zone of the veDB Mysql instance.
- memory Integer
- Memory size, in GiB.
- nodeId String
- The id of the node.
- nodeSpec String
- Node specification of an instance.
- nodeType String
- Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
- vCpu Integer
- CPU size. For example, when the value is 1, it means the CPU size is 1U.
- zoneId String
- The available zone of the veDB Mysql instance.
- memory number
- Memory size, in GiB.
- nodeId string
- The id of the node.
- nodeSpec string
- Node specification of an instance.
- nodeType string
- Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
- vCpu number
- CPU size. For example, when the value is 1, it means the CPU size is 1U.
- zoneId string
- The available zone of the veDB Mysql instance.
- memory int
- Memory size, in GiB.
- node_id str
- The id of the node.
- node_spec str
- Node specification of an instance.
- node_type str
- Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
- v_cpu int
- CPU size. For example, when the value is 1, it means the CPU size is 1U.
- zone_id str
- The available zone of the veDB Mysql instance.
- memory Number
- Memory size, in GiB.
- nodeId String
- The id of the node.
- nodeSpec String
- Node specification of an instance.
- nodeType String
- Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
- vCpu Number
- CPU size. For example, when the value is 1, it means the CPU size is 1U.
- zoneId String
- The available zone of the veDB Mysql instance.
InstancesInstanceTag  
InstancesTag 
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.