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",
});
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")
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
})
}
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",
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args TemWorkloadArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args TemWorkloadArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TemWorkloadArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Application
Id string - application ID.
- Cpu
Spec double - cpu.
- Deploy
Mode string - deploy mode, support IMAGE.
- Deploy
Version string - deploy version.
- Environment
Id string - environment ID.
- Img
Repo string - repository name.
- Init
Pod doubleNum - initial pod number.
- Memory
Spec double - mem.
- Deploy
Strategy TemConf Workload Deploy Strategy Conf - deploy strategy.
- Env
Confs List<TemWorkload Env Conf> - .
- Liveness
Tem
Workload Liveness - liveness config.
- Post
Start string - mem.
- Pre
Stop string - mem.
- Readiness
Tem
Workload Readiness - .
- Repo
Server string - repo server addr when deploy by image.
- Repo
Type double - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- Security
Group List<string>Ids - security groups.
- Startup
Probe TemWorkload Startup Probe - .
- Storage
Confs List<TemWorkload Storage Conf> - storage configuration.
- Storage
Mount List<TemConfs Workload Storage Mount Conf> - storage mount configuration.
- Tcr
Instance stringId - tcr instance id when deploy by image.
- Tem
Workload stringId - ID of the resource.
- Application
Id string - application ID.
- Cpu
Spec float64 - cpu.
- Deploy
Mode string - deploy mode, support IMAGE.
- Deploy
Version string - deploy version.
- Environment
Id string - environment ID.
- Img
Repo string - repository name.
- Init
Pod float64Num - initial pod number.
- Memory
Spec float64 - mem.
- Deploy
Strategy TemConf Workload Deploy Strategy Conf Args - deploy strategy.
- Env
Confs []TemWorkload Env Conf Args - .
- Liveness
Tem
Workload Liveness Args - liveness config.
- Post
Start string - mem.
- Pre
Stop string - mem.
- Readiness
Tem
Workload Readiness Args - .
- Repo
Server string - repo server addr when deploy by image.
- Repo
Type float64 - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- Security
Group []stringIds - security groups.
- Startup
Probe TemWorkload Startup Probe Args - .
- Storage
Confs []TemWorkload Storage Conf Args - storage configuration.
- Storage
Mount []TemConfs Workload Storage Mount Conf Args - storage mount configuration.
- Tcr
Instance stringId - tcr instance id when deploy by image.
- Tem
Workload stringId - ID of the resource.
- application
Id String - application ID.
- cpu
Spec Double - cpu.
- deploy
Mode String - deploy mode, support IMAGE.
- deploy
Version String - deploy version.
- environment
Id String - environment ID.
- img
Repo String - repository name.
- init
Pod DoubleNum - initial pod number.
- memory
Spec Double - mem.
- deploy
Strategy TemConf Workload Deploy Strategy Conf - deploy strategy.
- env
Confs List<TemWorkload Env Conf> - .
- liveness
Tem
Workload Liveness - liveness config.
- post
Start String - mem.
- pre
Stop String - mem.
- readiness
Tem
Workload Readiness - .
- repo
Server String - repo server addr when deploy by image.
- repo
Type Double - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- security
Group List<String>Ids - security groups.
- startup
Probe TemWorkload Startup Probe - .
- storage
Confs List<TemWorkload Storage Conf> - storage configuration.
- storage
Mount List<TemConfs Workload Storage Mount Conf> - storage mount configuration.
- tcr
Instance StringId - tcr instance id when deploy by image.
- tem
Workload StringId - ID of the resource.
- application
Id string - application ID.
- cpu
Spec number - cpu.
- deploy
Mode string - deploy mode, support IMAGE.
- deploy
Version string - deploy version.
- environment
Id string - environment ID.
- img
Repo string - repository name.
- init
Pod numberNum - initial pod number.
- memory
Spec number - mem.
- deploy
Strategy TemConf Workload Deploy Strategy Conf - deploy strategy.
- env
Confs TemWorkload Env Conf[] - .
- liveness
Tem
Workload Liveness - liveness config.
- post
Start string - mem.
- pre
Stop string - mem.
- readiness
Tem
Workload Readiness - .
- repo
Server string - repo server addr when deploy by image.
- repo
Type number - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- security
Group string[]Ids - security groups.
- startup
Probe TemWorkload Startup Probe - .
- storage
Confs TemWorkload Storage Conf[] - storage configuration.
- storage
Mount TemConfs Workload Storage Mount Conf[] - storage mount configuration.
- tcr
Instance stringId - tcr instance id when deploy by image.
- tem
Workload stringId - ID of the resource.
- application_
id str - application ID.
- cpu_
spec float - cpu.
- deploy_
mode str - deploy mode, support IMAGE.
- deploy_
version str - deploy version.
- environment_
id str - environment ID.
- img_
repo str - repository name.
- init_
pod_ floatnum - initial pod number.
- memory_
spec float - mem.
- deploy_
strategy_ Temconf Workload Deploy Strategy Conf Args - deploy strategy.
- env_
confs Sequence[TemWorkload Env Conf Args] - .
- liveness
Tem
Workload Liveness Args - liveness config.
- post_
start str - mem.
- pre_
stop str - mem.
- readiness
Tem
Workload Readiness Args - .
- 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_ Sequence[str]ids - security groups.
- startup_
probe TemWorkload Startup Probe Args - .
- storage_
confs Sequence[TemWorkload Storage Conf Args] - storage configuration.
- storage_
mount_ Sequence[Temconfs Workload Storage Mount Conf Args] - storage mount configuration.
- tcr_
instance_ strid - tcr instance id when deploy by image.
- tem_
workload_ strid - ID of the resource.
- application
Id String - application ID.
- cpu
Spec Number - cpu.
- deploy
Mode String - deploy mode, support IMAGE.
- deploy
Version String - deploy version.
- environment
Id String - environment ID.
- img
Repo String - repository name.
- init
Pod NumberNum - initial pod number.
- memory
Spec Number - mem.
- deploy
Strategy Property MapConf - deploy strategy.
- env
Confs List<Property Map> - .
- liveness Property Map
- liveness config.
- post
Start String - mem.
- pre
Stop String - mem.
- readiness Property Map
- .
- repo
Server String - repo server addr when deploy by image.
- repo
Type Number - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- security
Group List<String>Ids - security groups.
- startup
Probe Property Map - .
- storage
Confs List<Property Map> - storage configuration.
- storage
Mount List<Property Map>Confs - storage mount configuration.
- tcr
Instance StringId - tcr instance id when deploy by image.
- tem
Workload StringId - 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Application
Id string - application ID.
- Cpu
Spec double - cpu.
- Deploy
Mode string - deploy mode, support IMAGE.
- Deploy
Strategy TemConf Workload Deploy Strategy Conf - deploy strategy.
- Deploy
Version string - deploy version.
- Env
Confs List<TemWorkload Env Conf> - .
- Environment
Id string - environment ID.
- Img
Repo string - repository name.
- Init
Pod doubleNum - initial pod number.
- Liveness
Tem
Workload Liveness - liveness config.
- Memory
Spec double - mem.
- Post
Start string - mem.
- Pre
Stop string - mem.
- Readiness
Tem
Workload Readiness - .
- Repo
Server string - repo server addr when deploy by image.
- Repo
Type double - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- Security
Group List<string>Ids - security groups.
- Startup
Probe TemWorkload Startup Probe - .
- Storage
Confs List<TemWorkload Storage Conf> - storage configuration.
- Storage
Mount List<TemConfs Workload Storage Mount Conf> - storage mount configuration.
- Tcr
Instance stringId - tcr instance id when deploy by image.
- Tem
Workload stringId - ID of the resource.
- Application
Id string - application ID.
- Cpu
Spec float64 - cpu.
- Deploy
Mode string - deploy mode, support IMAGE.
- Deploy
Strategy TemConf Workload Deploy Strategy Conf Args - deploy strategy.
- Deploy
Version string - deploy version.
- Env
Confs []TemWorkload Env Conf Args - .
- Environment
Id string - environment ID.
- Img
Repo string - repository name.
- Init
Pod float64Num - initial pod number.
- Liveness
Tem
Workload Liveness Args - liveness config.
- Memory
Spec float64 - mem.
- Post
Start string - mem.
- Pre
Stop string - mem.
- Readiness
Tem
Workload Readiness Args - .
- Repo
Server string - repo server addr when deploy by image.
- Repo
Type float64 - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- Security
Group []stringIds - security groups.
- Startup
Probe TemWorkload Startup Probe Args - .
- Storage
Confs []TemWorkload Storage Conf Args - storage configuration.
- Storage
Mount []TemConfs Workload Storage Mount Conf Args - storage mount configuration.
- Tcr
Instance stringId - tcr instance id when deploy by image.
- Tem
Workload stringId - ID of the resource.
- application
Id String - application ID.
- cpu
Spec Double - cpu.
- deploy
Mode String - deploy mode, support IMAGE.
- deploy
Strategy TemConf Workload Deploy Strategy Conf - deploy strategy.
- deploy
Version String - deploy version.
- env
Confs List<TemWorkload Env Conf> - .
- environment
Id String - environment ID.
- img
Repo String - repository name.
- init
Pod DoubleNum - initial pod number.
- liveness
Tem
Workload Liveness - liveness config.
- memory
Spec Double - mem.
- post
Start String - mem.
- pre
Stop String - mem.
- readiness
Tem
Workload Readiness - .
- repo
Server String - repo server addr when deploy by image.
- repo
Type Double - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- security
Group List<String>Ids - security groups.
- startup
Probe TemWorkload Startup Probe - .
- storage
Confs List<TemWorkload Storage Conf> - storage configuration.
- storage
Mount List<TemConfs Workload Storage Mount Conf> - storage mount configuration.
- tcr
Instance StringId - tcr instance id when deploy by image.
- tem
Workload StringId - ID of the resource.
- application
Id string - application ID.
- cpu
Spec number - cpu.
- deploy
Mode string - deploy mode, support IMAGE.
- deploy
Strategy TemConf Workload Deploy Strategy Conf - deploy strategy.
- deploy
Version string - deploy version.
- env
Confs TemWorkload Env Conf[] - .
- environment
Id string - environment ID.
- img
Repo string - repository name.
- init
Pod numberNum - initial pod number.
- liveness
Tem
Workload Liveness - liveness config.
- memory
Spec number - mem.
- post
Start string - mem.
- pre
Stop string - mem.
- readiness
Tem
Workload Readiness - .
- repo
Server string - repo server addr when deploy by image.
- repo
Type number - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- security
Group string[]Ids - security groups.
- startup
Probe TemWorkload Startup Probe - .
- storage
Confs TemWorkload Storage Conf[] - storage configuration.
- storage
Mount TemConfs Workload Storage Mount Conf[] - storage mount configuration.
- tcr
Instance stringId - tcr instance id when deploy by image.
- tem
Workload stringId - ID of the resource.
- application_
id str - application ID.
- cpu_
spec float - cpu.
- deploy_
mode str - deploy mode, support IMAGE.
- deploy_
strategy_ Temconf Workload Deploy Strategy Conf Args - deploy strategy.
- deploy_
version str - deploy version.
- env_
confs Sequence[TemWorkload Env Conf Args] - .
- environment_
id str - environment ID.
- img_
repo str - repository name.
- init_
pod_ floatnum - initial pod number.
- liveness
Tem
Workload Liveness Args - liveness config.
- memory_
spec float - mem.
- post_
start str - mem.
- pre_
stop str - mem.
- readiness
Tem
Workload Readiness Args - .
- 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_ Sequence[str]ids - security groups.
- startup_
probe TemWorkload Startup Probe Args - .
- storage_
confs Sequence[TemWorkload Storage Conf Args] - storage configuration.
- storage_
mount_ Sequence[Temconfs Workload Storage Mount Conf Args] - storage mount configuration.
- tcr_
instance_ strid - tcr instance id when deploy by image.
- tem_
workload_ strid - ID of the resource.
- application
Id String - application ID.
- cpu
Spec Number - cpu.
- deploy
Mode String - deploy mode, support IMAGE.
- deploy
Strategy Property MapConf - deploy strategy.
- deploy
Version String - deploy version.
- env
Confs List<Property Map> - .
- environment
Id String - environment ID.
- img
Repo String - repository name.
- init
Pod NumberNum - initial pod number.
- liveness Property Map
- liveness config.
- memory
Spec Number - mem.
- post
Start String - mem.
- pre
Stop String - mem.
- readiness Property Map
- .
- repo
Server String - repo server addr when deploy by image.
- repo
Type Number - repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
- security
Group List<String>Ids - security groups.
- startup
Probe Property Map - .
- storage
Confs List<Property Map> - storage configuration.
- storage
Mount List<Property Map>Confs - storage mount configuration.
- tcr
Instance StringId - tcr instance id when deploy by image.
- tem
Workload StringId - ID of the resource.
Supporting Types
TemWorkloadDeployStrategyConf, TemWorkloadDeployStrategyConfArgs
- Deploy
Strategy doubleType - strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
- Total
Batch doubleCount - total batch number.
- Batch
Interval double - interval between batches.
- Beta
Batch doubleNum - beta batch number.
- Force bool
- force update.
- double
- minimal available instances duration deployment.
- Deploy
Strategy float64Type - strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
- Total
Batch float64Count - total batch number.
- Batch
Interval float64 - interval between batches.
- Beta
Batch float64Num - beta batch number.
- Force bool
- force update.
- float64
- minimal available instances duration deployment.
- deploy
Strategy DoubleType - strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
- total
Batch DoubleCount - total batch number.
- batch
Interval Double - interval between batches.
- beta
Batch DoubleNum - beta batch number.
- force Boolean
- force update.
- Double
- minimal available instances duration deployment.
- deploy
Strategy numberType - strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
- total
Batch numberCount - total batch number.
- batch
Interval number - interval between batches.
- beta
Batch numberNum - beta batch number.
- force boolean
- force update.
- number
- minimal available instances duration deployment.
- deploy_
strategy_ floattype - strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
- total_
batch_ floatcount - total batch number.
- batch_
interval float - interval between batches.
- beta_
batch_ floatnum - beta batch number.
- force bool
- force update.
- min_
available float - minimal available instances duration deployment.
- deploy
Strategy NumberType - strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
- total
Batch NumberCount - total batch number.
- batch
Interval Number - interval between batches.
- beta
Batch NumberNum - beta batch number.
- force Boolean
- force update.
- Number
- minimal available instances duration deployment.
TemWorkloadEnvConf, TemWorkloadEnvConfArgs
TemWorkloadLiveness, TemWorkloadLivenessArgs
- Type string
- check type, support HttpGet, TcpSocket and Exec.
- Exec string
- script.
- Initial
Delay doubleSeconds - initial delay seconds for liveness check.
- Path string
- path.
- Period
Seconds double - period seconds for liveness check.
- Port double
- liveness check port.
- Protocol string
- protocol.
- Timeout
Seconds double - timeout seconds for liveness check.
- Type string
- check type, support HttpGet, TcpSocket and Exec.
- Exec string
- script.
- Initial
Delay float64Seconds - initial delay seconds for liveness check.
- Path string
- path.
- Period
Seconds float64 - period seconds for liveness check.
- Port float64
- liveness check port.
- Protocol string
- protocol.
- Timeout
Seconds float64 - timeout seconds for liveness check.
- type String
- check type, support HttpGet, TcpSocket and Exec.
- exec String
- script.
- initial
Delay DoubleSeconds - initial delay seconds for liveness check.
- path String
- path.
- period
Seconds Double - period seconds for liveness check.
- port Double
- liveness check port.
- protocol String
- protocol.
- timeout
Seconds Double - timeout seconds for liveness check.
- type string
- check type, support HttpGet, TcpSocket and Exec.
- exec string
- script.
- initial
Delay numberSeconds - initial delay seconds for liveness check.
- path string
- path.
- period
Seconds number - period seconds for liveness check.
- port number
- liveness check port.
- protocol string
- protocol.
- timeout
Seconds number - timeout seconds for liveness check.
- type str
- check type, support HttpGet, TcpSocket and Exec.
- exec_ str
- script.
- initial_
delay_ floatseconds - 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 String
- check type, support HttpGet, TcpSocket and Exec.
- exec String
- script.
- initial
Delay NumberSeconds - initial delay seconds for liveness check.
- path String
- path.
- period
Seconds Number - period seconds for liveness check.
- port Number
- liveness check port.
- protocol String
- protocol.
- timeout
Seconds Number - timeout seconds for liveness check.
TemWorkloadReadiness, TemWorkloadReadinessArgs
- Type string
- check type, support HttpGet, TcpSocket and Exec.
- Exec string
- script.
- Initial
Delay doubleSeconds - initial delay seconds for readiness check.
- Path string
- path.
- Period
Seconds double - period seconds for readiness check.
- Port double
- readiness check port.
- Protocol string
- protocol.
- Timeout
Seconds double - timeout seconds for readiness check.
- Type string
- check type, support HttpGet, TcpSocket and Exec.
- Exec string
- script.
- Initial
Delay float64Seconds - initial delay seconds for readiness check.
- Path string
- path.
- Period
Seconds float64 - period seconds for readiness check.
- Port float64
- readiness check port.
- Protocol string
- protocol.
- Timeout
Seconds float64 - timeout seconds for readiness check.
- type String
- check type, support HttpGet, TcpSocket and Exec.
- exec String
- script.
- initial
Delay DoubleSeconds - initial delay seconds for readiness check.
- path String
- path.
- period
Seconds Double - period seconds for readiness check.
- port Double
- readiness check port.
- protocol String
- protocol.
- timeout
Seconds Double - timeout seconds for readiness check.
- type string
- check type, support HttpGet, TcpSocket and Exec.
- exec string
- script.
- initial
Delay numberSeconds - initial delay seconds for readiness check.
- path string
- path.
- period
Seconds number - period seconds for readiness check.
- port number
- readiness check port.
- protocol string
- protocol.
- timeout
Seconds number - timeout seconds for readiness check.
- type str
- check type, support HttpGet, TcpSocket and Exec.
- exec_ str
- script.
- initial_
delay_ floatseconds - 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 String
- check type, support HttpGet, TcpSocket and Exec.
- exec String
- script.
- initial
Delay NumberSeconds - initial delay seconds for readiness check.
- path String
- path.
- period
Seconds Number - period seconds for readiness check.
- port Number
- readiness check port.
- protocol String
- protocol.
- timeout
Seconds Number - timeout seconds for readiness check.
TemWorkloadStartupProbe, TemWorkloadStartupProbeArgs
- Type string
- check type, support HttpGet, TcpSocket and Exec.
- Exec string
- script.
- Initial
Delay doubleSeconds - initial delay seconds for startup check.
- Path string
- path.
- Period
Seconds double - period seconds for startup check.
- Port double
- startup check port.
- Protocol string
- protocol.
- Timeout
Seconds double - timeout seconds for startup check.
- Type string
- check type, support HttpGet, TcpSocket and Exec.
- Exec string
- script.
- Initial
Delay float64Seconds - initial delay seconds for startup check.
- Path string
- path.
- Period
Seconds float64 - period seconds for startup check.
- Port float64
- startup check port.
- Protocol string
- protocol.
- Timeout
Seconds float64 - timeout seconds for startup check.
- type String
- check type, support HttpGet, TcpSocket and Exec.
- exec String
- script.
- initial
Delay DoubleSeconds - initial delay seconds for startup check.
- path String
- path.
- period
Seconds Double - period seconds for startup check.
- port Double
- startup check port.
- protocol String
- protocol.
- timeout
Seconds Double - timeout seconds for startup check.
- type string
- check type, support HttpGet, TcpSocket and Exec.
- exec string
- script.
- initial
Delay numberSeconds - initial delay seconds for startup check.
- path string
- path.
- period
Seconds number - period seconds for startup check.
- port number
- startup check port.
- protocol string
- protocol.
- timeout
Seconds number - timeout seconds for startup check.
- type str
- check type, support HttpGet, TcpSocket and Exec.
- exec_ str
- script.
- initial_
delay_ floatseconds - 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 String
- check type, support HttpGet, TcpSocket and Exec.
- exec String
- script.
- initial
Delay NumberSeconds - initial delay seconds for startup check.
- path String
- path.
- period
Seconds Number - period seconds for startup check.
- port Number
- startup check port.
- protocol String
- protocol.
- timeout
Seconds Number - timeout seconds for startup check.
TemWorkloadStorageConf, TemWorkloadStorageConfArgs
- Storage
Vol stringIp - volume ip.
- Storage
Vol stringName - volume name.
- Storage
Vol stringPath - volume path.
- Storage
Vol stringIp - volume ip.
- Storage
Vol stringName - volume name.
- Storage
Vol stringPath - volume path.
- storage
Vol StringIp - volume ip.
- storage
Vol StringName - volume name.
- storage
Vol StringPath - volume path.
- storage
Vol stringIp - volume ip.
- storage
Vol stringName - volume name.
- storage
Vol stringPath - volume path.
- storage_
vol_ strip - volume ip.
- storage_
vol_ strname - volume name.
- storage_
vol_ strpath - volume path.
- storage
Vol StringIp - volume ip.
- storage
Vol StringName - volume name.
- storage
Vol StringPath - volume path.
TemWorkloadStorageMountConf, TemWorkloadStorageMountConfArgs
- Mount
Path string - mount path.
- Volume
Name string - volume name.
- Mount
Path string - mount path.
- Volume
Name string - volume name.
- mount
Path String - mount path.
- volume
Name String - volume name.
- mount
Path string - mount path.
- volume
Name string - volume name.
- mount_
path str - mount path.
- volume_
name str - volume name.
- mount
Path String - mount path.
- volume
Name String - volume name.
Import
tem workload can be imported using the id, e.g.
$ pulumi import tencentcloud:index/temWorkload:TemWorkload workload envirnomentId#applicationId
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.