1. Packages
  2. Volcengine
  3. API Docs
  4. rds_mysql
  5. InstanceSpecs
Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine

volcengine.rds_mysql.InstanceSpecs

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine

    Use this data source to query detailed information of rds mysql instance specs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.rds_mysql.InstanceSpecs({
        dbEngineVersion: "MySQL_8_0",
        instanceType: "DoubleNode",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.rds_mysql.instance_specs(db_engine_version="MySQL_8_0",
        instance_type="DoubleNode")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds_mysql.InstanceSpecs(ctx, &rds_mysql.InstanceSpecsArgs{
    			DbEngineVersion: pulumi.StringRef("MySQL_8_0"),
    			InstanceType:    pulumi.StringRef("DoubleNode"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Rds_mysql.InstanceSpecs.Invoke(new()
        {
            DbEngineVersion = "MySQL_8_0",
            InstanceType = "DoubleNode",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.rds_mysql.Rds_mysqlFunctions;
    import com.pulumi.volcengine.rds_mysql.inputs.InstanceSpecsArgs;
    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 foo = Rds_mysqlFunctions.InstanceSpecs(InstanceSpecsArgs.builder()
                .dbEngineVersion("MySQL_8_0")
                .instanceType("DoubleNode")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:rds_mysql:InstanceSpecs
          Arguments:
            dbEngineVersion: MySQL_8_0
            instanceType: DoubleNode
    

    Using InstanceSpecs

    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 instanceSpecs(args: InstanceSpecsArgs, opts?: InvokeOptions): Promise<InstanceSpecsResult>
    function instanceSpecsOutput(args: InstanceSpecsOutputArgs, opts?: InvokeOptions): Output<InstanceSpecsResult>
    def instance_specs(db_engine_version: Optional[str] = None,
                       instance_type: Optional[str] = None,
                       output_file: Optional[str] = None,
                       spec_code: Optional[str] = None,
                       zone_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> InstanceSpecsResult
    def instance_specs_output(db_engine_version: Optional[pulumi.Input[str]] = None,
                       instance_type: Optional[pulumi.Input[str]] = None,
                       output_file: Optional[pulumi.Input[str]] = None,
                       spec_code: Optional[pulumi.Input[str]] = None,
                       zone_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[InstanceSpecsResult]
    func InstanceSpecs(ctx *Context, args *InstanceSpecsArgs, opts ...InvokeOption) (*InstanceSpecsResult, error)
    func InstanceSpecsOutput(ctx *Context, args *InstanceSpecsOutputArgs, opts ...InvokeOption) InstanceSpecsResultOutput
    public static class InstanceSpecs 
    {
        public static Task<InstanceSpecsResult> InvokeAsync(InstanceSpecsArgs args, InvokeOptions? opts = null)
        public static Output<InstanceSpecsResult> Invoke(InstanceSpecsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<InstanceSpecsResult> instanceSpecs(InstanceSpecsArgs args, InvokeOptions options)
    public static Output<InstanceSpecsResult> instanceSpecs(InstanceSpecsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_mysql:InstanceSpecs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    InstanceType string
    Instance type. The value is DoubleNode.
    OutputFile string
    File name where to save data source results.
    SpecCode string
    Instance specification code.
    ZoneId string
    Availability zone ID.
    DbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    InstanceType string
    Instance type. The value is DoubleNode.
    OutputFile string
    File name where to save data source results.
    SpecCode string
    Instance specification code.
    ZoneId string
    Availability zone ID.
    dbEngineVersion String
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType String
    Instance type. The value is DoubleNode.
    outputFile String
    File name where to save data source results.
    specCode String
    Instance specification code.
    zoneId String
    Availability zone ID.
    dbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType string
    Instance type. The value is DoubleNode.
    outputFile string
    File name where to save data source results.
    specCode string
    Instance specification code.
    zoneId string
    Availability zone ID.
    db_engine_version str
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instance_type str
    Instance type. The value is DoubleNode.
    output_file str
    File name where to save data source results.
    spec_code str
    Instance specification code.
    zone_id str
    Availability zone ID.
    dbEngineVersion String
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType String
    Instance type. The value is DoubleNode.
    outputFile String
    File name where to save data source results.
    specCode String
    Instance specification code.
    zoneId String
    Availability zone ID.

    InstanceSpecs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceSpecs List<InstanceSpecsInstanceSpec>
    The collection of query.
    TotalCount int
    The total count of query.
    DbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    InstanceType string
    Instance type. The value is DoubleNode.
    OutputFile string
    SpecCode string
    Instance specification code.
    ZoneId string
    Availability zone ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceSpecs []InstanceSpecsInstanceSpec
    The collection of query.
    TotalCount int
    The total count of query.
    DbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    InstanceType string
    Instance type. The value is DoubleNode.
    OutputFile string
    SpecCode string
    Instance specification code.
    ZoneId string
    Availability zone ID.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceSpecs List<InstanceSpecsInstanceSpec>
    The collection of query.
    totalCount Integer
    The total count of query.
    dbEngineVersion String
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType String
    Instance type. The value is DoubleNode.
    outputFile String
    specCode String
    Instance specification code.
    zoneId String
    Availability zone ID.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceSpecs InstanceSpecsInstanceSpec[]
    The collection of query.
    totalCount number
    The total count of query.
    dbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType string
    Instance type. The value is DoubleNode.
    outputFile string
    specCode string
    Instance specification code.
    zoneId string
    Availability zone ID.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_specs Sequence[InstanceSpecsInstanceSpec]
    The collection of query.
    total_count int
    The total count of query.
    db_engine_version str
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instance_type str
    Instance type. The value is DoubleNode.
    output_file str
    spec_code str
    Instance specification code.
    zone_id str
    Availability zone ID.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceSpecs List<Property Map>
    The collection of query.
    totalCount Number
    The total count of query.
    dbEngineVersion String
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType String
    Instance type. The value is DoubleNode.
    outputFile String
    specCode String
    Instance specification code.
    zoneId String
    Availability zone ID.

    Supporting Types

    InstanceSpecsInstanceSpec

    Connection int
    Default value of maximum number of connections.
    DbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    InstanceType string
    Instance type. The value is DoubleNode.
    Iops int
    Maximum IOPS per second.
    Memory int
    Memory size, in GB.
    Qps int
    Queries Per Second (QPS).
    RegionId string
    The id of the region.
    SpecCode string
    Instance specification code.
    SpecFamily string
    Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
    SpecStatus string
    The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
    StorageMax int
    Maximum storage space, in GB.
    StorageMin int
    Minimum storage space, in GB.
    StorageStep int
    Disk step size, in GB.
    Vcpu int
    Number of vCPUs.
    ZoneId string
    Availability zone ID.
    Connection int
    Default value of maximum number of connections.
    DbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    InstanceType string
    Instance type. The value is DoubleNode.
    Iops int
    Maximum IOPS per second.
    Memory int
    Memory size, in GB.
    Qps int
    Queries Per Second (QPS).
    RegionId string
    The id of the region.
    SpecCode string
    Instance specification code.
    SpecFamily string
    Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
    SpecStatus string
    The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
    StorageMax int
    Maximum storage space, in GB.
    StorageMin int
    Minimum storage space, in GB.
    StorageStep int
    Disk step size, in GB.
    Vcpu int
    Number of vCPUs.
    ZoneId string
    Availability zone ID.
    connection Integer
    Default value of maximum number of connections.
    dbEngineVersion String
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType String
    Instance type. The value is DoubleNode.
    iops Integer
    Maximum IOPS per second.
    memory Integer
    Memory size, in GB.
    qps Integer
    Queries Per Second (QPS).
    regionId String
    The id of the region.
    specCode String
    Instance specification code.
    specFamily String
    Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
    specStatus String
    The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
    storageMax Integer
    Maximum storage space, in GB.
    storageMin Integer
    Minimum storage space, in GB.
    storageStep Integer
    Disk step size, in GB.
    vcpu Integer
    Number of vCPUs.
    zoneId String
    Availability zone ID.
    connection number
    Default value of maximum number of connections.
    dbEngineVersion string
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType string
    Instance type. The value is DoubleNode.
    iops number
    Maximum IOPS per second.
    memory number
    Memory size, in GB.
    qps number
    Queries Per Second (QPS).
    regionId string
    The id of the region.
    specCode string
    Instance specification code.
    specFamily string
    Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
    specStatus string
    The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
    storageMax number
    Maximum storage space, in GB.
    storageMin number
    Minimum storage space, in GB.
    storageStep number
    Disk step size, in GB.
    vcpu number
    Number of vCPUs.
    zoneId string
    Availability zone ID.
    connection int
    Default value of maximum number of connections.
    db_engine_version str
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instance_type str
    Instance type. The value is DoubleNode.
    iops int
    Maximum IOPS per second.
    memory int
    Memory size, in GB.
    qps int
    Queries Per Second (QPS).
    region_id str
    The id of the region.
    spec_code str
    Instance specification code.
    spec_family str
    Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
    spec_status str
    The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
    storage_max int
    Maximum storage space, in GB.
    storage_min int
    Minimum storage space, in GB.
    storage_step int
    Disk step size, in GB.
    vcpu int
    Number of vCPUs.
    zone_id str
    Availability zone ID.
    connection Number
    Default value of maximum number of connections.
    dbEngineVersion String
    Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
    instanceType String
    Instance type. The value is DoubleNode.
    iops Number
    Maximum IOPS per second.
    memory Number
    Memory size, in GB.
    qps Number
    Queries Per Second (QPS).
    regionId String
    The id of the region.
    specCode String
    Instance specification code.
    specFamily String
    Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
    specStatus String
    The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
    storageMax Number
    Maximum storage space, in GB.
    storageMin Number
    Minimum storage space, in GB.
    storageStep Number
    Disk step size, in GB.
    vcpu Number
    Number of vCPUs.
    zoneId String
    Availability zone ID.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine