1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TemWorkload
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.TemWorkload

Explore with Pulumi AI

Provides a resource to create a tem workload

Example Usage

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

const workload = new tencentcloud.TemWorkload("workload", {
    applicationId: "app-j4d3x6kj",
    cpuSpec: 1,
    deployMode: "IMAGE",
    deployVersion: "hello-world",
    environmentId: "en-85377m6j",
    imgRepo: "tem_demo/tem_demo",
    initPodNum: 1,
    memorySpec: 1,
    repoServer: "ccr.ccs.tencentyun.com",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

workload = tencentcloud.TemWorkload("workload",
    application_id="app-j4d3x6kj",
    cpu_spec=1,
    deploy_mode="IMAGE",
    deploy_version="hello-world",
    environment_id="en-85377m6j",
    img_repo="tem_demo/tem_demo",
    init_pod_num=1,
    memory_spec=1,
    repo_server="ccr.ccs.tencentyun.com")
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.NewTemWorkload(ctx, "workload", &tencentcloud.TemWorkloadArgs{
			ApplicationId: pulumi.String("app-j4d3x6kj"),
			CpuSpec:       pulumi.Float64(1),
			DeployMode:    pulumi.String("IMAGE"),
			DeployVersion: pulumi.String("hello-world"),
			EnvironmentId: pulumi.String("en-85377m6j"),
			ImgRepo:       pulumi.String("tem_demo/tem_demo"),
			InitPodNum:    pulumi.Float64(1),
			MemorySpec:    pulumi.Float64(1),
			RepoServer:    pulumi.String("ccr.ccs.tencentyun.com"),
		})
		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 workload = new Tencentcloud.TemWorkload("workload", new()
    {
        ApplicationId = "app-j4d3x6kj",
        CpuSpec = 1,
        DeployMode = "IMAGE",
        DeployVersion = "hello-world",
        EnvironmentId = "en-85377m6j",
        ImgRepo = "tem_demo/tem_demo",
        InitPodNum = 1,
        MemorySpec = 1,
        RepoServer = "ccr.ccs.tencentyun.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TemWorkload;
import com.pulumi.tencentcloud.TemWorkloadArgs;
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 workload = new TemWorkload("workload", TemWorkloadArgs.builder()
            .applicationId("app-j4d3x6kj")
            .cpuSpec(1)
            .deployMode("IMAGE")
            .deployVersion("hello-world")
            .environmentId("en-85377m6j")
            .imgRepo("tem_demo/tem_demo")
            .initPodNum(1)
            .memorySpec(1)
            .repoServer("ccr.ccs.tencentyun.com")
            .build());

    }
}
Copy
resources:
  workload:
    type: tencentcloud:TemWorkload
    properties:
      applicationId: app-j4d3x6kj
      cpuSpec: 1
      deployMode: IMAGE
      deployVersion: hello-world
      environmentId: en-85377m6j
      imgRepo: tem_demo/tem_demo
      initPodNum: 1
      memorySpec: 1
      repoServer: ccr.ccs.tencentyun.com
Copy

Create TemWorkload Resource

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

Constructor syntax

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

@overload
def TemWorkload(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                init_pod_num: Optional[float] = None,
                cpu_spec: Optional[float] = None,
                deploy_mode: Optional[str] = None,
                memory_spec: Optional[float] = None,
                deploy_version: Optional[str] = None,
                application_id: Optional[str] = None,
                environment_id: Optional[str] = None,
                img_repo: Optional[str] = None,
                env_confs: Optional[Sequence[TemWorkloadEnvConfArgs]] = None,
                repo_type: Optional[float] = None,
                deploy_strategy_conf: Optional[TemWorkloadDeployStrategyConfArgs] = None,
                post_start: Optional[str] = None,
                pre_stop: Optional[str] = None,
                readiness: Optional[TemWorkloadReadinessArgs] = None,
                repo_server: Optional[str] = None,
                liveness: Optional[TemWorkloadLivenessArgs] = None,
                security_group_ids: Optional[Sequence[str]] = None,
                startup_probe: Optional[TemWorkloadStartupProbeArgs] = None,
                storage_confs: Optional[Sequence[TemWorkloadStorageConfArgs]] = None,
                storage_mount_confs: Optional[Sequence[TemWorkloadStorageMountConfArgs]] = None,
                tcr_instance_id: Optional[str] = None,
                tem_workload_id: Optional[str] = None)
func NewTemWorkload(ctx *Context, name string, args TemWorkloadArgs, opts ...ResourceOption) (*TemWorkload, error)
public TemWorkload(string name, TemWorkloadArgs args, CustomResourceOptions? opts = null)
public TemWorkload(String name, TemWorkloadArgs args)
public TemWorkload(String name, TemWorkloadArgs args, CustomResourceOptions options)
type: tencentcloud:TemWorkload
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. TemWorkloadArgs
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. TemWorkloadArgs
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. TemWorkloadArgs
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. TemWorkloadArgs
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. TemWorkloadArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TemWorkload 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 TemWorkload resource accepts the following input properties:

ApplicationId This property is required. string
application ID.
CpuSpec This property is required. double
cpu.
DeployMode This property is required. string
deploy mode, support IMAGE.
DeployVersion This property is required. string
deploy version.
EnvironmentId This property is required. string
environment ID.
ImgRepo This property is required. string
repository name.
InitPodNum This property is required. double
initial pod number.
MemorySpec This property is required. double
mem.
DeployStrategyConf TemWorkloadDeployStrategyConf
deploy strategy.
EnvConfs List<TemWorkloadEnvConf>
.
Liveness TemWorkloadLiveness
liveness config.
PostStart string
mem.
PreStop string
mem.
Readiness TemWorkloadReadiness
.
RepoServer string
repo server addr when deploy by image.
RepoType double
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
SecurityGroupIds List<string>
security groups.
StartupProbe TemWorkloadStartupProbe
.
StorageConfs List<TemWorkloadStorageConf>
storage configuration.
StorageMountConfs List<TemWorkloadStorageMountConf>
storage mount configuration.
TcrInstanceId string
tcr instance id when deploy by image.
TemWorkloadId string
ID of the resource.
ApplicationId This property is required. string
application ID.
CpuSpec This property is required. float64
cpu.
DeployMode This property is required. string
deploy mode, support IMAGE.
DeployVersion This property is required. string
deploy version.
EnvironmentId This property is required. string
environment ID.
ImgRepo This property is required. string
repository name.
InitPodNum This property is required. float64
initial pod number.
MemorySpec This property is required. float64
mem.
DeployStrategyConf TemWorkloadDeployStrategyConfArgs
deploy strategy.
EnvConfs []TemWorkloadEnvConfArgs
.
Liveness TemWorkloadLivenessArgs
liveness config.
PostStart string
mem.
PreStop string
mem.
Readiness TemWorkloadReadinessArgs
.
RepoServer string
repo server addr when deploy by image.
RepoType float64
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
SecurityGroupIds []string
security groups.
StartupProbe TemWorkloadStartupProbeArgs
.
StorageConfs []TemWorkloadStorageConfArgs
storage configuration.
StorageMountConfs []TemWorkloadStorageMountConfArgs
storage mount configuration.
TcrInstanceId string
tcr instance id when deploy by image.
TemWorkloadId string
ID of the resource.
applicationId This property is required. String
application ID.
cpuSpec This property is required. Double
cpu.
deployMode This property is required. String
deploy mode, support IMAGE.
deployVersion This property is required. String
deploy version.
environmentId This property is required. String
environment ID.
imgRepo This property is required. String
repository name.
initPodNum This property is required. Double
initial pod number.
memorySpec This property is required. Double
mem.
deployStrategyConf TemWorkloadDeployStrategyConf
deploy strategy.
envConfs List<TemWorkloadEnvConf>
.
liveness TemWorkloadLiveness
liveness config.
postStart String
mem.
preStop String
mem.
readiness TemWorkloadReadiness
.
repoServer String
repo server addr when deploy by image.
repoType Double
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
securityGroupIds List<String>
security groups.
startupProbe TemWorkloadStartupProbe
.
storageConfs List<TemWorkloadStorageConf>
storage configuration.
storageMountConfs List<TemWorkloadStorageMountConf>
storage mount configuration.
tcrInstanceId String
tcr instance id when deploy by image.
temWorkloadId String
ID of the resource.
applicationId This property is required. string
application ID.
cpuSpec This property is required. number
cpu.
deployMode This property is required. string
deploy mode, support IMAGE.
deployVersion This property is required. string
deploy version.
environmentId This property is required. string
environment ID.
imgRepo This property is required. string
repository name.
initPodNum This property is required. number
initial pod number.
memorySpec This property is required. number
mem.
deployStrategyConf TemWorkloadDeployStrategyConf
deploy strategy.
envConfs TemWorkloadEnvConf[]
.
liveness TemWorkloadLiveness
liveness config.
postStart string
mem.
preStop string
mem.
readiness TemWorkloadReadiness
.
repoServer string
repo server addr when deploy by image.
repoType number
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
securityGroupIds string[]
security groups.
startupProbe TemWorkloadStartupProbe
.
storageConfs TemWorkloadStorageConf[]
storage configuration.
storageMountConfs TemWorkloadStorageMountConf[]
storage mount configuration.
tcrInstanceId string
tcr instance id when deploy by image.
temWorkloadId string
ID of the resource.
application_id This property is required. str
application ID.
cpu_spec This property is required. float
cpu.
deploy_mode This property is required. str
deploy mode, support IMAGE.
deploy_version This property is required. str
deploy version.
environment_id This property is required. str
environment ID.
img_repo This property is required. str
repository name.
init_pod_num This property is required. float
initial pod number.
memory_spec This property is required. float
mem.
deploy_strategy_conf TemWorkloadDeployStrategyConfArgs
deploy strategy.
env_confs Sequence[TemWorkloadEnvConfArgs]
.
liveness TemWorkloadLivenessArgs
liveness config.
post_start str
mem.
pre_stop str
mem.
readiness TemWorkloadReadinessArgs
.
repo_server str
repo server addr when deploy by image.
repo_type float
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
security_group_ids Sequence[str]
security groups.
startup_probe TemWorkloadStartupProbeArgs
.
storage_confs Sequence[TemWorkloadStorageConfArgs]
storage configuration.
storage_mount_confs Sequence[TemWorkloadStorageMountConfArgs]
storage mount configuration.
tcr_instance_id str
tcr instance id when deploy by image.
tem_workload_id str
ID of the resource.
applicationId This property is required. String
application ID.
cpuSpec This property is required. Number
cpu.
deployMode This property is required. String
deploy mode, support IMAGE.
deployVersion This property is required. String
deploy version.
environmentId This property is required. String
environment ID.
imgRepo This property is required. String
repository name.
initPodNum This property is required. Number
initial pod number.
memorySpec This property is required. Number
mem.
deployStrategyConf Property Map
deploy strategy.
envConfs List<Property Map>
.
liveness Property Map
liveness config.
postStart String
mem.
preStop String
mem.
readiness Property Map
.
repoServer String
repo server addr when deploy by image.
repoType Number
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
securityGroupIds List<String>
security groups.
startupProbe Property Map
.
storageConfs List<Property Map>
storage configuration.
storageMountConfs List<Property Map>
storage mount configuration.
tcrInstanceId String
tcr instance id when deploy by image.
temWorkloadId String
ID of the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the TemWorkload 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 TemWorkload Resource

Get an existing TemWorkload 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?: TemWorkloadState, opts?: CustomResourceOptions): TemWorkload
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_id: Optional[str] = None,
        cpu_spec: Optional[float] = None,
        deploy_mode: Optional[str] = None,
        deploy_strategy_conf: Optional[TemWorkloadDeployStrategyConfArgs] = None,
        deploy_version: Optional[str] = None,
        env_confs: Optional[Sequence[TemWorkloadEnvConfArgs]] = None,
        environment_id: Optional[str] = None,
        img_repo: Optional[str] = None,
        init_pod_num: Optional[float] = None,
        liveness: Optional[TemWorkloadLivenessArgs] = None,
        memory_spec: Optional[float] = None,
        post_start: Optional[str] = None,
        pre_stop: Optional[str] = None,
        readiness: Optional[TemWorkloadReadinessArgs] = None,
        repo_server: Optional[str] = None,
        repo_type: Optional[float] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        startup_probe: Optional[TemWorkloadStartupProbeArgs] = None,
        storage_confs: Optional[Sequence[TemWorkloadStorageConfArgs]] = None,
        storage_mount_confs: Optional[Sequence[TemWorkloadStorageMountConfArgs]] = None,
        tcr_instance_id: Optional[str] = None,
        tem_workload_id: Optional[str] = None) -> TemWorkload
func GetTemWorkload(ctx *Context, name string, id IDInput, state *TemWorkloadState, opts ...ResourceOption) (*TemWorkload, error)
public static TemWorkload Get(string name, Input<string> id, TemWorkloadState? state, CustomResourceOptions? opts = null)
public static TemWorkload get(String name, Output<String> id, TemWorkloadState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:TemWorkload    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:
ApplicationId string
application ID.
CpuSpec double
cpu.
DeployMode string
deploy mode, support IMAGE.
DeployStrategyConf TemWorkloadDeployStrategyConf
deploy strategy.
DeployVersion string
deploy version.
EnvConfs List<TemWorkloadEnvConf>
.
EnvironmentId string
environment ID.
ImgRepo string
repository name.
InitPodNum double
initial pod number.
Liveness TemWorkloadLiveness
liveness config.
MemorySpec double
mem.
PostStart string
mem.
PreStop string
mem.
Readiness TemWorkloadReadiness
.
RepoServer string
repo server addr when deploy by image.
RepoType double
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
SecurityGroupIds List<string>
security groups.
StartupProbe TemWorkloadStartupProbe
.
StorageConfs List<TemWorkloadStorageConf>
storage configuration.
StorageMountConfs List<TemWorkloadStorageMountConf>
storage mount configuration.
TcrInstanceId string
tcr instance id when deploy by image.
TemWorkloadId string
ID of the resource.
ApplicationId string
application ID.
CpuSpec float64
cpu.
DeployMode string
deploy mode, support IMAGE.
DeployStrategyConf TemWorkloadDeployStrategyConfArgs
deploy strategy.
DeployVersion string
deploy version.
EnvConfs []TemWorkloadEnvConfArgs
.
EnvironmentId string
environment ID.
ImgRepo string
repository name.
InitPodNum float64
initial pod number.
Liveness TemWorkloadLivenessArgs
liveness config.
MemorySpec float64
mem.
PostStart string
mem.
PreStop string
mem.
Readiness TemWorkloadReadinessArgs
.
RepoServer string
repo server addr when deploy by image.
RepoType float64
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
SecurityGroupIds []string
security groups.
StartupProbe TemWorkloadStartupProbeArgs
.
StorageConfs []TemWorkloadStorageConfArgs
storage configuration.
StorageMountConfs []TemWorkloadStorageMountConfArgs
storage mount configuration.
TcrInstanceId string
tcr instance id when deploy by image.
TemWorkloadId string
ID of the resource.
applicationId String
application ID.
cpuSpec Double
cpu.
deployMode String
deploy mode, support IMAGE.
deployStrategyConf TemWorkloadDeployStrategyConf
deploy strategy.
deployVersion String
deploy version.
envConfs List<TemWorkloadEnvConf>
.
environmentId String
environment ID.
imgRepo String
repository name.
initPodNum Double
initial pod number.
liveness TemWorkloadLiveness
liveness config.
memorySpec Double
mem.
postStart String
mem.
preStop String
mem.
readiness TemWorkloadReadiness
.
repoServer String
repo server addr when deploy by image.
repoType Double
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
securityGroupIds List<String>
security groups.
startupProbe TemWorkloadStartupProbe
.
storageConfs List<TemWorkloadStorageConf>
storage configuration.
storageMountConfs List<TemWorkloadStorageMountConf>
storage mount configuration.
tcrInstanceId String
tcr instance id when deploy by image.
temWorkloadId String
ID of the resource.
applicationId string
application ID.
cpuSpec number
cpu.
deployMode string
deploy mode, support IMAGE.
deployStrategyConf TemWorkloadDeployStrategyConf
deploy strategy.
deployVersion string
deploy version.
envConfs TemWorkloadEnvConf[]
.
environmentId string
environment ID.
imgRepo string
repository name.
initPodNum number
initial pod number.
liveness TemWorkloadLiveness
liveness config.
memorySpec number
mem.
postStart string
mem.
preStop string
mem.
readiness TemWorkloadReadiness
.
repoServer string
repo server addr when deploy by image.
repoType number
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
securityGroupIds string[]
security groups.
startupProbe TemWorkloadStartupProbe
.
storageConfs TemWorkloadStorageConf[]
storage configuration.
storageMountConfs TemWorkloadStorageMountConf[]
storage mount configuration.
tcrInstanceId string
tcr instance id when deploy by image.
temWorkloadId string
ID of the resource.
application_id str
application ID.
cpu_spec float
cpu.
deploy_mode str
deploy mode, support IMAGE.
deploy_strategy_conf TemWorkloadDeployStrategyConfArgs
deploy strategy.
deploy_version str
deploy version.
env_confs Sequence[TemWorkloadEnvConfArgs]
.
environment_id str
environment ID.
img_repo str
repository name.
init_pod_num float
initial pod number.
liveness TemWorkloadLivenessArgs
liveness config.
memory_spec float
mem.
post_start str
mem.
pre_stop str
mem.
readiness TemWorkloadReadinessArgs
.
repo_server str
repo server addr when deploy by image.
repo_type float
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
security_group_ids Sequence[str]
security groups.
startup_probe TemWorkloadStartupProbeArgs
.
storage_confs Sequence[TemWorkloadStorageConfArgs]
storage configuration.
storage_mount_confs Sequence[TemWorkloadStorageMountConfArgs]
storage mount configuration.
tcr_instance_id str
tcr instance id when deploy by image.
tem_workload_id str
ID of the resource.
applicationId String
application ID.
cpuSpec Number
cpu.
deployMode String
deploy mode, support IMAGE.
deployStrategyConf Property Map
deploy strategy.
deployVersion String
deploy version.
envConfs List<Property Map>
.
environmentId String
environment ID.
imgRepo String
repository name.
initPodNum Number
initial pod number.
liveness Property Map
liveness config.
memorySpec Number
mem.
postStart String
mem.
preStop String
mem.
readiness Property Map
.
repoServer String
repo server addr when deploy by image.
repoType Number
repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
securityGroupIds List<String>
security groups.
startupProbe Property Map
.
storageConfs List<Property Map>
storage configuration.
storageMountConfs List<Property Map>
storage mount configuration.
tcrInstanceId String
tcr instance id when deploy by image.
temWorkloadId String
ID of the resource.

Supporting Types

TemWorkloadDeployStrategyConf
, TemWorkloadDeployStrategyConfArgs

DeployStrategyType This property is required. double
strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
TotalBatchCount This property is required. double
total batch number.
BatchInterval double
interval between batches.
BetaBatchNum double
beta batch number.
Force bool
force update.
MinAvailable double
minimal available instances duration deployment.
DeployStrategyType This property is required. float64
strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
TotalBatchCount This property is required. float64
total batch number.
BatchInterval float64
interval between batches.
BetaBatchNum float64
beta batch number.
Force bool
force update.
MinAvailable float64
minimal available instances duration deployment.
deployStrategyType This property is required. Double
strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
totalBatchCount This property is required. Double
total batch number.
batchInterval Double
interval between batches.
betaBatchNum Double
beta batch number.
force Boolean
force update.
minAvailable Double
minimal available instances duration deployment.
deployStrategyType This property is required. number
strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
totalBatchCount This property is required. number
total batch number.
batchInterval number
interval between batches.
betaBatchNum number
beta batch number.
force boolean
force update.
minAvailable number
minimal available instances duration deployment.
deploy_strategy_type This property is required. float
strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
total_batch_count This property is required. float
total batch number.
batch_interval float
interval between batches.
beta_batch_num float
beta batch number.
force bool
force update.
min_available float
minimal available instances duration deployment.
deployStrategyType This property is required. Number
strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
totalBatchCount This property is required. Number
total batch number.
batchInterval Number
interval between batches.
betaBatchNum Number
beta batch number.
force Boolean
force update.
minAvailable Number
minimal available instances duration deployment.

TemWorkloadEnvConf
, TemWorkloadEnvConfArgs

Key This property is required. string
env key.
Value This property is required. string
env value.
Config string
referenced config name when type=referenced.
Secret string
referenced secret name when type=referenced.
Type string
env type, support default, referenced.
Key This property is required. string
env key.
Value This property is required. string
env value.
Config string
referenced config name when type=referenced.
Secret string
referenced secret name when type=referenced.
Type string
env type, support default, referenced.
key This property is required. String
env key.
value This property is required. String
env value.
config String
referenced config name when type=referenced.
secret String
referenced secret name when type=referenced.
type String
env type, support default, referenced.
key This property is required. string
env key.
value This property is required. string
env value.
config string
referenced config name when type=referenced.
secret string
referenced secret name when type=referenced.
type string
env type, support default, referenced.
key This property is required. str
env key.
value This property is required. str
env value.
config str
referenced config name when type=referenced.
secret str
referenced secret name when type=referenced.
type str
env type, support default, referenced.
key This property is required. String
env key.
value This property is required. String
env value.
config String
referenced config name when type=referenced.
secret String
referenced secret name when type=referenced.
type String
env type, support default, referenced.

TemWorkloadLiveness
, TemWorkloadLivenessArgs

Type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
Exec string
script.
InitialDelaySeconds double
initial delay seconds for liveness check.
Path string
path.
PeriodSeconds double
period seconds for liveness check.
Port double
liveness check port.
Protocol string
protocol.
TimeoutSeconds double
timeout seconds for liveness check.
Type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
Exec string
script.
InitialDelaySeconds float64
initial delay seconds for liveness check.
Path string
path.
PeriodSeconds float64
period seconds for liveness check.
Port float64
liveness check port.
Protocol string
protocol.
TimeoutSeconds float64
timeout seconds for liveness check.
type This property is required. String
check type, support HttpGet, TcpSocket and Exec.
exec String
script.
initialDelaySeconds Double
initial delay seconds for liveness check.
path String
path.
periodSeconds Double
period seconds for liveness check.
port Double
liveness check port.
protocol String
protocol.
timeoutSeconds Double
timeout seconds for liveness check.
type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
exec string
script.
initialDelaySeconds number
initial delay seconds for liveness check.
path string
path.
periodSeconds number
period seconds for liveness check.
port number
liveness check port.
protocol string
protocol.
timeoutSeconds number
timeout seconds for liveness check.
type This property is required. str
check type, support HttpGet, TcpSocket and Exec.
exec_ str
script.
initial_delay_seconds float
initial delay seconds for liveness check.
path str
path.
period_seconds float
period seconds for liveness check.
port float
liveness check port.
protocol str
protocol.
timeout_seconds float
timeout seconds for liveness check.
type This property is required. String
check type, support HttpGet, TcpSocket and Exec.
exec String
script.
initialDelaySeconds Number
initial delay seconds for liveness check.
path String
path.
periodSeconds Number
period seconds for liveness check.
port Number
liveness check port.
protocol String
protocol.
timeoutSeconds Number
timeout seconds for liveness check.

TemWorkloadReadiness
, TemWorkloadReadinessArgs

Type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
Exec string
script.
InitialDelaySeconds double
initial delay seconds for readiness check.
Path string
path.
PeriodSeconds double
period seconds for readiness check.
Port double
readiness check port.
Protocol string
protocol.
TimeoutSeconds double
timeout seconds for readiness check.
Type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
Exec string
script.
InitialDelaySeconds float64
initial delay seconds for readiness check.
Path string
path.
PeriodSeconds float64
period seconds for readiness check.
Port float64
readiness check port.
Protocol string
protocol.
TimeoutSeconds float64
timeout seconds for readiness check.
type This property is required. String
check type, support HttpGet, TcpSocket and Exec.
exec String
script.
initialDelaySeconds Double
initial delay seconds for readiness check.
path String
path.
periodSeconds Double
period seconds for readiness check.
port Double
readiness check port.
protocol String
protocol.
timeoutSeconds Double
timeout seconds for readiness check.
type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
exec string
script.
initialDelaySeconds number
initial delay seconds for readiness check.
path string
path.
periodSeconds number
period seconds for readiness check.
port number
readiness check port.
protocol string
protocol.
timeoutSeconds number
timeout seconds for readiness check.
type This property is required. str
check type, support HttpGet, TcpSocket and Exec.
exec_ str
script.
initial_delay_seconds float
initial delay seconds for readiness check.
path str
path.
period_seconds float
period seconds for readiness check.
port float
readiness check port.
protocol str
protocol.
timeout_seconds float
timeout seconds for readiness check.
type This property is required. String
check type, support HttpGet, TcpSocket and Exec.
exec String
script.
initialDelaySeconds Number
initial delay seconds for readiness check.
path String
path.
periodSeconds Number
period seconds for readiness check.
port Number
readiness check port.
protocol String
protocol.
timeoutSeconds Number
timeout seconds for readiness check.

TemWorkloadStartupProbe
, TemWorkloadStartupProbeArgs

Type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
Exec string
script.
InitialDelaySeconds double
initial delay seconds for startup check.
Path string
path.
PeriodSeconds double
period seconds for startup check.
Port double
startup check port.
Protocol string
protocol.
TimeoutSeconds double
timeout seconds for startup check.
Type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
Exec string
script.
InitialDelaySeconds float64
initial delay seconds for startup check.
Path string
path.
PeriodSeconds float64
period seconds for startup check.
Port float64
startup check port.
Protocol string
protocol.
TimeoutSeconds float64
timeout seconds for startup check.
type This property is required. String
check type, support HttpGet, TcpSocket and Exec.
exec String
script.
initialDelaySeconds Double
initial delay seconds for startup check.
path String
path.
periodSeconds Double
period seconds for startup check.
port Double
startup check port.
protocol String
protocol.
timeoutSeconds Double
timeout seconds for startup check.
type This property is required. string
check type, support HttpGet, TcpSocket and Exec.
exec string
script.
initialDelaySeconds number
initial delay seconds for startup check.
path string
path.
periodSeconds number
period seconds for startup check.
port number
startup check port.
protocol string
protocol.
timeoutSeconds number
timeout seconds for startup check.
type This property is required. str
check type, support HttpGet, TcpSocket and Exec.
exec_ str
script.
initial_delay_seconds float
initial delay seconds for startup check.
path str
path.
period_seconds float
period seconds for startup check.
port float
startup check port.
protocol str
protocol.
timeout_seconds float
timeout seconds for startup check.
type This property is required. String
check type, support HttpGet, TcpSocket and Exec.
exec String
script.
initialDelaySeconds Number
initial delay seconds for startup check.
path String
path.
periodSeconds Number
period seconds for startup check.
port Number
startup check port.
protocol String
protocol.
timeoutSeconds Number
timeout seconds for startup check.

TemWorkloadStorageConf
, TemWorkloadStorageConfArgs

StorageVolIp This property is required. string
volume ip.
StorageVolName This property is required. string
volume name.
StorageVolPath This property is required. string
volume path.
StorageVolIp This property is required. string
volume ip.
StorageVolName This property is required. string
volume name.
StorageVolPath This property is required. string
volume path.
storageVolIp This property is required. String
volume ip.
storageVolName This property is required. String
volume name.
storageVolPath This property is required. String
volume path.
storageVolIp This property is required. string
volume ip.
storageVolName This property is required. string
volume name.
storageVolPath This property is required. string
volume path.
storage_vol_ip This property is required. str
volume ip.
storage_vol_name This property is required. str
volume name.
storage_vol_path This property is required. str
volume path.
storageVolIp This property is required. String
volume ip.
storageVolName This property is required. String
volume name.
storageVolPath This property is required. String
volume path.

TemWorkloadStorageMountConf
, TemWorkloadStorageMountConfArgs

MountPath This property is required. string
mount path.
VolumeName This property is required. string
volume name.
MountPath This property is required. string
mount path.
VolumeName This property is required. string
volume name.
mountPath This property is required. String
mount path.
volumeName This property is required. String
volume name.
mountPath This property is required. string
mount path.
volumeName This property is required. string
volume name.
mount_path This property is required. str
mount path.
volume_name This property is required. str
volume name.
mountPath This property is required. String
mount path.
volumeName This property is required. String
volume name.

Import

tem workload can be imported using the id, e.g.

$ pulumi import tencentcloud:index/temWorkload:TemWorkload workload envirnomentId#applicationId
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

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