tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getOceanusJobEvents
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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({
    endTimestamp: 1631232466,
    jobId: "cql-6w8eab6f",
    startTimestamp: 1630932161,
    types: [
        "1",
        "2",
    ],
    workSpaceId: "space-6w8eab6f",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_oceanus_job_events(end_timestamp=1631232466,
    job_id="cql-6w8eab6f",
    start_timestamp=1630932161,
    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{
			EndTimestamp:   1631232466,
			JobId:          "cql-6w8eab6f",
			StartTimestamp: 1630932161,
			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()
    {
        EndTimestamp = 1631232466,
        JobId = "cql-6w8eab6f",
        StartTimestamp = 1630932161,
        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()
            .endTimestamp(1631232466)
            .jobId("cql-6w8eab6f")
            .startTimestamp(1630932161)
            .types(            
                "1",
                "2")
            .workSpaceId("space-6w8eab6f")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: tencentcloud:getOceanusJobEvents
      arguments:
        endTimestamp: 1.631232466e+09
        jobId: cql-6w8eab6f
        startTimestamp: 1.630932161e+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:
- EndTimestamp double
- Filter condition:End Unix timestamp (seconds).
- JobId string
- Job ID.
- StartTimestamp double
- Filter condition:Start Unix timestamp (seconds).
- WorkSpace stringId 
- Workspace SerialId.
- Id string
- ResultOutput stringFile 
- Used to save results.
- Types List<string>
- Event types. If not passed, data of all types will be returned.
- EndTimestamp float64
- Filter condition:End Unix timestamp (seconds).
- JobId string
- Job ID.
- StartTimestamp float64
- Filter condition:Start Unix timestamp (seconds).
- WorkSpace stringId 
- Workspace SerialId.
- Id string
- ResultOutput stringFile 
- Used to save results.
- Types []string
- Event types. If not passed, data of all types will be returned.
- endTimestamp Double
- Filter condition:End Unix timestamp (seconds).
- jobId String
- Job ID.
- startTimestamp Double
- Filter condition:Start Unix timestamp (seconds).
- workSpace StringId 
- Workspace SerialId.
- id String
- resultOutput StringFile 
- Used to save results.
- types List<String>
- Event types. If not passed, data of all types will be returned.
- endTimestamp number
- Filter condition:End Unix timestamp (seconds).
- jobId string
- Job ID.
- startTimestamp number
- Filter condition:Start Unix timestamp (seconds).
- workSpace stringId 
- Workspace SerialId.
- id string
- resultOutput 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.
- endTimestamp Number
- Filter condition:End Unix timestamp (seconds).
- jobId String
- Job ID.
- startTimestamp Number
- Filter condition:Start Unix timestamp (seconds).
- workSpace StringId 
- Workspace SerialId.
- id String
- resultOutput 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:
- EndTimestamp double
- Events
List<GetOceanus 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
- JobId string
- RunningOrder List<double>Ids 
- Array of running instance IDs.
- StartTimestamp double
- WorkSpace stringId 
- ResultOutput stringFile 
- Types List<string>
- EndTimestamp float64
- Events
[]GetOceanus 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
- JobId string
- RunningOrder []float64Ids 
- Array of running instance IDs.
- StartTimestamp float64
- WorkSpace stringId 
- ResultOutput stringFile 
- Types []string
- endTimestamp Double
- events
List<GetOceanus 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
- jobId String
- runningOrder List<Double>Ids 
- Array of running instance IDs.
- startTimestamp Double
- workSpace StringId 
- resultOutput StringFile 
- types List<String>
- endTimestamp number
- events
GetOceanus 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
- jobId string
- runningOrder number[]Ids 
- Array of running instance IDs.
- startTimestamp number
- workSpace stringId 
- resultOutput stringFile 
- types string[]
- end_timestamp float
- events
Sequence[GetOceanus 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]
- endTimestamp 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
- jobId String
- runningOrder List<Number>Ids 
- Array of running instance IDs.
- startTimestamp Number
- workSpace StringId 
- resultOutput 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.
- RunningOrder doubleId 
- Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- SolutionLink 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.
- RunningOrder float64Id 
- Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- SolutionLink 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.
- runningOrder DoubleId 
- Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- solutionLink 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.
- runningOrder numberId 
- Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- solutionLink 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.
- runningOrder NumberId 
- Running ID when the event occurredNote: This field may return null, indicating that no valid values can be obtained.
- solutionLink 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.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack