1. Packages
  2. Volcengine
  3. API Docs
  4. rds_mssql
  5. Instance
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.rds_mssql.Instance

Explore with Pulumi AI

Provides a resource to manage rds mssql instance

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";

const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
    vpcId: fooVpc.id,
});
const fooInstance = new volcengine.rds_mssql.Instance("fooInstance", {
    dbEngineVersion: "SQLServer_2019_Std",
    instanceType: "HA",
    nodeSpec: "rds.mssql.se.ha.d2.2c4g",
    storageSpace: 20,
    subnetIds: [fooSubnet.id],
    superAccountPassword: "Tftest110",
    instanceName: "acc-test-mssql",
    projectName: "default",
    chargeInfo: {
        chargeType: "PostPaid",
    },
    tags: [{
        key: "k1",
        value: "v1",
    }],
    backupTime: "18:00Z-19:00Z",
    fullBackupPeriods: [
        "Monday",
        "Tuesday",
    ],
    backupRetentionPeriod: 14,
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id=foo_zones.zones[0].id,
    vpc_id=foo_vpc.id)
foo_instance = volcengine.rds_mssql.Instance("fooInstance",
    db_engine_version="SQLServer_2019_Std",
    instance_type="HA",
    node_spec="rds.mssql.se.ha.d2.2c4g",
    storage_space=20,
    subnet_ids=[foo_subnet.id],
    super_account_password="Tftest110",
    instance_name="acc-test-mssql",
    project_name="default",
    charge_info=volcengine.rds_mssql.InstanceChargeInfoArgs(
        charge_type="PostPaid",
    ),
    tags=[volcengine.rds_mssql.InstanceTagArgs(
        key="k1",
        value="v1",
    )],
    backup_time="18:00Z-19:00Z",
    full_backup_periods=[
        "Monday",
        "Tuesday",
    ],
    backup_retention_period=14)
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mssql"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		_, err = rds_mssql.NewInstance(ctx, "fooInstance", &rds_mssql.InstanceArgs{
			DbEngineVersion: pulumi.String("SQLServer_2019_Std"),
			InstanceType:    pulumi.String("HA"),
			NodeSpec:        pulumi.String("rds.mssql.se.ha.d2.2c4g"),
			StorageSpace:    pulumi.Int(20),
			SubnetIds: pulumi.StringArray{
				fooSubnet.ID(),
			},
			SuperAccountPassword: pulumi.String("Tftest110"),
			InstanceName:         pulumi.String("acc-test-mssql"),
			ProjectName:          pulumi.String("default"),
			ChargeInfo: &rds_mssql.InstanceChargeInfoArgs{
				ChargeType: pulumi.String("PostPaid"),
			},
			Tags: rds_mssql.InstanceTagArray{
				&rds_mssql.InstanceTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
			BackupTime: pulumi.String("18:00Z-19:00Z"),
			FullBackupPeriods: pulumi.StringArray{
				pulumi.String("Monday"),
				pulumi.String("Tuesday"),
			},
			BackupRetentionPeriod: pulumi.Int(14),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var fooZones = Volcengine.Ecs.Zones.Invoke();

    var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });

    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
        VpcId = fooVpc.Id,
    });

    var fooInstance = new Volcengine.Rds_mssql.Instance("fooInstance", new()
    {
        DbEngineVersion = "SQLServer_2019_Std",
        InstanceType = "HA",
        NodeSpec = "rds.mssql.se.ha.d2.2c4g",
        StorageSpace = 20,
        SubnetIds = new[]
        {
            fooSubnet.Id,
        },
        SuperAccountPassword = "Tftest110",
        InstanceName = "acc-test-mssql",
        ProjectName = "default",
        ChargeInfo = new Volcengine.Rds_mssql.Inputs.InstanceChargeInfoArgs
        {
            ChargeType = "PostPaid",
        },
        Tags = new[]
        {
            new Volcengine.Rds_mssql.Inputs.InstanceTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
        BackupTime = "18:00Z-19:00Z",
        FullBackupPeriods = new[]
        {
            "Monday",
            "Tuesday",
        },
        BackupRetentionPeriod = 14,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.rds_mssql.Instance;
import com.pulumi.volcengine.rds_mssql.InstanceArgs;
import com.pulumi.volcengine.rds_mssql.inputs.InstanceChargeInfoArgs;
import com.pulumi.volcengine.rds_mssql.inputs.InstanceTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var fooZones = EcsFunctions.Zones();

        var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());

        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
            .vpcId(fooVpc.id())
            .build());

        var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
            .dbEngineVersion("SQLServer_2019_Std")
            .instanceType("HA")
            .nodeSpec("rds.mssql.se.ha.d2.2c4g")
            .storageSpace(20)
            .subnetIds(fooSubnet.id())
            .superAccountPassword("Tftest110")
            .instanceName("acc-test-mssql")
            .projectName("default")
            .chargeInfo(InstanceChargeInfoArgs.builder()
                .chargeType("PostPaid")
                .build())
            .tags(InstanceTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .backupTime("18:00Z-19:00Z")
            .fullBackupPeriods(            
                "Monday",
                "Tuesday")
            .backupRetentionPeriod(14)
            .build());

    }
}
Copy
resources:
  fooVpc:
    type: volcengine:vpc:Vpc
    properties:
      vpcName: acc-test-vpc
      cidrBlock: 172.16.0.0/16
  fooSubnet:
    type: volcengine:vpc:Subnet
    properties:
      subnetName: acc-test-subnet
      cidrBlock: 172.16.0.0/24
      zoneId: ${fooZones.zones[0].id}
      vpcId: ${fooVpc.id}
  fooInstance:
    type: volcengine:rds_mssql:Instance
    properties:
      dbEngineVersion: SQLServer_2019_Std
      instanceType: HA
      nodeSpec: rds.mssql.se.ha.d2.2c4g
      storageSpace: 20
      subnetIds:
        - ${fooSubnet.id}
      superAccountPassword: Tftest110
      instanceName: acc-test-mssql
      projectName: default
      chargeInfo:
        chargeType: PostPaid
      tags:
        - key: k1
          value: v1
      backupTime: 18:00Z-19:00Z
      fullBackupPeriods:
        - Monday
        - Tuesday
      backupRetentionPeriod: 14
variables:
  fooZones:
    fn::invoke:
      Function: volcengine:ecs:Zones
      Arguments: {}
Copy

Create Instance Resource

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

Constructor syntax

new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
             args: InstanceArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             instance_type: Optional[str] = None,
             charge_info: Optional[InstanceChargeInfoArgs] = None,
             db_engine_version: Optional[str] = None,
             node_spec: Optional[str] = None,
             storage_space: Optional[int] = None,
             subnet_ids: Optional[Sequence[str]] = None,
             super_account_password: Optional[str] = None,
             backup_time: Optional[str] = None,
             full_backup_periods: Optional[Sequence[str]] = None,
             instance_name: Optional[str] = None,
             backup_retention_period: Optional[int] = None,
             project_name: Optional[str] = None,
             tags: Optional[Sequence[InstanceTagArgs]] = 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: volcengine:rds_mssql:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InstanceArgs
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 exampleinstanceResourceResourceFromRds_mssqlinstance = new Volcengine.Rds_mssql.Instance("exampleinstanceResourceResourceFromRds_mssqlinstance", new()
{
    InstanceType = "string",
    ChargeInfo = new Volcengine.Rds_mssql.Inputs.InstanceChargeInfoArgs
    {
        ChargeType = "string",
        AutoRenew = false,
        ChargeEndTime = "string",
        ChargeStartTime = "string",
        ChargeStatus = "string",
        OverdueReclaimTime = "string",
        OverdueTime = "string",
        Period = 0,
    },
    DbEngineVersion = "string",
    NodeSpec = "string",
    StorageSpace = 0,
    SubnetIds = new[]
    {
        "string",
    },
    SuperAccountPassword = "string",
    BackupTime = "string",
    FullBackupPeriods = new[]
    {
        "string",
    },
    InstanceName = "string",
    BackupRetentionPeriod = 0,
    ProjectName = "string",
    Tags = new[]
    {
        new Volcengine.Rds_mssql.Inputs.InstanceTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := rds_mssql.NewInstance(ctx, "exampleinstanceResourceResourceFromRds_mssqlinstance", &rds_mssql.InstanceArgs{
	InstanceType: pulumi.String("string"),
	ChargeInfo: &rds_mssql.InstanceChargeInfoArgs{
		ChargeType:         pulumi.String("string"),
		AutoRenew:          pulumi.Bool(false),
		ChargeEndTime:      pulumi.String("string"),
		ChargeStartTime:    pulumi.String("string"),
		ChargeStatus:       pulumi.String("string"),
		OverdueReclaimTime: pulumi.String("string"),
		OverdueTime:        pulumi.String("string"),
		Period:             pulumi.Int(0),
	},
	DbEngineVersion: pulumi.String("string"),
	NodeSpec:        pulumi.String("string"),
	StorageSpace:    pulumi.Int(0),
	SubnetIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	SuperAccountPassword: pulumi.String("string"),
	BackupTime:           pulumi.String("string"),
	FullBackupPeriods: pulumi.StringArray{
		pulumi.String("string"),
	},
	InstanceName:          pulumi.String("string"),
	BackupRetentionPeriod: pulumi.Int(0),
	ProjectName:           pulumi.String("string"),
	Tags: rds_mssql.InstanceTagArray{
		&rds_mssql.InstanceTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
Copy
var exampleinstanceResourceResourceFromRds_mssqlinstance = new Instance("exampleinstanceResourceResourceFromRds_mssqlinstance", InstanceArgs.builder()
    .instanceType("string")
    .chargeInfo(InstanceChargeInfoArgs.builder()
        .chargeType("string")
        .autoRenew(false)
        .chargeEndTime("string")
        .chargeStartTime("string")
        .chargeStatus("string")
        .overdueReclaimTime("string")
        .overdueTime("string")
        .period(0)
        .build())
    .dbEngineVersion("string")
    .nodeSpec("string")
    .storageSpace(0)
    .subnetIds("string")
    .superAccountPassword("string")
    .backupTime("string")
    .fullBackupPeriods("string")
    .instanceName("string")
    .backupRetentionPeriod(0)
    .projectName("string")
    .tags(InstanceTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
exampleinstance_resource_resource_from_rds_mssqlinstance = volcengine.rds_mssql.Instance("exampleinstanceResourceResourceFromRds_mssqlinstance",
    instance_type="string",
    charge_info={
        "charge_type": "string",
        "auto_renew": False,
        "charge_end_time": "string",
        "charge_start_time": "string",
        "charge_status": "string",
        "overdue_reclaim_time": "string",
        "overdue_time": "string",
        "period": 0,
    },
    db_engine_version="string",
    node_spec="string",
    storage_space=0,
    subnet_ids=["string"],
    super_account_password="string",
    backup_time="string",
    full_backup_periods=["string"],
    instance_name="string",
    backup_retention_period=0,
    project_name="string",
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const exampleinstanceResourceResourceFromRds_mssqlinstance = new volcengine.rds_mssql.Instance("exampleinstanceResourceResourceFromRds_mssqlinstance", {
    instanceType: "string",
    chargeInfo: {
        chargeType: "string",
        autoRenew: false,
        chargeEndTime: "string",
        chargeStartTime: "string",
        chargeStatus: "string",
        overdueReclaimTime: "string",
        overdueTime: "string",
        period: 0,
    },
    dbEngineVersion: "string",
    nodeSpec: "string",
    storageSpace: 0,
    subnetIds: ["string"],
    superAccountPassword: "string",
    backupTime: "string",
    fullBackupPeriods: ["string"],
    instanceName: "string",
    backupRetentionPeriod: 0,
    projectName: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: volcengine:rds_mssql:Instance
properties:
    backupRetentionPeriod: 0
    backupTime: string
    chargeInfo:
        autoRenew: false
        chargeEndTime: string
        chargeStartTime: string
        chargeStatus: string
        chargeType: string
        overdueReclaimTime: string
        overdueTime: string
        period: 0
    dbEngineVersion: string
    fullBackupPeriods:
        - string
    instanceName: string
    instanceType: string
    nodeSpec: string
    projectName: string
    storageSpace: 0
    subnetIds:
        - string
    superAccountPassword: string
    tags:
        - key: string
          value: string
Copy

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

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

The Instance resource accepts the following input properties:

ChargeInfo
This property is required.
Changes to this property will trigger replacement.
InstanceChargeInfo
The charge info.
DbEngineVersion
This property is required.
Changes to this property will trigger replacement.
string
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
InstanceType
This property is required.
Changes to this property will trigger replacement.
string
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
NodeSpec
This property is required.
Changes to this property will trigger replacement.
string
The node specification.
StorageSpace
This property is required.
Changes to this property will trigger replacement.
int
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
SubnetIds
This property is required.
Changes to this property will trigger replacement.
List<string>
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
SuperAccountPassword
This property is required.
Changes to this property will trigger replacement.
string
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
BackupRetentionPeriod int
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
BackupTime string
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
FullBackupPeriods List<string>
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
InstanceName Changes to this property will trigger replacement. string
Name of the instance.
ProjectName string
The project name.
Tags List<InstanceTag>
Tags.
ChargeInfo
This property is required.
Changes to this property will trigger replacement.
InstanceChargeInfoArgs
The charge info.
DbEngineVersion
This property is required.
Changes to this property will trigger replacement.
string
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
InstanceType
This property is required.
Changes to this property will trigger replacement.
string
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
NodeSpec
This property is required.
Changes to this property will trigger replacement.
string
The node specification.
StorageSpace
This property is required.
Changes to this property will trigger replacement.
int
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
SubnetIds
This property is required.
Changes to this property will trigger replacement.
[]string
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
SuperAccountPassword
This property is required.
Changes to this property will trigger replacement.
string
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
BackupRetentionPeriod int
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
BackupTime string
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
FullBackupPeriods []string
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
InstanceName Changes to this property will trigger replacement. string
Name of the instance.
ProjectName string
The project name.
Tags []InstanceTagArgs
Tags.
chargeInfo
This property is required.
Changes to this property will trigger replacement.
InstanceChargeInfo
The charge info.
dbEngineVersion
This property is required.
Changes to this property will trigger replacement.
String
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
instanceType
This property is required.
Changes to this property will trigger replacement.
String
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
nodeSpec
This property is required.
Changes to this property will trigger replacement.
String
The node specification.
storageSpace
This property is required.
Changes to this property will trigger replacement.
Integer
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnetIds
This property is required.
Changes to this property will trigger replacement.
List<String>
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
superAccountPassword
This property is required.
Changes to this property will trigger replacement.
String
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
backupRetentionPeriod Integer
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backupTime String
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
fullBackupPeriods List<String>
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instanceName Changes to this property will trigger replacement. String
Name of the instance.
projectName String
The project name.
tags List<InstanceTag>
Tags.
chargeInfo
This property is required.
Changes to this property will trigger replacement.
InstanceChargeInfo
The charge info.
dbEngineVersion
This property is required.
Changes to this property will trigger replacement.
string
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
instanceType
This property is required.
Changes to this property will trigger replacement.
string
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
nodeSpec
This property is required.
Changes to this property will trigger replacement.
string
The node specification.
storageSpace
This property is required.
Changes to this property will trigger replacement.
number
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnetIds
This property is required.
Changes to this property will trigger replacement.
string[]
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
superAccountPassword
This property is required.
Changes to this property will trigger replacement.
string
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
backupRetentionPeriod number
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backupTime string
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
fullBackupPeriods string[]
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instanceName Changes to this property will trigger replacement. string
Name of the instance.
projectName string
The project name.
tags InstanceTag[]
Tags.
charge_info
This property is required.
Changes to this property will trigger replacement.
InstanceChargeInfoArgs
The charge info.
db_engine_version
This property is required.
Changes to this property will trigger replacement.
str
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
instance_type
This property is required.
Changes to this property will trigger replacement.
str
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
node_spec
This property is required.
Changes to this property will trigger replacement.
str
The node specification.
storage_space
This property is required.
Changes to this property will trigger replacement.
int
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnet_ids
This property is required.
Changes to this property will trigger replacement.
Sequence[str]
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
super_account_password
This property is required.
Changes to this property will trigger replacement.
str
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
backup_retention_period int
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backup_time str
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
full_backup_periods Sequence[str]
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instance_name Changes to this property will trigger replacement. str
Name of the instance.
project_name str
The project name.
tags Sequence[InstanceTagArgs]
Tags.
chargeInfo
This property is required.
Changes to this property will trigger replacement.
Property Map
The charge info.
dbEngineVersion
This property is required.
Changes to this property will trigger replacement.
String
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
instanceType
This property is required.
Changes to this property will trigger replacement.
String
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
nodeSpec
This property is required.
Changes to this property will trigger replacement.
String
The node specification.
storageSpace
This property is required.
Changes to this property will trigger replacement.
Number
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnetIds
This property is required.
Changes to this property will trigger replacement.
List<String>
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
superAccountPassword
This property is required.
Changes to this property will trigger replacement.
String
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
backupRetentionPeriod Number
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backupTime String
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
fullBackupPeriods List<String>
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instanceName Changes to this property will trigger replacement. String
Name of the instance.
projectName String
The project name.
tags List<Property Map>
Tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the Instance 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 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,
        backup_retention_period: Optional[int] = None,
        backup_time: Optional[str] = None,
        charge_info: Optional[InstanceChargeInfoArgs] = None,
        db_engine_version: Optional[str] = None,
        full_backup_periods: Optional[Sequence[str]] = None,
        instance_name: Optional[str] = None,
        instance_type: Optional[str] = None,
        node_spec: Optional[str] = None,
        project_name: Optional[str] = None,
        storage_space: Optional[int] = None,
        subnet_ids: Optional[Sequence[str]] = None,
        super_account_password: Optional[str] = None,
        tags: Optional[Sequence[InstanceTagArgs]] = 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)
resources:  _:    type: volcengine:rds_mssql:Instance    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
BackupRetentionPeriod int
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
BackupTime string
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
ChargeInfo Changes to this property will trigger replacement. InstanceChargeInfo
The charge info.
DbEngineVersion Changes to this property will trigger replacement. string
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
FullBackupPeriods List<string>
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
InstanceName Changes to this property will trigger replacement. string
Name of the instance.
InstanceType Changes to this property will trigger replacement. string
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
NodeSpec Changes to this property will trigger replacement. string
The node specification.
ProjectName string
The project name.
StorageSpace Changes to this property will trigger replacement. int
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
SubnetIds Changes to this property will trigger replacement. List<string>
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
SuperAccountPassword Changes to this property will trigger replacement. string
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
Tags List<InstanceTag>
Tags.
BackupRetentionPeriod int
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
BackupTime string
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
ChargeInfo Changes to this property will trigger replacement. InstanceChargeInfoArgs
The charge info.
DbEngineVersion Changes to this property will trigger replacement. string
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
FullBackupPeriods []string
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
InstanceName Changes to this property will trigger replacement. string
Name of the instance.
InstanceType Changes to this property will trigger replacement. string
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
NodeSpec Changes to this property will trigger replacement. string
The node specification.
ProjectName string
The project name.
StorageSpace Changes to this property will trigger replacement. int
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
SubnetIds Changes to this property will trigger replacement. []string
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
SuperAccountPassword Changes to this property will trigger replacement. string
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
Tags []InstanceTagArgs
Tags.
backupRetentionPeriod Integer
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backupTime String
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
chargeInfo Changes to this property will trigger replacement. InstanceChargeInfo
The charge info.
dbEngineVersion Changes to this property will trigger replacement. String
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
fullBackupPeriods List<String>
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instanceName Changes to this property will trigger replacement. String
Name of the instance.
instanceType Changes to this property will trigger replacement. String
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
nodeSpec Changes to this property will trigger replacement. String
The node specification.
projectName String
The project name.
storageSpace Changes to this property will trigger replacement. Integer
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnetIds Changes to this property will trigger replacement. List<String>
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
superAccountPassword Changes to this property will trigger replacement. String
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
tags List<InstanceTag>
Tags.
backupRetentionPeriod number
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backupTime string
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
chargeInfo Changes to this property will trigger replacement. InstanceChargeInfo
The charge info.
dbEngineVersion Changes to this property will trigger replacement. string
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
fullBackupPeriods string[]
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instanceName Changes to this property will trigger replacement. string
Name of the instance.
instanceType Changes to this property will trigger replacement. string
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
nodeSpec Changes to this property will trigger replacement. string
The node specification.
projectName string
The project name.
storageSpace Changes to this property will trigger replacement. number
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnetIds Changes to this property will trigger replacement. string[]
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
superAccountPassword Changes to this property will trigger replacement. string
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
tags InstanceTag[]
Tags.
backup_retention_period int
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backup_time str
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
charge_info Changes to this property will trigger replacement. InstanceChargeInfoArgs
The charge info.
db_engine_version Changes to this property will trigger replacement. str
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
full_backup_periods Sequence[str]
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instance_name Changes to this property will trigger replacement. str
Name of the instance.
instance_type Changes to this property will trigger replacement. str
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
node_spec Changes to this property will trigger replacement. str
The node specification.
project_name str
The project name.
storage_space Changes to this property will trigger replacement. int
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnet_ids Changes to this property will trigger replacement. Sequence[str]
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
super_account_password Changes to this property will trigger replacement. str
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
tags Sequence[InstanceTagArgs]
Tags.
backupRetentionPeriod Number
Data backup retention days, value range: 7~30. This field is valid and required when updating the backup plan of instance.
backupTime String
The time window for starting the backup task is one hour interval. This field is valid and required when updating the backup plan of instance.
chargeInfo Changes to this property will trigger replacement. Property Map
The charge info.
dbEngineVersion Changes to this property will trigger replacement. String
The Compatible version. Valid values: SQLServer_2019_Std, SQLServer_2019_Web, SQLServer_2019_Ent.
fullBackupPeriods List<String>
Full backup cycle. Multiple values separated by commas. The values are as follows: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. This field is valid and required when updating the backup plan of instance.
instanceName Changes to this property will trigger replacement. String
Name of the instance.
instanceType Changes to this property will trigger replacement. String
The Instance type. When the value of the db_engine_version is SQLServer_2019_Std, the value of this field can be HA or Basic.When the value of the db_engine_version is SQLServer_2019_Ent, the value of this field can be Cluster or Basic.When the value of the db_engine_version is SQLServer_2019_Web, the value of this field can be Basic.
nodeSpec Changes to this property will trigger replacement. String
The node specification.
projectName String
The project name.
storageSpace Changes to this property will trigger replacement. Number
Storage space size, measured in GiB. The range of values is 20GiB to 4000GiB, with a step size of 10GiB.
subnetIds Changes to this property will trigger replacement. List<String>
The subnet id of the instance node. When creating an instance that includes primary and backup nodes and needs to deploy primary and backup nodes across availability zones, you can specify two subnet_id. By default, the first is the primary node availability zone, and the second is the backup node availability zone.
superAccountPassword Changes to this property will trigger replacement. String
The super account password. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
tags List<Property Map>
Tags.

Supporting Types

InstanceChargeInfo
, InstanceChargeInfoArgs

ChargeType
This property is required.
Changes to this property will trigger replacement.
string
The charge type. Valid values: PostPaid, PrePaid.
AutoRenew Changes to this property will trigger replacement. bool
Whether to enable automatic renewal in the prepaid scenario. This parameter can be set when the ChargeType is Prepaid.
ChargeEndTime string
Charge end time.
ChargeStartTime string
Charge start time.
ChargeStatus string
The charge status.
OverdueReclaimTime string
Expected release time when overdue fees are shut down.
OverdueTime string
Time for Disconnection due to Unpaid Fees.
Period Changes to this property will trigger replacement. int
Purchase duration in a prepaid scenario. This parameter is required when the ChargeType is Prepaid.
ChargeType
This property is required.
Changes to this property will trigger replacement.
string
The charge type. Valid values: PostPaid, PrePaid.
AutoRenew Changes to this property will trigger replacement. bool
Whether to enable automatic renewal in the prepaid scenario. This parameter can be set when the ChargeType is Prepaid.
ChargeEndTime string
Charge end time.
ChargeStartTime string
Charge start time.
ChargeStatus string
The charge status.
OverdueReclaimTime string
Expected release time when overdue fees are shut down.
OverdueTime string
Time for Disconnection due to Unpaid Fees.
Period Changes to this property will trigger replacement. int
Purchase duration in a prepaid scenario. This parameter is required when the ChargeType is Prepaid.
chargeType
This property is required.
Changes to this property will trigger replacement.
String
The charge type. Valid values: PostPaid, PrePaid.
autoRenew Changes to this property will trigger replacement. Boolean
Whether to enable automatic renewal in the prepaid scenario. This parameter can be set when the ChargeType is Prepaid.
chargeEndTime String
Charge end time.
chargeStartTime String
Charge start time.
chargeStatus String
The charge status.
overdueReclaimTime String
Expected release time when overdue fees are shut down.
overdueTime String
Time for Disconnection due to Unpaid Fees.
period Changes to this property will trigger replacement. Integer
Purchase duration in a prepaid scenario. This parameter is required when the ChargeType is Prepaid.
chargeType
This property is required.
Changes to this property will trigger replacement.
string
The charge type. Valid values: PostPaid, PrePaid.
autoRenew Changes to this property will trigger replacement. boolean
Whether to enable automatic renewal in the prepaid scenario. This parameter can be set when the ChargeType is Prepaid.
chargeEndTime string
Charge end time.
chargeStartTime string
Charge start time.
chargeStatus string
The charge status.
overdueReclaimTime string
Expected release time when overdue fees are shut down.
overdueTime string
Time for Disconnection due to Unpaid Fees.
period Changes to this property will trigger replacement. number
Purchase duration in a prepaid scenario. This parameter is required when the ChargeType is Prepaid.
charge_type
This property is required.
Changes to this property will trigger replacement.
str
The charge type. Valid values: PostPaid, PrePaid.
auto_renew Changes to this property will trigger replacement. bool
Whether to enable automatic renewal in the prepaid scenario. This parameter can be set when the ChargeType is Prepaid.
charge_end_time str
Charge end time.
charge_start_time str
Charge start time.
charge_status str
The charge status.
overdue_reclaim_time str
Expected release time when overdue fees are shut down.
overdue_time str
Time for Disconnection due to Unpaid Fees.
period Changes to this property will trigger replacement. int
Purchase duration in a prepaid scenario. This parameter is required when the ChargeType is Prepaid.
chargeType
This property is required.
Changes to this property will trigger replacement.
String
The charge type. Valid values: PostPaid, PrePaid.
autoRenew Changes to this property will trigger replacement. Boolean
Whether to enable automatic renewal in the prepaid scenario. This parameter can be set when the ChargeType is Prepaid.
chargeEndTime String
Charge end time.
chargeStartTime String
Charge start time.
chargeStatus String
The charge status.
overdueReclaimTime String
Expected release time when overdue fees are shut down.
overdueTime String
Time for Disconnection due to Unpaid Fees.
period Changes to this property will trigger replacement. Number
Purchase duration in a prepaid scenario. This parameter is required when the ChargeType is Prepaid.

InstanceTag
, InstanceTagArgs

Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.
key This property is required. string
The Key of Tags.
value This property is required. string
The Value of Tags.
key This property is required. str
The Key of Tags.
value This property is required. str
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.

Import

Rds Mssql Instance can be imported using the id, e.g.

$ pulumi import volcengine:rds_mssql/instance:Instance default resource_id
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.