tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getOceanusJobEvents
Start a Neo task
Explain and create a tencentcloud.getOceanusJobEvents resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of oceanus job_events
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getOceanusJobEvents({
jobId: "cql-6w8eab6f",
startTimestamp: 1630932161,
endTimestamp: 1631232466,
types: [
"1",
"2",
],
workSpaceId: "space-6w8eab6f",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_oceanus_job_events(job_id="cql-6w8eab6f",
start_timestamp=1630932161,
end_timestamp=1631232466,
types=[
"1",
"2",
],
work_space_id="space-6w8eab6f")
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.GetOceanusJobEvents(ctx, &tencentcloud.GetOceanusJobEventsArgs{
JobId: "cql-6w8eab6f",
StartTimestamp: 1630932161,
EndTimestamp: 1631232466,
Types: []string{
"1",
"2",
},
WorkSpaceId: "space-6w8eab6f",
}, 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.GetOceanusJobEvents.Invoke(new()
{
JobId = "cql-6w8eab6f",
StartTimestamp = 1630932161,
EndTimestamp = 1631232466,
Types = new[]
{
"1",
"2",
},
WorkSpaceId = "space-6w8eab6f",
});
});
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.GetOceanusJobEventsArgs;
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.getOceanusJobEvents(GetOceanusJobEventsArgs.builder()
.jobId("cql-6w8eab6f")
.startTimestamp(1630932161)
.endTimestamp(1631232466)
.types(
"1",
"2")
.workSpaceId("space-6w8eab6f")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getOceanusJobEvents
arguments:
jobId: cql-6w8eab6f
startTimestamp: 1.630932161e+09
endTimestamp: 1.631232466e+09
types:
- '1'
- '2'
workSpaceId: space-6w8eab6f
Using getOceanusJobEvents
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 getOceanusJobEvents(args: GetOceanusJobEventsArgs, opts?: InvokeOptions): Promise<GetOceanusJobEventsResult>
function getOceanusJobEventsOutput(args: GetOceanusJobEventsOutputArgs, opts?: InvokeOptions): Output<GetOceanusJobEventsResult>def get_oceanus_job_events(end_timestamp: Optional[float] = None,
id: Optional[str] = None,
job_id: Optional[str] = None,
result_output_file: Optional[str] = None,
start_timestamp: Optional[float] = None,
types: Optional[Sequence[str]] = None,
work_space_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOceanusJobEventsResult
def get_oceanus_job_events_output(end_timestamp: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[str]] = None,
job_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
start_timestamp: Optional[pulumi.Input[float]] = None,
types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
work_space_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOceanusJobEventsResult]func GetOceanusJobEvents(ctx *Context, args *GetOceanusJobEventsArgs, opts ...InvokeOption) (*GetOceanusJobEventsResult, error)
func GetOceanusJobEventsOutput(ctx *Context, args *GetOceanusJobEventsOutputArgs, opts ...InvokeOption) GetOceanusJobEventsResultOutput> Note: This function is named GetOceanusJobEvents in the Go SDK.
public static class GetOceanusJobEvents
{
public static Task<GetOceanusJobEventsResult> InvokeAsync(GetOceanusJobEventsArgs args, InvokeOptions? opts = null)
public static Output<GetOceanusJobEventsResult> Invoke(GetOceanusJobEventsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOceanusJobEventsResult> getOceanusJobEvents(GetOceanusJobEventsArgs args, InvokeOptions options)
public static Output<GetOceanusJobEventsResult> getOceanusJobEvents(GetOceanusJobEventsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getOceanusJobEvents:getOceanusJobEvents
arguments:
# arguments dictionaryThe following arguments are supported:
- End
Timestamp double - Filter condition:End Unix timestamp (seconds).
- Job
Id string - Job ID.
- Start
Timestamp double - Filter condition:Start Unix timestamp (seconds).
- Work
Space stringId - Workspace SerialId.
- Id string
- Result
Output stringFile - Used to save results.
- Types List<string>
- Event types. If not passed, data of all types will be returned.
- End
Timestamp float64 - Filter condition:End Unix timestamp (seconds).
- Job
Id string - Job ID.
- Start
Timestamp float64 - Filter condition:Start Unix timestamp (seconds).
- Work
Space stringId - Workspace SerialId.
- Id string
- Result
Output stringFile - Used to save results.
- Types []string
- Event types. If not passed, data of all types will be returned.
- end
Timestamp Double - Filter condition:End Unix timestamp (seconds).
- job
Id String - Job ID.
- start
Timestamp Double - Filter condition:Start Unix timestamp (seconds).
- work
Space StringId - Workspace SerialId.
- id String
- result
Output StringFile - Used to save results.
- types List<String>
- Event types. If not passed, data of all types will be returned.
- end
Timestamp number - Filter condition:End Unix timestamp (seconds).
- job
Id string - Job ID.
- start
Timestamp number - Filter condition:Start Unix timestamp (seconds).
- work
Space stringId - Workspace SerialId.
- id string
- result
Output stringFile - Used to save results.
- types string[]
- Event types. If not passed, data of all types will be returned.
- end_
timestamp float - Filter condition:End Unix timestamp (seconds).
- job_
id str - Job ID.
- start_
timestamp float - Filter condition:Start Unix timestamp (seconds).
- work_
space_ strid - Workspace SerialId.
- id str
- result_
output_ strfile - Used to save results.
- types Sequence[str]
- Event types. If not passed, data of all types will be returned.
- end
Timestamp Number - Filter condition:End Unix timestamp (seconds).
- job
Id String - Job ID.
- start
Timestamp Number - Filter condition:Start Unix timestamp (seconds).
- work
Space StringId - Workspace SerialId.
- id String
- result
Output StringFile - Used to save results.
- types List<String>
- Event types. If not passed, data of all types will be returned.
getOceanusJobEvents Result
The following output properties are available:
- End
Timestamp double - Events
List<Get
Oceanus Job Events Event> - List of events within the specified range for this jobNote: This field may return null, indicating that no valid values can be obtained.
- Id string
- Job
Id string - Running
Order List<double>Ids - Array of running instance IDs.
- Start
Timestamp double - Work
Space stringId - Result
Output stringFile - Types List<string>
- End
Timestamp float64 - Events
[]Get
Oceanus Job Events Event - List of events within the specified range for this jobNote: This field may return null, indicating that no valid values can be obtained.
- Id string
- Job
Id string - Running
Order []float64Ids - Array of running instance IDs.
- Start
Timestamp float64 - Work
Space stringId - Result
Output stringFile - Types []string
- end
Timestamp Double - events
List<Get
Oceanus Job Events Event> - List of events within the specified range for this jobNote: This field may return null, indicating that no valid values can be obtained.
- id String
- job
Id String - running
Order List<Double>Ids - Array of running instance IDs.
- start
Timestamp Double - work
Space StringId - result
Output StringFile - types List<String>
- end
Timestamp number - events
Get
Oceanus Job Events Event[] - List of events within the specified range for this jobNote: This field may return null, indicating that no valid values can be obtained.
- id string
- job
Id string - running
Order number[]Ids - Array of running instance IDs.
- start
Timestamp number - work
Space stringId - result
Output stringFile - types string[]
- end_
timestamp float - events
Sequence[Get
Oceanus Job Events Event] - List of events within the specified range for this jobNote: This field may return null, indicating that no valid values can be obtained.
- id str
- job_
id str - running_
order_ Sequence[float]ids - Array of running instance IDs.
- start_
timestamp float - work_
space_ strid - result_
output_ strfile - types Sequence[str]
- end
Timestamp Number - events List<Property Map>
- List of events within the specified range for this jobNote: This field may return null, indicating that no valid values can be obtained.
- id String
- job
Id String - running
Order List<Number>Ids - Array of running instance IDs.
- start
Timestamp Number - work
Space StringId - result
Output StringFile - types List<String>
Supporting Types
GetOceanusJobEventsEvent
- Description string
- Description text of the event type.
- Message string
- Some optional explanations of the eventNote: This field may return null, indicating that no valid values can be obtained.
- Running
Order doubleId - Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- Solution
Link string - Troubleshooting manual link for the abnormal eventNote: This field may return null, indicating that no valid values can be obtained.
- Timestamp double
- Unix timestamp (seconds) when the event occurred.
- Type string
- Internally defined event type.
- Description string
- Description text of the event type.
- Message string
- Some optional explanations of the eventNote: This field may return null, indicating that no valid values can be obtained.
- Running
Order float64Id - Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- Solution
Link string - Troubleshooting manual link for the abnormal eventNote: This field may return null, indicating that no valid values can be obtained.
- Timestamp float64
- Unix timestamp (seconds) when the event occurred.
- Type string
- Internally defined event type.
- description String
- Description text of the event type.
- message String
- Some optional explanations of the eventNote: This field may return null, indicating that no valid values can be obtained.
- running
Order DoubleId - Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- solution
Link String - Troubleshooting manual link for the abnormal eventNote: This field may return null, indicating that no valid values can be obtained.
- timestamp Double
- Unix timestamp (seconds) when the event occurred.
- type String
- Internally defined event type.
- description string
- Description text of the event type.
- message string
- Some optional explanations of the eventNote: This field may return null, indicating that no valid values can be obtained.
- running
Order numberId - Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- solution
Link string - Troubleshooting manual link for the abnormal eventNote: This field may return null, indicating that no valid values can be obtained.
- timestamp number
- Unix timestamp (seconds) when the event occurred.
- type string
- Internally defined event type.
- description str
- Description text of the event type.
- message str
- Some optional explanations of the eventNote: This field may return null, indicating that no valid values can be obtained.
- running_
order_ floatid - Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- solution_
link str - Troubleshooting manual link for the abnormal eventNote: This field may return null, indicating that no valid values can be obtained.
- timestamp float
- Unix timestamp (seconds) when the event occurred.
- type str
- Internally defined event type.
- description String
- Description text of the event type.
- message String
- Some optional explanations of the eventNote: This field may return null, indicating that no valid values can be obtained.
- running
Order NumberId - Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- solution
Link String - Troubleshooting manual link for the abnormal eventNote: This field may return null, indicating that no valid values can be obtained.
- timestamp Number
- Unix timestamp (seconds) when the event occurred.
- type String
- Internally defined event type.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
