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

tencentcloud.getSqlserverInsAttribute

Explore with Pulumi AI

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

    Use this data source to query detailed information of sqlserver_ins_attribute

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getSqlserverInsAttribute({
        instanceId: "mssql-gyg9xycl",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_sqlserver_ins_attribute(instance_id="mssql-gyg9xycl")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetSqlserverInsAttribute(ctx, &tencentcloud.GetSqlserverInsAttributeArgs{
    			InstanceId: "mssql-gyg9xycl",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetSqlserverInsAttribute.Invoke(new()
        {
            InstanceId = "mssql-gyg9xycl",
        });
    
    });
    
    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.GetSqlserverInsAttributeArgs;
    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 example = TencentcloudFunctions.getSqlserverInsAttribute(GetSqlserverInsAttributeArgs.builder()
                .instanceId("mssql-gyg9xycl")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getSqlserverInsAttribute
          arguments:
            instanceId: mssql-gyg9xycl
    

    Using getSqlserverInsAttribute

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

    function getSqlserverInsAttribute(args: GetSqlserverInsAttributeArgs, opts?: InvokeOptions): Promise<GetSqlserverInsAttributeResult>
    function getSqlserverInsAttributeOutput(args: GetSqlserverInsAttributeOutputArgs, opts?: InvokeOptions): Output<GetSqlserverInsAttributeResult>
    def get_sqlserver_ins_attribute(id: Optional[str] = None,
                                    instance_id: Optional[str] = None,
                                    result_output_file: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSqlserverInsAttributeResult
    def get_sqlserver_ins_attribute_output(id: Optional[pulumi.Input[str]] = None,
                                    instance_id: Optional[pulumi.Input[str]] = None,
                                    result_output_file: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSqlserverInsAttributeResult]
    func GetSqlserverInsAttribute(ctx *Context, args *GetSqlserverInsAttributeArgs, opts ...InvokeOption) (*GetSqlserverInsAttributeResult, error)
    func GetSqlserverInsAttributeOutput(ctx *Context, args *GetSqlserverInsAttributeOutputArgs, opts ...InvokeOption) GetSqlserverInsAttributeResultOutput

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

    public static class GetSqlserverInsAttribute 
    {
        public static Task<GetSqlserverInsAttributeResult> InvokeAsync(GetSqlserverInsAttributeArgs args, InvokeOptions? opts = null)
        public static Output<GetSqlserverInsAttributeResult> Invoke(GetSqlserverInsAttributeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSqlserverInsAttributeResult> getSqlserverInsAttribute(GetSqlserverInsAttributeArgs args, InvokeOptions options)
    public static Output<GetSqlserverInsAttributeResult> getSqlserverInsAttribute(GetSqlserverInsAttributeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSqlserverInsAttribute:getSqlserverInsAttribute
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Instance ID.
    Id string
    ResultOutputFile string
    Used to save results.
    InstanceId string
    Instance ID.
    Id string
    ResultOutputFile string
    Used to save results.
    instanceId String
    Instance ID.
    id String
    resultOutputFile String
    Used to save results.
    instanceId string
    Instance ID.
    id string
    resultOutputFile string
    Used to save results.
    instance_id str
    Instance ID.
    id str
    result_output_file str
    Used to save results.
    instanceId String
    Instance ID.
    id String
    resultOutputFile String
    Used to save results.

    getSqlserverInsAttribute Result

    The following output properties are available:

    BlockedThreshold double
    Block process threshold in milliseconds.
    EventSaveDays double
    Retention period for the files of slow SQL, blocking, deadlock, and extended events.
    Id string
    InstanceId string
    RegularBackupCounts double
    The number of retained archive backups.
    RegularBackupEnable string
    Archive backup status. Valid values: enable (enabled), disable (disabled).
    RegularBackupSaveDays double
    Archive backup retention period: [90-3650] days.
    RegularBackupStartTime string
    Archive backup start date in YYYY-MM-DD format, which is the current time by default.
    RegularBackupStrategy string
    Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
    SslConfigs List<GetSqlserverInsAttributeSslConfig>
    SSL encryption.
    TdeConfigs List<GetSqlserverInsAttributeTdeConfig>
    TDE Transparent Data Encryption Configuration.
    ResultOutputFile string
    BlockedThreshold float64
    Block process threshold in milliseconds.
    EventSaveDays float64
    Retention period for the files of slow SQL, blocking, deadlock, and extended events.
    Id string
    InstanceId string
    RegularBackupCounts float64
    The number of retained archive backups.
    RegularBackupEnable string
    Archive backup status. Valid values: enable (enabled), disable (disabled).
    RegularBackupSaveDays float64
    Archive backup retention period: [90-3650] days.
    RegularBackupStartTime string
    Archive backup start date in YYYY-MM-DD format, which is the current time by default.
    RegularBackupStrategy string
    Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
    SslConfigs []GetSqlserverInsAttributeSslConfig
    SSL encryption.
    TdeConfigs []GetSqlserverInsAttributeTdeConfig
    TDE Transparent Data Encryption Configuration.
    ResultOutputFile string
    blockedThreshold Double
    Block process threshold in milliseconds.
    eventSaveDays Double
    Retention period for the files of slow SQL, blocking, deadlock, and extended events.
    id String
    instanceId String
    regularBackupCounts Double
    The number of retained archive backups.
    regularBackupEnable String
    Archive backup status. Valid values: enable (enabled), disable (disabled).
    regularBackupSaveDays Double
    Archive backup retention period: [90-3650] days.
    regularBackupStartTime String
    Archive backup start date in YYYY-MM-DD format, which is the current time by default.
    regularBackupStrategy String
    Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
    sslConfigs List<GetSqlserverInsAttributeSslConfig>
    SSL encryption.
    tdeConfigs List<GetSqlserverInsAttributeTdeConfig>
    TDE Transparent Data Encryption Configuration.
    resultOutputFile String
    blockedThreshold number
    Block process threshold in milliseconds.
    eventSaveDays number
    Retention period for the files of slow SQL, blocking, deadlock, and extended events.
    id string
    instanceId string
    regularBackupCounts number
    The number of retained archive backups.
    regularBackupEnable string
    Archive backup status. Valid values: enable (enabled), disable (disabled).
    regularBackupSaveDays number
    Archive backup retention period: [90-3650] days.
    regularBackupStartTime string
    Archive backup start date in YYYY-MM-DD format, which is the current time by default.
    regularBackupStrategy string
    Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
    sslConfigs GetSqlserverInsAttributeSslConfig[]
    SSL encryption.
    tdeConfigs GetSqlserverInsAttributeTdeConfig[]
    TDE Transparent Data Encryption Configuration.
    resultOutputFile string
    blocked_threshold float
    Block process threshold in milliseconds.
    event_save_days float
    Retention period for the files of slow SQL, blocking, deadlock, and extended events.
    id str
    instance_id str
    regular_backup_counts float
    The number of retained archive backups.
    regular_backup_enable str
    Archive backup status. Valid values: enable (enabled), disable (disabled).
    regular_backup_save_days float
    Archive backup retention period: [90-3650] days.
    regular_backup_start_time str
    Archive backup start date in YYYY-MM-DD format, which is the current time by default.
    regular_backup_strategy str
    Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
    ssl_configs Sequence[GetSqlserverInsAttributeSslConfig]
    SSL encryption.
    tde_configs Sequence[GetSqlserverInsAttributeTdeConfig]
    TDE Transparent Data Encryption Configuration.
    result_output_file str
    blockedThreshold Number
    Block process threshold in milliseconds.
    eventSaveDays Number
    Retention period for the files of slow SQL, blocking, deadlock, and extended events.
    id String
    instanceId String
    regularBackupCounts Number
    The number of retained archive backups.
    regularBackupEnable String
    Archive backup status. Valid values: enable (enabled), disable (disabled).
    regularBackupSaveDays Number
    Archive backup retention period: [90-3650] days.
    regularBackupStartTime String
    Archive backup start date in YYYY-MM-DD format, which is the current time by default.
    regularBackupStrategy String
    Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
    sslConfigs List<Property Map>
    SSL encryption.
    tdeConfigs List<Property Map>
    TDE Transparent Data Encryption Configuration.
    resultOutputFile String

    Supporting Types

    GetSqlserverInsAttributeSslConfig

    Encryption string
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    SslValidity double
    SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
    SslValidityPeriod string
    SSL certificate validity period, time format YYYY-MM-DD HH:MM:SS Note: This field may return null, indicating that no valid value can be obtained.
    Encryption string
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    SslValidity float64
    SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
    SslValidityPeriod string
    SSL certificate validity period, time format YYYY-MM-DD HH:MM:SS Note: This field may return null, indicating that no valid value can be obtained.
    encryption String
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    sslValidity Double
    SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
    sslValidityPeriod String
    SSL certificate validity period, time format YYYY-MM-DD HH:MM:SS Note: This field may return null, indicating that no valid value can be obtained.
    encryption string
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    sslValidity number
    SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
    sslValidityPeriod string
    SSL certificate validity period, time format YYYY-MM-DD HH:MM:SS Note: This field may return null, indicating that no valid value can be obtained.
    encryption str
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    ssl_validity float
    SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
    ssl_validity_period str
    SSL certificate validity period, time format YYYY-MM-DD HH:MM:SS Note: This field may return null, indicating that no valid value can be obtained.
    encryption String
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    sslValidity Number
    SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
    sslValidityPeriod String
    SSL certificate validity period, time format YYYY-MM-DD HH:MM:SS Note: This field may return null, indicating that no valid value can be obtained.

    GetSqlserverInsAttributeTdeConfig

    CertificateAttribution string
    Certificate ownership. Self - indicates using the account's own certificate, others - indicates referencing certificates from other accounts, and none - indicates no certificate.
    Encryption string
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    QuoteUin string
    Other primary account IDs referenced when activating TDE encryption Note: This field may return null, indicating that a valid value cannot be obtained.
    CertificateAttribution string
    Certificate ownership. Self - indicates using the account's own certificate, others - indicates referencing certificates from other accounts, and none - indicates no certificate.
    Encryption string
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    QuoteUin string
    Other primary account IDs referenced when activating TDE encryption Note: This field may return null, indicating that a valid value cannot be obtained.
    certificateAttribution String
    Certificate ownership. Self - indicates using the account's own certificate, others - indicates referencing certificates from other accounts, and none - indicates no certificate.
    encryption String
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    quoteUin String
    Other primary account IDs referenced when activating TDE encryption Note: This field may return null, indicating that a valid value cannot be obtained.
    certificateAttribution string
    Certificate ownership. Self - indicates using the account's own certificate, others - indicates referencing certificates from other accounts, and none - indicates no certificate.
    encryption string
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    quoteUin string
    Other primary account IDs referenced when activating TDE encryption Note: This field may return null, indicating that a valid value cannot be obtained.
    certificate_attribution str
    Certificate ownership. Self - indicates using the account's own certificate, others - indicates referencing certificates from other accounts, and none - indicates no certificate.
    encryption str
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    quote_uin str
    Other primary account IDs referenced when activating TDE encryption Note: This field may return null, indicating that a valid value cannot be obtained.
    certificateAttribution String
    Certificate ownership. Self - indicates using the account's own certificate, others - indicates referencing certificates from other accounts, and none - indicates no certificate.
    encryption String
    TDE encryption, 'enable' - enabled, 'disable' - not enabled.
    quoteUin String
    Other primary account IDs referenced when activating TDE encryption Note: This field may return null, indicating that a valid value cannot be obtained.

    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