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

tencentcloud.getSqlserverInstanceParamRecords

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 instance_param_records

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getSqlserverInstanceParamRecords({
        instanceId: "mssql-qelbzgwf",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_sqlserver_instance_param_records(instance_id="mssql-qelbzgwf")
    
    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.GetSqlserverInstanceParamRecords(ctx, &tencentcloud.GetSqlserverInstanceParamRecordsArgs{
    			InstanceId: "mssql-qelbzgwf",
    		}, 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.GetSqlserverInstanceParamRecords.Invoke(new()
        {
            InstanceId = "mssql-qelbzgwf",
        });
    
    });
    
    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.GetSqlserverInstanceParamRecordsArgs;
    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.getSqlserverInstanceParamRecords(GetSqlserverInstanceParamRecordsArgs.builder()
                .instanceId("mssql-qelbzgwf")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getSqlserverInstanceParamRecords
          arguments:
            instanceId: mssql-qelbzgwf
    

    Using getSqlserverInstanceParamRecords

    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 getSqlserverInstanceParamRecords(args: GetSqlserverInstanceParamRecordsArgs, opts?: InvokeOptions): Promise<GetSqlserverInstanceParamRecordsResult>
    function getSqlserverInstanceParamRecordsOutput(args: GetSqlserverInstanceParamRecordsOutputArgs, opts?: InvokeOptions): Output<GetSqlserverInstanceParamRecordsResult>
    def get_sqlserver_instance_param_records(id: Optional[str] = None,
                                             instance_id: Optional[str] = None,
                                             result_output_file: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetSqlserverInstanceParamRecordsResult
    def get_sqlserver_instance_param_records_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[GetSqlserverInstanceParamRecordsResult]
    func GetSqlserverInstanceParamRecords(ctx *Context, args *GetSqlserverInstanceParamRecordsArgs, opts ...InvokeOption) (*GetSqlserverInstanceParamRecordsResult, error)
    func GetSqlserverInstanceParamRecordsOutput(ctx *Context, args *GetSqlserverInstanceParamRecordsOutputArgs, opts ...InvokeOption) GetSqlserverInstanceParamRecordsResultOutput

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

    public static class GetSqlserverInstanceParamRecords 
    {
        public static Task<GetSqlserverInstanceParamRecordsResult> InvokeAsync(GetSqlserverInstanceParamRecordsArgs args, InvokeOptions? opts = null)
        public static Output<GetSqlserverInstanceParamRecordsResult> Invoke(GetSqlserverInstanceParamRecordsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSqlserverInstanceParamRecordsResult> getSqlserverInstanceParamRecords(GetSqlserverInstanceParamRecordsArgs args, InvokeOptions options)
    public static Output<GetSqlserverInstanceParamRecordsResult> getSqlserverInstanceParamRecords(GetSqlserverInstanceParamRecordsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSqlserverInstanceParamRecords:getSqlserverInstanceParamRecords
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    Id string
    ResultOutputFile string
    Used to save results.
    InstanceId string
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    Id string
    ResultOutputFile string
    Used to save results.
    instanceId String
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    id String
    resultOutputFile String
    Used to save results.
    instanceId string
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    id string
    resultOutputFile string
    Used to save results.
    instance_id str
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    id str
    result_output_file str
    Used to save results.
    instanceId String
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    id String
    resultOutputFile String
    Used to save results.

    getSqlserverInstanceParamRecords Result

    The following output properties are available:

    Id string
    InstanceId string
    Instance ID.
    Items List<GetSqlserverInstanceParamRecordsItem>
    Parameter modification records.
    ResultOutputFile string
    Id string
    InstanceId string
    Instance ID.
    Items []GetSqlserverInstanceParamRecordsItem
    Parameter modification records.
    ResultOutputFile string
    id String
    instanceId String
    Instance ID.
    items List<GetSqlserverInstanceParamRecordsItem>
    Parameter modification records.
    resultOutputFile String
    id string
    instanceId string
    Instance ID.
    items GetSqlserverInstanceParamRecordsItem[]
    Parameter modification records.
    resultOutputFile string
    id str
    instance_id str
    Instance ID.
    items Sequence[GetSqlserverInstanceParamRecordsItem]
    Parameter modification records.
    result_output_file str
    id String
    instanceId String
    Instance ID.
    items List<Property Map>
    Parameter modification records.
    resultOutputFile String

    Supporting Types

    GetSqlserverInstanceParamRecordsItem

    InstanceId string
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    ModifyTime string
    Modification time.
    NewValue string
    Parameter value after modification.
    OldValue string
    Parameter value before modification.
    ParamName string
    Parameter name.
    Status double
    Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
    InstanceId string
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    ModifyTime string
    Modification time.
    NewValue string
    Parameter value after modification.
    OldValue string
    Parameter value before modification.
    ParamName string
    Parameter name.
    Status float64
    Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
    instanceId String
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    modifyTime String
    Modification time.
    newValue String
    Parameter value after modification.
    oldValue String
    Parameter value before modification.
    paramName String
    Parameter name.
    status Double
    Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
    instanceId string
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    modifyTime string
    Modification time.
    newValue string
    Parameter value after modification.
    oldValue string
    Parameter value before modification.
    paramName string
    Parameter name.
    status number
    Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
    instance_id str
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    modify_time str
    Modification time.
    new_value str
    Parameter value after modification.
    old_value str
    Parameter value before modification.
    param_name str
    Parameter name.
    status float
    Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
    instanceId String
    Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter InstanceId of the DescribeDBInstances API.
    modifyTime String
    Modification time.
    newValue String
    Parameter value after modification.
    oldValue String
    Parameter value before modification.
    paramName String
    Parameter name.
    status Number
    Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).

    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