tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getOceanusCheckSavepoint
Start a Neo task
Explain and create a tencentcloud.getOceanusCheckSavepoint resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
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",
serialId: "svp-52xkpymp",
recordType: 1,
savepointPath: "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
workSpaceId: "space-2idq8wbr",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_oceanus_check_savepoint(job_id="cql-314rw6w0",
serial_id="svp-52xkpymp",
record_type=1,
savepoint_path="cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
work_space_id="space-2idq8wbr")
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",
SerialId: "svp-52xkpymp",
RecordType: 1,
SavepointPath: "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
WorkSpaceId: "space-2idq8wbr",
}, 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.GetOceanusCheckSavepoint.Invoke(new()
{
JobId = "cql-314rw6w0",
SerialId = "svp-52xkpymp",
RecordType = 1,
SavepointPath = "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
WorkSpaceId = "space-2idq8wbr",
});
});
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")
.serialId("svp-52xkpymp")
.recordType(1)
.savepointPath("cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334")
.workSpaceId("space-2idq8wbr")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getOceanusCheckSavepoint
arguments:
jobId: cql-314rw6w0
serialId: svp-52xkpymp
recordType: 1
savepointPath: cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334
workSpaceId: space-2idq8wbr
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>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]func GetOceanusCheckSavepoint(ctx *Context, args *GetOceanusCheckSavepointArgs, opts ...InvokeOption) (*GetOceanusCheckSavepointResult, error)
func GetOceanusCheckSavepointOutput(ctx *Context, args *GetOceanusCheckSavepointOutputArgs, opts ...InvokeOption) GetOceanusCheckSavepointResultOutput> 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)
}public static CompletableFuture<GetOceanusCheckSavepointResult> getOceanusCheckSavepoint(GetOceanusCheckSavepointArgs args, InvokeOptions options)
public static Output<GetOceanusCheckSavepointResult> getOceanusCheckSavepoint(GetOceanusCheckSavepointArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getOceanusCheckSavepoint:getOceanusCheckSavepoint
arguments:
# arguments dictionaryThe following arguments are supported:
- Job
Id string - Job id.
- Record
Type double - Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
- Savepoint
Path string - Snapshot path, currently only supports COS path.
- Serial
Id string - Snapshot resource ID.
- Work
Space stringId - Workspace ID.
- Id string
- Result
Output stringFile - Used to save results.
- Job
Id string - Job id.
- Record
Type float64 - Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
- Savepoint
Path string - Snapshot path, currently only supports COS path.
- Serial
Id string - Snapshot resource ID.
- Work
Space stringId - Workspace ID.
- Id string
- Result
Output stringFile - Used to save results.
- job
Id String - Job id.
- record
Type Double - Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
- savepoint
Path String - Snapshot path, currently only supports COS path.
- serial
Id String - Snapshot resource ID.
- work
Space StringId - Workspace ID.
- id String
- result
Output StringFile - Used to save results.
- job
Id string - Job id.
- record
Type number - Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
- savepoint
Path string - Snapshot path, currently only supports COS path.
- serial
Id string - Snapshot resource ID.
- work
Space stringId - Workspace ID.
- id string
- result
Output stringFile - Used to save results.
- job_
id str - Job id.
- record_
type float - Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
- savepoint_
path str - Snapshot path, currently only supports COS path.
- serial_
id str - Snapshot resource ID.
- work_
space_ strid - Workspace ID.
- id str
- result_
output_ strfile - Used to save results.
- job
Id String - Job id.
- record
Type Number - Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
- savepoint
Path String - Snapshot path, currently only supports COS path.
- serial
Id String - Snapshot resource ID.
- work
Space StringId - Workspace ID.
- id String
- result
Output StringFile - Used to save results.
getOceanusCheckSavepoint Result
The following output properties are available:
- Id string
- Job
Id string - Record
Type double - Savepoint
Path string - Savepoint
Status double - 1=available, 2=unavailable.
- Serial
Id string - Work
Space stringId - Result
Output stringFile
- Id string
- Job
Id string - Record
Type float64 - Savepoint
Path string - Savepoint
Status float64 - 1=available, 2=unavailable.
- Serial
Id string - Work
Space stringId - Result
Output stringFile
- id String
- job
Id String - record
Type Double - savepoint
Path String - savepoint
Status Double - 1=available, 2=unavailable.
- serial
Id String - work
Space StringId - result
Output StringFile
- id string
- job
Id string - record
Type number - savepoint
Path string - savepoint
Status number - 1=available, 2=unavailable.
- serial
Id string - work
Space stringId - result
Output stringFile
- id str
- job_
id str - record_
type float - savepoint_
path str - savepoint_
status float - 1=available, 2=unavailable.
- serial_
id str - work_
space_ strid - result_
output_ strfile
- id String
- job
Id String - record
Type Number - savepoint
Path String - savepoint
Status Number - 1=available, 2=unavailable.
- serial
Id String - work
Space StringId - result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
