tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getSqlserverInstanceParamRecords
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 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:
- Instance
Id 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
- Result
Output stringFile - Used to save results.
- Instance
Id 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
- Result
Output stringFile - Used to save results.
- instance
Id 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
- result
Output StringFile - Used to save results.
- instance
Id 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
- result
Output stringFile - 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_ strfile - Used to save results.
- instance
Id 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
- result
Output StringFile - Used to save results.
getSqlserverInstanceParamRecords Result
The following output properties are available:
- Id string
- Instance
Id string - Instance ID.
- Items
List<Get
Sqlserver Instance Param Records Item> - Parameter modification records.
- Result
Output stringFile
- Id string
- Instance
Id string - Instance ID.
- Items
[]Get
Sqlserver Instance Param Records Item - Parameter modification records.
- Result
Output stringFile
- id String
- instance
Id String - Instance ID.
- items
List<Get
Sqlserver Instance Param Records Item> - Parameter modification records.
- result
Output StringFile
- id string
- instance
Id string - Instance ID.
- items
Get
Sqlserver Instance Param Records Item[] - Parameter modification records.
- result
Output stringFile
- id str
- instance_
id str - Instance ID.
- items
Sequence[Get
Sqlserver Instance Param Records Item] - Parameter modification records.
- result_
output_ strfile
- id String
- instance
Id String - Instance ID.
- items List<Property Map>
- Parameter modification records.
- result
Output StringFile
Supporting Types
GetSqlserverInstanceParamRecordsItem
- Instance
Id 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.
- Modify
Time string - Modification time.
- New
Value string - Parameter value after modification.
- Old
Value string - Parameter value before modification.
- Param
Name string - Parameter name.
- Status double
- Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
- Instance
Id 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.
- Modify
Time string - Modification time.
- New
Value string - Parameter value after modification.
- Old
Value string - Parameter value before modification.
- Param
Name string - Parameter name.
- Status float64
- Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
- instance
Id 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.
- modify
Time String - Modification time.
- new
Value String - Parameter value after modification.
- old
Value String - Parameter value before modification.
- param
Name String - Parameter name.
- status Double
- Parameter modification status. Valid values: 1 (initializing and waiting for modification), 2 (modification succeed), 3 (modification failed), 4 (modifying).
- instance
Id 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.
- modify
Time string - Modification time.
- new
Value string - Parameter value after modification.
- old
Value string - Parameter value before modification.
- param
Name 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).
- instance
Id 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.
- modify
Time String - Modification time.
- new
Value String - Parameter value after modification.
- old
Value String - Parameter value before modification.
- param
Name 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack