tencentcloud_tem_workloadNivis Nix constructor for the tencentcloud_tem_workload resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
application_id,
cpu_spec,
deploy_mode,
deploy_version,
environment_id,
img_repo,
init_pod_num,
memory_spec,
id ? null,
post_start ? null,
pre_stop ? null,
repo_server ? null,
repo_type ? null,
security_group_ids ? null,
tcr_instance_id ? null,
deploy_strategy_conf ? null,
env_conf ? null,
liveness ? null,
readiness ? null,
startup_probe ? null,
storage_confs ? null,
storage_mount_confs ? null,
overrides ? {}
}Required arguments
application_idcpu_specdeploy_modedeploy_versionenvironment_idimg_repoinit_pod_nummemory_spec
Optional arguments
id(defaults tonull)post_start(defaults tonull)pre_stop(defaults tonull)repo_server(defaults tonull)repo_type(defaults tonull)security_group_ids(defaults tonull)tcr_instance_id(defaults tonull)deploy_strategy_conf(defaults tonull)env_conf(defaults tonull)liveness(defaults tonull)readiness(defaults tonull)startup_probe(defaults tonull)storage_confs(defaults tonull)storage_mount_confs(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
tencentcloud_tem_workload {
name = "tem_workload";
application_id = …; # required
cpu_spec = …; # required
deploy_mode = …; # required
deploy_version = …; # required
environment_id = …; # required
img_repo = …; # required
init_pod_num = …; # required
memory_spec = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.