1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getTaurusdbMysqlErrorLogsV3
opentelekomcloud 1.36.52 published on Thursday, Nov 6, 2025 by opentelekomcloud

opentelekomcloud.getTaurusdbMysqlErrorLogsV3

Get Started
opentelekomcloud logo
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 dictionary

    The following arguments are supported:

    EndTime string
    Specifies the end time in the yyyy-mm-ddThh:mm:ssZ format.
    InstanceId string
    Specifies the ID of the TaurusDB MySQL instance.
    NodeId string
    Specifies the ID of the TaurusDB MySQL instance node.
    StartTime 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.
    EndTime string
    Specifies the end time in the yyyy-mm-ddThh:mm:ssZ format.
    InstanceId string
    Specifies the ID of the TaurusDB MySQL instance.
    NodeId string
    Specifies the ID of the TaurusDB MySQL instance node.
    StartTime 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.
    endTime String
    Specifies the end time in the yyyy-mm-ddThh:mm:ssZ format.
    instanceId String
    Specifies the ID of the TaurusDB MySQL instance.
    nodeId String
    Specifies the ID of the TaurusDB MySQL instance node.
    startTime 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.
    endTime string
    Specifies the end time in the yyyy-mm-ddThh:mm:ssZ format.
    instanceId string
    Specifies the ID of the TaurusDB MySQL instance.
    nodeId string
    Specifies the ID of the TaurusDB MySQL instance node.
    startTime 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.
    endTime String
    Specifies the end time in the yyyy-mm-ddThh:mm:ssZ format.
    instanceId String
    Specifies the ID of the TaurusDB MySQL instance.
    nodeId String
    Specifies the ID of the TaurusDB MySQL instance node.
    startTime 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:

    EndTime string
    ErrorLogLists List<GetTaurusdbMysqlErrorLogsV3ErrorLogList>
    Indicates the list of the error logs. The error_log_list structure is documented below.
    Id string
    The data source ID.
    InstanceId string
    NodeId string
    Indicates the ID of the TaurusDB MySQL instance node.
    Region string
    The data source region.
    StartTime string
    Level string
    Indicates the error log level.
    EndTime string
    ErrorLogLists []GetTaurusdbMysqlErrorLogsV3ErrorLogList
    Indicates the list of the error logs. The error_log_list structure is documented below.
    Id string
    The data source ID.
    InstanceId string
    NodeId string
    Indicates the ID of the TaurusDB MySQL instance node.
    Region string
    The data source region.
    StartTime string
    Level string
    Indicates the error log level.
    endTime String
    errorLogLists List<GetTaurusdbMysqlErrorLogsV3ErrorLogList>
    Indicates the list of the error logs. The error_log_list structure is documented below.
    id String
    The data source ID.
    instanceId String
    nodeId String
    Indicates the ID of the TaurusDB MySQL instance node.
    region String
    The data source region.
    startTime String
    level String
    Indicates the error log level.
    endTime string
    errorLogLists GetTaurusdbMysqlErrorLogsV3ErrorLogList[]
    Indicates the list of the error logs. The error_log_list structure is documented below.
    id string
    The data source ID.
    instanceId string
    nodeId string
    Indicates the ID of the TaurusDB MySQL instance node.
    region string
    The data source region.
    startTime string
    level string
    Indicates the error log level.
    end_time str
    error_log_lists Sequence[GetTaurusdbMysqlErrorLogsV3ErrorLogList]
    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.
    endTime String
    errorLogLists List<Property Map>
    Indicates the list of the error logs. The error_log_list structure is documented below.
    id String
    The data source ID.
    instanceId String
    nodeId String
    Indicates the ID of the TaurusDB MySQL instance node.
    region String
    The data source region.
    startTime String
    level String
    Indicates the error log level.

    Supporting Types

    GetTaurusdbMysqlErrorLogsV3ErrorLogList

    Content string
    Indicates the error log content.
    Level string
    Specifies the log level.
    NodeId string
    Specifies the ID of the TaurusDB MySQL instance node.
    Time string
    Indicates the execution time.
    Content string
    Indicates the error log content.
    Level string
    Specifies the log level.
    NodeId string
    Specifies the ID of the TaurusDB MySQL instance node.
    Time string
    Indicates the execution time.
    content String
    Indicates the error log content.
    level String
    Specifies the log level.
    nodeId String
    Specifies the ID of the TaurusDB MySQL instance node.
    time String
    Indicates the execution time.
    content string
    Indicates the error log content.
    level string
    Specifies the log level.
    nodeId string
    Specifies the ID of the TaurusDB MySQL instance node.
    time string
    Indicates the execution time.
    content str
    Indicates the error log content.
    level str
    Specifies the log level.
    node_id str
    Specifies the ID of the TaurusDB MySQL instance node.
    time str
    Indicates the execution time.
    content String
    Indicates the error log content.
    level String
    Specifies the log level.
    nodeId String
    Specifies the ID of the TaurusDB MySQL instance node.
    time String
    Indicates the execution time.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.52 published on Thursday, Nov 6, 2025 by opentelekomcloud
      Meet Neo: Your AI Platform Teammate