tencentcloud.SqlserverInstance
Explore with Pulumi AI
Use this resource to create SQL Server instance
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const zones = tencentcloud.getAvailabilityZonesByProduct({
product: "sqlserver",
});
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const subnet = new tencentcloud.Subnet("subnet", {
availabilityZone: zones.then(zones => zones.zones?.[4]?.name),
vpcId: vpc.vpcId,
cidrBlock: "10.0.0.0/16",
isMulticast: false,
});
const example = new tencentcloud.SqlserverInstance("example", {
availabilityZone: zones.then(zones => zones.zones?.[4]?.name),
chargeType: "POSTPAID_BY_HOUR",
vpcId: vpc.vpcId,
subnetId: subnet.subnetId,
projectId: 0,
memory: 16,
storage: 100,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
zones = tencentcloud.get_availability_zones_by_product(product="sqlserver")
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
subnet = tencentcloud.Subnet("subnet",
availability_zone=zones.zones[4].name,
vpc_id=vpc.vpc_id,
cidr_block="10.0.0.0/16",
is_multicast=False)
example = tencentcloud.SqlserverInstance("example",
availability_zone=zones.zones[4].name,
charge_type="POSTPAID_BY_HOUR",
vpc_id=vpc.vpc_id,
subnet_id=subnet.subnet_id,
project_id=0,
memory=16,
storage=100)
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 {
zones, err := tencentcloud.GetAvailabilityZonesByProduct(ctx, &tencentcloud.GetAvailabilityZonesByProductArgs{
Product: "sqlserver",
}, nil)
if err != nil {
return err
}
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
AvailabilityZone: pulumi.String(zones.Zones[4].Name),
VpcId: vpc.VpcId,
CidrBlock: pulumi.String("10.0.0.0/16"),
IsMulticast: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = tencentcloud.NewSqlserverInstance(ctx, "example", &tencentcloud.SqlserverInstanceArgs{
AvailabilityZone: pulumi.String(zones.Zones[4].Name),
ChargeType: pulumi.String("POSTPAID_BY_HOUR"),
VpcId: vpc.VpcId,
SubnetId: subnet.SubnetId,
ProjectId: pulumi.Float64(0),
Memory: pulumi.Float64(16),
Storage: pulumi.Float64(100),
})
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 zones = Tencentcloud.GetAvailabilityZonesByProduct.Invoke(new()
{
Product = "sqlserver",
});
var vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "10.0.0.0/16",
});
var subnet = new Tencentcloud.Subnet("subnet", new()
{
AvailabilityZone = zones.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[4]?.Name),
VpcId = vpc.VpcId,
CidrBlock = "10.0.0.0/16",
IsMulticast = false,
});
var example = new Tencentcloud.SqlserverInstance("example", new()
{
AvailabilityZone = zones.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[4]?.Name),
ChargeType = "POSTPAID_BY_HOUR",
VpcId = vpc.VpcId,
SubnetId = subnet.SubnetId,
ProjectId = 0,
Memory = 16,
Storage = 100,
});
});
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.GetAvailabilityZonesByProductArgs;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.SqlserverInstance;
import com.pulumi.tencentcloud.SqlserverInstanceArgs;
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 zones = TencentcloudFunctions.getAvailabilityZonesByProduct(GetAvailabilityZonesByProductArgs.builder()
.product("sqlserver")
.build());
var vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var subnet = new Subnet("subnet", SubnetArgs.builder()
.availabilityZone(zones.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[4].name()))
.vpcId(vpc.vpcId())
.cidrBlock("10.0.0.0/16")
.isMulticast(false)
.build());
var example = new SqlserverInstance("example", SqlserverInstanceArgs.builder()
.availabilityZone(zones.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[4].name()))
.chargeType("POSTPAID_BY_HOUR")
.vpcId(vpc.vpcId())
.subnetId(subnet.subnetId())
.projectId(0)
.memory(16)
.storage(100)
.build());
}
}
resources:
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 10.0.0.0/16
subnet:
type: tencentcloud:Subnet
properties:
availabilityZone: ${zones.zones[4].name}
vpcId: ${vpc.vpcId}
cidrBlock: 10.0.0.0/16
isMulticast: false
example:
type: tencentcloud:SqlserverInstance
properties:
availabilityZone: ${zones.zones[4].name}
chargeType: POSTPAID_BY_HOUR
vpcId: ${vpc.vpcId}
subnetId: ${subnet.subnetId}
projectId: 0
memory: 16
storage: 100
variables:
zones:
fn::invoke:
function: tencentcloud:getAvailabilityZonesByProduct
arguments:
product: sqlserver
Create SqlserverInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SqlserverInstance(name: string, args: SqlserverInstanceArgs, opts?: CustomResourceOptions);
@overload
def SqlserverInstance(resource_name: str,
args: SqlserverInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SqlserverInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
memory: Optional[float] = None,
storage: Optional[float] = None,
multi_zones: Optional[bool] = None,
project_id: Optional[float] = None,
engine_version: Optional[str] = None,
ha_type: Optional[str] = None,
maintenance_start_time: Optional[str] = None,
maintenance_time_span: Optional[float] = None,
maintenance_week_sets: Optional[Sequence[float]] = None,
availability_zone: Optional[str] = None,
auto_renew: Optional[float] = None,
name: Optional[str] = None,
period: Optional[float] = None,
charge_type: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
sqlserver_instance_id: Optional[str] = None,
auto_voucher: Optional[float] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
time_zone: Optional[str] = None,
voucher_ids: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
wait_switch: Optional[float] = None)
func NewSqlserverInstance(ctx *Context, name string, args SqlserverInstanceArgs, opts ...ResourceOption) (*SqlserverInstance, error)
public SqlserverInstance(string name, SqlserverInstanceArgs args, CustomResourceOptions? opts = null)
public SqlserverInstance(String name, SqlserverInstanceArgs args)
public SqlserverInstance(String name, SqlserverInstanceArgs args, CustomResourceOptions options)
type: tencentcloud:SqlserverInstance
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 SqlserverInstanceArgs
- 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 SqlserverInstanceArgs
- 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 SqlserverInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SqlserverInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SqlserverInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SqlserverInstance 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 SqlserverInstance resource accepts the following input properties:
- Memory double
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - Auto
Renew double - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- Auto
Voucher double - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- Availability
Zone string - Availability zone.
- Charge
Type string - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - Engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - Ha
Type string - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - Maintenance
Start stringTime - Start time of the maintenance in one day, format like
HH:mm
. - Maintenance
Time doubleSpan - The timespan of maintenance in one day, unit is hour.
- Maintenance
Week List<double>Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- Multi
Zones bool - Indicate whether to deploy across availability zones.
- Name string
- Name of the SQL Server instance.
- Period double
- Purchase instance period in month. The value does not exceed 48.
- Project
Id double - Project ID, default value is 0.
- Security
Groups List<string> - Security group bound to the instance.
- Sqlserver
Instance stringId - ID of the resource.
- Subnet
Id string - ID of subnet.
- Dictionary<string, string>
- The tags of the SQL Server.
- Time
Zone string - System time zone, default:
China Standard Time
. - Voucher
Ids List<string> - An array of voucher IDs, currently only one can be used for a single order.
- Vpc
Id string - ID of VPC.
- Wait
Switch double - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- Memory float64
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - Auto
Renew float64 - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- Auto
Voucher float64 - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- Availability
Zone string - Availability zone.
- Charge
Type string - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - Engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - Ha
Type string - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - Maintenance
Start stringTime - Start time of the maintenance in one day, format like
HH:mm
. - Maintenance
Time float64Span - The timespan of maintenance in one day, unit is hour.
- Maintenance
Week []float64Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- Multi
Zones bool - Indicate whether to deploy across availability zones.
- Name string
- Name of the SQL Server instance.
- Period float64
- Purchase instance period in month. The value does not exceed 48.
- Project
Id float64 - Project ID, default value is 0.
- Security
Groups []string - Security group bound to the instance.
- Sqlserver
Instance stringId - ID of the resource.
- Subnet
Id string - ID of subnet.
- map[string]string
- The tags of the SQL Server.
- Time
Zone string - System time zone, default:
China Standard Time
. - Voucher
Ids []string - An array of voucher IDs, currently only one can be used for a single order.
- Vpc
Id string - ID of VPC.
- Wait
Switch float64 - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- memory Double
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - auto
Renew Double - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto
Voucher Double - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability
Zone String - Availability zone.
- charge
Type String - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha
Type String - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance
Start StringTime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance
Time DoubleSpan - The timespan of maintenance in one day, unit is hour.
- maintenance
Week List<Double>Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- multi
Zones Boolean - Indicate whether to deploy across availability zones.
- name String
- Name of the SQL Server instance.
- period Double
- Purchase instance period in month. The value does not exceed 48.
- project
Id Double - Project ID, default value is 0.
- security
Groups List<String> - Security group bound to the instance.
- sqlserver
Instance StringId - ID of the resource.
- subnet
Id String - ID of subnet.
- Map<String,String>
- The tags of the SQL Server.
- time
Zone String - System time zone, default:
China Standard Time
. - voucher
Ids List<String> - An array of voucher IDs, currently only one can be used for a single order.
- vpc
Id String - ID of VPC.
- wait
Switch Double - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- memory number
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - auto
Renew number - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto
Voucher number - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability
Zone string - Availability zone.
- charge
Type string - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha
Type string - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance
Start stringTime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance
Time numberSpan - The timespan of maintenance in one day, unit is hour.
- maintenance
Week number[]Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- multi
Zones boolean - Indicate whether to deploy across availability zones.
- name string
- Name of the SQL Server instance.
- period number
- Purchase instance period in month. The value does not exceed 48.
- project
Id number - Project ID, default value is 0.
- security
Groups string[] - Security group bound to the instance.
- sqlserver
Instance stringId - ID of the resource.
- subnet
Id string - ID of subnet.
- {[key: string]: string}
- The tags of the SQL Server.
- time
Zone string - System time zone, default:
China Standard Time
. - voucher
Ids string[] - An array of voucher IDs, currently only one can be used for a single order.
- vpc
Id string - ID of VPC.
- wait
Switch number - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- memory float
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - auto_
renew float - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto_
voucher float - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability_
zone str - Availability zone.
- charge_
type str - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha_
type str - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance_
start_ strtime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance_
time_ floatspan - The timespan of maintenance in one day, unit is hour.
- maintenance_
week_ Sequence[float]sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- multi_
zones bool - Indicate whether to deploy across availability zones.
- name str
- Name of the SQL Server instance.
- period float
- Purchase instance period in month. The value does not exceed 48.
- project_
id float - Project ID, default value is 0.
- security_
groups Sequence[str] - Security group bound to the instance.
- sqlserver_
instance_ strid - ID of the resource.
- subnet_
id str - ID of subnet.
- Mapping[str, str]
- The tags of the SQL Server.
- time_
zone str - System time zone, default:
China Standard Time
. - voucher_
ids Sequence[str] - An array of voucher IDs, currently only one can be used for a single order.
- vpc_
id str - ID of VPC.
- wait_
switch float - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- memory Number
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - auto
Renew Number - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto
Voucher Number - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability
Zone String - Availability zone.
- charge
Type String - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha
Type String - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance
Start StringTime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance
Time NumberSpan - The timespan of maintenance in one day, unit is hour.
- maintenance
Week List<Number>Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- multi
Zones Boolean - Indicate whether to deploy across availability zones.
- name String
- Name of the SQL Server instance.
- period Number
- Purchase instance period in month. The value does not exceed 48.
- project
Id Number - Project ID, default value is 0.
- security
Groups List<String> - Security group bound to the instance.
- sqlserver
Instance StringId - ID of the resource.
- subnet
Id String - ID of subnet.
- Map<String>
- The tags of the SQL Server.
- time
Zone String - System time zone, default:
China Standard Time
. - voucher
Ids List<String> - An array of voucher IDs, currently only one can be used for a single order.
- vpc
Id String - ID of VPC.
- wait
Switch Number - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
Outputs
All input properties are implicitly available as output properties. Additionally, the SqlserverInstance resource produces the following output properties:
- Create
Time string - Create time of the SQL Server instance.
- Dns
Pod stringDomain - Internet address domain name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ro
Flag 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.
- Tgw
Wan doubleVport - External port number.
- Vip string
- IP for private access.
- Vport double
- Port for private access.
- Create
Time string - Create time of the SQL Server instance.
- Dns
Pod stringDomain - Internet address domain name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ro
Flag 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.
- Tgw
Wan float64Vport - External port number.
- Vip string
- IP for private access.
- Vport float64
- Port for private access.
- create
Time String - Create time of the SQL Server instance.
- dns
Pod StringDomain - Internet address domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- ro
Flag 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.
- tgw
Wan DoubleVport - External port number.
- vip String
- IP for private access.
- vport Double
- Port for private access.
- create
Time string - Create time of the SQL Server instance.
- dns
Pod stringDomain - Internet address domain name.
- id string
- The provider-assigned unique ID for this managed resource.
- ro
Flag 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.
- tgw
Wan numberVport - External port number.
- vip string
- IP for private access.
- vport number
- Port for private access.
- create_
time str - Create time of the SQL Server instance.
- dns_
pod_ strdomain - Internet address domain name.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- tgw_
wan_ floatvport - External port number.
- vip str
- IP for private access.
- vport float
- Port for private access.
- create
Time String - Create time of the SQL Server instance.
- dns
Pod StringDomain - Internet address domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- ro
Flag 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.
- tgw
Wan NumberVport - External port number.
- vip String
- IP for private access.
- vport Number
- Port for private access.
Look up Existing SqlserverInstance Resource
Get an existing SqlserverInstance 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?: SqlserverInstanceState, opts?: CustomResourceOptions): SqlserverInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_renew: Optional[float] = None,
auto_voucher: Optional[float] = None,
availability_zone: Optional[str] = None,
charge_type: Optional[str] = None,
create_time: Optional[str] = None,
dns_pod_domain: Optional[str] = None,
engine_version: Optional[str] = None,
ha_type: Optional[str] = None,
maintenance_start_time: Optional[str] = None,
maintenance_time_span: Optional[float] = None,
maintenance_week_sets: Optional[Sequence[float]] = None,
memory: Optional[float] = None,
multi_zones: Optional[bool] = None,
name: Optional[str] = None,
period: Optional[float] = None,
project_id: Optional[float] = None,
ro_flag: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
sqlserver_instance_id: Optional[str] = None,
status: Optional[float] = None,
storage: Optional[float] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tgw_wan_vport: Optional[float] = None,
time_zone: Optional[str] = None,
vip: Optional[str] = None,
voucher_ids: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
vport: Optional[float] = None,
wait_switch: Optional[float] = None) -> SqlserverInstance
func GetSqlserverInstance(ctx *Context, name string, id IDInput, state *SqlserverInstanceState, opts ...ResourceOption) (*SqlserverInstance, error)
public static SqlserverInstance Get(string name, Input<string> id, SqlserverInstanceState? state, CustomResourceOptions? opts = null)
public static SqlserverInstance get(String name, Output<String> id, SqlserverInstanceState state, CustomResourceOptions options)
resources: _: type: tencentcloud:SqlserverInstance 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.
- Auto
Renew double - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- Auto
Voucher double - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- Availability
Zone string - Availability zone.
- Charge
Type string - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - Create
Time string - Create time of the SQL Server instance.
- Dns
Pod stringDomain - Internet address domain name.
- Engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - Ha
Type string - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - Maintenance
Start stringTime - Start time of the maintenance in one day, format like
HH:mm
. - Maintenance
Time doubleSpan - The timespan of maintenance in one day, unit is hour.
- Maintenance
Week List<double>Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- Memory double
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - Multi
Zones bool - Indicate whether to deploy across availability zones.
- Name string
- Name of the SQL Server instance.
- Period double
- Purchase instance period in month. The value does not exceed 48.
- Project
Id double - Project ID, default value is 0.
- Ro
Flag 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. - Security
Groups List<string> - Security group bound to the instance.
- Sqlserver
Instance stringId - ID of the resource.
- 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - Subnet
Id string - ID of subnet.
- Dictionary<string, string>
- The tags of the SQL Server.
- Tgw
Wan doubleVport - External port number.
- Time
Zone string - System time zone, default:
China Standard Time
. - Vip string
- IP for private access.
- Voucher
Ids List<string> - An array of voucher IDs, currently only one can be used for a single order.
- Vpc
Id string - ID of VPC.
- Vport double
- Port for private access.
- Wait
Switch double - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- Auto
Renew float64 - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- Auto
Voucher float64 - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- Availability
Zone string - Availability zone.
- Charge
Type string - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - Create
Time string - Create time of the SQL Server instance.
- Dns
Pod stringDomain - Internet address domain name.
- Engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - Ha
Type string - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - Maintenance
Start stringTime - Start time of the maintenance in one day, format like
HH:mm
. - Maintenance
Time float64Span - The timespan of maintenance in one day, unit is hour.
- Maintenance
Week []float64Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- Memory float64
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - Multi
Zones bool - Indicate whether to deploy across availability zones.
- Name string
- Name of the SQL Server instance.
- Period float64
- Purchase instance period in month. The value does not exceed 48.
- Project
Id float64 - Project ID, default value is 0.
- Ro
Flag 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. - Security
Groups []string - Security group bound to the instance.
- Sqlserver
Instance stringId - ID of the resource.
- 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - Subnet
Id string - ID of subnet.
- map[string]string
- The tags of the SQL Server.
- Tgw
Wan float64Vport - External port number.
- Time
Zone string - System time zone, default:
China Standard Time
. - Vip string
- IP for private access.
- Voucher
Ids []string - An array of voucher IDs, currently only one can be used for a single order.
- Vpc
Id string - ID of VPC.
- Vport float64
- Port for private access.
- Wait
Switch float64 - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- auto
Renew Double - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto
Voucher Double - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability
Zone String - Availability zone.
- charge
Type String - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - create
Time String - Create time of the SQL Server instance.
- dns
Pod StringDomain - Internet address domain name.
- engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha
Type String - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance
Start StringTime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance
Time DoubleSpan - The timespan of maintenance in one day, unit is hour.
- maintenance
Week List<Double>Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- memory Double
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - multi
Zones Boolean - Indicate whether to deploy across availability zones.
- name String
- Name of the SQL Server instance.
- period Double
- Purchase instance period in month. The value does not exceed 48.
- project
Id Double - Project ID, default value is 0.
- ro
Flag 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. - security
Groups List<String> - Security group bound to the instance.
- sqlserver
Instance StringId - ID of the resource.
- 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - subnet
Id String - ID of subnet.
- Map<String,String>
- The tags of the SQL Server.
- tgw
Wan DoubleVport - External port number.
- time
Zone String - System time zone, default:
China Standard Time
. - vip String
- IP for private access.
- voucher
Ids List<String> - An array of voucher IDs, currently only one can be used for a single order.
- vpc
Id String - ID of VPC.
- vport Double
- Port for private access.
- wait
Switch Double - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- auto
Renew number - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto
Voucher number - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability
Zone string - Availability zone.
- charge
Type string - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - create
Time string - Create time of the SQL Server instance.
- dns
Pod stringDomain - Internet address domain name.
- engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha
Type string - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance
Start stringTime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance
Time numberSpan - The timespan of maintenance in one day, unit is hour.
- maintenance
Week number[]Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- memory number
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - multi
Zones boolean - Indicate whether to deploy across availability zones.
- name string
- Name of the SQL Server instance.
- period number
- Purchase instance period in month. The value does not exceed 48.
- project
Id number - Project ID, default value is 0.
- ro
Flag 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. - security
Groups string[] - Security group bound to the instance.
- sqlserver
Instance stringId - ID of the resource.
- 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - subnet
Id string - ID of subnet.
- {[key: string]: string}
- The tags of the SQL Server.
- tgw
Wan numberVport - External port number.
- time
Zone string - System time zone, default:
China Standard Time
. - vip string
- IP for private access.
- voucher
Ids string[] - An array of voucher IDs, currently only one can be used for a single order.
- vpc
Id string - ID of VPC.
- vport number
- Port for private access.
- wait
Switch number - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- auto_
renew float - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto_
voucher float - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability_
zone str - Availability zone.
- charge_
type str - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - create_
time str - Create time of the SQL Server instance.
- dns_
pod_ strdomain - Internet address domain name.
- 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha_
type str - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance_
start_ strtime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance_
time_ floatspan - The timespan of maintenance in one day, unit is hour.
- maintenance_
week_ Sequence[float]sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- memory float
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - multi_
zones bool - Indicate whether to deploy across availability zones.
- name str
- Name of the SQL Server instance.
- period float
- Purchase instance period in month. The value does not exceed 48.
- project_
id float - Project ID, default value is 0.
- 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. - security_
groups Sequence[str] - Security group bound to the instance.
- sqlserver_
instance_ strid - ID of the resource.
- 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - subnet_
id str - ID of subnet.
- Mapping[str, str]
- The tags of the SQL Server.
- tgw_
wan_ floatvport - External port number.
- time_
zone str - System time zone, default:
China Standard Time
. - vip str
- IP for private access.
- voucher_
ids Sequence[str] - An array of voucher IDs, currently only one can be used for a single order.
- vpc_
id str - ID of VPC.
- vport float
- Port for private access.
- wait_
switch float - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
- auto
Renew Number - Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
- auto
Voucher Number - Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
- availability
Zone String - Availability zone.
- charge
Type String - Pay type of the SQL Server instance. Available values
PREPAID
,POSTPAID_BY_HOUR
. - create
Time String - Create time of the SQL Server instance.
- dns
Pod StringDomain - Internet address domain name.
- engine
Version 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) and2017
(SQL Server 2017 Enterprise). Default is2008R2
. - ha
Type String - It has been deprecated from version 1.81.136. Instance type.
DUAL
(dual-server high availability),CLUSTER
(cluster). Default isDUAL
. - maintenance
Start StringTime - Start time of the maintenance in one day, format like
HH:mm
. - maintenance
Time NumberSpan - The timespan of maintenance in one day, unit is hour.
- maintenance
Week List<Number>Sets - A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
- memory Number
- Memory size (in GB). Allowed value must be larger than
memory
that data sourcetencentcloud_sqlserver_specinfos
provides. - multi
Zones Boolean - Indicate whether to deploy across availability zones.
- name String
- Name of the SQL Server instance.
- period Number
- Purchase instance period in month. The value does not exceed 48.
- project
Id Number - Project ID, default value is 0.
- ro
Flag 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. - security
Groups List<String> - Security group bound to the instance.
- sqlserver
Instance StringId - ID of the resource.
- 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
andstorage_max
which data sourcetencentcloud_sqlserver_specinfos
provides. - subnet
Id String - ID of subnet.
- Map<String>
- The tags of the SQL Server.
- tgw
Wan NumberVport - External port number.
- time
Zone String - System time zone, default:
China Standard Time
. - vip String
- IP for private access.
- voucher
Ids List<String> - An array of voucher IDs, currently only one can be used for a single order.
- vpc
Id String - ID of VPC.
- vport Number
- Port for private access.
- wait
Switch Number - It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
Import
SQL Server instance can be imported using the id, e.g.
$ pulumi import tencentcloud:index/sqlserverInstance:SqlserverInstance example mssql-3cdq7kx5
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.