1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getOceanusSavepointList
tencentcloud 1.81.187 published on Monday, Apr 28, 2025 by tencentcloudstack

tencentcloud.getOceanusSavepointList

Explore with Pulumi AI

Use this data source to query detailed information of oceanus savepoint_list

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = tencentcloud.getOceanusSavepointList({
    jobId: "cql-314rw6w0",
    workSpaceId: "space-2idq8wbr",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.get_oceanus_savepoint_list(job_id="cql-314rw6w0",
    work_space_id="space-2idq8wbr")
Copy
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.GetOceanusSavepointList(ctx, &tencentcloud.GetOceanusSavepointListArgs{
			JobId:       "cql-314rw6w0",
			WorkSpaceId: pulumi.StringRef("space-2idq8wbr"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var example = Tencentcloud.GetOceanusSavepointList.Invoke(new()
    {
        JobId = "cql-314rw6w0",
        WorkSpaceId = "space-2idq8wbr",
    });

});
Copy
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.GetOceanusSavepointListArgs;
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.getOceanusSavepointList(GetOceanusSavepointListArgs.builder()
            .jobId("cql-314rw6w0")
            .workSpaceId("space-2idq8wbr")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: tencentcloud:getOceanusSavepointList
      arguments:
        jobId: cql-314rw6w0
        workSpaceId: space-2idq8wbr
Copy

Using getOceanusSavepointList

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 getOceanusSavepointList(args: GetOceanusSavepointListArgs, opts?: InvokeOptions): Promise<GetOceanusSavepointListResult>
function getOceanusSavepointListOutput(args: GetOceanusSavepointListOutputArgs, opts?: InvokeOptions): Output<GetOceanusSavepointListResult>
Copy
def get_oceanus_savepoint_list(id: Optional[str] = None,
                               job_id: Optional[str] = None,
                               result_output_file: Optional[str] = None,
                               work_space_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetOceanusSavepointListResult
def get_oceanus_savepoint_list_output(id: Optional[pulumi.Input[str]] = None,
                               job_id: Optional[pulumi.Input[str]] = None,
                               result_output_file: Optional[pulumi.Input[str]] = None,
                               work_space_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetOceanusSavepointListResult]
Copy
func GetOceanusSavepointList(ctx *Context, args *GetOceanusSavepointListArgs, opts ...InvokeOption) (*GetOceanusSavepointListResult, error)
func GetOceanusSavepointListOutput(ctx *Context, args *GetOceanusSavepointListOutputArgs, opts ...InvokeOption) GetOceanusSavepointListResultOutput
Copy

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

public static class GetOceanusSavepointList 
{
    public static Task<GetOceanusSavepointListResult> InvokeAsync(GetOceanusSavepointListArgs args, InvokeOptions? opts = null)
    public static Output<GetOceanusSavepointListResult> Invoke(GetOceanusSavepointListInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOceanusSavepointListResult> getOceanusSavepointList(GetOceanusSavepointListArgs args, InvokeOptions options)
public static Output<GetOceanusSavepointListResult> getOceanusSavepointList(GetOceanusSavepointListArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getOceanusSavepointList:getOceanusSavepointList
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

JobId This property is required. string
Job SerialId.
Id string
Primary keyNote: This field may return null, indicating that no valid value was found.
ResultOutputFile string
Used to save results.
WorkSpaceId string
Workspace SerialId.
JobId This property is required. string
Job SerialId.
Id string
Primary keyNote: This field may return null, indicating that no valid value was found.
ResultOutputFile string
Used to save results.
WorkSpaceId string
Workspace SerialId.
jobId This property is required. String
Job SerialId.
id String
Primary keyNote: This field may return null, indicating that no valid value was found.
resultOutputFile String
Used to save results.
workSpaceId String
Workspace SerialId.
jobId This property is required. string
Job SerialId.
id string
Primary keyNote: This field may return null, indicating that no valid value was found.
resultOutputFile string
Used to save results.
workSpaceId string
Workspace SerialId.
job_id This property is required. str
Job SerialId.
id str
Primary keyNote: This field may return null, indicating that no valid value was found.
result_output_file str
Used to save results.
work_space_id str
Workspace SerialId.
jobId This property is required. String
Job SerialId.
id String
Primary keyNote: This field may return null, indicating that no valid value was found.
resultOutputFile String
Used to save results.
workSpaceId String
Workspace SerialId.

getOceanusSavepointList Result

The following output properties are available:

Id string
Primary keyNote: This field may return null, indicating that no valid value was found.
JobId string
Savepoints List<GetOceanusSavepointListSavepoint>
Snapshot listNote: This field may return null, indicating that no valid value was found.
ResultOutputFile string
WorkSpaceId string
Id string
Primary keyNote: This field may return null, indicating that no valid value was found.
JobId string
Savepoints []GetOceanusSavepointListSavepoint
Snapshot listNote: This field may return null, indicating that no valid value was found.
ResultOutputFile string
WorkSpaceId string
id String
Primary keyNote: This field may return null, indicating that no valid value was found.
jobId String
savepoints List<GetOceanusSavepointListSavepoint>
Snapshot listNote: This field may return null, indicating that no valid value was found.
resultOutputFile String
workSpaceId String
id string
Primary keyNote: This field may return null, indicating that no valid value was found.
jobId string
savepoints GetOceanusSavepointListSavepoint[]
Snapshot listNote: This field may return null, indicating that no valid value was found.
resultOutputFile string
workSpaceId string
id str
Primary keyNote: This field may return null, indicating that no valid value was found.
job_id str
savepoints Sequence[GetOceanusSavepointListSavepoint]
Snapshot listNote: This field may return null, indicating that no valid value was found.
result_output_file str
work_space_id str
id String
Primary keyNote: This field may return null, indicating that no valid value was found.
jobId String
savepoints List<Property Map>
Snapshot listNote: This field may return null, indicating that no valid value was found.
resultOutputFile String
workSpaceId String

Supporting Types

GetOceanusSavepointListSavepoint

CreateTime This property is required. double
Creation timeNote: This field may return null, indicating that no valid value was found.
Description This property is required. string
DescriptionNote: This field may return null, indicating that no valid value was found.
Id This property is required. double
Primary keyNote: This field may return null, indicating that no valid value was found.
JobRuntimeId This property is required. double
Sequential ID of the running job instanceNote: This field may return null, indicating that no valid value was found.
Path This property is required. string
PathNote: This field may return null, indicating that no valid value was found.
PathStatus This property is required. double
Snapshot path status: 1=available; 2=unavailable;Note: This field may return null, indicating that no valid value was found.
RecordType This property is required. double
Snapshot type: 1=savepoint; 2=checkpoint; 3=cancelWithSavepointNote: This field may return null, indicating that no valid value was found.
SerialId This property is required. string
Snapshot SerialIdNote: This field may return null, indicating that no valid value was found.
Size This property is required. double
SizeNote: This field may return null, indicating that no valid value was found.
Status This property is required. double
Status: 1=Active; 2=Expired; 3=InProgress; 4=Failed; 5=TimeoutNote: This field may return null, indicating that no valid value was found.
TimeConsuming This property is required. double
Time consumptionNote: This field may return null, indicating that no valid value was found.
Timeout This property is required. double
Fixed timeoutNote: This field may return null, indicating that no valid value was found.
UpdateTime This property is required. double
Update timeNote: This field may return null, indicating that no valid value was found.
VersionId This property is required. double
Version numberNote: This field may return null, indicating that no valid value was found.
CreateTime This property is required. float64
Creation timeNote: This field may return null, indicating that no valid value was found.
Description This property is required. string
DescriptionNote: This field may return null, indicating that no valid value was found.
Id This property is required. float64
Primary keyNote: This field may return null, indicating that no valid value was found.
JobRuntimeId This property is required. float64
Sequential ID of the running job instanceNote: This field may return null, indicating that no valid value was found.
Path This property is required. string
PathNote: This field may return null, indicating that no valid value was found.
PathStatus This property is required. float64
Snapshot path status: 1=available; 2=unavailable;Note: This field may return null, indicating that no valid value was found.
RecordType This property is required. float64
Snapshot type: 1=savepoint; 2=checkpoint; 3=cancelWithSavepointNote: This field may return null, indicating that no valid value was found.
SerialId This property is required. string
Snapshot SerialIdNote: This field may return null, indicating that no valid value was found.
Size This property is required. float64
SizeNote: This field may return null, indicating that no valid value was found.
Status This property is required. float64
Status: 1=Active; 2=Expired; 3=InProgress; 4=Failed; 5=TimeoutNote: This field may return null, indicating that no valid value was found.
TimeConsuming This property is required. float64
Time consumptionNote: This field may return null, indicating that no valid value was found.
Timeout This property is required. float64
Fixed timeoutNote: This field may return null, indicating that no valid value was found.
UpdateTime This property is required. float64
Update timeNote: This field may return null, indicating that no valid value was found.
VersionId This property is required. float64
Version numberNote: This field may return null, indicating that no valid value was found.
createTime This property is required. Double
Creation timeNote: This field may return null, indicating that no valid value was found.
description This property is required. String
DescriptionNote: This field may return null, indicating that no valid value was found.
id This property is required. Double
Primary keyNote: This field may return null, indicating that no valid value was found.
jobRuntimeId This property is required. Double
Sequential ID of the running job instanceNote: This field may return null, indicating that no valid value was found.
path This property is required. String
PathNote: This field may return null, indicating that no valid value was found.
pathStatus This property is required. Double
Snapshot path status: 1=available; 2=unavailable;Note: This field may return null, indicating that no valid value was found.
recordType This property is required. Double
Snapshot type: 1=savepoint; 2=checkpoint; 3=cancelWithSavepointNote: This field may return null, indicating that no valid value was found.
serialId This property is required. String
Snapshot SerialIdNote: This field may return null, indicating that no valid value was found.
size This property is required. Double
SizeNote: This field may return null, indicating that no valid value was found.
status This property is required. Double
Status: 1=Active; 2=Expired; 3=InProgress; 4=Failed; 5=TimeoutNote: This field may return null, indicating that no valid value was found.
timeConsuming This property is required. Double
Time consumptionNote: This field may return null, indicating that no valid value was found.
timeout This property is required. Double
Fixed timeoutNote: This field may return null, indicating that no valid value was found.
updateTime This property is required. Double
Update timeNote: This field may return null, indicating that no valid value was found.
versionId This property is required. Double
Version numberNote: This field may return null, indicating that no valid value was found.
createTime This property is required. number
Creation timeNote: This field may return null, indicating that no valid value was found.
description This property is required. string
DescriptionNote: This field may return null, indicating that no valid value was found.
id This property is required. number
Primary keyNote: This field may return null, indicating that no valid value was found.
jobRuntimeId This property is required. number
Sequential ID of the running job instanceNote: This field may return null, indicating that no valid value was found.
path This property is required. string
PathNote: This field may return null, indicating that no valid value was found.
pathStatus This property is required. number
Snapshot path status: 1=available; 2=unavailable;Note: This field may return null, indicating that no valid value was found.
recordType This property is required. number
Snapshot type: 1=savepoint; 2=checkpoint; 3=cancelWithSavepointNote: This field may return null, indicating that no valid value was found.
serialId This property is required. string
Snapshot SerialIdNote: This field may return null, indicating that no valid value was found.
size This property is required. number
SizeNote: This field may return null, indicating that no valid value was found.
status This property is required. number
Status: 1=Active; 2=Expired; 3=InProgress; 4=Failed; 5=TimeoutNote: This field may return null, indicating that no valid value was found.
timeConsuming This property is required. number
Time consumptionNote: This field may return null, indicating that no valid value was found.
timeout This property is required. number
Fixed timeoutNote: This field may return null, indicating that no valid value was found.
updateTime This property is required. number
Update timeNote: This field may return null, indicating that no valid value was found.
versionId This property is required. number
Version numberNote: This field may return null, indicating that no valid value was found.
create_time This property is required. float
Creation timeNote: This field may return null, indicating that no valid value was found.
description This property is required. str
DescriptionNote: This field may return null, indicating that no valid value was found.
id This property is required. float
Primary keyNote: This field may return null, indicating that no valid value was found.
job_runtime_id This property is required. float
Sequential ID of the running job instanceNote: This field may return null, indicating that no valid value was found.
path This property is required. str
PathNote: This field may return null, indicating that no valid value was found.
path_status This property is required. float
Snapshot path status: 1=available; 2=unavailable;Note: This field may return null, indicating that no valid value was found.
record_type This property is required. float
Snapshot type: 1=savepoint; 2=checkpoint; 3=cancelWithSavepointNote: This field may return null, indicating that no valid value was found.
serial_id This property is required. str
Snapshot SerialIdNote: This field may return null, indicating that no valid value was found.
size This property is required. float
SizeNote: This field may return null, indicating that no valid value was found.
status This property is required. float
Status: 1=Active; 2=Expired; 3=InProgress; 4=Failed; 5=TimeoutNote: This field may return null, indicating that no valid value was found.
time_consuming This property is required. float
Time consumptionNote: This field may return null, indicating that no valid value was found.
timeout This property is required. float
Fixed timeoutNote: This field may return null, indicating that no valid value was found.
update_time This property is required. float
Update timeNote: This field may return null, indicating that no valid value was found.
version_id This property is required. float
Version numberNote: This field may return null, indicating that no valid value was found.
createTime This property is required. Number
Creation timeNote: This field may return null, indicating that no valid value was found.
description This property is required. String
DescriptionNote: This field may return null, indicating that no valid value was found.
id This property is required. Number
Primary keyNote: This field may return null, indicating that no valid value was found.
jobRuntimeId This property is required. Number
Sequential ID of the running job instanceNote: This field may return null, indicating that no valid value was found.
path This property is required. String
PathNote: This field may return null, indicating that no valid value was found.
pathStatus This property is required. Number
Snapshot path status: 1=available; 2=unavailable;Note: This field may return null, indicating that no valid value was found.
recordType This property is required. Number
Snapshot type: 1=savepoint; 2=checkpoint; 3=cancelWithSavepointNote: This field may return null, indicating that no valid value was found.
serialId This property is required. String
Snapshot SerialIdNote: This field may return null, indicating that no valid value was found.
size This property is required. Number
SizeNote: This field may return null, indicating that no valid value was found.
status This property is required. Number
Status: 1=Active; 2=Expired; 3=InProgress; 4=Failed; 5=TimeoutNote: This field may return null, indicating that no valid value was found.
timeConsuming This property is required. Number
Time consumptionNote: This field may return null, indicating that no valid value was found.
timeout This property is required. Number
Fixed timeoutNote: This field may return null, indicating that no valid value was found.
updateTime This property is required. Number
Update timeNote: This field may return null, indicating that no valid value was found.
versionId This property is required. Number
Version numberNote: This field may return null, indicating that no valid value was found.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.