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

tencentcloud.OceanusTriggerJobSavepoint

Explore with Pulumi AI

Provides a resource to create a oceanus trigger_job_savepoint

Example Usage

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

const example = new tencentcloud.OceanusTriggerJobSavepoint("example", {
    description: "description.",
    jobId: "cql-4xwincyn",
    workSpaceId: "space-2idq8wbr",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.OceanusTriggerJobSavepoint("example",
    description="description.",
    job_id="cql-4xwincyn",
    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.NewOceanusTriggerJobSavepoint(ctx, "example", &tencentcloud.OceanusTriggerJobSavepointArgs{
			Description: pulumi.String("description."),
			JobId:       pulumi.String("cql-4xwincyn"),
			WorkSpaceId: pulumi.String("space-2idq8wbr"),
		})
		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 = new Tencentcloud.OceanusTriggerJobSavepoint("example", new()
    {
        Description = "description.",
        JobId = "cql-4xwincyn",
        WorkSpaceId = "space-2idq8wbr",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.OceanusTriggerJobSavepoint;
import com.pulumi.tencentcloud.OceanusTriggerJobSavepointArgs;
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) {
        var example = new OceanusTriggerJobSavepoint("example", OceanusTriggerJobSavepointArgs.builder()
            .description("description.")
            .jobId("cql-4xwincyn")
            .workSpaceId("space-2idq8wbr")
            .build());

    }
}
Copy
resources:
  example:
    type: tencentcloud:OceanusTriggerJobSavepoint
    properties:
      description: description.
      jobId: cql-4xwincyn
      workSpaceId: space-2idq8wbr
Copy

Create OceanusTriggerJobSavepoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new OceanusTriggerJobSavepoint(name: string, args: OceanusTriggerJobSavepointArgs, opts?: CustomResourceOptions);
@overload
def OceanusTriggerJobSavepoint(resource_name: str,
                               args: OceanusTriggerJobSavepointArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def OceanusTriggerJobSavepoint(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               job_id: Optional[str] = None,
                               description: Optional[str] = None,
                               oceanus_trigger_job_savepoint_id: Optional[str] = None,
                               work_space_id: Optional[str] = None)
func NewOceanusTriggerJobSavepoint(ctx *Context, name string, args OceanusTriggerJobSavepointArgs, opts ...ResourceOption) (*OceanusTriggerJobSavepoint, error)
public OceanusTriggerJobSavepoint(string name, OceanusTriggerJobSavepointArgs args, CustomResourceOptions? opts = null)
public OceanusTriggerJobSavepoint(String name, OceanusTriggerJobSavepointArgs args)
public OceanusTriggerJobSavepoint(String name, OceanusTriggerJobSavepointArgs args, CustomResourceOptions options)
type: tencentcloud:OceanusTriggerJobSavepoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OceanusTriggerJobSavepointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OceanusTriggerJobSavepointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OceanusTriggerJobSavepointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OceanusTriggerJobSavepointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OceanusTriggerJobSavepointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

OceanusTriggerJobSavepoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The OceanusTriggerJobSavepoint resource accepts the following input properties:

JobId This property is required. string
Job SerialId.
Description string
Savepoint description.
OceanusTriggerJobSavepointId string
ID of the resource.
WorkSpaceId string
Workspace SerialId.
JobId This property is required. string
Job SerialId.
Description string
Savepoint description.
OceanusTriggerJobSavepointId string
ID of the resource.
WorkSpaceId string
Workspace SerialId.
jobId This property is required. String
Job SerialId.
description String
Savepoint description.
oceanusTriggerJobSavepointId String
ID of the resource.
workSpaceId String
Workspace SerialId.
jobId This property is required. string
Job SerialId.
description string
Savepoint description.
oceanusTriggerJobSavepointId string
ID of the resource.
workSpaceId string
Workspace SerialId.
job_id This property is required. str
Job SerialId.
description str
Savepoint description.
oceanus_trigger_job_savepoint_id str
ID of the resource.
work_space_id str
Workspace SerialId.
jobId This property is required. String
Job SerialId.
description String
Savepoint description.
oceanusTriggerJobSavepointId String
ID of the resource.
workSpaceId String
Workspace SerialId.

Outputs

All input properties are implicitly available as output properties. Additionally, the OceanusTriggerJobSavepoint resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing OceanusTriggerJobSavepoint Resource

Get an existing OceanusTriggerJobSavepoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: OceanusTriggerJobSavepointState, opts?: CustomResourceOptions): OceanusTriggerJobSavepoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        job_id: Optional[str] = None,
        oceanus_trigger_job_savepoint_id: Optional[str] = None,
        work_space_id: Optional[str] = None) -> OceanusTriggerJobSavepoint
func GetOceanusTriggerJobSavepoint(ctx *Context, name string, id IDInput, state *OceanusTriggerJobSavepointState, opts ...ResourceOption) (*OceanusTriggerJobSavepoint, error)
public static OceanusTriggerJobSavepoint Get(string name, Input<string> id, OceanusTriggerJobSavepointState? state, CustomResourceOptions? opts = null)
public static OceanusTriggerJobSavepoint get(String name, Output<String> id, OceanusTriggerJobSavepointState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:OceanusTriggerJobSavepoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string
Savepoint description.
JobId string
Job SerialId.
OceanusTriggerJobSavepointId string
ID of the resource.
WorkSpaceId string
Workspace SerialId.
Description string
Savepoint description.
JobId string
Job SerialId.
OceanusTriggerJobSavepointId string
ID of the resource.
WorkSpaceId string
Workspace SerialId.
description String
Savepoint description.
jobId String
Job SerialId.
oceanusTriggerJobSavepointId String
ID of the resource.
workSpaceId String
Workspace SerialId.
description string
Savepoint description.
jobId string
Job SerialId.
oceanusTriggerJobSavepointId string
ID of the resource.
workSpaceId string
Workspace SerialId.
description str
Savepoint description.
job_id str
Job SerialId.
oceanus_trigger_job_savepoint_id str
ID of the resource.
work_space_id str
Workspace SerialId.
description String
Savepoint description.
jobId String
Job SerialId.
oceanusTriggerJobSavepointId String
ID of the resource.
workSpaceId String
Workspace SerialId.

Package Details

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