alicloud.drds.Instance
Explore with Pulumi AI
Distributed Relational Database Service (DRDS) is a lightweight (stateless), flexible, stable, and efficient middleware product independently developed by Alibaba Group to resolve scalability issues with single-host relational databases. With its compatibility with MySQL protocols and syntaxes, DRDS enables database/table sharding, smooth scaling, configuration upgrade/downgrade, transparent read/write splitting, and distributed transactions, providing O&M capabilities for distributed databases throughout their entire lifecycle.
For information about DRDS and how to use it, see What is DRDS.
NOTE: At present, DRDS instance only can be supported in the regions: cn-shenzhen, cn-beijing, cn-hangzhou, cn-hongkong, cn-qingdao, ap-southeast-1.
NOTE: Currently, this resource only support
Domestic Site Account
.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.Drds.Instance("default", new()
{
Description = "drds instance",
InstanceChargeType = "PostPaid",
InstanceSeries = "drds.sn1.4c8g",
Specification = "drds.sn1.4c8g.8C16G",
VswitchId = "vsw-bp1jlu3swk8rq2yoi40ey",
ZoneId = "cn-hangzhou-e",
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/drds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := drds.NewInstance(ctx, "default", &drds.InstanceArgs{
Description: pulumi.String("drds instance"),
InstanceChargeType: pulumi.String("PostPaid"),
InstanceSeries: pulumi.String("drds.sn1.4c8g"),
Specification: pulumi.String("drds.sn1.4c8g.8C16G"),
VswitchId: pulumi.String("vsw-bp1jlu3swk8rq2yoi40ey"),
ZoneId: pulumi.String("cn-hangzhou-e"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.drds.Instance;
import com.pulumi.alicloud.drds.InstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Instance("default", InstanceArgs.builder()
.description("drds instance")
.instanceChargeType("PostPaid")
.instanceSeries("drds.sn1.4c8g")
.specification("drds.sn1.4c8g.8C16G")
.vswitchId("vsw-bp1jlu3swk8rq2yoi40ey")
.zoneId("cn-hangzhou-e")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.drds.Instance("default",
description="drds instance",
instance_charge_type="PostPaid",
instance_series="drds.sn1.4c8g",
specification="drds.sn1.4c8g.8C16G",
vswitch_id="vsw-bp1jlu3swk8rq2yoi40ey",
zone_id="cn-hangzhou-e")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.drds.Instance("default", {
description: "drds instance",
instanceChargeType: "PostPaid",
instanceSeries: "drds.sn1.4c8g",
specification: "drds.sn1.4c8g.8C16G",
vswitchId: "vsw-bp1jlu3swk8rq2yoi40ey",
zoneId: "cn-hangzhou-e",
});
resources:
default:
type: alicloud:drds:Instance
properties:
description: drds instance
instanceChargeType: PostPaid
instanceSeries: drds.sn1.4c8g
specification: drds.sn1.4c8g.8C16G
vswitchId: vsw-bp1jlu3swk8rq2yoi40ey
zoneId: cn-hangzhou-e
Create Instance Resource
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
instance_charge_type: Optional[str] = None,
instance_series: Optional[str] = None,
mysql_version: Optional[int] = None,
specification: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
zone_id: Optional[str] = None)
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: alicloud:drds:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Instance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Instance resource accepts the following input properties:
- Description string
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- Instance
Series string The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- Specification string
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- Vswitch
Id string The VSwitch ID to launch in.
- Zone
Id string The Zone to launch the DRDS instance.
- Instance
Charge stringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- Mysql
Version int The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- Vpc
Id string The id of the VPC.
- Description string
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- Instance
Series string The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- Specification string
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- Vswitch
Id string The VSwitch ID to launch in.
- Zone
Id string The Zone to launch the DRDS instance.
- Instance
Charge stringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- Mysql
Version int The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- Vpc
Id string The id of the VPC.
- description String
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance
Series String The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- specification String
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vswitch
Id String The VSwitch ID to launch in.
- zone
Id String The Zone to launch the DRDS instance.
- instance
Charge StringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- mysql
Version Integer The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- vpc
Id String The id of the VPC.
- description string
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance
Series string The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- specification string
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vswitch
Id string The VSwitch ID to launch in.
- zone
Id string The Zone to launch the DRDS instance.
- instance
Charge stringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- mysql
Version number The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- vpc
Id string The id of the VPC.
- description str
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance_
series str The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- specification str
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vswitch_
id str The VSwitch ID to launch in.
- zone_
id str The Zone to launch the DRDS instance.
- instance_
charge_ strtype Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- mysql_
version int The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- vpc_
id str The id of the VPC.
- description String
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance
Series String The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- specification String
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vswitch
Id String The VSwitch ID to launch in.
- zone
Id String The Zone to launch the DRDS instance.
- instance
Charge StringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- mysql
Version Number The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- vpc
Id String The id of the VPC.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Connection
String string (Available in 1.196.0+) The connection string of the DRDS instance.
- Id string
The provider-assigned unique ID for this managed resource.
- Port string
(Available in 1.196.0+) The connection port of the DRDS instance.
- Connection
String string (Available in 1.196.0+) The connection string of the DRDS instance.
- Id string
The provider-assigned unique ID for this managed resource.
- Port string
(Available in 1.196.0+) The connection port of the DRDS instance.
- connection
String String (Available in 1.196.0+) The connection string of the DRDS instance.
- id String
The provider-assigned unique ID for this managed resource.
- port String
(Available in 1.196.0+) The connection port of the DRDS instance.
- connection
String string (Available in 1.196.0+) The connection string of the DRDS instance.
- id string
The provider-assigned unique ID for this managed resource.
- port string
(Available in 1.196.0+) The connection port of the DRDS instance.
- connection_
string str (Available in 1.196.0+) The connection string of the DRDS instance.
- id str
The provider-assigned unique ID for this managed resource.
- port str
(Available in 1.196.0+) The connection port of the DRDS instance.
- connection
String String (Available in 1.196.0+) The connection string of the DRDS instance.
- id String
The provider-assigned unique ID for this managed resource.
- port String
(Available in 1.196.0+) The connection port of the DRDS instance.
Look up Existing Instance Resource
Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_string: Optional[str] = None,
description: Optional[str] = None,
instance_charge_type: Optional[str] = None,
instance_series: Optional[str] = None,
mysql_version: Optional[int] = None,
port: Optional[str] = None,
specification: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
zone_id: Optional[str] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Connection
String string (Available in 1.196.0+) The connection string of the DRDS instance.
- Description string
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- Instance
Charge stringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- Instance
Series string The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- Mysql
Version int The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- Port string
(Available in 1.196.0+) The connection port of the DRDS instance.
- Specification string
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- Vpc
Id string The id of the VPC.
- Vswitch
Id string The VSwitch ID to launch in.
- Zone
Id string The Zone to launch the DRDS instance.
- Connection
String string (Available in 1.196.0+) The connection string of the DRDS instance.
- Description string
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- Instance
Charge stringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- Instance
Series string The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- Mysql
Version int The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- Port string
(Available in 1.196.0+) The connection port of the DRDS instance.
- Specification string
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- Vpc
Id string The id of the VPC.
- Vswitch
Id string The VSwitch ID to launch in.
- Zone
Id string The Zone to launch the DRDS instance.
- connection
String String (Available in 1.196.0+) The connection string of the DRDS instance.
- description String
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance
Charge StringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- instance
Series String The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- mysql
Version Integer The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- port String
(Available in 1.196.0+) The connection port of the DRDS instance.
- specification String
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vpc
Id String The id of the VPC.
- vswitch
Id String The VSwitch ID to launch in.
- zone
Id String The Zone to launch the DRDS instance.
- connection
String string (Available in 1.196.0+) The connection string of the DRDS instance.
- description string
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance
Charge stringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- instance
Series string The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- mysql
Version number The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- port string
(Available in 1.196.0+) The connection port of the DRDS instance.
- specification string
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vpc
Id string The id of the VPC.
- vswitch
Id string The VSwitch ID to launch in.
- zone
Id string The Zone to launch the DRDS instance.
- connection_
string str (Available in 1.196.0+) The connection string of the DRDS instance.
- description str
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance_
charge_ strtype Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- instance_
series str The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- mysql_
version int The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- port str
(Available in 1.196.0+) The connection port of the DRDS instance.
- specification str
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vpc_
id str The id of the VPC.
- vswitch_
id str The VSwitch ID to launch in.
- zone_
id str The Zone to launch the DRDS instance.
- connection
String String (Available in 1.196.0+) The connection string of the DRDS instance.
- description String
Description of the DRDS instance, This description can have a string of 2 to 256 characters.
- instance
Charge StringType Valid values are
PrePaid
,PostPaid
, Default toPostPaid
.- instance
Series String The parameter of the instance series. NOTE:
drds.sn1.4c8g
,drds.sn1.8c16g
,drds.sn1.16c32g
,drds.sn1.32c64g
are no longer supported. Valid values:drds.sn2.4c16g
Starter Edition.drds.sn2.8c32g
Standard Edition.drds.sn2.16c64g
Enterprise Edition.
- mysql
Version Number The MySQL version supported by the instance, with the following range of values.
5
: Fully compatible with MySQL 5.x (default)8
: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.- port String
(Available in 1.196.0+) The connection port of the DRDS instance.
- specification String
User-defined DRDS instance specification. Value range:
drds.sn1.4c8g
for DRDS instance Starter version;- value range :
drds.sn1.4c8g.8c16g
,drds.sn1.4c8g.16c32g
,drds.sn1.4c8g.32c64g
,drds.sn1.4c8g.64c128g
drds.sn1.8c16g
for DRDS instance Standard edition;- value range :
drds.sn1.8c16g.16c32g
,drds.sn1.8c16g.32c64g
,drds.sn1.8c16g.64c128g
drds.sn1.16c32g
for DRDS instance Enterprise Edition;- value range :
drds.sn1.16c32g.32c64g
,drds.sn1.16c32g.64c128g
drds.sn1.32c64g
for DRDS instance Extreme Edition;- value range :
drds.sn1.32c64g.128c256g
- vpc
Id String The id of the VPC.
- vswitch
Id String The VSwitch ID to launch in.
- zone
Id String The Zone to launch the DRDS instance.
Import
Distributed Relational Database Service (DRDS) can be imported using the id, e.g.
$ pulumi import alicloud:drds/instance:Instance example drds-abc123456
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.