1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getOceanusCheckSavepoint
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.getOceanusCheckSavepoint

Explore with Pulumi AI

Use this data source to query detailed information of oceanus check_savepoint

Example Usage

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

const example = tencentcloud.getOceanusCheckSavepoint({
    jobId: "cql-314rw6w0",
    recordType: 1,
    savepointPath: "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
    serialId: "svp-52xkpymp",
    workSpaceId: "space-2idq8wbr",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.get_oceanus_check_savepoint(job_id="cql-314rw6w0",
    record_type=1,
    savepoint_path="cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
    serial_id="svp-52xkpymp",
    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.GetOceanusCheckSavepoint(ctx, &tencentcloud.GetOceanusCheckSavepointArgs{
			JobId:         "cql-314rw6w0",
			RecordType:    1,
			SavepointPath: "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
			SerialId:      "svp-52xkpymp",
			WorkSpaceId:   "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.GetOceanusCheckSavepoint.Invoke(new()
    {
        JobId = "cql-314rw6w0",
        RecordType = 1,
        SavepointPath = "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
        SerialId = "svp-52xkpymp",
        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.GetOceanusCheckSavepointArgs;
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.getOceanusCheckSavepoint(GetOceanusCheckSavepointArgs.builder()
            .jobId("cql-314rw6w0")
            .recordType(1)
            .savepointPath("cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334")
            .serialId("svp-52xkpymp")
            .workSpaceId("space-2idq8wbr")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: tencentcloud:getOceanusCheckSavepoint
      arguments:
        jobId: cql-314rw6w0
        recordType: 1
        savepointPath: cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334
        serialId: svp-52xkpymp
        workSpaceId: space-2idq8wbr
Copy

Using getOceanusCheckSavepoint

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 getOceanusCheckSavepoint(args: GetOceanusCheckSavepointArgs, opts?: InvokeOptions): Promise<GetOceanusCheckSavepointResult>
function getOceanusCheckSavepointOutput(args: GetOceanusCheckSavepointOutputArgs, opts?: InvokeOptions): Output<GetOceanusCheckSavepointResult>
Copy
def get_oceanus_check_savepoint(id: Optional[str] = None,
                                job_id: Optional[str] = None,
                                record_type: Optional[float] = None,
                                result_output_file: Optional[str] = None,
                                savepoint_path: Optional[str] = None,
                                serial_id: Optional[str] = None,
                                work_space_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetOceanusCheckSavepointResult
def get_oceanus_check_savepoint_output(id: Optional[pulumi.Input[str]] = None,
                                job_id: Optional[pulumi.Input[str]] = None,
                                record_type: Optional[pulumi.Input[float]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                savepoint_path: Optional[pulumi.Input[str]] = None,
                                serial_id: Optional[pulumi.Input[str]] = None,
                                work_space_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetOceanusCheckSavepointResult]
Copy
func GetOceanusCheckSavepoint(ctx *Context, args *GetOceanusCheckSavepointArgs, opts ...InvokeOption) (*GetOceanusCheckSavepointResult, error)
func GetOceanusCheckSavepointOutput(ctx *Context, args *GetOceanusCheckSavepointOutputArgs, opts ...InvokeOption) GetOceanusCheckSavepointResultOutput
Copy

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

public static class GetOceanusCheckSavepoint 
{
    public static Task<GetOceanusCheckSavepointResult> InvokeAsync(GetOceanusCheckSavepointArgs args, InvokeOptions? opts = null)
    public static Output<GetOceanusCheckSavepointResult> Invoke(GetOceanusCheckSavepointInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOceanusCheckSavepointResult> getOceanusCheckSavepoint(GetOceanusCheckSavepointArgs args, InvokeOptions options)
public static Output<GetOceanusCheckSavepointResult> getOceanusCheckSavepoint(GetOceanusCheckSavepointArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getOceanusCheckSavepoint:getOceanusCheckSavepoint
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

JobId This property is required. string
Job id.
RecordType This property is required. double
Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
SavepointPath This property is required. string
Snapshot path, currently only supports COS path.
SerialId This property is required. string
Snapshot resource ID.
WorkSpaceId This property is required. string
Workspace ID.
Id string
ResultOutputFile string
Used to save results.
JobId This property is required. string
Job id.
RecordType This property is required. float64
Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
SavepointPath This property is required. string
Snapshot path, currently only supports COS path.
SerialId This property is required. string
Snapshot resource ID.
WorkSpaceId This property is required. string
Workspace ID.
Id string
ResultOutputFile string
Used to save results.
jobId This property is required. String
Job id.
recordType This property is required. Double
Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
savepointPath This property is required. String
Snapshot path, currently only supports COS path.
serialId This property is required. String
Snapshot resource ID.
workSpaceId This property is required. String
Workspace ID.
id String
resultOutputFile String
Used to save results.
jobId This property is required. string
Job id.
recordType This property is required. number
Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
savepointPath This property is required. string
Snapshot path, currently only supports COS path.
serialId This property is required. string
Snapshot resource ID.
workSpaceId This property is required. string
Workspace ID.
id string
resultOutputFile string
Used to save results.
job_id This property is required. str
Job id.
record_type This property is required. float
Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
savepoint_path This property is required. str
Snapshot path, currently only supports COS path.
serial_id This property is required. str
Snapshot resource ID.
work_space_id This property is required. str
Workspace ID.
id str
result_output_file str
Used to save results.
jobId This property is required. String
Job id.
recordType This property is required. Number
Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
savepointPath This property is required. String
Snapshot path, currently only supports COS path.
serialId This property is required. String
Snapshot resource ID.
workSpaceId This property is required. String
Workspace ID.
id String
resultOutputFile String
Used to save results.

getOceanusCheckSavepoint Result

The following output properties are available:

Id string
JobId string
RecordType double
SavepointPath string
SavepointStatus double
1=available, 2=unavailable.
SerialId string
WorkSpaceId string
ResultOutputFile string
Id string
JobId string
RecordType float64
SavepointPath string
SavepointStatus float64
1=available, 2=unavailable.
SerialId string
WorkSpaceId string
ResultOutputFile string
id String
jobId String
recordType Double
savepointPath String
savepointStatus Double
1=available, 2=unavailable.
serialId String
workSpaceId String
resultOutputFile String
id string
jobId string
recordType number
savepointPath string
savepointStatus number
1=available, 2=unavailable.
serialId string
workSpaceId string
resultOutputFile string
id str
job_id str
record_type float
savepoint_path str
savepoint_status float
1=available, 2=unavailable.
serial_id str
work_space_id str
result_output_file str
id String
jobId String
recordType Number
savepointPath String
savepointStatus Number
1=available, 2=unavailable.
serialId String
workSpaceId String
resultOutputFile String

Package Details

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