opentelekomcloud 1.36.52 published on Thursday, Nov 6, 2025 by opentelekomcloud
opentelekomcloud.getTaurusdbMysqlSlowLogsV3
Start a Neo task
Explain and create an opentelekomcloud.getTaurusdbMysqlSlowLogsV3 resource
opentelekomcloud 1.36.52 published on Thursday, Nov 6, 2025 by opentelekomcloud
Use this data source to get the list of TaurusDB MySQL slow logs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const instanceId = config.requireObject<any>("instanceId");
const nodeId = config.requireObject<any>("nodeId");
const startDate = config.requireObject<any>("startDate");
const endDate = config.requireObject<any>("endDate");
const test = opentelekomcloud.getTaurusdbMysqlSlowLogsV3({
instanceId: instanceId,
nodeId: nodeId,
startDate: startDate,
endDate: endDate,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
node_id = config.require_object("nodeId")
start_date = config.require_object("startDate")
end_date = config.require_object("endDate")
test = opentelekomcloud.get_taurusdb_mysql_slow_logs_v3(instance_id=instance_id,
node_id=node_id,
start_date=start_date,
end_date=end_date)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
instanceId := cfg.RequireObject("instanceId")
nodeId := cfg.RequireObject("nodeId")
startDate := cfg.RequireObject("startDate")
endDate := cfg.RequireObject("endDate")
_, err := opentelekomcloud.GetTaurusdbMysqlSlowLogsV3(ctx, &opentelekomcloud.GetTaurusdbMysqlSlowLogsV3Args{
InstanceId: instanceId,
NodeId: nodeId,
StartDate: startDate,
EndDate: endDate,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var instanceId = config.RequireObject<dynamic>("instanceId");
var nodeId = config.RequireObject<dynamic>("nodeId");
var startDate = config.RequireObject<dynamic>("startDate");
var endDate = config.RequireObject<dynamic>("endDate");
var test = Opentelekomcloud.GetTaurusdbMysqlSlowLogsV3.Invoke(new()
{
InstanceId = instanceId,
NodeId = nodeId,
StartDate = startDate,
EndDate = endDate,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetTaurusdbMysqlSlowLogsV3Args;
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 config = ctx.config();
final var instanceId = config.get("instanceId");
final var nodeId = config.get("nodeId");
final var startDate = config.get("startDate");
final var endDate = config.get("endDate");
final var test = OpentelekomcloudFunctions.getTaurusdbMysqlSlowLogsV3(GetTaurusdbMysqlSlowLogsV3Args.builder()
.instanceId(instanceId)
.nodeId(nodeId)
.startDate(startDate)
.endDate(endDate)
.build());
}
}
configuration:
instanceId:
type: dynamic
nodeId:
type: dynamic
startDate:
type: dynamic
endDate:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getTaurusdbMysqlSlowLogsV3
arguments:
instanceId: ${instanceId}
nodeId: ${nodeId}
startDate: ${startDate}
endDate: ${endDate}
Using getTaurusdbMysqlSlowLogsV3
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 getTaurusdbMysqlSlowLogsV3(args: GetTaurusdbMysqlSlowLogsV3Args, opts?: InvokeOptions): Promise<GetTaurusdbMysqlSlowLogsV3Result>
function getTaurusdbMysqlSlowLogsV3Output(args: GetTaurusdbMysqlSlowLogsV3OutputArgs, opts?: InvokeOptions): Output<GetTaurusdbMysqlSlowLogsV3Result>def get_taurusdb_mysql_slow_logs_v3(end_date: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
node_id: Optional[str] = None,
start_date: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTaurusdbMysqlSlowLogsV3Result
def get_taurusdb_mysql_slow_logs_v3_output(end_date: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
node_id: Optional[pulumi.Input[str]] = None,
start_date: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTaurusdbMysqlSlowLogsV3Result]func GetTaurusdbMysqlSlowLogsV3(ctx *Context, args *GetTaurusdbMysqlSlowLogsV3Args, opts ...InvokeOption) (*GetTaurusdbMysqlSlowLogsV3Result, error)
func GetTaurusdbMysqlSlowLogsV3Output(ctx *Context, args *GetTaurusdbMysqlSlowLogsV3OutputArgs, opts ...InvokeOption) GetTaurusdbMysqlSlowLogsV3ResultOutput> Note: This function is named GetTaurusdbMysqlSlowLogsV3 in the Go SDK.
public static class GetTaurusdbMysqlSlowLogsV3
{
public static Task<GetTaurusdbMysqlSlowLogsV3Result> InvokeAsync(GetTaurusdbMysqlSlowLogsV3Args args, InvokeOptions? opts = null)
public static Output<GetTaurusdbMysqlSlowLogsV3Result> Invoke(GetTaurusdbMysqlSlowLogsV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTaurusdbMysqlSlowLogsV3Result> getTaurusdbMysqlSlowLogsV3(GetTaurusdbMysqlSlowLogsV3Args args, InvokeOptions options)
public static Output<GetTaurusdbMysqlSlowLogsV3Result> getTaurusdbMysqlSlowLogsV3(GetTaurusdbMysqlSlowLogsV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getTaurusdbMysqlSlowLogsV3:getTaurusdbMysqlSlowLogsV3
arguments:
# arguments dictionaryThe following arguments are supported:
- End
Date string - Specifies the end date in the yyyy-mm-ddThh:mm:ssZ format.
- Instance
Id string - Specifies the ID of the TaurusDB MySQL instance.
- Node
Id string - Specifies the ID of the TaurusDB MySQL instance node.
- Start
Date string - Specifies the start date in the yyyy-mm-ddThh:mm:ssZ format.
- Id string
- The data source ID.
- Type string
- Specifies the SQL statement type.
- End
Date string - Specifies the end date in the yyyy-mm-ddThh:mm:ssZ format.
- Instance
Id string - Specifies the ID of the TaurusDB MySQL instance.
- Node
Id string - Specifies the ID of the TaurusDB MySQL instance node.
- Start
Date string - Specifies the start date in the yyyy-mm-ddThh:mm:ssZ format.
- Id string
- The data source ID.
- Type string
- Specifies the SQL statement type.
- end
Date String - Specifies the end date in the yyyy-mm-ddThh:mm:ssZ format.
- instance
Id String - Specifies the ID of the TaurusDB MySQL instance.
- node
Id String - Specifies the ID of the TaurusDB MySQL instance node.
- start
Date String - Specifies the start date in the yyyy-mm-ddThh:mm:ssZ format.
- id String
- The data source ID.
- type String
- Specifies the SQL statement type.
- end
Date string - Specifies the end date in the yyyy-mm-ddThh:mm:ssZ format.
- instance
Id string - Specifies the ID of the TaurusDB MySQL instance.
- node
Id string - Specifies the ID of the TaurusDB MySQL instance node.
- start
Date string - Specifies the start date in the yyyy-mm-ddThh:mm:ssZ format.
- id string
- The data source ID.
- type string
- Specifies the SQL statement type.
- end_
date str - Specifies the end date in the yyyy-mm-ddThh:mm:ssZ format.
- instance_
id str - Specifies the ID of the TaurusDB MySQL instance.
- node_
id str - Specifies the ID of the TaurusDB MySQL instance node.
- start_
date str - Specifies the start date in the yyyy-mm-ddThh:mm:ssZ format.
- id str
- The data source ID.
- type str
- Specifies the SQL statement type.
- end
Date String - Specifies the end date in the yyyy-mm-ddThh:mm:ssZ format.
- instance
Id String - Specifies the ID of the TaurusDB MySQL instance.
- node
Id String - Specifies the ID of the TaurusDB MySQL instance node.
- start
Date String - Specifies the start date in the yyyy-mm-ddThh:mm:ssZ format.
- id String
- The data source ID.
- type String
- Specifies the SQL statement type.
getTaurusdbMysqlSlowLogsV3 Result
The following output properties are available:
- End
Date string - Id string
- The data source ID.
- Instance
Id string - Node
Id string - Indicates the ID of the TaurusDB MySQL instance node.
- Region string
- The data source region.
- Slow
Log List<GetLists Taurusdb Mysql Slow Logs V3Slow Log List> - Indicates the list of the slow logs. The slow_log_list structure is documented below.
- Start
Date string - Type string
- Indicates the statement type.
- End
Date string - Id string
- The data source ID.
- Instance
Id string - Node
Id string - Indicates the ID of the TaurusDB MySQL instance node.
- Region string
- The data source region.
- Slow
Log []GetLists Taurusdb Mysql Slow Logs V3Slow Log List - Indicates the list of the slow logs. The slow_log_list structure is documented below.
- Start
Date string - Type string
- Indicates the statement type.
- end
Date String - id String
- The data source ID.
- instance
Id String - node
Id String - Indicates the ID of the TaurusDB MySQL instance node.
- region String
- The data source region.
- slow
Log List<GetLists Taurusdb Mysql Slow Logs V3Slow Log List> - Indicates the list of the slow logs. The slow_log_list structure is documented below.
- start
Date String - type String
- Indicates the statement type.
- end
Date string - id string
- The data source ID.
- instance
Id string - node
Id string - Indicates the ID of the TaurusDB MySQL instance node.
- region string
- The data source region.
- slow
Log GetLists Taurusdb Mysql Slow Logs V3Slow Log List[] - Indicates the list of the slow logs. The slow_log_list structure is documented below.
- start
Date string - type string
- Indicates the statement type.
- end_
date str - id str
- The data source ID.
- instance_
id str - node_
id str - Indicates the ID of the TaurusDB MySQL instance node.
- region str
- The data source region.
- slow_
log_ Sequence[Getlists Taurusdb Mysql Slow Logs V3Slow Log List] - Indicates the list of the slow logs. The slow_log_list structure is documented below.
- start_
date str - type str
- Indicates the statement type.
- end
Date String - id String
- The data source ID.
- instance
Id String - node
Id String - Indicates the ID of the TaurusDB MySQL instance node.
- region String
- The data source region.
- slow
Log List<Property Map>Lists - Indicates the list of the slow logs. The slow_log_list structure is documented below.
- start
Date String - type String
- Indicates the statement type.
Supporting Types
GetTaurusdbMysqlSlowLogsV3SlowLogList
- Client
Ip string - Indicates the IP address of the client.
- Count string
- Indicates the number of executions.
- Database string
- Indicates the database that slow query logs belong to.
- Lock
Time string - Indicates the lock wait time.
- Node
Id string - Specifies the ID of the TaurusDB MySQL instance node.
- Query
Sample string - Indicates the execution syntax.
- Rows
Examined string - Indicates the number of scanned rows.
- Rows
Sent string - Indicates the number of sent rows.
- Start
Time string - Indicates the start time in the yyyy-mm-ddThh:mm:ssZ format.
- Time string
- Indicates the execution time.
- Type string
- Specifies the SQL statement type.
- Users string
- Indicates the name of the account.
- Client
Ip string - Indicates the IP address of the client.
- Count string
- Indicates the number of executions.
- Database string
- Indicates the database that slow query logs belong to.
- Lock
Time string - Indicates the lock wait time.
- Node
Id string - Specifies the ID of the TaurusDB MySQL instance node.
- Query
Sample string - Indicates the execution syntax.
- Rows
Examined string - Indicates the number of scanned rows.
- Rows
Sent string - Indicates the number of sent rows.
- Start
Time string - Indicates the start time in the yyyy-mm-ddThh:mm:ssZ format.
- Time string
- Indicates the execution time.
- Type string
- Specifies the SQL statement type.
- Users string
- Indicates the name of the account.
- client
Ip String - Indicates the IP address of the client.
- count String
- Indicates the number of executions.
- database String
- Indicates the database that slow query logs belong to.
- lock
Time String - Indicates the lock wait time.
- node
Id String - Specifies the ID of the TaurusDB MySQL instance node.
- query
Sample String - Indicates the execution syntax.
- rows
Examined String - Indicates the number of scanned rows.
- rows
Sent String - Indicates the number of sent rows.
- start
Time String - Indicates the start time in the yyyy-mm-ddThh:mm:ssZ format.
- time String
- Indicates the execution time.
- type String
- Specifies the SQL statement type.
- users String
- Indicates the name of the account.
- client
Ip string - Indicates the IP address of the client.
- count string
- Indicates the number of executions.
- database string
- Indicates the database that slow query logs belong to.
- lock
Time string - Indicates the lock wait time.
- node
Id string - Specifies the ID of the TaurusDB MySQL instance node.
- query
Sample string - Indicates the execution syntax.
- rows
Examined string - Indicates the number of scanned rows.
- rows
Sent string - Indicates the number of sent rows.
- start
Time string - Indicates the start time in the yyyy-mm-ddThh:mm:ssZ format.
- time string
- Indicates the execution time.
- type string
- Specifies the SQL statement type.
- users string
- Indicates the name of the account.
- client_
ip str - Indicates the IP address of the client.
- count str
- Indicates the number of executions.
- database str
- Indicates the database that slow query logs belong to.
- lock_
time str - Indicates the lock wait time.
- node_
id str - Specifies the ID of the TaurusDB MySQL instance node.
- query_
sample str - Indicates the execution syntax.
- rows_
examined str - Indicates the number of scanned rows.
- rows_
sent str - Indicates the number of sent rows.
- start_
time str - Indicates the start time in the yyyy-mm-ddThh:mm:ssZ format.
- time str
- Indicates the execution time.
- type str
- Specifies the SQL statement type.
- users str
- Indicates the name of the account.
- client
Ip String - Indicates the IP address of the client.
- count String
- Indicates the number of executions.
- database String
- Indicates the database that slow query logs belong to.
- lock
Time String - Indicates the lock wait time.
- node
Id String - Specifies the ID of the TaurusDB MySQL instance node.
- query
Sample String - Indicates the execution syntax.
- rows
Examined String - Indicates the number of scanned rows.
- rows
Sent String - Indicates the number of sent rows.
- start
Time String - Indicates the start time in the yyyy-mm-ddThh:mm:ssZ format.
- time String
- Indicates the execution time.
- type String
- Specifies the SQL statement type.
- users String
- Indicates the name of the account.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
opentelekomcloud 1.36.52 published on Thursday, Nov 6, 2025 by opentelekomcloud
