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

tencentcloud.SqlserverBusinessIntelligenceInstance

Explore with Pulumi AI

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

    Provides a resource to create a sqlserver business_intelligence_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 securityGroup = new tencentcloud.SecurityGroup("securityGroup", {description: "desc."});
    const example = new tencentcloud.SqlserverBusinessIntelligenceInstance("example", {
        zone: zones.then(zones => zones.zones?.[4]?.name),
        memory: 4,
        storage: 100,
        cpu: 2,
        machineType: "CLOUD_PREMIUM",
        projectId: 0,
        subnetId: subnet.subnetId,
        vpcId: vpc.vpcId,
        dbVersion: "201603",
        securityGroupLists: [securityGroup.securityGroupId],
        weeklies: [
            1,
            2,
            3,
            4,
            5,
            6,
            7,
        ],
        startTime: "00:00",
        span: 6,
        instanceName: "tf_example",
    });
    
    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)
    security_group = tencentcloud.SecurityGroup("securityGroup", description="desc.")
    example = tencentcloud.SqlserverBusinessIntelligenceInstance("example",
        zone=zones.zones[4].name,
        memory=4,
        storage=100,
        cpu=2,
        machine_type="CLOUD_PREMIUM",
        project_id=0,
        subnet_id=subnet.subnet_id,
        vpc_id=vpc.vpc_id,
        db_version="201603",
        security_group_lists=[security_group.security_group_id],
        weeklies=[
            1,
            2,
            3,
            4,
            5,
            6,
            7,
        ],
        start_time="00:00",
        span=6,
        instance_name="tf_example")
    
    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
    		}
    		securityGroup, err := tencentcloud.NewSecurityGroup(ctx, "securityGroup", &tencentcloud.SecurityGroupArgs{
    			Description: pulumi.String("desc."),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewSqlserverBusinessIntelligenceInstance(ctx, "example", &tencentcloud.SqlserverBusinessIntelligenceInstanceArgs{
    			Zone:        pulumi.String(zones.Zones[4].Name),
    			Memory:      pulumi.Float64(4),
    			Storage:     pulumi.Float64(100),
    			Cpu:         pulumi.Float64(2),
    			MachineType: pulumi.String("CLOUD_PREMIUM"),
    			ProjectId:   pulumi.Float64(0),
    			SubnetId:    subnet.SubnetId,
    			VpcId:       vpc.VpcId,
    			DbVersion:   pulumi.String("201603"),
    			SecurityGroupLists: pulumi.StringArray{
    				securityGroup.SecurityGroupId,
    			},
    			Weeklies: pulumi.Float64Array{
    				pulumi.Float64(1),
    				pulumi.Float64(2),
    				pulumi.Float64(3),
    				pulumi.Float64(4),
    				pulumi.Float64(5),
    				pulumi.Float64(6),
    				pulumi.Float64(7),
    			},
    			StartTime:    pulumi.String("00:00"),
    			Span:         pulumi.Float64(6),
    			InstanceName: pulumi.String("tf_example"),
    		})
    		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 securityGroup = new Tencentcloud.SecurityGroup("securityGroup", new()
        {
            Description = "desc.",
        });
    
        var example = new Tencentcloud.SqlserverBusinessIntelligenceInstance("example", new()
        {
            Zone = zones.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[4]?.Name),
            Memory = 4,
            Storage = 100,
            Cpu = 2,
            MachineType = "CLOUD_PREMIUM",
            ProjectId = 0,
            SubnetId = subnet.SubnetId,
            VpcId = vpc.VpcId,
            DbVersion = "201603",
            SecurityGroupLists = new[]
            {
                securityGroup.SecurityGroupId,
            },
            Weeklies = new[]
            {
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            },
            StartTime = "00:00",
            Span = 6,
            InstanceName = "tf_example",
        });
    
    });
    
    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.SecurityGroup;
    import com.pulumi.tencentcloud.SecurityGroupArgs;
    import com.pulumi.tencentcloud.SqlserverBusinessIntelligenceInstance;
    import com.pulumi.tencentcloud.SqlserverBusinessIntelligenceInstanceArgs;
    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 securityGroup = new SecurityGroup("securityGroup", SecurityGroupArgs.builder()
                .description("desc.")
                .build());
    
            var example = new SqlserverBusinessIntelligenceInstance("example", SqlserverBusinessIntelligenceInstanceArgs.builder()
                .zone(zones.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[4].name()))
                .memory(4)
                .storage(100)
                .cpu(2)
                .machineType("CLOUD_PREMIUM")
                .projectId(0)
                .subnetId(subnet.subnetId())
                .vpcId(vpc.vpcId())
                .dbVersion("201603")
                .securityGroupLists(securityGroup.securityGroupId())
                .weeklies(            
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7)
                .startTime("00:00")
                .span(6)
                .instanceName("tf_example")
                .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
      securityGroup:
        type: tencentcloud:SecurityGroup
        properties:
          description: desc.
      example:
        type: tencentcloud:SqlserverBusinessIntelligenceInstance
        properties:
          zone: ${zones.zones[4].name}
          memory: 4
          storage: 100
          cpu: 2
          machineType: CLOUD_PREMIUM
          projectId: 0
          subnetId: ${subnet.subnetId}
          vpcId: ${vpc.vpcId}
          dbVersion: '201603'
          securityGroupLists:
            - ${securityGroup.securityGroupId}
          weeklies:
            - 1
            - 2
            - 3
            - 4
            - 5
            - 6
            - 7
          startTime: 00:00
          span: 6
          instanceName: tf_example
    variables:
      zones:
        fn::invoke:
          function: tencentcloud:getAvailabilityZonesByProduct
          arguments:
            product: sqlserver
    

    Create SqlserverBusinessIntelligenceInstance Resource

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

    Constructor syntax

    new SqlserverBusinessIntelligenceInstance(name: string, args: SqlserverBusinessIntelligenceInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def SqlserverBusinessIntelligenceInstance(resource_name: str,
                                              args: SqlserverBusinessIntelligenceInstanceArgs,
                                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def SqlserverBusinessIntelligenceInstance(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              cpu: Optional[float] = None,
                                              zone: Optional[str] = None,
                                              instance_name: Optional[str] = None,
                                              machine_type: Optional[str] = None,
                                              memory: Optional[float] = None,
                                              storage: Optional[float] = None,
                                              span: Optional[float] = None,
                                              security_group_lists: Optional[Sequence[str]] = None,
                                              resource_tags: Optional[Sequence[SqlserverBusinessIntelligenceInstanceResourceTagArgs]] = None,
                                              sqlserver_business_intelligence_instance_id: Optional[str] = None,
                                              start_time: Optional[str] = None,
                                              project_id: Optional[float] = None,
                                              subnet_id: Optional[str] = None,
                                              vpc_id: Optional[str] = None,
                                              weeklies: Optional[Sequence[float]] = None,
                                              db_version: Optional[str] = None)
    func NewSqlserverBusinessIntelligenceInstance(ctx *Context, name string, args SqlserverBusinessIntelligenceInstanceArgs, opts ...ResourceOption) (*SqlserverBusinessIntelligenceInstance, error)
    public SqlserverBusinessIntelligenceInstance(string name, SqlserverBusinessIntelligenceInstanceArgs args, CustomResourceOptions? opts = null)
    public SqlserverBusinessIntelligenceInstance(String name, SqlserverBusinessIntelligenceInstanceArgs args)
    public SqlserverBusinessIntelligenceInstance(String name, SqlserverBusinessIntelligenceInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:SqlserverBusinessIntelligenceInstance
    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 SqlserverBusinessIntelligenceInstanceArgs
    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 SqlserverBusinessIntelligenceInstanceArgs
    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 SqlserverBusinessIntelligenceInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SqlserverBusinessIntelligenceInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SqlserverBusinessIntelligenceInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SqlserverBusinessIntelligenceInstance 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 SqlserverBusinessIntelligenceInstance resource accepts the following input properties:

    Cpu double
    The number of CPU cores of the instance you want to purchase.
    InstanceName string
    Instance Name.
    MachineType string
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    Memory double
    Instance memory size in GB.
    Storage double
    Instance disk size in GB.
    Zone string
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    DbVersion string
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    ProjectId double
    Project ID.
    ResourceTags List<SqlserverBusinessIntelligenceInstanceResourceTag>
    Tags associated with the instances to be created.
    SecurityGroupLists List<string>
    Security group list, which contains security group IDs in the format of sg-xxx.
    Span double
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    SqlserverBusinessIntelligenceInstanceId string
    ID of the resource.
    StartTime string
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    SubnetId string
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    VpcId string
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    Weeklies List<double>
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    Cpu float64
    The number of CPU cores of the instance you want to purchase.
    InstanceName string
    Instance Name.
    MachineType string
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    Memory float64
    Instance memory size in GB.
    Storage float64
    Instance disk size in GB.
    Zone string
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    DbVersion string
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    ProjectId float64
    Project ID.
    ResourceTags []SqlserverBusinessIntelligenceInstanceResourceTagArgs
    Tags associated with the instances to be created.
    SecurityGroupLists []string
    Security group list, which contains security group IDs in the format of sg-xxx.
    Span float64
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    SqlserverBusinessIntelligenceInstanceId string
    ID of the resource.
    StartTime string
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    SubnetId string
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    VpcId string
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    Weeklies []float64
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    cpu Double
    The number of CPU cores of the instance you want to purchase.
    instanceName String
    Instance Name.
    machineType String
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory Double
    Instance memory size in GB.
    storage Double
    Instance disk size in GB.
    zone String
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    dbVersion String
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    projectId Double
    Project ID.
    resourceTags List<SqlserverBusinessIntelligenceInstanceResourceTag>
    Tags associated with the instances to be created.
    securityGroupLists List<String>
    Security group list, which contains security group IDs in the format of sg-xxx.
    span Double
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserverBusinessIntelligenceInstanceId String
    ID of the resource.
    startTime String
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    subnetId String
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpcId String
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies List<Double>
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    cpu number
    The number of CPU cores of the instance you want to purchase.
    instanceName string
    Instance Name.
    machineType string
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory number
    Instance memory size in GB.
    storage number
    Instance disk size in GB.
    zone string
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    dbVersion string
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    projectId number
    Project ID.
    resourceTags SqlserverBusinessIntelligenceInstanceResourceTag[]
    Tags associated with the instances to be created.
    securityGroupLists string[]
    Security group list, which contains security group IDs in the format of sg-xxx.
    span number
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserverBusinessIntelligenceInstanceId string
    ID of the resource.
    startTime string
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    subnetId string
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpcId string
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies number[]
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    cpu float
    The number of CPU cores of the instance you want to purchase.
    instance_name str
    Instance Name.
    machine_type str
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory float
    Instance memory size in GB.
    storage float
    Instance disk size in GB.
    zone str
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    db_version str
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    project_id float
    Project ID.
    resource_tags Sequence[SqlserverBusinessIntelligenceInstanceResourceTagArgs]
    Tags associated with the instances to be created.
    security_group_lists Sequence[str]
    Security group list, which contains security group IDs in the format of sg-xxx.
    span float
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserver_business_intelligence_instance_id str
    ID of the resource.
    start_time str
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    subnet_id str
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpc_id str
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies Sequence[float]
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    cpu Number
    The number of CPU cores of the instance you want to purchase.
    instanceName String
    Instance Name.
    machineType String
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory Number
    Instance memory size in GB.
    storage Number
    Instance disk size in GB.
    zone String
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    dbVersion String
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    projectId Number
    Project ID.
    resourceTags List<Property Map>
    Tags associated with the instances to be created.
    securityGroupLists List<String>
    Security group list, which contains security group IDs in the format of sg-xxx.
    span Number
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserverBusinessIntelligenceInstanceId String
    ID of the resource.
    startTime String
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    subnetId String
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpcId String
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies List<Number>
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SqlserverBusinessIntelligenceInstance 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 SqlserverBusinessIntelligenceInstance Resource

    Get an existing SqlserverBusinessIntelligenceInstance 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?: SqlserverBusinessIntelligenceInstanceState, opts?: CustomResourceOptions): SqlserverBusinessIntelligenceInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cpu: Optional[float] = None,
            db_version: Optional[str] = None,
            instance_name: Optional[str] = None,
            machine_type: Optional[str] = None,
            memory: Optional[float] = None,
            project_id: Optional[float] = None,
            resource_tags: Optional[Sequence[SqlserverBusinessIntelligenceInstanceResourceTagArgs]] = None,
            security_group_lists: Optional[Sequence[str]] = None,
            span: Optional[float] = None,
            sqlserver_business_intelligence_instance_id: Optional[str] = None,
            start_time: Optional[str] = None,
            storage: Optional[float] = None,
            subnet_id: Optional[str] = None,
            vpc_id: Optional[str] = None,
            weeklies: Optional[Sequence[float]] = None,
            zone: Optional[str] = None) -> SqlserverBusinessIntelligenceInstance
    func GetSqlserverBusinessIntelligenceInstance(ctx *Context, name string, id IDInput, state *SqlserverBusinessIntelligenceInstanceState, opts ...ResourceOption) (*SqlserverBusinessIntelligenceInstance, error)
    public static SqlserverBusinessIntelligenceInstance Get(string name, Input<string> id, SqlserverBusinessIntelligenceInstanceState? state, CustomResourceOptions? opts = null)
    public static SqlserverBusinessIntelligenceInstance get(String name, Output<String> id, SqlserverBusinessIntelligenceInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:SqlserverBusinessIntelligenceInstance    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cpu double
    The number of CPU cores of the instance you want to purchase.
    DbVersion string
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    InstanceName string
    Instance Name.
    MachineType string
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    Memory double
    Instance memory size in GB.
    ProjectId double
    Project ID.
    ResourceTags List<SqlserverBusinessIntelligenceInstanceResourceTag>
    Tags associated with the instances to be created.
    SecurityGroupLists List<string>
    Security group list, which contains security group IDs in the format of sg-xxx.
    Span double
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    SqlserverBusinessIntelligenceInstanceId string
    ID of the resource.
    StartTime string
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    Storage double
    Instance disk size in GB.
    SubnetId string
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    VpcId string
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    Weeklies List<double>
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    Zone string
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    Cpu float64
    The number of CPU cores of the instance you want to purchase.
    DbVersion string
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    InstanceName string
    Instance Name.
    MachineType string
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    Memory float64
    Instance memory size in GB.
    ProjectId float64
    Project ID.
    ResourceTags []SqlserverBusinessIntelligenceInstanceResourceTagArgs
    Tags associated with the instances to be created.
    SecurityGroupLists []string
    Security group list, which contains security group IDs in the format of sg-xxx.
    Span float64
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    SqlserverBusinessIntelligenceInstanceId string
    ID of the resource.
    StartTime string
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    Storage float64
    Instance disk size in GB.
    SubnetId string
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    VpcId string
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    Weeklies []float64
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    Zone string
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    cpu Double
    The number of CPU cores of the instance you want to purchase.
    dbVersion String
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    instanceName String
    Instance Name.
    machineType String
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory Double
    Instance memory size in GB.
    projectId Double
    Project ID.
    resourceTags List<SqlserverBusinessIntelligenceInstanceResourceTag>
    Tags associated with the instances to be created.
    securityGroupLists List<String>
    Security group list, which contains security group IDs in the format of sg-xxx.
    span Double
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserverBusinessIntelligenceInstanceId String
    ID of the resource.
    startTime String
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    storage Double
    Instance disk size in GB.
    subnetId String
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpcId String
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies List<Double>
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    zone String
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    cpu number
    The number of CPU cores of the instance you want to purchase.
    dbVersion string
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    instanceName string
    Instance Name.
    machineType string
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory number
    Instance memory size in GB.
    projectId number
    Project ID.
    resourceTags SqlserverBusinessIntelligenceInstanceResourceTag[]
    Tags associated with the instances to be created.
    securityGroupLists string[]
    Security group list, which contains security group IDs in the format of sg-xxx.
    span number
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserverBusinessIntelligenceInstanceId string
    ID of the resource.
    startTime string
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    storage number
    Instance disk size in GB.
    subnetId string
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpcId string
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies number[]
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    zone string
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    cpu float
    The number of CPU cores of the instance you want to purchase.
    db_version str
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    instance_name str
    Instance Name.
    machine_type str
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory float
    Instance memory size in GB.
    project_id float
    Project ID.
    resource_tags Sequence[SqlserverBusinessIntelligenceInstanceResourceTagArgs]
    Tags associated with the instances to be created.
    security_group_lists Sequence[str]
    Security group list, which contains security group IDs in the format of sg-xxx.
    span float
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserver_business_intelligence_instance_id str
    ID of the resource.
    start_time str
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    storage float
    Instance disk size in GB.
    subnet_id str
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpc_id str
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies Sequence[float]
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    zone str
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
    cpu Number
    The number of CPU cores of the instance you want to purchase.
    dbVersion String
    Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
    instanceName String
    Instance Name.
    machineType String
    The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
    memory Number
    Instance memory size in GB.
    projectId Number
    Project ID.
    resourceTags List<Property Map>
    Tags associated with the instances to be created.
    securityGroupLists List<String>
    Security group list, which contains security group IDs in the format of sg-xxx.
    span Number
    Configuration of the maintenance window, which specifies the maintenance duration in hours.
    sqlserverBusinessIntelligenceInstanceId String
    ID of the resource.
    startTime String
    Configuration of the maintenance window, which specifies the start time of daily maintenance.
    storage Number
    Instance disk size in GB.
    subnetId String
    VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
    vpcId String
    VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
    weeklies List<Number>
    Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
    zone String
    Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.

    Supporting Types

    SqlserverBusinessIntelligenceInstanceResourceTag, SqlserverBusinessIntelligenceInstanceResourceTagArgs

    TagKey string
    Tag key.
    TagValue string
    Tag value.
    TagKey string
    Tag key.
    TagValue string
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.
    tagKey string
    Tag key.
    tagValue string
    Tag value.
    tag_key str
    Tag key.
    tag_value str
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.

    Import

    sqlserver business_intelligence_instance can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/sqlserverBusinessIntelligenceInstance:SqlserverBusinessIntelligenceInstance example mssqlbi-fo2dwujt
    

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack