tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCynosdbClusterParamLogs
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 cynosdb cluster_param_logs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const clusterParamLogs = tencentcloud.getCynosdbClusterParamLogs({
clusterId: "cynosdbmysql-bws8h88b",
instanceIds: ["cynosdbmysql-ins-afqx1hy0"],
orderBy: "CreateTime",
orderByType: "DESC",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cluster_param_logs = tencentcloud.get_cynosdb_cluster_param_logs(cluster_id="cynosdbmysql-bws8h88b",
instance_ids=["cynosdbmysql-ins-afqx1hy0"],
order_by="CreateTime",
order_by_type="DESC")
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.GetCynosdbClusterParamLogs(ctx, &tencentcloud.GetCynosdbClusterParamLogsArgs{
ClusterId: "cynosdbmysql-bws8h88b",
InstanceIds: []string{
"cynosdbmysql-ins-afqx1hy0",
},
OrderBy: pulumi.StringRef("CreateTime"),
OrderByType: pulumi.StringRef("DESC"),
}, 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 clusterParamLogs = Tencentcloud.GetCynosdbClusterParamLogs.Invoke(new()
{
ClusterId = "cynosdbmysql-bws8h88b",
InstanceIds = new[]
{
"cynosdbmysql-ins-afqx1hy0",
},
OrderBy = "CreateTime",
OrderByType = "DESC",
});
});
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.GetCynosdbClusterParamLogsArgs;
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 clusterParamLogs = TencentcloudFunctions.getCynosdbClusterParamLogs(GetCynosdbClusterParamLogsArgs.builder()
.clusterId("cynosdbmysql-bws8h88b")
.instanceIds("cynosdbmysql-ins-afqx1hy0")
.orderBy("CreateTime")
.orderByType("DESC")
.build());
}
}
variables:
clusterParamLogs:
fn::invoke:
function: tencentcloud:getCynosdbClusterParamLogs
arguments:
clusterId: cynosdbmysql-bws8h88b
instanceIds:
- cynosdbmysql-ins-afqx1hy0
orderBy: CreateTime
orderByType: DESC
Using getCynosdbClusterParamLogs
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 getCynosdbClusterParamLogs(args: GetCynosdbClusterParamLogsArgs, opts?: InvokeOptions): Promise<GetCynosdbClusterParamLogsResult>
function getCynosdbClusterParamLogsOutput(args: GetCynosdbClusterParamLogsOutputArgs, opts?: InvokeOptions): Output<GetCynosdbClusterParamLogsResult>
def get_cynosdb_cluster_param_logs(cluster_id: Optional[str] = None,
id: Optional[str] = None,
instance_ids: Optional[Sequence[str]] = None,
order_by: Optional[str] = None,
order_by_type: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCynosdbClusterParamLogsResult
def get_cynosdb_cluster_param_logs_output(cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
order_by: Optional[pulumi.Input[str]] = None,
order_by_type: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbClusterParamLogsResult]
func GetCynosdbClusterParamLogs(ctx *Context, args *GetCynosdbClusterParamLogsArgs, opts ...InvokeOption) (*GetCynosdbClusterParamLogsResult, error)
func GetCynosdbClusterParamLogsOutput(ctx *Context, args *GetCynosdbClusterParamLogsOutputArgs, opts ...InvokeOption) GetCynosdbClusterParamLogsResultOutput
> Note: This function is named GetCynosdbClusterParamLogs
in the Go SDK.
public static class GetCynosdbClusterParamLogs
{
public static Task<GetCynosdbClusterParamLogsResult> InvokeAsync(GetCynosdbClusterParamLogsArgs args, InvokeOptions? opts = null)
public static Output<GetCynosdbClusterParamLogsResult> Invoke(GetCynosdbClusterParamLogsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCynosdbClusterParamLogsResult> getCynosdbClusterParamLogs(GetCynosdbClusterParamLogsArgs args, InvokeOptions options)
public static Output<GetCynosdbClusterParamLogsResult> getCynosdbClusterParamLogs(GetCynosdbClusterParamLogsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCynosdbClusterParamLogs:getCynosdbClusterParamLogs
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - Cluster ID.
- Id string
- Instance
Ids List<string> - Instance ID list, used to record specific instances of operations.
- Order
By string - Sort field, defining which field to sort based on when returning results.
- Order
By stringType - Define specific sorting rules, limited to one of desc, asc, DESC, or ASC.
- Result
Output stringFile - Used to save results.
- Cluster
Id string - Cluster ID.
- Id string
- Instance
Ids []string - Instance ID list, used to record specific instances of operations.
- Order
By string - Sort field, defining which field to sort based on when returning results.
- Order
By stringType - Define specific sorting rules, limited to one of desc, asc, DESC, or ASC.
- Result
Output stringFile - Used to save results.
- cluster
Id String - Cluster ID.
- id String
- instance
Ids List<String> - Instance ID list, used to record specific instances of operations.
- order
By String - Sort field, defining which field to sort based on when returning results.
- order
By StringType - Define specific sorting rules, limited to one of desc, asc, DESC, or ASC.
- result
Output StringFile - Used to save results.
- cluster
Id string - Cluster ID.
- id string
- instance
Ids string[] - Instance ID list, used to record specific instances of operations.
- order
By string - Sort field, defining which field to sort based on when returning results.
- order
By stringType - Define specific sorting rules, limited to one of desc, asc, DESC, or ASC.
- result
Output stringFile - Used to save results.
- cluster_
id str - Cluster ID.
- id str
- instance_
ids Sequence[str] - Instance ID list, used to record specific instances of operations.
- order_
by str - Sort field, defining which field to sort based on when returning results.
- order_
by_ strtype - Define specific sorting rules, limited to one of desc, asc, DESC, or ASC.
- result_
output_ strfile - Used to save results.
- cluster
Id String - Cluster ID.
- id String
- instance
Ids List<String> - Instance ID list, used to record specific instances of operations.
- order
By String - Sort field, defining which field to sort based on when returning results.
- order
By StringType - Define specific sorting rules, limited to one of desc, asc, DESC, or ASC.
- result
Output StringFile - Used to save results.
getCynosdbClusterParamLogs Result
The following output properties are available:
- Cluster
Id string - Cluster ID.
- Cluster
Param List<GetLogs Cynosdb Cluster Param Logs Cluster Param Log> - Parameter modification record note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Instance
Ids List<string> - Order
By string - Order
By stringType - Result
Output stringFile
- Cluster
Id string - Cluster ID.
- Cluster
Param []GetLogs Cynosdb Cluster Param Logs Cluster Param Log - Parameter modification record note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Instance
Ids []string - Order
By string - Order
By stringType - Result
Output stringFile
- cluster
Id String - Cluster ID.
- cluster
Param List<GetLogs Cynosdb Cluster Param Logs Cluster Param Log> - Parameter modification record note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- instance
Ids List<String> - order
By String - order
By StringType - result
Output StringFile
- cluster
Id string - Cluster ID.
- cluster
Param GetLogs Cynosdb Cluster Param Logs Cluster Param Log[] - Parameter modification record note: This field may return null, indicating that a valid value cannot be obtained.
- id string
- instance
Ids string[] - order
By string - order
By stringType - result
Output stringFile
- cluster_
id str - Cluster ID.
- cluster_
param_ Sequence[Getlogs Cynosdb Cluster Param Logs Cluster Param Log] - Parameter modification record note: This field may return null, indicating that a valid value cannot be obtained.
- id str
- instance_
ids Sequence[str] - order_
by str - order_
by_ strtype - result_
output_ strfile
- cluster
Id String - Cluster ID.
- cluster
Param List<Property Map>Logs - Parameter modification record note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- instance
Ids List<String> - order
By String - order
By StringType - result
Output StringFile
Supporting Types
GetCynosdbClusterParamLogsClusterParamLog
- Cluster
Id string - Cluster ID.
- Create
Time string - Creation time.
- Current
Value string - Current value.
- Instance
Id string - Instance ID.
- Param
Name string - Parameter Name.
- Status string
- modify state.
- Update
Time string - Update time.
- Update
Value string - Modified value.
- Cluster
Id string - Cluster ID.
- Create
Time string - Creation time.
- Current
Value string - Current value.
- Instance
Id string - Instance ID.
- Param
Name string - Parameter Name.
- Status string
- modify state.
- Update
Time string - Update time.
- Update
Value string - Modified value.
- cluster
Id String - Cluster ID.
- create
Time String - Creation time.
- current
Value String - Current value.
- instance
Id String - Instance ID.
- param
Name String - Parameter Name.
- status String
- modify state.
- update
Time String - Update time.
- update
Value String - Modified value.
- cluster
Id string - Cluster ID.
- create
Time string - Creation time.
- current
Value string - Current value.
- instance
Id string - Instance ID.
- param
Name string - Parameter Name.
- status string
- modify state.
- update
Time string - Update time.
- update
Value string - Modified value.
- cluster_
id str - Cluster ID.
- create_
time str - Creation time.
- current_
value str - Current value.
- instance_
id str - Instance ID.
- param_
name str - Parameter Name.
- status str
- modify state.
- update_
time str - Update time.
- update_
value str - Modified value.
- cluster
Id String - Cluster ID.
- create
Time String - Creation time.
- current
Value String - Current value.
- instance
Id String - Instance ID.
- param
Name String - Parameter Name.
- status String
- modify state.
- update
Time String - Update time.
- update
Value String - Modified value.
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