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:
- Charge
Type string - The charge type of the veDB Mysql instance.
 - Create
Time stringEnd  - The end time of creating veDB Mysql instance.
 - Create
Time stringStart  - The start time of creating veDB Mysql instance.
 - Db
Engine stringVersion  - The version of the veDB Mysql instance.
 - Instance
Id string - The id of the veDB Mysql instance.
 - Instance
Name string - The name of the veDB Mysql instance.
 - Instance
Status string - The status of the veDB Mysql instance.
 - Name
Regex string - A Name Regex of veDB mysql instance.
 - Output
File string - File name where to save data source results.
 - Project
Name string - The project name of the veDB Mysql instance.
 - 
List<Instances
Tag>  - Tags.
 - Zone
Id string - The available zone of the veDB Mysql instance.
 
- Charge
Type string - The charge type of the veDB Mysql instance.
 - Create
Time stringEnd  - The end time of creating veDB Mysql instance.
 - Create
Time stringStart  - The start time of creating veDB Mysql instance.
 - Db
Engine stringVersion  - The version of the veDB Mysql instance.
 - Instance
Id string - The id of the veDB Mysql instance.
 - Instance
Name string - The name of the veDB Mysql instance.
 - Instance
Status string - The status of the veDB Mysql instance.
 - Name
Regex string - A Name Regex of veDB mysql instance.
 - Output
File string - File name where to save data source results.
 - Project
Name string - The project name of the veDB Mysql instance.
 - 
[]Instances
Tag  - Tags.
 - Zone
Id string - The available zone of the veDB Mysql instance.
 
- charge
Type String - The charge type of the veDB Mysql instance.
 - create
Time StringEnd  - The end time of creating veDB Mysql instance.
 - create
Time StringStart  - The start time of creating veDB Mysql instance.
 - db
Engine StringVersion  - The version of the veDB Mysql instance.
 - instance
Id String - The id of the veDB Mysql instance.
 - instance
Name String - The name of the veDB Mysql instance.
 - instance
Status String - The status of the veDB Mysql instance.
 - name
Regex String - A Name Regex of veDB mysql instance.
 - output
File String - File name where to save data source results.
 - project
Name String - The project name of the veDB Mysql instance.
 - 
List<Instances
Tag>  - Tags.
 - zone
Id String - The available zone of the veDB Mysql instance.
 
- charge
Type string - The charge type of the veDB Mysql instance.
 - create
Time stringEnd  - The end time of creating veDB Mysql instance.
 - create
Time stringStart  - The start time of creating veDB Mysql instance.
 - db
Engine stringVersion  - The version of the veDB Mysql instance.
 - instance
Id string - The id of the veDB Mysql instance.
 - instance
Name string - The name of the veDB Mysql instance.
 - instance
Status string - The status of the veDB Mysql instance.
 - name
Regex string - A Name Regex of veDB mysql instance.
 - output
File string - File name where to save data source results.
 - project
Name string - The project name of the veDB Mysql instance.
 - 
Instances
Tag[]  - Tags.
 - zone
Id 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[Instances
Tag]  - Tags.
 - zone_
id str - The available zone of the veDB Mysql instance.
 
- charge
Type String - The charge type of the veDB Mysql instance.
 - create
Time StringEnd  - The end time of creating veDB Mysql instance.
 - create
Time StringStart  - The start time of creating veDB Mysql instance.
 - db
Engine StringVersion  - The version of the veDB Mysql instance.
 - instance
Id String - The id of the veDB Mysql instance.
 - instance
Name String - The name of the veDB Mysql instance.
 - instance
Status String - The status of the veDB Mysql instance.
 - name
Regex String - A Name Regex of veDB mysql instance.
 - output
File String - File name where to save data source results.
 - project
Name String - The project name of the veDB Mysql instance.
 - List<Property Map>
 - Tags.
 - zone
Id 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<Instances
Instance>  - The collection of query.
 - Total
Count int - The total count of query.
 - Charge
Type string - Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - Create
Time stringEnd  - Create
Time stringStart  - Db
Engine stringVersion  - The engine version of the veDB Mysql instance.
 - Instance
Id string - The ID of the veDB Mysql instance.
 - Instance
Name string - The name of the veDB Mysql instance.
 - Instance
Status string - The status of the veDB Mysql instance.
 - Name
Regex string - Output
File string - Project
Name string - The project name of the veDB Mysql instance.
 - 
List<Instances
Tag>  - Tags.
 - Zone
Id string - The zone id.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Instances
[]Instances
Instance  - The collection of query.
 - Total
Count int - The total count of query.
 - Charge
Type string - Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - Create
Time stringEnd  - Create
Time stringStart  - Db
Engine stringVersion  - The engine version of the veDB Mysql instance.
 - Instance
Id string - The ID of the veDB Mysql instance.
 - Instance
Name string - The name of the veDB Mysql instance.
 - Instance
Status string - The status of the veDB Mysql instance.
 - Name
Regex string - Output
File string - Project
Name string - The project name of the veDB Mysql instance.
 - 
[]Instances
Tag  - Tags.
 - Zone
Id string - The zone id.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - instances
List<Instances
Instance>  - The collection of query.
 - total
Count Integer - The total count of query.
 - charge
Type String - Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - create
Time StringEnd  - create
Time StringStart  - db
Engine StringVersion  - The engine version of the veDB Mysql instance.
 - instance
Id String - The ID of the veDB Mysql instance.
 - instance
Name String - The name of the veDB Mysql instance.
 - instance
Status String - The status of the veDB Mysql instance.
 - name
Regex String - output
File String - project
Name String - The project name of the veDB Mysql instance.
 - 
List<Instances
Tag>  - Tags.
 - zone
Id String - The zone id.
 
- id string
 - The provider-assigned unique ID for this managed resource.
 - instances
Instances
Instance[]  - The collection of query.
 - total
Count number - The total count of query.
 - charge
Type string - Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - create
Time stringEnd  - create
Time stringStart  - db
Engine stringVersion  - The engine version of the veDB Mysql instance.
 - instance
Id string - The ID of the veDB Mysql instance.
 - instance
Name string - The name of the veDB Mysql instance.
 - instance
Status string - The status of the veDB Mysql instance.
 - name
Regex string - output
File string - project
Name string - The project name of the veDB Mysql instance.
 - 
Instances
Tag[]  - Tags.
 - zone
Id string - The zone id.
 
- id str
 - The provider-assigned unique ID for this managed resource.
 - instances
Sequence[Instances
Instance]  - 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[Instances
Tag]  - 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.
 - total
Count Number - The total count of query.
 - charge
Type String - Calculate the billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - create
Time StringEnd  - create
Time StringStart  - db
Engine StringVersion  - The engine version of the veDB Mysql instance.
 - instance
Id String - The ID of the veDB Mysql instance.
 - instance
Name String - The name of the veDB Mysql instance.
 - instance
Status String - The status of the veDB Mysql instance.
 - name
Regex String - output
File String - project
Name String - The project name of the veDB Mysql instance.
 - List<Property Map>
 - Tags.
 - zone
Id String - The zone id.
 
Supporting Types
InstancesInstance 
- 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 stringTime  - The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - Charge
Start stringTime  - The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - Charge
Status string - Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
 - Charge
Type string - The charge type of the veDB Mysql instance.
 - Create
Time string - The create time of the veDB Mysql instance.
 - Db
Engine stringVersion  - The version of the veDB Mysql instance.
 - Id string
 - The ID of the veDB Mysql instance.
 - Instance
Id string - The id of the veDB Mysql instance.
 - Instance
Name string - The name of the veDB Mysql instance.
 - Instance
Status string - The status of the veDB Mysql instance.
 - Lower
Case 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<Instances
Instance Node>  - Detailed information of instance nodes.
 - Overdue
Reclaim stringTime  - Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - Overdue
Time string - 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 string - The project name of the veDB Mysql instance.
 - Region
Id string - The region id.
 - Storage
Charge stringType  - Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - Storage
Used doubleGib  - Used storage size, unit: GiB.
 - Subnet
Id string - The subnet ID of the veDB Mysql instance.
 - 
List<Instances
Instance Tag>  - Tags.
 - Time
Zone string - Time zone.
 - Vpc
Id string - The vpc ID of the veDB Mysql instance.
 - Zone
Ids 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 stringTime  - The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - Charge
Start stringTime  - The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - Charge
Status string - Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
 - Charge
Type string - The charge type of the veDB Mysql instance.
 - Create
Time string - The create time of the veDB Mysql instance.
 - Db
Engine stringVersion  - The version of the veDB Mysql instance.
 - Id string
 - The ID of the veDB Mysql instance.
 - Instance
Id string - The id of the veDB Mysql instance.
 - Instance
Name string - The name of the veDB Mysql instance.
 - Instance
Status string - The status of the veDB Mysql instance.
 - Lower
Case 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
[]Instances
Instance Node  - Detailed information of instance nodes.
 - Overdue
Reclaim stringTime  - Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - Overdue
Time string - 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 string - The project name of the veDB Mysql instance.
 - Region
Id string - The region id.
 - Storage
Charge stringType  - Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - Storage
Used float64Gib  - Used storage size, unit: GiB.
 - Subnet
Id string - The subnet ID of the veDB Mysql instance.
 - 
[]Instances
Instance Tag  - Tags.
 - Time
Zone string - Time zone.
 - Vpc
Id string - The vpc ID of the veDB Mysql instance.
 - Zone
Ids string - The available zone of the veDB Mysql instance.
 
- auto
Renew Boolean - Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
 - charge
End StringTime  - The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - charge
Start StringTime  - The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - charge
Status String - Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
 - charge
Type String - The charge type of the veDB Mysql instance.
 - create
Time String - The create time of the veDB Mysql instance.
 - db
Engine StringVersion  - The version of the veDB Mysql instance.
 - id String
 - The ID of the veDB Mysql instance.
 - instance
Id String - The id of the veDB Mysql instance.
 - instance
Name String - The name of the veDB Mysql instance.
 - instance
Status String - The status of the veDB Mysql instance.
 - lower
Case 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<Instances
Instance Node>  - Detailed information of instance nodes.
 - overdue
Reclaim StringTime  - Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - overdue
Time String - Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - pre
Paid IntegerStorage In Gb  - Total storage capacity in GiB for prepaid services.
 - project
Name String - The project name of the veDB Mysql instance.
 - region
Id String - The region id.
 - storage
Charge StringType  - Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - storage
Used DoubleGib  - Used storage size, unit: GiB.
 - subnet
Id String - The subnet ID of the veDB Mysql instance.
 - 
List<Instances
Instance Tag>  - Tags.
 - time
Zone String - Time zone.
 - vpc
Id String - The vpc ID of the veDB Mysql instance.
 - zone
Ids String - The available zone of the veDB Mysql instance.
 
- auto
Renew boolean - Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
 - charge
End stringTime  - The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - charge
Start stringTime  - The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - charge
Status string - Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
 - charge
Type string - The charge type of the veDB Mysql instance.
 - create
Time string - The create time of the veDB Mysql instance.
 - db
Engine stringVersion  - The version of the veDB Mysql instance.
 - id string
 - The ID of the veDB Mysql instance.
 - instance
Id string - The id of the veDB Mysql instance.
 - instance
Name string - The name of the veDB Mysql instance.
 - instance
Status string - The status of the veDB Mysql instance.
 - lower
Case 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
Instances
Instance Node[]  - Detailed information of instance nodes.
 - overdue
Reclaim stringTime  - Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - overdue
Time string - Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - pre
Paid numberStorage In Gb  - Total storage capacity in GiB for prepaid services.
 - project
Name string - The project name of the veDB Mysql instance.
 - region
Id string - The region id.
 - storage
Charge stringType  - Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - storage
Used numberGib  - Used storage size, unit: GiB.
 - subnet
Id string - The subnet ID of the veDB Mysql instance.
 - 
Instances
Instance Tag[]  - Tags.
 - time
Zone string - Time zone.
 - vpc
Id string - The vpc ID of the veDB Mysql instance.
 - zone
Ids 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[Instances
Instance 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[Instances
Instance 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.
 
- auto
Renew Boolean - Whether auto-renewal is enabled in the prepaid scenario. Values: true: Auto-renewal is enabled. false: Auto-renewal is not enabled.
 - charge
End StringTime  - The billing expiration time in the prepaid scenario, in the format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - charge
Start StringTime  - The time when billing starts. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - charge
Status String - Payment status: Normal: Normal. Overdue: In arrears. Shutdown: Shut down.
 - charge
Type String - The charge type of the veDB Mysql instance.
 - create
Time String - The create time of the veDB Mysql instance.
 - db
Engine StringVersion  - The version of the veDB Mysql instance.
 - id String
 - The ID of the veDB Mysql instance.
 - instance
Id String - The id of the veDB Mysql instance.
 - instance
Name String - The name of the veDB Mysql instance.
 - instance
Status String - The status of the veDB Mysql instance.
 - lower
Case 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.
 - overdue
Reclaim StringTime  - Expected release time when shut down due to arrears. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - overdue
Time String - Overdue shutdown time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
 - pre
Paid NumberStorage In Gb  - Total storage capacity in GiB for prepaid services.
 - project
Name String - The project name of the veDB Mysql instance.
 - region
Id String - The region id.
 - storage
Charge StringType  - Storage billing type. Values: PostPaid: Pay-as-you-go (postpaid). PrePaid: Monthly/yearly subscription (prepaid).
 - storage
Used NumberGib  - Used storage size, unit: GiB.
 - subnet
Id String - The subnet ID of the veDB Mysql instance.
 - List<Property Map>
 - Tags.
 - time
Zone String - Time zone.
 - vpc
Id String - The vpc ID of the veDB Mysql instance.
 - zone
Ids String - The available zone of the veDB Mysql instance.
 
InstancesInstanceNode  
- Memory int
 - Memory size, in GiB.
 - Node
Id string - The id of the node.
 - Node
Spec string - Node specification of an instance.
 - Node
Type 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.
 - Zone
Id string - The available zone of the veDB Mysql instance.
 
- Memory int
 - Memory size, in GiB.
 - Node
Id string - The id of the node.
 - Node
Spec string - Node specification of an instance.
 - Node
Type 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.
 - Zone
Id string - The available zone of the veDB Mysql instance.
 
- memory Integer
 - Memory size, in GiB.
 - node
Id String - The id of the node.
 - node
Spec String - Node specification of an instance.
 - node
Type String - Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
 - v
Cpu Integer - CPU size. For example, when the value is 1, it means the CPU size is 1U.
 - zone
Id String - The available zone of the veDB Mysql instance.
 
- memory number
 - Memory size, in GiB.
 - node
Id string - The id of the node.
 - node
Spec string - Node specification of an instance.
 - node
Type string - Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
 - v
Cpu number - CPU size. For example, when the value is 1, it means the CPU size is 1U.
 - zone
Id 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.
 - node
Id String - The id of the node.
 - node
Spec String - Node specification of an instance.
 - node
Type String - Node type. Values: Primary: Primary node. ReadOnly: Read-only node.
 - v
Cpu Number - CPU size. For example, when the value is 1, it means the CPU size is 1U.
 - zone
Id 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.