1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getOceanusJobSubmissionLog
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getOceanusJobSubmissionLog

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of oceanus job_submission_log

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getOceanusJobSubmissionLog({
        endTime: 1698118169241,
        jobId: "cql-314rw6w0",
        orderType: "desc",
        runningOrderId: 0,
        startTime: 1696130964345,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_oceanus_job_submission_log(end_time=1698118169241,
        job_id="cql-314rw6w0",
        order_type="desc",
        running_order_id=0,
        start_time=1696130964345)
    
    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.GetOceanusJobSubmissionLog(ctx, &tencentcloud.GetOceanusJobSubmissionLogArgs{
    			EndTime:        1698118169241,
    			JobId:          "cql-314rw6w0",
    			OrderType:      pulumi.StringRef("desc"),
    			RunningOrderId: pulumi.Float64Ref(0),
    			StartTime:      1696130964345,
    		}, 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.GetOceanusJobSubmissionLog.Invoke(new()
        {
            EndTime = 1698118169241,
            JobId = "cql-314rw6w0",
            OrderType = "desc",
            RunningOrderId = 0,
            StartTime = 1696130964345,
        });
    
    });
    
    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.GetOceanusJobSubmissionLogArgs;
    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.getOceanusJobSubmissionLog(GetOceanusJobSubmissionLogArgs.builder()
                .endTime(1698118169241)
                .jobId("cql-314rw6w0")
                .orderType("desc")
                .runningOrderId(0)
                .startTime(1696130964345)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getOceanusJobSubmissionLog
          arguments:
            endTime: 1.698118169241e+12
            jobId: cql-314rw6w0
            orderType: desc
            runningOrderId: 0
            startTime: 1.696130964345e+12
    

    Using getOceanusJobSubmissionLog

    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 getOceanusJobSubmissionLog(args: GetOceanusJobSubmissionLogArgs, opts?: InvokeOptions): Promise<GetOceanusJobSubmissionLogResult>
    function getOceanusJobSubmissionLogOutput(args: GetOceanusJobSubmissionLogOutputArgs, opts?: InvokeOptions): Output<GetOceanusJobSubmissionLogResult>
    def get_oceanus_job_submission_log(cursor: Optional[str] = None,
                                       end_time: Optional[float] = None,
                                       id: Optional[str] = None,
                                       job_id: Optional[str] = None,
                                       keyword: Optional[str] = None,
                                       order_type: Optional[str] = None,
                                       result_output_file: Optional[str] = None,
                                       running_order_id: Optional[float] = None,
                                       start_time: Optional[float] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetOceanusJobSubmissionLogResult
    def get_oceanus_job_submission_log_output(cursor: Optional[pulumi.Input[str]] = None,
                                       end_time: Optional[pulumi.Input[float]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       job_id: Optional[pulumi.Input[str]] = None,
                                       keyword: Optional[pulumi.Input[str]] = None,
                                       order_type: Optional[pulumi.Input[str]] = None,
                                       result_output_file: Optional[pulumi.Input[str]] = None,
                                       running_order_id: Optional[pulumi.Input[float]] = None,
                                       start_time: Optional[pulumi.Input[float]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetOceanusJobSubmissionLogResult]
    func GetOceanusJobSubmissionLog(ctx *Context, args *GetOceanusJobSubmissionLogArgs, opts ...InvokeOption) (*GetOceanusJobSubmissionLogResult, error)
    func GetOceanusJobSubmissionLogOutput(ctx *Context, args *GetOceanusJobSubmissionLogOutputArgs, opts ...InvokeOption) GetOceanusJobSubmissionLogResultOutput

    > Note: This function is named GetOceanusJobSubmissionLog in the Go SDK.

    public static class GetOceanusJobSubmissionLog 
    {
        public static Task<GetOceanusJobSubmissionLogResult> InvokeAsync(GetOceanusJobSubmissionLogArgs args, InvokeOptions? opts = null)
        public static Output<GetOceanusJobSubmissionLogResult> Invoke(GetOceanusJobSubmissionLogInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOceanusJobSubmissionLogResult> getOceanusJobSubmissionLog(GetOceanusJobSubmissionLogArgs args, InvokeOptions options)
    public static Output<GetOceanusJobSubmissionLogResult> getOceanusJobSubmissionLog(GetOceanusJobSubmissionLogArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getOceanusJobSubmissionLog:getOceanusJobSubmissionLog
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndTime double
    End time, unix timestamp, in milliseconds.
    JobId string
    Job ID.
    StartTime double
    Start time, unix timestamp, in milliseconds.
    Cursor string
    Cursor, default empty, first request does not need to pass in.
    Id string
    Keyword string
    Keyword, default empty.
    OrderType string
    Sorting method, default asc, asc: ascending, desc: descending.
    ResultOutputFile string
    Used to save results.
    RunningOrderId double
    Job instance ID.
    EndTime float64
    End time, unix timestamp, in milliseconds.
    JobId string
    Job ID.
    StartTime float64
    Start time, unix timestamp, in milliseconds.
    Cursor string
    Cursor, default empty, first request does not need to pass in.
    Id string
    Keyword string
    Keyword, default empty.
    OrderType string
    Sorting method, default asc, asc: ascending, desc: descending.
    ResultOutputFile string
    Used to save results.
    RunningOrderId float64
    Job instance ID.
    endTime Double
    End time, unix timestamp, in milliseconds.
    jobId String
    Job ID.
    startTime Double
    Start time, unix timestamp, in milliseconds.
    cursor String
    Cursor, default empty, first request does not need to pass in.
    id String
    keyword String
    Keyword, default empty.
    orderType String
    Sorting method, default asc, asc: ascending, desc: descending.
    resultOutputFile String
    Used to save results.
    runningOrderId Double
    Job instance ID.
    endTime number
    End time, unix timestamp, in milliseconds.
    jobId string
    Job ID.
    startTime number
    Start time, unix timestamp, in milliseconds.
    cursor string
    Cursor, default empty, first request does not need to pass in.
    id string
    keyword string
    Keyword, default empty.
    orderType string
    Sorting method, default asc, asc: ascending, desc: descending.
    resultOutputFile string
    Used to save results.
    runningOrderId number
    Job instance ID.
    end_time float
    End time, unix timestamp, in milliseconds.
    job_id str
    Job ID.
    start_time float
    Start time, unix timestamp, in milliseconds.
    cursor str
    Cursor, default empty, first request does not need to pass in.
    id str
    keyword str
    Keyword, default empty.
    order_type str
    Sorting method, default asc, asc: ascending, desc: descending.
    result_output_file str
    Used to save results.
    running_order_id float
    Job instance ID.
    endTime Number
    End time, unix timestamp, in milliseconds.
    jobId String
    Job ID.
    startTime Number
    Start time, unix timestamp, in milliseconds.
    cursor String
    Cursor, default empty, first request does not need to pass in.
    id String
    keyword String
    Keyword, default empty.
    orderType String
    Sorting method, default asc, asc: ascending, desc: descending.
    resultOutputFile String
    Used to save results.
    runningOrderId Number
    Job instance ID.

    getOceanusJobSubmissionLog Result

    The following output properties are available:

    Cursor string
    EndTime double
    Id string
    JobId string
    JobInstanceLists List<GetOceanusJobSubmissionLogJobInstanceList>
    Job instance list during the specified time period.
    JobRequestId string
    Request ID of starting job.
    ListOver bool
    Whether the list is over.
    LogContentLists List<GetOceanusJobSubmissionLogLogContentList>
    The list of log contents.
    LogLists List<string>
    Log list, deprecated.
    StartTime double
    Keyword string
    OrderType string
    ResultOutputFile string
    RunningOrderId double
    The ID of the instance, starting from 1 in the order of startup time.
    Cursor string
    EndTime float64
    Id string
    JobId string
    JobInstanceLists []GetOceanusJobSubmissionLogJobInstanceList
    Job instance list during the specified time period.
    JobRequestId string
    Request ID of starting job.
    ListOver bool
    Whether the list is over.
    LogContentLists []GetOceanusJobSubmissionLogLogContentList
    The list of log contents.
    LogLists []string
    Log list, deprecated.
    StartTime float64
    Keyword string
    OrderType string
    ResultOutputFile string
    RunningOrderId float64
    The ID of the instance, starting from 1 in the order of startup time.
    cursor String
    endTime Double
    id String
    jobId String
    jobInstanceLists List<GetOceanusJobSubmissionLogJobInstanceList>
    Job instance list during the specified time period.
    jobRequestId String
    Request ID of starting job.
    listOver Boolean
    Whether the list is over.
    logContentLists List<GetOceanusJobSubmissionLogLogContentList>
    The list of log contents.
    logLists List<String>
    Log list, deprecated.
    startTime Double
    keyword String
    orderType String
    resultOutputFile String
    runningOrderId Double
    The ID of the instance, starting from 1 in the order of startup time.
    cursor string
    endTime number
    id string
    jobId string
    jobInstanceLists GetOceanusJobSubmissionLogJobInstanceList[]
    Job instance list during the specified time period.
    jobRequestId string
    Request ID of starting job.
    listOver boolean
    Whether the list is over.
    logContentLists GetOceanusJobSubmissionLogLogContentList[]
    The list of log contents.
    logLists string[]
    Log list, deprecated.
    startTime number
    keyword string
    orderType string
    resultOutputFile string
    runningOrderId number
    The ID of the instance, starting from 1 in the order of startup time.
    cursor str
    end_time float
    id str
    job_id str
    job_instance_lists Sequence[GetOceanusJobSubmissionLogJobInstanceList]
    Job instance list during the specified time period.
    job_request_id str
    Request ID of starting job.
    list_over bool
    Whether the list is over.
    log_content_lists Sequence[GetOceanusJobSubmissionLogLogContentList]
    The list of log contents.
    log_lists Sequence[str]
    Log list, deprecated.
    start_time float
    keyword str
    order_type str
    result_output_file str
    running_order_id float
    The ID of the instance, starting from 1 in the order of startup time.
    cursor String
    endTime Number
    id String
    jobId String
    jobInstanceLists List<Property Map>
    Job instance list during the specified time period.
    jobRequestId String
    Request ID of starting job.
    listOver Boolean
    Whether the list is over.
    logContentLists List<Property Map>
    The list of log contents.
    logLists List<String>
    Log list, deprecated.
    startTime Number
    keyword String
    orderType String
    resultOutputFile String
    runningOrderId Number
    The ID of the instance, starting from 1 in the order of startup time.

    Supporting Types

    GetOceanusJobSubmissionLogJobInstanceList

    JobInstanceStartTime string
    The startup time of the instance.
    RunningOrderId double
    Job instance ID.
    StartingMillis double
    The startup time of the instance in milliseconds.
    JobInstanceStartTime string
    The startup time of the instance.
    RunningOrderId float64
    Job instance ID.
    StartingMillis float64
    The startup time of the instance in milliseconds.
    jobInstanceStartTime String
    The startup time of the instance.
    runningOrderId Double
    Job instance ID.
    startingMillis Double
    The startup time of the instance in milliseconds.
    jobInstanceStartTime string
    The startup time of the instance.
    runningOrderId number
    Job instance ID.
    startingMillis number
    The startup time of the instance in milliseconds.
    job_instance_start_time str
    The startup time of the instance.
    running_order_id float
    Job instance ID.
    starting_millis float
    The startup time of the instance in milliseconds.
    jobInstanceStartTime String
    The startup time of the instance.
    runningOrderId Number
    Job instance ID.
    startingMillis Number
    The startup time of the instance in milliseconds.

    GetOceanusJobSubmissionLogLogContentList

    ContainerName string
    The name of the container to which the log belongs.
    Log string
    The content of the log.
    PkgId string
    The ID of the log group.
    PkgLogId double
    The ID of the log, which is unique within the log group.
    Time double
    The timestamp in milliseconds.
    ContainerName string
    The name of the container to which the log belongs.
    Log string
    The content of the log.
    PkgId string
    The ID of the log group.
    PkgLogId float64
    The ID of the log, which is unique within the log group.
    Time float64
    The timestamp in milliseconds.
    containerName String
    The name of the container to which the log belongs.
    log String
    The content of the log.
    pkgId String
    The ID of the log group.
    pkgLogId Double
    The ID of the log, which is unique within the log group.
    time Double
    The timestamp in milliseconds.
    containerName string
    The name of the container to which the log belongs.
    log string
    The content of the log.
    pkgId string
    The ID of the log group.
    pkgLogId number
    The ID of the log, which is unique within the log group.
    time number
    The timestamp in milliseconds.
    container_name str
    The name of the container to which the log belongs.
    log str
    The content of the log.
    pkg_id str
    The ID of the log group.
    pkg_log_id float
    The ID of the log, which is unique within the log group.
    time float
    The timestamp in milliseconds.
    containerName String
    The name of the container to which the log belongs.
    log String
    The content of the log.
    pkgId String
    The ID of the log group.
    pkgLogId Number
    The ID of the log, which is unique within the log group.
    time Number
    The timestamp in milliseconds.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack