tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getSqlserverInsAttribute
Explore with Pulumi AI
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:
- Instance
Id string - Instance ID.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - Instance ID.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - Instance ID.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - Instance ID.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - Instance ID.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - Instance ID.
- id String
- result
Output StringFile - Used to save results.
getSqlserverInsAttribute Result
The following output properties are available:
- Blocked
Threshold double - Block process threshold in milliseconds.
- Event
Save doubleDays - Retention period for the files of slow SQL, blocking, deadlock, and extended events.
- Id string
- Instance
Id string - Regular
Backup doubleCounts - The number of retained archive backups.
- Regular
Backup stringEnable - Archive backup status. Valid values: enable (enabled), disable (disabled).
- Regular
Backup doubleSave Days - Archive backup retention period: [90-3650] days.
- Regular
Backup stringStart Time - Archive backup start date in YYYY-MM-DD format, which is the current time by default.
- Regular
Backup stringStrategy - Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
- Ssl
Configs List<GetSqlserver Ins Attribute Ssl Config> - SSL encryption.
- Tde
Configs List<GetSqlserver Ins Attribute Tde Config> - TDE Transparent Data Encryption Configuration.
- Result
Output stringFile
- Blocked
Threshold float64 - Block process threshold in milliseconds.
- Event
Save float64Days - Retention period for the files of slow SQL, blocking, deadlock, and extended events.
- Id string
- Instance
Id string - Regular
Backup float64Counts - The number of retained archive backups.
- Regular
Backup stringEnable - Archive backup status. Valid values: enable (enabled), disable (disabled).
- Regular
Backup float64Save Days - Archive backup retention period: [90-3650] days.
- Regular
Backup stringStart Time - Archive backup start date in YYYY-MM-DD format, which is the current time by default.
- Regular
Backup stringStrategy - Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
- Ssl
Configs []GetSqlserver Ins Attribute Ssl Config - SSL encryption.
- Tde
Configs []GetSqlserver Ins Attribute Tde Config - TDE Transparent Data Encryption Configuration.
- Result
Output stringFile
- blocked
Threshold Double - Block process threshold in milliseconds.
- event
Save DoubleDays - Retention period for the files of slow SQL, blocking, deadlock, and extended events.
- id String
- instance
Id String - regular
Backup DoubleCounts - The number of retained archive backups.
- regular
Backup StringEnable - Archive backup status. Valid values: enable (enabled), disable (disabled).
- regular
Backup DoubleSave Days - Archive backup retention period: [90-3650] days.
- regular
Backup StringStart Time - Archive backup start date in YYYY-MM-DD format, which is the current time by default.
- regular
Backup StringStrategy - Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
- ssl
Configs List<GetSqlserver Ins Attribute Ssl Config> - SSL encryption.
- tde
Configs List<GetSqlserver Ins Attribute Tde Config> - TDE Transparent Data Encryption Configuration.
- result
Output StringFile
- blocked
Threshold number - Block process threshold in milliseconds.
- event
Save numberDays - Retention period for the files of slow SQL, blocking, deadlock, and extended events.
- id string
- instance
Id string - regular
Backup numberCounts - The number of retained archive backups.
- regular
Backup stringEnable - Archive backup status. Valid values: enable (enabled), disable (disabled).
- regular
Backup numberSave Days - Archive backup retention period: [90-3650] days.
- regular
Backup stringStart Time - Archive backup start date in YYYY-MM-DD format, which is the current time by default.
- regular
Backup stringStrategy - Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
- ssl
Configs GetSqlserver Ins Attribute Ssl Config[] - SSL encryption.
- tde
Configs GetSqlserver Ins Attribute Tde Config[] - TDE Transparent Data Encryption Configuration.
- result
Output stringFile
- blocked_
threshold float - Block process threshold in milliseconds.
- event_
save_ floatdays - Retention period for the files of slow SQL, blocking, deadlock, and extended events.
- id str
- instance_
id str - regular_
backup_ floatcounts - The number of retained archive backups.
- regular_
backup_ strenable - Archive backup status. Valid values: enable (enabled), disable (disabled).
- regular_
backup_ floatsave_ days - Archive backup retention period: [90-3650] days.
- regular_
backup_ strstart_ time - Archive backup start date in YYYY-MM-DD format, which is the current time by default.
- regular_
backup_ strstrategy - Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
- ssl_
configs Sequence[GetSqlserver Ins Attribute Ssl Config] - SSL encryption.
- tde_
configs Sequence[GetSqlserver Ins Attribute Tde Config] - TDE Transparent Data Encryption Configuration.
- result_
output_ strfile
- blocked
Threshold Number - Block process threshold in milliseconds.
- event
Save NumberDays - Retention period for the files of slow SQL, blocking, deadlock, and extended events.
- id String
- instance
Id String - regular
Backup NumberCounts - The number of retained archive backups.
- regular
Backup StringEnable - Archive backup status. Valid values: enable (enabled), disable (disabled).
- regular
Backup NumberSave Days - Archive backup retention period: [90-3650] days.
- regular
Backup StringStart Time - Archive backup start date in YYYY-MM-DD format, which is the current time by default.
- regular
Backup StringStrategy - Archive backup policy. Valid values: years (yearly); quarters (quarterly);months` (monthly).
- ssl
Configs List<Property Map> - SSL encryption.
- tde
Configs List<Property Map> - TDE Transparent Data Encryption Configuration.
- result
Output StringFile
Supporting Types
GetSqlserverInsAttributeSslConfig
- Encryption string
- TDE encryption, 'enable' - enabled, 'disable' - not enabled.
- Ssl
Validity double - SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
- Ssl
Validity stringPeriod - 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.
- Ssl
Validity float64 - SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
- Ssl
Validity stringPeriod - 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.
- ssl
Validity Double - SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
- ssl
Validity StringPeriod - 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.
- ssl
Validity number - SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
- ssl
Validity stringPeriod - 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_ strperiod - 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.
- ssl
Validity Number - SSL certificate validity, 0-invalid, 1-valid Note: This field may return null, indicating that no valid value can be obtained.
- ssl
Validity StringPeriod - 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
- Certificate
Attribution 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.
- Quote
Uin 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 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.
- Quote
Uin 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 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.
- quote
Uin 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 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.
- quote
Uin 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.
- certificate
Attribution 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.
- quote
Uin 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack