opentelekomcloud 1.36.52 published on Thursday, Nov 6, 2025 by opentelekomcloud
opentelekomcloud.getTaurusdbMysqlErrorLogsV3
opentelekomcloud 1.36.52 published on Thursday, Nov 6, 2025 by opentelekomcloud
Use this data source to get the list of TaurusDB MySQL error 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 startTime = config.requireObject<any>("startTime");
const endTime = config.requireObject<any>("endTime");
const test = opentelekomcloud.getTaurusdbMysqlErrorLogsV3({
instanceId: instanceId,
nodeId: nodeId,
startTime: startTime,
endTime: endTime,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
node_id = config.require_object("nodeId")
start_time = config.require_object("startTime")
end_time = config.require_object("endTime")
test = opentelekomcloud.get_taurusdb_mysql_error_logs_v3(instance_id=instance_id,
node_id=node_id,
start_time=start_time,
end_time=end_time)
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")
startTime := cfg.RequireObject("startTime")
endTime := cfg.RequireObject("endTime")
_, err := opentelekomcloud.GetTaurusdbMysqlErrorLogsV3(ctx, &opentelekomcloud.GetTaurusdbMysqlErrorLogsV3Args{
InstanceId: instanceId,
NodeId: nodeId,
StartTime: startTime,
EndTime: endTime,
}, 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 startTime = config.RequireObject<dynamic>("startTime");
var endTime = config.RequireObject<dynamic>("endTime");
var test = Opentelekomcloud.GetTaurusdbMysqlErrorLogsV3.Invoke(new()
{
InstanceId = instanceId,
NodeId = nodeId,
StartTime = startTime,
EndTime = endTime,
});
});
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.GetTaurusdbMysqlErrorLogsV3Args;
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 startTime = config.get("startTime");
final var endTime = config.get("endTime");
final var test = OpentelekomcloudFunctions.getTaurusdbMysqlErrorLogsV3(GetTaurusdbMysqlErrorLogsV3Args.builder()
.instanceId(instanceId)
.nodeId(nodeId)
.startTime(startTime)
.endTime(endTime)
.build());
}
}
configuration:
instanceId:
type: dynamic
nodeId:
type: dynamic
startTime:
type: dynamic
endTime:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getTaurusdbMysqlErrorLogsV3
arguments:
instanceId: ${instanceId}
nodeId: ${nodeId}
startTime: ${startTime}
endTime: ${endTime}
Using getTaurusdbMysqlErrorLogsV3
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 getTaurusdbMysqlErrorLogsV3(args: GetTaurusdbMysqlErrorLogsV3Args, opts?: InvokeOptions): Promise<GetTaurusdbMysqlErrorLogsV3Result>
function getTaurusdbMysqlErrorLogsV3Output(args: GetTaurusdbMysqlErrorLogsV3OutputArgs, opts?: InvokeOptions): Output<GetTaurusdbMysqlErrorLogsV3Result>def get_taurusdb_mysql_error_logs_v3(end_time: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
level: Optional[str] = None,
node_id: Optional[str] = None,
start_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTaurusdbMysqlErrorLogsV3Result
def get_taurusdb_mysql_error_logs_v3_output(end_time: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
level: Optional[pulumi.Input[str]] = None,
node_id: Optional[pulumi.Input[str]] = None,
start_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTaurusdbMysqlErrorLogsV3Result]func GetTaurusdbMysqlErrorLogsV3(ctx *Context, args *GetTaurusdbMysqlErrorLogsV3Args, opts ...InvokeOption) (*GetTaurusdbMysqlErrorLogsV3Result, error)
func GetTaurusdbMysqlErrorLogsV3Output(ctx *Context, args *GetTaurusdbMysqlErrorLogsV3OutputArgs, opts ...InvokeOption) GetTaurusdbMysqlErrorLogsV3ResultOutput> Note: This function is named GetTaurusdbMysqlErrorLogsV3 in the Go SDK.
public static class GetTaurusdbMysqlErrorLogsV3
{
public static Task<GetTaurusdbMysqlErrorLogsV3Result> InvokeAsync(GetTaurusdbMysqlErrorLogsV3Args args, InvokeOptions? opts = null)
public static Output<GetTaurusdbMysqlErrorLogsV3Result> Invoke(GetTaurusdbMysqlErrorLogsV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTaurusdbMysqlErrorLogsV3Result> getTaurusdbMysqlErrorLogsV3(GetTaurusdbMysqlErrorLogsV3Args args, InvokeOptions options)
public static Output<GetTaurusdbMysqlErrorLogsV3Result> getTaurusdbMysqlErrorLogsV3(GetTaurusdbMysqlErrorLogsV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getTaurusdbMysqlErrorLogsV3:getTaurusdbMysqlErrorLogsV3
arguments:
# arguments dictionaryThe following arguments are supported:
- End
Time string - Specifies the end time 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
Time string - Specifies the start time in the yyyy-mm-ddThh:mm:ssZ format.
- Id string
- The data source ID.
- Level string
- Specifies the log level.
- End
Time string - Specifies the end time 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
Time string - Specifies the start time in the yyyy-mm-ddThh:mm:ssZ format.
- Id string
- The data source ID.
- Level string
- Specifies the log level.
- end
Time String - Specifies the end time 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
Time String - Specifies the start time in the yyyy-mm-ddThh:mm:ssZ format.
- id String
- The data source ID.
- level String
- Specifies the log level.
- end
Time string - Specifies the end time 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
Time string - Specifies the start time in the yyyy-mm-ddThh:mm:ssZ format.
- id string
- The data source ID.
- level string
- Specifies the log level.
- end_
time str - Specifies the end time 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_
time str - Specifies the start time in the yyyy-mm-ddThh:mm:ssZ format.
- id str
- The data source ID.
- level str
- Specifies the log level.
- end
Time String - Specifies the end time 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
Time String - Specifies the start time in the yyyy-mm-ddThh:mm:ssZ format.
- id String
- The data source ID.
- level String
- Specifies the log level.
getTaurusdbMysqlErrorLogsV3 Result
The following output properties are available:
- End
Time string - Error
Log List<GetLists Taurusdb Mysql Error Logs V3Error Log List> - Indicates the list of the error logs. The error_log_list structure is documented below.
- 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.
- Start
Time string - Level string
- Indicates the error log level.
- End
Time string - Error
Log []GetLists Taurusdb Mysql Error Logs V3Error Log List - Indicates the list of the error logs. The error_log_list structure is documented below.
- 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.
- Start
Time string - Level string
- Indicates the error log level.
- end
Time String - error
Log List<GetLists Taurusdb Mysql Error Logs V3Error Log List> - Indicates the list of the error logs. The error_log_list structure is documented below.
- 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.
- start
Time String - level String
- Indicates the error log level.
- end
Time string - error
Log GetLists Taurusdb Mysql Error Logs V3Error Log List[] - Indicates the list of the error logs. The error_log_list structure is documented below.
- 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.
- start
Time string - level string
- Indicates the error log level.
- end_
time str - error_
log_ Sequence[Getlists Taurusdb Mysql Error Logs V3Error Log List] - Indicates the list of the error logs. The error_log_list structure is documented below.
- 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.
- start_
time str - level str
- Indicates the error log level.
- end
Time String - error
Log List<Property Map>Lists - Indicates the list of the error logs. The error_log_list structure is documented below.
- 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.
- start
Time String - level String
- Indicates the error log level.
Supporting Types
GetTaurusdbMysqlErrorLogsV3ErrorLogList
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
