1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. RdsInstanceV1
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.RdsInstanceV1

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages rds instance resource within FlexibleEngine

    !> Warning: It has been deprecated, using flexibleengine.RdsInstanceV3 instead.

    Example Usage

    Create RdsInstanceV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RdsInstanceV1(name: string, args: RdsInstanceV1Args, opts?: CustomResourceOptions);
    @overload
    def RdsInstanceV1(resource_name: str,
                      args: RdsInstanceV1Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def RdsInstanceV1(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      nics: Optional[RdsInstanceV1NicsArgs] = None,
                      securitygroup: Optional[RdsInstanceV1SecuritygroupArgs] = None,
                      vpc: Optional[str] = None,
                      datastore: Optional[RdsInstanceV1DatastoreArgs] = None,
                      volume: Optional[RdsInstanceV1VolumeArgs] = None,
                      dbrtpd: Optional[str] = None,
                      flavorref: Optional[str] = None,
                      availabilityzone: Optional[str] = None,
                      name: Optional[str] = None,
                      backupstrategy: Optional[RdsInstanceV1BackupstrategyArgs] = None,
                      region: Optional[str] = None,
                      rds_instance_v1_id: Optional[str] = None,
                      ha: Optional[RdsInstanceV1HaArgs] = None,
                      hostname: Optional[str] = None,
                      status: Optional[str] = None,
                      timeouts: Optional[RdsInstanceV1TimeoutsArgs] = None,
                      type: Optional[str] = None,
                      updated: Optional[str] = None,
                      dbport: Optional[str] = None,
                      created: Optional[str] = None)
    func NewRdsInstanceV1(ctx *Context, name string, args RdsInstanceV1Args, opts ...ResourceOption) (*RdsInstanceV1, error)
    public RdsInstanceV1(string name, RdsInstanceV1Args args, CustomResourceOptions? opts = null)
    public RdsInstanceV1(String name, RdsInstanceV1Args args)
    public RdsInstanceV1(String name, RdsInstanceV1Args args, CustomResourceOptions options)
    
    type: flexibleengine:RdsInstanceV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RdsInstanceV1Args
    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 RdsInstanceV1Args
    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 RdsInstanceV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RdsInstanceV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RdsInstanceV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rdsInstanceV1Resource = new Flexibleengine.RdsInstanceV1("rdsInstanceV1Resource", new()
    {
        Nics = new Flexibleengine.Inputs.RdsInstanceV1NicsArgs
        {
            Subnetid = "string",
        },
        Securitygroup = new Flexibleengine.Inputs.RdsInstanceV1SecuritygroupArgs
        {
            Id = "string",
        },
        Vpc = "string",
        Datastore = new Flexibleengine.Inputs.RdsInstanceV1DatastoreArgs
        {
            Type = "string",
            Version = "string",
        },
        Volume = new Flexibleengine.Inputs.RdsInstanceV1VolumeArgs
        {
            Size = 0,
            Type = "string",
        },
        Dbrtpd = "string",
        Flavorref = "string",
        Availabilityzone = "string",
        Name = "string",
        Backupstrategy = new Flexibleengine.Inputs.RdsInstanceV1BackupstrategyArgs
        {
            Keepdays = 0,
            Starttime = "string",
        },
        Region = "string",
        RdsInstanceV1Id = "string",
        Ha = new Flexibleengine.Inputs.RdsInstanceV1HaArgs
        {
            Enable = false,
            Replicationmode = "string",
        },
        Hostname = "string",
        Status = "string",
        Timeouts = new Flexibleengine.Inputs.RdsInstanceV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        Type = "string",
        Updated = "string",
        Dbport = "string",
        Created = "string",
    });
    
    example, err := flexibleengine.NewRdsInstanceV1(ctx, "rdsInstanceV1Resource", &flexibleengine.RdsInstanceV1Args{
    	Nics: &flexibleengine.RdsInstanceV1NicsArgs{
    		Subnetid: pulumi.String("string"),
    	},
    	Securitygroup: &flexibleengine.RdsInstanceV1SecuritygroupArgs{
    		Id: pulumi.String("string"),
    	},
    	Vpc: pulumi.String("string"),
    	Datastore: &flexibleengine.RdsInstanceV1DatastoreArgs{
    		Type:    pulumi.String("string"),
    		Version: pulumi.String("string"),
    	},
    	Volume: &flexibleengine.RdsInstanceV1VolumeArgs{
    		Size: pulumi.Float64(0),
    		Type: pulumi.String("string"),
    	},
    	Dbrtpd:           pulumi.String("string"),
    	Flavorref:        pulumi.String("string"),
    	Availabilityzone: pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Backupstrategy: &flexibleengine.RdsInstanceV1BackupstrategyArgs{
    		Keepdays:  pulumi.Float64(0),
    		Starttime: pulumi.String("string"),
    	},
    	Region:          pulumi.String("string"),
    	RdsInstanceV1Id: pulumi.String("string"),
    	Ha: &flexibleengine.RdsInstanceV1HaArgs{
    		Enable:          pulumi.Bool(false),
    		Replicationmode: pulumi.String("string"),
    	},
    	Hostname: pulumi.String("string"),
    	Status:   pulumi.String("string"),
    	Timeouts: &flexibleengine.RdsInstanceV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	Type:    pulumi.String("string"),
    	Updated: pulumi.String("string"),
    	Dbport:  pulumi.String("string"),
    	Created: pulumi.String("string"),
    })
    
    var rdsInstanceV1Resource = new RdsInstanceV1("rdsInstanceV1Resource", RdsInstanceV1Args.builder()
        .nics(RdsInstanceV1NicsArgs.builder()
            .subnetid("string")
            .build())
        .securitygroup(RdsInstanceV1SecuritygroupArgs.builder()
            .id("string")
            .build())
        .vpc("string")
        .datastore(RdsInstanceV1DatastoreArgs.builder()
            .type("string")
            .version("string")
            .build())
        .volume(RdsInstanceV1VolumeArgs.builder()
            .size(0)
            .type("string")
            .build())
        .dbrtpd("string")
        .flavorref("string")
        .availabilityzone("string")
        .name("string")
        .backupstrategy(RdsInstanceV1BackupstrategyArgs.builder()
            .keepdays(0)
            .starttime("string")
            .build())
        .region("string")
        .rdsInstanceV1Id("string")
        .ha(RdsInstanceV1HaArgs.builder()
            .enable(false)
            .replicationmode("string")
            .build())
        .hostname("string")
        .status("string")
        .timeouts(RdsInstanceV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .type("string")
        .updated("string")
        .dbport("string")
        .created("string")
        .build());
    
    rds_instance_v1_resource = flexibleengine.RdsInstanceV1("rdsInstanceV1Resource",
        nics={
            "subnetid": "string",
        },
        securitygroup={
            "id": "string",
        },
        vpc="string",
        datastore={
            "type": "string",
            "version": "string",
        },
        volume={
            "size": 0,
            "type": "string",
        },
        dbrtpd="string",
        flavorref="string",
        availabilityzone="string",
        name="string",
        backupstrategy={
            "keepdays": 0,
            "starttime": "string",
        },
        region="string",
        rds_instance_v1_id="string",
        ha={
            "enable": False,
            "replicationmode": "string",
        },
        hostname="string",
        status="string",
        timeouts={
            "create": "string",
            "delete": "string",
        },
        type="string",
        updated="string",
        dbport="string",
        created="string")
    
    const rdsInstanceV1Resource = new flexibleengine.RdsInstanceV1("rdsInstanceV1Resource", {
        nics: {
            subnetid: "string",
        },
        securitygroup: {
            id: "string",
        },
        vpc: "string",
        datastore: {
            type: "string",
            version: "string",
        },
        volume: {
            size: 0,
            type: "string",
        },
        dbrtpd: "string",
        flavorref: "string",
        availabilityzone: "string",
        name: "string",
        backupstrategy: {
            keepdays: 0,
            starttime: "string",
        },
        region: "string",
        rdsInstanceV1Id: "string",
        ha: {
            enable: false,
            replicationmode: "string",
        },
        hostname: "string",
        status: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
        type: "string",
        updated: "string",
        dbport: "string",
        created: "string",
    });
    
    type: flexibleengine:RdsInstanceV1
    properties:
        availabilityzone: string
        backupstrategy:
            keepdays: 0
            starttime: string
        created: string
        datastore:
            type: string
            version: string
        dbport: string
        dbrtpd: string
        flavorref: string
        ha:
            enable: false
            replicationmode: string
        hostname: string
        name: string
        nics:
            subnetid: string
        rdsInstanceV1Id: string
        region: string
        securitygroup:
            id: string
        status: string
        timeouts:
            create: string
            delete: string
        type: string
        updated: string
        volume:
            size: 0
            type: string
        vpc: string
    

    RdsInstanceV1 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RdsInstanceV1 resource accepts the following input properties:

    Availabilityzone string
    Specifies the ID of the AZ.
    Datastore RdsInstanceV1Datastore
    Specifies database information. The structure is described below.
    Dbrtpd string
    Specifies the password for user root of the database.
    Flavorref string
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    Nics RdsInstanceV1Nics
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    Securitygroup RdsInstanceV1Securitygroup
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    Volume RdsInstanceV1Volume
    Specifies the volume information. The structure is described below.
    Vpc string
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    Backupstrategy RdsInstanceV1Backupstrategy
    Specifies the advanced backup policy. The structure is described below.
    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Dbport string
    Specifies the database port number.
    Ha RdsInstanceV1Ha
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    Hostname string
    Indicates the instance connection address. It is a blank string.
    Name string
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    RdsInstanceV1Id string
    Region string
    Specifies the region ID.
    Status string
    Indicates the DB instance status.
    Timeouts RdsInstanceV1Timeouts
    Type string
    Indicates the DB instance type, which can be master or readreplica.
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Availabilityzone string
    Specifies the ID of the AZ.
    Datastore RdsInstanceV1DatastoreArgs
    Specifies database information. The structure is described below.
    Dbrtpd string
    Specifies the password for user root of the database.
    Flavorref string
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    Nics RdsInstanceV1NicsArgs
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    Securitygroup RdsInstanceV1SecuritygroupArgs
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    Volume RdsInstanceV1VolumeArgs
    Specifies the volume information. The structure is described below.
    Vpc string
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    Backupstrategy RdsInstanceV1BackupstrategyArgs
    Specifies the advanced backup policy. The structure is described below.
    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Dbport string
    Specifies the database port number.
    Ha RdsInstanceV1HaArgs
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    Hostname string
    Indicates the instance connection address. It is a blank string.
    Name string
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    RdsInstanceV1Id string
    Region string
    Specifies the region ID.
    Status string
    Indicates the DB instance status.
    Timeouts RdsInstanceV1TimeoutsArgs
    Type string
    Indicates the DB instance type, which can be master or readreplica.
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    availabilityzone String
    Specifies the ID of the AZ.
    datastore RdsInstanceV1Datastore
    Specifies database information. The structure is described below.
    dbrtpd String
    Specifies the password for user root of the database.
    flavorref String
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    nics RdsInstanceV1Nics
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    securitygroup RdsInstanceV1Securitygroup
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    volume RdsInstanceV1Volume
    Specifies the volume information. The structure is described below.
    vpc String
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    backupstrategy RdsInstanceV1Backupstrategy
    Specifies the advanced backup policy. The structure is described below.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    dbport String
    Specifies the database port number.
    ha RdsInstanceV1Ha
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname String
    Indicates the instance connection address. It is a blank string.
    name String
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    rdsInstanceV1Id String
    region String
    Specifies the region ID.
    status String
    Indicates the DB instance status.
    timeouts RdsInstanceV1Timeouts
    type String
    Indicates the DB instance type, which can be master or readreplica.
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    availabilityzone string
    Specifies the ID of the AZ.
    datastore RdsInstanceV1Datastore
    Specifies database information. The structure is described below.
    dbrtpd string
    Specifies the password for user root of the database.
    flavorref string
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    nics RdsInstanceV1Nics
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    securitygroup RdsInstanceV1Securitygroup
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    volume RdsInstanceV1Volume
    Specifies the volume information. The structure is described below.
    vpc string
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    backupstrategy RdsInstanceV1Backupstrategy
    Specifies the advanced backup policy. The structure is described below.
    created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    dbport string
    Specifies the database port number.
    ha RdsInstanceV1Ha
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname string
    Indicates the instance connection address. It is a blank string.
    name string
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    rdsInstanceV1Id string
    region string
    Specifies the region ID.
    status string
    Indicates the DB instance status.
    timeouts RdsInstanceV1Timeouts
    type string
    Indicates the DB instance type, which can be master or readreplica.
    updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    availabilityzone str
    Specifies the ID of the AZ.
    datastore RdsInstanceV1DatastoreArgs
    Specifies database information. The structure is described below.
    dbrtpd str
    Specifies the password for user root of the database.
    flavorref str
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    nics RdsInstanceV1NicsArgs
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    securitygroup RdsInstanceV1SecuritygroupArgs
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    volume RdsInstanceV1VolumeArgs
    Specifies the volume information. The structure is described below.
    vpc str
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    backupstrategy RdsInstanceV1BackupstrategyArgs
    Specifies the advanced backup policy. The structure is described below.
    created str
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    dbport str
    Specifies the database port number.
    ha RdsInstanceV1HaArgs
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname str
    Indicates the instance connection address. It is a blank string.
    name str
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    rds_instance_v1_id str
    region str
    Specifies the region ID.
    status str
    Indicates the DB instance status.
    timeouts RdsInstanceV1TimeoutsArgs
    type str
    Indicates the DB instance type, which can be master or readreplica.
    updated str
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    availabilityzone String
    Specifies the ID of the AZ.
    datastore Property Map
    Specifies database information. The structure is described below.
    dbrtpd String
    Specifies the password for user root of the database.
    flavorref String
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    nics Property Map
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    securitygroup Property Map
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    volume Property Map
    Specifies the volume information. The structure is described below.
    vpc String
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    backupstrategy Property Map
    Specifies the advanced backup policy. The structure is described below.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    dbport String
    Specifies the database port number.
    ha Property Map
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname String
    Indicates the instance connection address. It is a blank string.
    name String
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    rdsInstanceV1Id String
    region String
    Specifies the region ID.
    status String
    Indicates the DB instance status.
    timeouts Property Map
    type String
    Indicates the DB instance type, which can be master or readreplica.
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RdsInstanceV1 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RdsInstanceV1 Resource

    Get an existing RdsInstanceV1 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?: RdsInstanceV1State, opts?: CustomResourceOptions): RdsInstanceV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availabilityzone: Optional[str] = None,
            backupstrategy: Optional[RdsInstanceV1BackupstrategyArgs] = None,
            created: Optional[str] = None,
            datastore: Optional[RdsInstanceV1DatastoreArgs] = None,
            dbport: Optional[str] = None,
            dbrtpd: Optional[str] = None,
            flavorref: Optional[str] = None,
            ha: Optional[RdsInstanceV1HaArgs] = None,
            hostname: Optional[str] = None,
            name: Optional[str] = None,
            nics: Optional[RdsInstanceV1NicsArgs] = None,
            rds_instance_v1_id: Optional[str] = None,
            region: Optional[str] = None,
            securitygroup: Optional[RdsInstanceV1SecuritygroupArgs] = None,
            status: Optional[str] = None,
            timeouts: Optional[RdsInstanceV1TimeoutsArgs] = None,
            type: Optional[str] = None,
            updated: Optional[str] = None,
            volume: Optional[RdsInstanceV1VolumeArgs] = None,
            vpc: Optional[str] = None) -> RdsInstanceV1
    func GetRdsInstanceV1(ctx *Context, name string, id IDInput, state *RdsInstanceV1State, opts ...ResourceOption) (*RdsInstanceV1, error)
    public static RdsInstanceV1 Get(string name, Input<string> id, RdsInstanceV1State? state, CustomResourceOptions? opts = null)
    public static RdsInstanceV1 get(String name, Output<String> id, RdsInstanceV1State state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:RdsInstanceV1    get:      id: ${id}
    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.
    The following state arguments are supported:
    Availabilityzone string
    Specifies the ID of the AZ.
    Backupstrategy RdsInstanceV1Backupstrategy
    Specifies the advanced backup policy. The structure is described below.
    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Datastore RdsInstanceV1Datastore
    Specifies database information. The structure is described below.
    Dbport string
    Specifies the database port number.
    Dbrtpd string
    Specifies the password for user root of the database.
    Flavorref string
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    Ha RdsInstanceV1Ha
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    Hostname string
    Indicates the instance connection address. It is a blank string.
    Name string
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    Nics RdsInstanceV1Nics
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    RdsInstanceV1Id string
    Region string
    Specifies the region ID.
    Securitygroup RdsInstanceV1Securitygroup
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    Status string
    Indicates the DB instance status.
    Timeouts RdsInstanceV1Timeouts
    Type string
    Indicates the DB instance type, which can be master or readreplica.
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Volume RdsInstanceV1Volume
    Specifies the volume information. The structure is described below.
    Vpc string
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    Availabilityzone string
    Specifies the ID of the AZ.
    Backupstrategy RdsInstanceV1BackupstrategyArgs
    Specifies the advanced backup policy. The structure is described below.
    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Datastore RdsInstanceV1DatastoreArgs
    Specifies database information. The structure is described below.
    Dbport string
    Specifies the database port number.
    Dbrtpd string
    Specifies the password for user root of the database.
    Flavorref string
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    Ha RdsInstanceV1HaArgs
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    Hostname string
    Indicates the instance connection address. It is a blank string.
    Name string
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    Nics RdsInstanceV1NicsArgs
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    RdsInstanceV1Id string
    Region string
    Specifies the region ID.
    Securitygroup RdsInstanceV1SecuritygroupArgs
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    Status string
    Indicates the DB instance status.
    Timeouts RdsInstanceV1TimeoutsArgs
    Type string
    Indicates the DB instance type, which can be master or readreplica.
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Volume RdsInstanceV1VolumeArgs
    Specifies the volume information. The structure is described below.
    Vpc string
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    availabilityzone String
    Specifies the ID of the AZ.
    backupstrategy RdsInstanceV1Backupstrategy
    Specifies the advanced backup policy. The structure is described below.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    datastore RdsInstanceV1Datastore
    Specifies database information. The structure is described below.
    dbport String
    Specifies the database port number.
    dbrtpd String
    Specifies the password for user root of the database.
    flavorref String
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    ha RdsInstanceV1Ha
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname String
    Indicates the instance connection address. It is a blank string.
    name String
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    nics RdsInstanceV1Nics
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    rdsInstanceV1Id String
    region String
    Specifies the region ID.
    securitygroup RdsInstanceV1Securitygroup
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    status String
    Indicates the DB instance status.
    timeouts RdsInstanceV1Timeouts
    type String
    Indicates the DB instance type, which can be master or readreplica.
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    volume RdsInstanceV1Volume
    Specifies the volume information. The structure is described below.
    vpc String
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    availabilityzone string
    Specifies the ID of the AZ.
    backupstrategy RdsInstanceV1Backupstrategy
    Specifies the advanced backup policy. The structure is described below.
    created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    datastore RdsInstanceV1Datastore
    Specifies database information. The structure is described below.
    dbport string
    Specifies the database port number.
    dbrtpd string
    Specifies the password for user root of the database.
    flavorref string
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    ha RdsInstanceV1Ha
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname string
    Indicates the instance connection address. It is a blank string.
    name string
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    nics RdsInstanceV1Nics
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    rdsInstanceV1Id string
    region string
    Specifies the region ID.
    securitygroup RdsInstanceV1Securitygroup
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    status string
    Indicates the DB instance status.
    timeouts RdsInstanceV1Timeouts
    type string
    Indicates the DB instance type, which can be master or readreplica.
    updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    volume RdsInstanceV1Volume
    Specifies the volume information. The structure is described below.
    vpc string
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    availabilityzone str
    Specifies the ID of the AZ.
    backupstrategy RdsInstanceV1BackupstrategyArgs
    Specifies the advanced backup policy. The structure is described below.
    created str
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    datastore RdsInstanceV1DatastoreArgs
    Specifies database information. The structure is described below.
    dbport str
    Specifies the database port number.
    dbrtpd str
    Specifies the password for user root of the database.
    flavorref str
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    ha RdsInstanceV1HaArgs
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname str
    Indicates the instance connection address. It is a blank string.
    name str
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    nics RdsInstanceV1NicsArgs
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    rds_instance_v1_id str
    region str
    Specifies the region ID.
    securitygroup RdsInstanceV1SecuritygroupArgs
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    status str
    Indicates the DB instance status.
    timeouts RdsInstanceV1TimeoutsArgs
    type str
    Indicates the DB instance type, which can be master or readreplica.
    updated str
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    volume RdsInstanceV1VolumeArgs
    Specifies the volume information. The structure is described below.
    vpc str
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.
    availabilityzone String
    Specifies the ID of the AZ.
    backupstrategy Property Map
    Specifies the advanced backup policy. The structure is described below.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    datastore Property Map
    Specifies database information. The structure is described below.
    dbport String
    Specifies the database port number.
    dbrtpd String
    Specifies the password for user root of the database.
    flavorref String
    Specifies the specification ID (flavors.id in the response message in Obtaining All DB Instance Specifications). If you want to enable ha for the rds instance, a flavor with ha speccode is required.
    ha Property Map
    Specifies the parameters configured on HA and is used when creating HA DB instances. The structure is described below. NOTICE: RDS for Microsoft SQL Server does not support creating HA DB instances and this parameter is not involved.
    hostname String
    Indicates the instance connection address. It is a blank string.
    name String
    Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. The changes of the instance name will be suppressed in HA scenario.
    nics Property Map
    Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the Virtual Private Cloud API Reference. The structure is described below.
    rdsInstanceV1Id String
    region String
    Specifies the region ID.
    securitygroup Property Map
    Specifies the security group which the RDS DB instance belongs to. The structure is described below.
    status String
    Indicates the DB instance status.
    timeouts Property Map
    type String
    Indicates the DB instance type, which can be master or readreplica.
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    volume Property Map
    Specifies the volume information. The structure is described below.
    vpc String
    Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the Virtual Private Cloud API Reference.

    Supporting Types

    RdsInstanceV1Backupstrategy, RdsInstanceV1BackupstrategyArgs

    Keepdays double
    Specifies the number of days to retain the generated backup files. Its value range is 0 to 35. If this parameter is not specified or set to 0, the automated backup policy is disabled.
    Starttime string
    Indicates the backup start time that has been set. The backup task will be triggered within one hour after the backup start time. Valid value: The value cannot be empty. It must use the hh:mm:ss format and must be valid. The current time is the UTC time.
    Keepdays float64
    Specifies the number of days to retain the generated backup files. Its value range is 0 to 35. If this parameter is not specified or set to 0, the automated backup policy is disabled.
    Starttime string
    Indicates the backup start time that has been set. The backup task will be triggered within one hour after the backup start time. Valid value: The value cannot be empty. It must use the hh:mm:ss format and must be valid. The current time is the UTC time.
    keepdays Double
    Specifies the number of days to retain the generated backup files. Its value range is 0 to 35. If this parameter is not specified or set to 0, the automated backup policy is disabled.
    starttime String
    Indicates the backup start time that has been set. The backup task will be triggered within one hour after the backup start time. Valid value: The value cannot be empty. It must use the hh:mm:ss format and must be valid. The current time is the UTC time.
    keepdays number
    Specifies the number of days to retain the generated backup files. Its value range is 0 to 35. If this parameter is not specified or set to 0, the automated backup policy is disabled.
    starttime string
    Indicates the backup start time that has been set. The backup task will be triggered within one hour after the backup start time. Valid value: The value cannot be empty. It must use the hh:mm:ss format and must be valid. The current time is the UTC time.
    keepdays float
    Specifies the number of days to retain the generated backup files. Its value range is 0 to 35. If this parameter is not specified or set to 0, the automated backup policy is disabled.
    starttime str
    Indicates the backup start time that has been set. The backup task will be triggered within one hour after the backup start time. Valid value: The value cannot be empty. It must use the hh:mm:ss format and must be valid. The current time is the UTC time.
    keepdays Number
    Specifies the number of days to retain the generated backup files. Its value range is 0 to 35. If this parameter is not specified or set to 0, the automated backup policy is disabled.
    starttime String
    Indicates the backup start time that has been set. The backup task will be triggered within one hour after the backup start time. Valid value: The value cannot be empty. It must use the hh:mm:ss format and must be valid. The current time is the UTC time.

    RdsInstanceV1Datastore, RdsInstanceV1DatastoreArgs

    Type string
    Specifies the DB engine. Currently, MySQL, PostgreSQL, and Microsoft SQL Server are supported. The value is MySQL, PostgreSQL, or SQLServer.
    Version string

    Specifies the DB instance version.

    • Available value for attributes

    type | version ---- | --- PostgreSQL | 9.5.5 9.6.3 9.6.5 MySQL| 5.6.33 5.6.30 5.6.34 5.6.35 5.7.17 SQLServer| 2014 SP2 SE

    Type string
    Specifies the DB engine. Currently, MySQL, PostgreSQL, and Microsoft SQL Server are supported. The value is MySQL, PostgreSQL, or SQLServer.
    Version string

    Specifies the DB instance version.

    • Available value for attributes

    type | version ---- | --- PostgreSQL | 9.5.5 9.6.3 9.6.5 MySQL| 5.6.33 5.6.30 5.6.34 5.6.35 5.7.17 SQLServer| 2014 SP2 SE

    type String
    Specifies the DB engine. Currently, MySQL, PostgreSQL, and Microsoft SQL Server are supported. The value is MySQL, PostgreSQL, or SQLServer.
    version String

    Specifies the DB instance version.

    • Available value for attributes

    type | version ---- | --- PostgreSQL | 9.5.5 9.6.3 9.6.5 MySQL| 5.6.33 5.6.30 5.6.34 5.6.35 5.7.17 SQLServer| 2014 SP2 SE

    type string
    Specifies the DB engine. Currently, MySQL, PostgreSQL, and Microsoft SQL Server are supported. The value is MySQL, PostgreSQL, or SQLServer.
    version string

    Specifies the DB instance version.

    • Available value for attributes

    type | version ---- | --- PostgreSQL | 9.5.5 9.6.3 9.6.5 MySQL| 5.6.33 5.6.30 5.6.34 5.6.35 5.7.17 SQLServer| 2014 SP2 SE

    type str
    Specifies the DB engine. Currently, MySQL, PostgreSQL, and Microsoft SQL Server are supported. The value is MySQL, PostgreSQL, or SQLServer.
    version str

    Specifies the DB instance version.

    • Available value for attributes

    type | version ---- | --- PostgreSQL | 9.5.5 9.6.3 9.6.5 MySQL| 5.6.33 5.6.30 5.6.34 5.6.35 5.7.17 SQLServer| 2014 SP2 SE

    type String
    Specifies the DB engine. Currently, MySQL, PostgreSQL, and Microsoft SQL Server are supported. The value is MySQL, PostgreSQL, or SQLServer.
    version String

    Specifies the DB instance version.

    • Available value for attributes

    type | version ---- | --- PostgreSQL | 9.5.5 9.6.3 9.6.5 MySQL| 5.6.33 5.6.30 5.6.34 5.6.35 5.7.17 SQLServer| 2014 SP2 SE

    RdsInstanceV1Ha, RdsInstanceV1HaArgs

    Enable bool
    Specifies the configured parameters on the HA. Valid value: The value is true or false. The value true indicates creating HA DB instances. The value false indicates creating a single DB instance.
    Replicationmode string
    Specifies the replication mode for the standby DB instance. The value cannot be empty. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync.
    Enable bool
    Specifies the configured parameters on the HA. Valid value: The value is true or false. The value true indicates creating HA DB instances. The value false indicates creating a single DB instance.
    Replicationmode string
    Specifies the replication mode for the standby DB instance. The value cannot be empty. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync.
    enable Boolean
    Specifies the configured parameters on the HA. Valid value: The value is true or false. The value true indicates creating HA DB instances. The value false indicates creating a single DB instance.
    replicationmode String
    Specifies the replication mode for the standby DB instance. The value cannot be empty. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync.
    enable boolean
    Specifies the configured parameters on the HA. Valid value: The value is true or false. The value true indicates creating HA DB instances. The value false indicates creating a single DB instance.
    replicationmode string
    Specifies the replication mode for the standby DB instance. The value cannot be empty. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync.
    enable bool
    Specifies the configured parameters on the HA. Valid value: The value is true or false. The value true indicates creating HA DB instances. The value false indicates creating a single DB instance.
    replicationmode str
    Specifies the replication mode for the standby DB instance. The value cannot be empty. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync.
    enable Boolean
    Specifies the configured parameters on the HA. Valid value: The value is true or false. The value true indicates creating HA DB instances. The value false indicates creating a single DB instance.
    replicationmode String
    Specifies the replication mode for the standby DB instance. The value cannot be empty. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync.

    RdsInstanceV1Nics, RdsInstanceV1NicsArgs

    Subnetid string
    Subnetid string
    subnetid String
    subnetid string
    subnetid String

    RdsInstanceV1Securitygroup, RdsInstanceV1SecuritygroupArgs

    Id string
    Specifies the ID obtained from the securitygroup.
    Id string
    Specifies the ID obtained from the securitygroup.
    id String
    Specifies the ID obtained from the securitygroup.
    id string
    Specifies the ID obtained from the securitygroup.
    id str
    Specifies the ID obtained from the securitygroup.
    id String
    Specifies the ID obtained from the securitygroup.

    RdsInstanceV1Timeouts, RdsInstanceV1TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    RdsInstanceV1Volume, RdsInstanceV1VolumeArgs

    Size double
    Specifies the volume size. Its value must be a multiple of 10 and the value range is 100 GB to 2000 GB.
    Type string
    Specifies the volume type. Valid value: It must be COMMON (SATA) or ULTRAHIGH (SSD) and is case-sensitive.
    Size float64
    Specifies the volume size. Its value must be a multiple of 10 and the value range is 100 GB to 2000 GB.
    Type string
    Specifies the volume type. Valid value: It must be COMMON (SATA) or ULTRAHIGH (SSD) and is case-sensitive.
    size Double
    Specifies the volume size. Its value must be a multiple of 10 and the value range is 100 GB to 2000 GB.
    type String
    Specifies the volume type. Valid value: It must be COMMON (SATA) or ULTRAHIGH (SSD) and is case-sensitive.
    size number
    Specifies the volume size. Its value must be a multiple of 10 and the value range is 100 GB to 2000 GB.
    type string
    Specifies the volume type. Valid value: It must be COMMON (SATA) or ULTRAHIGH (SSD) and is case-sensitive.
    size float
    Specifies the volume size. Its value must be a multiple of 10 and the value range is 100 GB to 2000 GB.
    type str
    Specifies the volume type. Valid value: It must be COMMON (SATA) or ULTRAHIGH (SSD) and is case-sensitive.
    size Number
    Specifies the volume size. Its value must be a multiple of 10 and the value range is 100 GB to 2000 GB.
    type String
    Specifies the volume type. Valid value: It must be COMMON (SATA) or ULTRAHIGH (SSD) and is case-sensitive.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud