tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getOceanusJobSubmissionLog
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 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:
- End
Time double - End time, unix timestamp, in milliseconds.
- Job
Id string - Job ID.
- Start
Time 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.
- Order
Type string - Sorting method, default asc, asc: ascending, desc: descending.
- Result
Output stringFile - Used to save results.
- Running
Order doubleId - Job instance ID.
- End
Time float64 - End time, unix timestamp, in milliseconds.
- Job
Id string - Job ID.
- Start
Time 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.
- Order
Type string - Sorting method, default asc, asc: ascending, desc: descending.
- Result
Output stringFile - Used to save results.
- Running
Order float64Id - Job instance ID.
- end
Time Double - End time, unix timestamp, in milliseconds.
- job
Id String - Job ID.
- start
Time 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.
- order
Type String - Sorting method, default asc, asc: ascending, desc: descending.
- result
Output StringFile - Used to save results.
- running
Order DoubleId - Job instance ID.
- end
Time number - End time, unix timestamp, in milliseconds.
- job
Id string - Job ID.
- start
Time 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.
- order
Type string - Sorting method, default asc, asc: ascending, desc: descending.
- result
Output stringFile - Used to save results.
- running
Order numberId - 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_ strfile - Used to save results.
- running_
order_ floatid - Job instance ID.
- end
Time Number - End time, unix timestamp, in milliseconds.
- job
Id String - Job ID.
- start
Time 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.
- order
Type String - Sorting method, default asc, asc: ascending, desc: descending.
- result
Output StringFile - Used to save results.
- running
Order NumberId - Job instance ID.
getOceanusJobSubmissionLog Result
The following output properties are available:
- Cursor string
- End
Time double - Id string
- Job
Id string - Job
Instance List<GetLists Oceanus Job Submission Log Job Instance List> - Job instance list during the specified time period.
- Job
Request stringId - Request ID of starting job.
- List
Over bool - Whether the list is over.
- Log
Content List<GetLists Oceanus Job Submission Log Log Content List> - The list of log contents.
- Log
Lists List<string> - Log list, deprecated.
- Start
Time double - Keyword string
- Order
Type string - Result
Output stringFile - Running
Order doubleId - The ID of the instance, starting from 1 in the order of startup time.
- Cursor string
- End
Time float64 - Id string
- Job
Id string - Job
Instance []GetLists Oceanus Job Submission Log Job Instance List - Job instance list during the specified time period.
- Job
Request stringId - Request ID of starting job.
- List
Over bool - Whether the list is over.
- Log
Content []GetLists Oceanus Job Submission Log Log Content List - The list of log contents.
- Log
Lists []string - Log list, deprecated.
- Start
Time float64 - Keyword string
- Order
Type string - Result
Output stringFile - Running
Order float64Id - The ID of the instance, starting from 1 in the order of startup time.
- cursor String
- end
Time Double - id String
- job
Id String - job
Instance List<GetLists Oceanus Job Submission Log Job Instance List> - Job instance list during the specified time period.
- job
Request StringId - Request ID of starting job.
- list
Over Boolean - Whether the list is over.
- log
Content List<GetLists Oceanus Job Submission Log Log Content List> - The list of log contents.
- log
Lists List<String> - Log list, deprecated.
- start
Time Double - keyword String
- order
Type String - result
Output StringFile - running
Order DoubleId - The ID of the instance, starting from 1 in the order of startup time.
- cursor string
- end
Time number - id string
- job
Id string - job
Instance GetLists Oceanus Job Submission Log Job Instance List[] - Job instance list during the specified time period.
- job
Request stringId - Request ID of starting job.
- list
Over boolean - Whether the list is over.
- log
Content GetLists Oceanus Job Submission Log Log Content List[] - The list of log contents.
- log
Lists string[] - Log list, deprecated.
- start
Time number - keyword string
- order
Type string - result
Output stringFile - running
Order numberId - 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_ Sequence[Getlists Oceanus Job Submission Log Job Instance List] - Job instance list during the specified time period.
- job_
request_ strid - Request ID of starting job.
- list_
over bool - Whether the list is over.
- log_
content_ Sequence[Getlists Oceanus Job Submission Log Log Content List] - The list of log contents.
- log_
lists Sequence[str] - Log list, deprecated.
- start_
time float - keyword str
- order_
type str - result_
output_ strfile - running_
order_ floatid - The ID of the instance, starting from 1 in the order of startup time.
- cursor String
- end
Time Number - id String
- job
Id String - job
Instance List<Property Map>Lists - Job instance list during the specified time period.
- job
Request StringId - Request ID of starting job.
- list
Over Boolean - Whether the list is over.
- log
Content List<Property Map>Lists - The list of log contents.
- log
Lists List<String> - Log list, deprecated.
- start
Time Number - keyword String
- order
Type String - result
Output StringFile - running
Order NumberId - The ID of the instance, starting from 1 in the order of startup time.
Supporting Types
GetOceanusJobSubmissionLogJobInstanceList
- Job
Instance stringStart Time - The startup time of the instance.
- Running
Order doubleId - Job instance ID.
- Starting
Millis double - The startup time of the instance in milliseconds.
- Job
Instance stringStart Time - The startup time of the instance.
- Running
Order float64Id - Job instance ID.
- Starting
Millis float64 - The startup time of the instance in milliseconds.
- job
Instance StringStart Time - The startup time of the instance.
- running
Order DoubleId - Job instance ID.
- starting
Millis Double - The startup time of the instance in milliseconds.
- job
Instance stringStart Time - The startup time of the instance.
- running
Order numberId - Job instance ID.
- starting
Millis number - The startup time of the instance in milliseconds.
- job_
instance_ strstart_ time - The startup time of the instance.
- running_
order_ floatid - Job instance ID.
- starting_
millis float - The startup time of the instance in milliseconds.
- job
Instance StringStart Time - The startup time of the instance.
- running
Order NumberId - Job instance ID.
- starting
Millis Number - The startup time of the instance in milliseconds.
GetOceanusJobSubmissionLogLogContentList
- Container
Name string - The name of the container to which the log belongs.
- Log string
- The content of the log.
- Pkg
Id string - The ID of the log group.
- Pkg
Log doubleId - The ID of the log, which is unique within the log group.
- Time double
- The timestamp in milliseconds.
- Container
Name string - The name of the container to which the log belongs.
- Log string
- The content of the log.
- Pkg
Id string - The ID of the log group.
- Pkg
Log float64Id - The ID of the log, which is unique within the log group.
- Time float64
- The timestamp in milliseconds.
- container
Name String - The name of the container to which the log belongs.
- log String
- The content of the log.
- pkg
Id String - The ID of the log group.
- pkg
Log DoubleId - The ID of the log, which is unique within the log group.
- time Double
- The timestamp in milliseconds.
- container
Name string - The name of the container to which the log belongs.
- log string
- The content of the log.
- pkg
Id string - The ID of the log group.
- pkg
Log numberId - 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_ floatid - The ID of the log, which is unique within the log group.
- time float
- The timestamp in milliseconds.
- container
Name String - The name of the container to which the log belongs.
- log String
- The content of the log.
- pkg
Id String - The ID of the log group.
- pkg
Log NumberId - 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack