Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine
volcengine.rds_mysql.InstanceSpecs
Explore with Pulumi AI
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:
- Db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- Instance
Type string - Instance type. The value is DoubleNode.
- Output
File string - File name where to save data source results.
- Spec
Code string - Instance specification code.
- Zone
Id string - Availability zone ID.
- Db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- Instance
Type string - Instance type. The value is DoubleNode.
- Output
File string - File name where to save data source results.
- Spec
Code string - Instance specification code.
- Zone
Id string - Availability zone ID.
- db
Engine StringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type String - Instance type. The value is DoubleNode.
- output
File String - File name where to save data source results.
- spec
Code String - Instance specification code.
- zone
Id String - Availability zone ID.
- db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type string - Instance type. The value is DoubleNode.
- output
File string - File name where to save data source results.
- spec
Code string - Instance specification code.
- zone
Id string - Availability zone ID.
- db_
engine_ strversion - 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.
- db
Engine StringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type String - Instance type. The value is DoubleNode.
- output
File String - File name where to save data source results.
- spec
Code String - Instance specification code.
- zone
Id String - Availability zone ID.
InstanceSpecs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Specs List<InstanceSpecs Instance Spec> - The collection of query.
- Total
Count int - The total count of query.
- Db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- Instance
Type string - Instance type. The value is DoubleNode.
- Output
File string - Spec
Code string - Instance specification code.
- Zone
Id string - Availability zone ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Specs []InstanceSpecs Instance Spec - The collection of query.
- Total
Count int - The total count of query.
- Db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- Instance
Type string - Instance type. The value is DoubleNode.
- Output
File string - Spec
Code string - Instance specification code.
- Zone
Id string - Availability zone ID.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Specs List<InstanceSpecs Instance Spec> - The collection of query.
- total
Count Integer - The total count of query.
- db
Engine StringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type String - Instance type. The value is DoubleNode.
- output
File String - spec
Code String - Instance specification code.
- zone
Id String - Availability zone ID.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Specs InstanceSpecs Instance Spec[] - The collection of query.
- total
Count number - The total count of query.
- db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type string - Instance type. The value is DoubleNode.
- output
File string - spec
Code string - Instance specification code.
- zone
Id string - Availability zone ID.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
specs Sequence[InstanceSpecs Instance Spec] - The collection of query.
- total_
count int - The total count of query.
- db_
engine_ strversion - 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.
- instance
Specs List<Property Map> - The collection of query.
- total
Count Number - The total count of query.
- db
Engine StringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type String - Instance type. The value is DoubleNode.
- output
File String - spec
Code String - Instance specification code.
- zone
Id String - Availability zone ID.
Supporting Types
InstanceSpecsInstanceSpec
- Connection int
- Default value of maximum number of connections.
- Db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- Instance
Type 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).
- Region
Id string - The id of the region.
- Spec
Code string - Instance specification code.
- Spec
Family string - Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
- Spec
Status string - 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 string - Availability zone ID.
- Connection int
- Default value of maximum number of connections.
- Db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- Instance
Type 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).
- Region
Id string - The id of the region.
- Spec
Code string - Instance specification code.
- Spec
Family string - Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
- Spec
Status string - 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 string - Availability zone ID.
- connection Integer
- Default value of maximum number of connections.
- db
Engine StringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type 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).
- region
Id String - The id of the region.
- spec
Code String - Instance specification code.
- spec
Family String - Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
- spec
Status String - The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
- storage
Max Integer - Maximum storage space, in GB.
- storage
Min Integer - Minimum storage space, in GB.
- storage
Step Integer - Disk step size, in GB.
- vcpu Integer
- Number of vCPUs.
- zone
Id String - Availability zone ID.
- connection number
- Default value of maximum number of connections.
- db
Engine stringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type 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).
- region
Id string - The id of the region.
- spec
Code string - Instance specification code.
- spec
Family string - Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
- spec
Status string - The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
- storage
Max number - Maximum storage space, in GB.
- storage
Min number - Minimum storage space, in GB.
- storage
Step number - Disk step size, in GB.
- vcpu number
- Number of vCPUs.
- zone
Id string - Availability zone ID.
- connection int
- Default value of maximum number of connections.
- db_
engine_ strversion - 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.
- db
Engine StringVersion - Compatible version. Values: MySQL_5_7: MySQL 5.7 version. Default value. MySQL_8_0: MySQL 8.0 version.
- instance
Type 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).
- region
Id String - The id of the region.
- spec
Code String - Instance specification code.
- spec
Family String - Instance specification type. Values: General: Exclusive specification (formerly "General Purpose"). Shared: General specification (formerly "Shared Type").
- spec
Status String - The status of the available zone where the specification is located includes the following statuses: Normal: On sale. Soldout: Sold out.
- storage
Max Number - Maximum storage space, in GB.
- storage
Min Number - Minimum storage space, in GB.
- storage
Step Number - Disk step size, in GB.
- vcpu Number
- Number of vCPUs.
- zone
Id 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.