1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getOceanusCheckSavepoint
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getOceanusCheckSavepoint

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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",
        recordType: 1,
        savepointPath: "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334",
        serialId: "svp-52xkpymp",
        workSpaceId: "space-2idq8wbr",
    });
    
    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")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 dictionary

    The following arguments are supported:

    JobId string
    Job id.
    RecordType double
    Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
    SavepointPath string
    Snapshot path, currently only supports COS path.
    SerialId string
    Snapshot resource ID.
    WorkSpaceId string
    Workspace ID.
    Id string
    ResultOutputFile string
    Used to save results.
    JobId string
    Job id.
    RecordType float64
    Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
    SavepointPath string
    Snapshot path, currently only supports COS path.
    SerialId string
    Snapshot resource ID.
    WorkSpaceId string
    Workspace ID.
    Id string
    ResultOutputFile string
    Used to save results.
    jobId String
    Job id.
    recordType Double
    Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
    savepointPath String
    Snapshot path, currently only supports COS path.
    serialId String
    Snapshot resource ID.
    workSpaceId String
    Workspace ID.
    id String
    resultOutputFile String
    Used to save results.
    jobId string
    Job id.
    recordType number
    Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
    savepointPath string
    Snapshot path, currently only supports COS path.
    serialId string
    Snapshot resource ID.
    workSpaceId string
    Workspace ID.
    id string
    resultOutputFile string
    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_id str
    Workspace ID.
    id str
    result_output_file str
    Used to save results.
    jobId String
    Job id.
    recordType Number
    Snapshot type. 1:savepoint; 2:checkpoint; 3:cancelWithSavepoint.
    savepointPath String
    Snapshot path, currently only supports COS path.
    serialId String
    Snapshot resource ID.
    workSpaceId 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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack