1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getSqlserverInstances
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getSqlserverInstances

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query SQL Server instances

    Example Usage

    Filter instance by Id

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const exampleId = tencentcloud.getSqlserverInstances({
        id: "mssql-3l3fgqn7",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example_id = tencentcloud.get_sqlserver_instances(id="mssql-3l3fgqn7")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetSqlserverInstances(ctx, &tencentcloud.GetSqlserverInstancesArgs{
    			Id: pulumi.StringRef("mssql-3l3fgqn7"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleId = Tencentcloud.GetSqlserverInstances.Invoke(new()
        {
            Id = "mssql-3l3fgqn7",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetSqlserverInstancesArgs;
    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 exampleId = TencentcloudFunctions.getSqlserverInstances(GetSqlserverInstancesArgs.builder()
                .id("mssql-3l3fgqn7")
                .build());
    
        }
    }
    
    variables:
      exampleId:
        fn::invoke:
          function: tencentcloud:getSqlserverInstances
          arguments:
            id: mssql-3l3fgqn7
    

    Filter instance by project Id

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const exampleProject = tencentcloud.getSqlserverInstances({
        projectId: 0,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example_project = tencentcloud.get_sqlserver_instances(project_id=0)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetSqlserverInstances(ctx, &tencentcloud.GetSqlserverInstancesArgs{
    			ProjectId: pulumi.Float64Ref(0),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleProject = Tencentcloud.GetSqlserverInstances.Invoke(new()
        {
            ProjectId = 0,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetSqlserverInstancesArgs;
    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 exampleProject = TencentcloudFunctions.getSqlserverInstances(GetSqlserverInstancesArgs.builder()
                .projectId(0)
                .build());
    
        }
    }
    
    variables:
      exampleProject:
        fn::invoke:
          function: tencentcloud:getSqlserverInstances
          arguments:
            projectId: 0
    

    Filter instance by VPC/Subnet

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const exampleVpc = tencentcloud.getSqlserverInstances({
        subnetId: "subnet-nf9n81ps",
        vpcId: "vpc-409mvdvv",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example_vpc = tencentcloud.get_sqlserver_instances(subnet_id="subnet-nf9n81ps",
        vpc_id="vpc-409mvdvv")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetSqlserverInstances(ctx, &tencentcloud.GetSqlserverInstancesArgs{
    			SubnetId: pulumi.StringRef("subnet-nf9n81ps"),
    			VpcId:    pulumi.StringRef("vpc-409mvdvv"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleVpc = Tencentcloud.GetSqlserverInstances.Invoke(new()
        {
            SubnetId = "subnet-nf9n81ps",
            VpcId = "vpc-409mvdvv",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetSqlserverInstancesArgs;
    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 exampleVpc = TencentcloudFunctions.getSqlserverInstances(GetSqlserverInstancesArgs.builder()
                .subnetId("subnet-nf9n81ps")
                .vpcId("vpc-409mvdvv")
                .build());
    
        }
    }
    
    variables:
      exampleVpc:
        fn::invoke:
          function: tencentcloud:getSqlserverInstances
          arguments:
            subnetId: subnet-nf9n81ps
            vpcId: vpc-409mvdvv
    

    Using getSqlserverInstances

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSqlserverInstances(args: GetSqlserverInstancesArgs, opts?: InvokeOptions): Promise<GetSqlserverInstancesResult>
    function getSqlserverInstancesOutput(args: GetSqlserverInstancesOutputArgs, opts?: InvokeOptions): Output<GetSqlserverInstancesResult>
    def get_sqlserver_instances(id: Optional[str] = None,
                                name: Optional[str] = None,
                                project_id: Optional[float] = None,
                                result_output_file: Optional[str] = None,
                                subnet_id: Optional[str] = None,
                                vpc_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetSqlserverInstancesResult
    def get_sqlserver_instances_output(id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                project_id: Optional[pulumi.Input[float]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                subnet_id: Optional[pulumi.Input[str]] = None,
                                vpc_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetSqlserverInstancesResult]
    func GetSqlserverInstances(ctx *Context, args *GetSqlserverInstancesArgs, opts ...InvokeOption) (*GetSqlserverInstancesResult, error)
    func GetSqlserverInstancesOutput(ctx *Context, args *GetSqlserverInstancesOutputArgs, opts ...InvokeOption) GetSqlserverInstancesResultOutput

    > Note: This function is named GetSqlserverInstances in the Go SDK.

    public static class GetSqlserverInstances 
    {
        public static Task<GetSqlserverInstancesResult> InvokeAsync(GetSqlserverInstancesArgs args, InvokeOptions? opts = null)
        public static Output<GetSqlserverInstancesResult> Invoke(GetSqlserverInstancesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSqlserverInstancesResult> getSqlserverInstances(GetSqlserverInstancesArgs args, InvokeOptions options)
    public static Output<GetSqlserverInstancesResult> getSqlserverInstances(GetSqlserverInstancesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSqlserverInstances:getSqlserverInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ID of the SQL Server instance to be query.
    Name string
    Name of the SQL Server instance to be query.
    ProjectId double
    Project ID of the SQL Server instance to be query.
    ResultOutputFile string
    Used to save results.
    SubnetId string
    Subnet ID of the SQL Server instance to be query.
    VpcId string
    Vpc ID of the SQL Server instance to be query.
    Id string
    ID of the SQL Server instance to be query.
    Name string
    Name of the SQL Server instance to be query.
    ProjectId float64
    Project ID of the SQL Server instance to be query.
    ResultOutputFile string
    Used to save results.
    SubnetId string
    Subnet ID of the SQL Server instance to be query.
    VpcId string
    Vpc ID of the SQL Server instance to be query.
    id String
    ID of the SQL Server instance to be query.
    name String
    Name of the SQL Server instance to be query.
    projectId Double
    Project ID of the SQL Server instance to be query.
    resultOutputFile String
    Used to save results.
    subnetId String
    Subnet ID of the SQL Server instance to be query.
    vpcId String
    Vpc ID of the SQL Server instance to be query.
    id string
    ID of the SQL Server instance to be query.
    name string
    Name of the SQL Server instance to be query.
    projectId number
    Project ID of the SQL Server instance to be query.
    resultOutputFile string
    Used to save results.
    subnetId string
    Subnet ID of the SQL Server instance to be query.
    vpcId string
    Vpc ID of the SQL Server instance to be query.
    id str
    ID of the SQL Server instance to be query.
    name str
    Name of the SQL Server instance to be query.
    project_id float
    Project ID of the SQL Server instance to be query.
    result_output_file str
    Used to save results.
    subnet_id str
    Subnet ID of the SQL Server instance to be query.
    vpc_id str
    Vpc ID of the SQL Server instance to be query.
    id String
    ID of the SQL Server instance to be query.
    name String
    Name of the SQL Server instance to be query.
    projectId Number
    Project ID of the SQL Server instance to be query.
    resultOutputFile String
    Used to save results.
    subnetId String
    Subnet ID of the SQL Server instance to be query.
    vpcId String
    Vpc ID of the SQL Server instance to be query.

    getSqlserverInstances Result

    The following output properties are available:

    InstanceLists List<GetSqlserverInstancesInstanceList>
    A list of SQL Server instances. Each element contains the following attributes.
    Id string
    ID of the SQL Server instance.
    Name string
    Name of the SQL Server instance.
    ProjectId double
    Project ID, default value is 0.
    ResultOutputFile string
    SubnetId string
    ID of subnet.
    VpcId string
    ID of VPC.
    InstanceLists []GetSqlserverInstancesInstanceList
    A list of SQL Server instances. Each element contains the following attributes.
    Id string
    ID of the SQL Server instance.
    Name string
    Name of the SQL Server instance.
    ProjectId float64
    Project ID, default value is 0.
    ResultOutputFile string
    SubnetId string
    ID of subnet.
    VpcId string
    ID of VPC.
    instanceLists List<GetSqlserverInstancesInstanceList>
    A list of SQL Server instances. Each element contains the following attributes.
    id String
    ID of the SQL Server instance.
    name String
    Name of the SQL Server instance.
    projectId Double
    Project ID, default value is 0.
    resultOutputFile String
    subnetId String
    ID of subnet.
    vpcId String
    ID of VPC.
    instanceLists GetSqlserverInstancesInstanceList[]
    A list of SQL Server instances. Each element contains the following attributes.
    id string
    ID of the SQL Server instance.
    name string
    Name of the SQL Server instance.
    projectId number
    Project ID, default value is 0.
    resultOutputFile string
    subnetId string
    ID of subnet.
    vpcId string
    ID of VPC.
    instance_lists Sequence[GetSqlserverInstancesInstanceList]
    A list of SQL Server instances. Each element contains the following attributes.
    id str
    ID of the SQL Server instance.
    name str
    Name of the SQL Server instance.
    project_id float
    Project ID, default value is 0.
    result_output_file str
    subnet_id str
    ID of subnet.
    vpc_id str
    ID of VPC.
    instanceLists List<Property Map>
    A list of SQL Server instances. Each element contains the following attributes.
    id String
    ID of the SQL Server instance.
    name String
    Name of the SQL Server instance.
    projectId Number
    Project ID, default value is 0.
    resultOutputFile String
    subnetId String
    ID of subnet.
    vpcId String
    ID of VPC.

    Supporting Types

    GetSqlserverInstancesInstanceList

    AvailabilityZone string
    Availability zone.
    ChargeType string
    Pay type of the SQL Server instance. For now, only POSTPAID_BY_HOUR is valid.
    CreateTime string
    Create time of the SQL Server instance.
    EngineVersion string
    Version of the SQL Server database engine. Allowed values are 2008R2(SQL Server 2008 Enterprise), 2012SP3(SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602(SQL Server 2016 Standard) and 2017(SQL Server 2017 Enterprise). Default is 2008R2.
    HaType string
    Instance type. DUAL (dual-server high availability), CLUSTER (cluster).
    Id string
    ID of the SQL Server instance to be query.
    Memory double
    Memory size (in GB). Allowed value must be larger than memory that data source tencentcloud_sqlserver_specinfos provides.
    Name string
    Name of the SQL Server instance to be query.
    ProjectId double
    Project ID of the SQL Server instance to be query.
    RoFlag string
    Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
    Status double
    Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
    Storage double
    Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of storage_min and storage_max which data source tencentcloud_sqlserver_specinfos provides.
    SubnetId string
    Subnet ID of the SQL Server instance to be query.
    Tags Dictionary<string, string>
    Tags of the SQL Server instance.
    UsedStorage double
    Used storage.
    Vip string
    IP for private access.
    VpcId string
    Vpc ID of the SQL Server instance to be query.
    Vport double
    Port for private access.
    AvailabilityZone string
    Availability zone.
    ChargeType string
    Pay type of the SQL Server instance. For now, only POSTPAID_BY_HOUR is valid.
    CreateTime string
    Create time of the SQL Server instance.
    EngineVersion string
    Version of the SQL Server database engine. Allowed values are 2008R2(SQL Server 2008 Enterprise), 2012SP3(SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602(SQL Server 2016 Standard) and 2017(SQL Server 2017 Enterprise). Default is 2008R2.
    HaType string
    Instance type. DUAL (dual-server high availability), CLUSTER (cluster).
    Id string
    ID of the SQL Server instance to be query.
    Memory float64
    Memory size (in GB). Allowed value must be larger than memory that data source tencentcloud_sqlserver_specinfos provides.
    Name string
    Name of the SQL Server instance to be query.
    ProjectId float64
    Project ID of the SQL Server instance to be query.
    RoFlag string
    Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
    Status float64
    Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
    Storage float64
    Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of storage_min and storage_max which data source tencentcloud_sqlserver_specinfos provides.
    SubnetId string
    Subnet ID of the SQL Server instance to be query.
    Tags map[string]string
    Tags of the SQL Server instance.
    UsedStorage float64
    Used storage.
    Vip string
    IP for private access.
    VpcId string
    Vpc ID of the SQL Server instance to be query.
    Vport float64
    Port for private access.
    availabilityZone String
    Availability zone.
    chargeType String
    Pay type of the SQL Server instance. For now, only POSTPAID_BY_HOUR is valid.
    createTime String
    Create time of the SQL Server instance.
    engineVersion String
    Version of the SQL Server database engine. Allowed values are 2008R2(SQL Server 2008 Enterprise), 2012SP3(SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602(SQL Server 2016 Standard) and 2017(SQL Server 2017 Enterprise). Default is 2008R2.
    haType String
    Instance type. DUAL (dual-server high availability), CLUSTER (cluster).
    id String
    ID of the SQL Server instance to be query.
    memory Double
    Memory size (in GB). Allowed value must be larger than memory that data source tencentcloud_sqlserver_specinfos provides.
    name String
    Name of the SQL Server instance to be query.
    projectId Double
    Project ID of the SQL Server instance to be query.
    roFlag String
    Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
    status Double
    Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
    storage Double
    Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of storage_min and storage_max which data source tencentcloud_sqlserver_specinfos provides.
    subnetId String
    Subnet ID of the SQL Server instance to be query.
    tags Map<String,String>
    Tags of the SQL Server instance.
    usedStorage Double
    Used storage.
    vip String
    IP for private access.
    vpcId String
    Vpc ID of the SQL Server instance to be query.
    vport Double
    Port for private access.
    availabilityZone string
    Availability zone.
    chargeType string
    Pay type of the SQL Server instance. For now, only POSTPAID_BY_HOUR is valid.
    createTime string
    Create time of the SQL Server instance.
    engineVersion string
    Version of the SQL Server database engine. Allowed values are 2008R2(SQL Server 2008 Enterprise), 2012SP3(SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602(SQL Server 2016 Standard) and 2017(SQL Server 2017 Enterprise). Default is 2008R2.
    haType string
    Instance type. DUAL (dual-server high availability), CLUSTER (cluster).
    id string
    ID of the SQL Server instance to be query.
    memory number
    Memory size (in GB). Allowed value must be larger than memory that data source tencentcloud_sqlserver_specinfos provides.
    name string
    Name of the SQL Server instance to be query.
    projectId number
    Project ID of the SQL Server instance to be query.
    roFlag string
    Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
    status number
    Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
    storage number
    Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of storage_min and storage_max which data source tencentcloud_sqlserver_specinfos provides.
    subnetId string
    Subnet ID of the SQL Server instance to be query.
    tags {[key: string]: string}
    Tags of the SQL Server instance.
    usedStorage number
    Used storage.
    vip string
    IP for private access.
    vpcId string
    Vpc ID of the SQL Server instance to be query.
    vport number
    Port for private access.
    availability_zone str
    Availability zone.
    charge_type str
    Pay type of the SQL Server instance. For now, only POSTPAID_BY_HOUR is valid.
    create_time str
    Create time of the SQL Server instance.
    engine_version str
    Version of the SQL Server database engine. Allowed values are 2008R2(SQL Server 2008 Enterprise), 2012SP3(SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602(SQL Server 2016 Standard) and 2017(SQL Server 2017 Enterprise). Default is 2008R2.
    ha_type str
    Instance type. DUAL (dual-server high availability), CLUSTER (cluster).
    id str
    ID of the SQL Server instance to be query.
    memory float
    Memory size (in GB). Allowed value must be larger than memory that data source tencentcloud_sqlserver_specinfos provides.
    name str
    Name of the SQL Server instance to be query.
    project_id float
    Project ID of the SQL Server instance to be query.
    ro_flag str
    Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
    status float
    Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
    storage float
    Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of storage_min and storage_max which data source tencentcloud_sqlserver_specinfos provides.
    subnet_id str
    Subnet ID of the SQL Server instance to be query.
    tags Mapping[str, str]
    Tags of the SQL Server instance.
    used_storage float
    Used storage.
    vip str
    IP for private access.
    vpc_id str
    Vpc ID of the SQL Server instance to be query.
    vport float
    Port for private access.
    availabilityZone String
    Availability zone.
    chargeType String
    Pay type of the SQL Server instance. For now, only POSTPAID_BY_HOUR is valid.
    createTime String
    Create time of the SQL Server instance.
    engineVersion String
    Version of the SQL Server database engine. Allowed values are 2008R2(SQL Server 2008 Enterprise), 2012SP3(SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602(SQL Server 2016 Standard) and 2017(SQL Server 2017 Enterprise). Default is 2008R2.
    haType String
    Instance type. DUAL (dual-server high availability), CLUSTER (cluster).
    id String
    ID of the SQL Server instance to be query.
    memory Number
    Memory size (in GB). Allowed value must be larger than memory that data source tencentcloud_sqlserver_specinfos provides.
    name String
    Name of the SQL Server instance to be query.
    projectId Number
    Project ID of the SQL Server instance to be query.
    roFlag String
    Readonly flag. RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
    status Number
    Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
    storage Number
    Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of storage_min and storage_max which data source tencentcloud_sqlserver_specinfos provides.
    subnetId String
    Subnet ID of the SQL Server instance to be query.
    tags Map<String>
    Tags of the SQL Server instance.
    usedStorage Number
    Used storage.
    vip String
    IP for private access.
    vpcId String
    Vpc ID of the SQL Server instance to be query.
    vport Number
    Port for private access.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack