Control Plane v0.0.27 published on Saturday, May 25, 2024 by pulumiverse
cpln.Workload
Explore with Pulumi AI
Create Workload Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workload(name: string, args: WorkloadArgs, opts?: CustomResourceOptions);@overload
def Workload(resource_name: str,
             args: WorkloadArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Workload(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             containers: Optional[Sequence[WorkloadContainerArgs]] = None,
             type: Optional[str] = None,
             options: Optional[WorkloadOptionsArgs] = None,
             gvc: Optional[str] = None,
             local_options: Optional[Sequence[WorkloadLocalOptionArgs]] = None,
             job: Optional[WorkloadJobArgs] = None,
             identity_link: Optional[str] = None,
             name: Optional[str] = None,
             firewall_spec: Optional[WorkloadFirewallSpecArgs] = None,
             rollout_options: Optional[WorkloadRolloutOptionsArgs] = None,
             security_options: Optional[WorkloadSecurityOptionsArgs] = None,
             sidecar: Optional[WorkloadSidecarArgs] = None,
             support_dynamic_tags: Optional[bool] = None,
             tags: Optional[Mapping[str, str]] = None,
             description: Optional[str] = None)func NewWorkload(ctx *Context, name string, args WorkloadArgs, opts ...ResourceOption) (*Workload, error)public Workload(string name, WorkloadArgs args, CustomResourceOptions? opts = null)
public Workload(String name, WorkloadArgs args)
public Workload(String name, WorkloadArgs args, CustomResourceOptions options)
type: cpln:Workload
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 WorkloadArgs
 - 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 WorkloadArgs
 - 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 WorkloadArgs
 - The arguments to resource properties.
 - opts ResourceOption
 - Bag of options to control resource's behavior.
 
- name string
 - The unique name of the resource.
 - args WorkloadArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- name String
 - The unique name of the resource.
 - args WorkloadArgs
 - The arguments to resource properties.
 - options CustomResourceOptions
 - Bag of options to control resource's behavior.
 
Constructor example
The following reference example uses placeholder values for all input properties.
var workloadResource = new Cpln.Workload("workloadResource", new()
{
    Containers = new[]
    {
        new Cpln.Inputs.WorkloadContainerArgs
        {
            Image = "string",
            Name = "string",
            LivenessProbe = new Cpln.Inputs.WorkloadContainerLivenessProbeArgs
            {
                Exec = new Cpln.Inputs.WorkloadContainerLivenessProbeExecArgs
                {
                    Commands = new[]
                    {
                        "string",
                    },
                },
                FailureThreshold = 0,
                Grpc = new Cpln.Inputs.WorkloadContainerLivenessProbeGrpcArgs
                {
                    Port = 0,
                },
                HttpGet = new Cpln.Inputs.WorkloadContainerLivenessProbeHttpGetArgs
                {
                    HttpHeaders = 
                    {
                        { "string", "string" },
                    },
                    Path = "string",
                    Port = 0,
                    Scheme = "string",
                },
                InitialDelaySeconds = 0,
                PeriodSeconds = 0,
                SuccessThreshold = 0,
                TcpSocket = new Cpln.Inputs.WorkloadContainerLivenessProbeTcpSocketArgs
                {
                    Port = 0,
                },
                TimeoutSeconds = 0,
            },
            MinCpu = "string",
            GpuNvidia = new Cpln.Inputs.WorkloadContainerGpuNvidiaArgs
            {
                Model = "string",
                Quantity = 0,
            },
            Cpu = "string",
            InheritEnv = false,
            Lifecycle = new Cpln.Inputs.WorkloadContainerLifecycleArgs
            {
                PostStart = new Cpln.Inputs.WorkloadContainerLifecyclePostStartArgs
                {
                    Exec = new Cpln.Inputs.WorkloadContainerLifecyclePostStartExecArgs
                    {
                        Commands = new[]
                        {
                            "string",
                        },
                    },
                },
                PreStop = new Cpln.Inputs.WorkloadContainerLifecyclePreStopArgs
                {
                    Exec = new Cpln.Inputs.WorkloadContainerLifecyclePreStopExecArgs
                    {
                        Commands = new[]
                        {
                            "string",
                        },
                    },
                },
            },
            Args = new[]
            {
                "string",
            },
            Memory = "string",
            Metrics = new Cpln.Inputs.WorkloadContainerMetricsArgs
            {
                Path = "string",
                Port = 0,
            },
            Env = 
            {
                { "string", "string" },
            },
            MinMemory = "string",
            Command = "string",
            Ports = new[]
            {
                new Cpln.Inputs.WorkloadContainerPortArgs
                {
                    Number = 0,
                    Protocol = "string",
                },
            },
            ReadinessProbe = new Cpln.Inputs.WorkloadContainerReadinessProbeArgs
            {
                Exec = new Cpln.Inputs.WorkloadContainerReadinessProbeExecArgs
                {
                    Commands = new[]
                    {
                        "string",
                    },
                },
                FailureThreshold = 0,
                Grpc = new Cpln.Inputs.WorkloadContainerReadinessProbeGrpcArgs
                {
                    Port = 0,
                },
                HttpGet = new Cpln.Inputs.WorkloadContainerReadinessProbeHttpGetArgs
                {
                    HttpHeaders = 
                    {
                        { "string", "string" },
                    },
                    Path = "string",
                    Port = 0,
                    Scheme = "string",
                },
                InitialDelaySeconds = 0,
                PeriodSeconds = 0,
                SuccessThreshold = 0,
                TcpSocket = new Cpln.Inputs.WorkloadContainerReadinessProbeTcpSocketArgs
                {
                    Port = 0,
                },
                TimeoutSeconds = 0,
            },
            Volumes = new[]
            {
                new Cpln.Inputs.WorkloadContainerVolumeArgs
                {
                    Path = "string",
                    Uri = "string",
                    RecoveryPolicy = "string",
                },
            },
            WorkingDirectory = "string",
        },
    },
    Type = "string",
    Options = new Cpln.Inputs.WorkloadOptionsArgs
    {
        Autoscaling = new Cpln.Inputs.WorkloadOptionsAutoscalingArgs
        {
            MaxConcurrency = 0,
            MaxScale = 0,
            Metric = "string",
            MetricPercentile = "string",
            MinScale = 0,
            ScaleToZeroDelay = 0,
            Target = 0,
        },
        CapacityAi = false,
        Debug = false,
        Suspend = false,
        TimeoutSeconds = 0,
    },
    Gvc = "string",
    LocalOptions = new[]
    {
        new Cpln.Inputs.WorkloadLocalOptionArgs
        {
            Location = "string",
            Autoscaling = new Cpln.Inputs.WorkloadLocalOptionAutoscalingArgs
            {
                MaxConcurrency = 0,
                MaxScale = 0,
                Metric = "string",
                MetricPercentile = "string",
                MinScale = 0,
                ScaleToZeroDelay = 0,
                Target = 0,
            },
            CapacityAi = false,
            Debug = false,
            Suspend = false,
            TimeoutSeconds = 0,
        },
    },
    Job = new Cpln.Inputs.WorkloadJobArgs
    {
        Schedule = "string",
        ActiveDeadlineSeconds = 0,
        ConcurrencyPolicy = "string",
        HistoryLimit = 0,
        RestartPolicy = "string",
    },
    IdentityLink = "string",
    Name = "string",
    FirewallSpec = new Cpln.Inputs.WorkloadFirewallSpecArgs
    {
        External = new Cpln.Inputs.WorkloadFirewallSpecExternalArgs
        {
            InboundAllowCidrs = new[]
            {
                "string",
            },
            OutboundAllowCidrs = new[]
            {
                "string",
            },
            OutboundAllowHostnames = new[]
            {
                "string",
            },
            OutboundAllowPorts = new[]
            {
                new Cpln.Inputs.WorkloadFirewallSpecExternalOutboundAllowPortArgs
                {
                    Number = 0,
                    Protocol = "string",
                },
            },
        },
        Internal = new Cpln.Inputs.WorkloadFirewallSpecInternalArgs
        {
            InboundAllowType = "string",
            InboundAllowWorkloads = new[]
            {
                "string",
            },
        },
    },
    RolloutOptions = new Cpln.Inputs.WorkloadRolloutOptionsArgs
    {
        MaxSurgeReplicas = "string",
        MaxUnavailableReplicas = "string",
        MinReadySeconds = 0,
        ScalingPolicy = "string",
    },
    SecurityOptions = new Cpln.Inputs.WorkloadSecurityOptionsArgs
    {
        FileSystemGroupId = 0,
    },
    Sidecar = new Cpln.Inputs.WorkloadSidecarArgs
    {
        Envoy = "string",
    },
    SupportDynamicTags = false,
    Tags = 
    {
        { "string", "string" },
    },
    Description = "string",
});
example, err := cpln.NewWorkload(ctx, "workloadResource", &cpln.WorkloadArgs{
	Containers: cpln.WorkloadContainerArray{
		&cpln.WorkloadContainerArgs{
			Image: pulumi.String("string"),
			Name:  pulumi.String("string"),
			LivenessProbe: &cpln.WorkloadContainerLivenessProbeArgs{
				Exec: &cpln.WorkloadContainerLivenessProbeExecArgs{
					Commands: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				FailureThreshold: pulumi.Int(0),
				Grpc: &cpln.WorkloadContainerLivenessProbeGrpcArgs{
					Port: pulumi.Int(0),
				},
				HttpGet: &cpln.WorkloadContainerLivenessProbeHttpGetArgs{
					HttpHeaders: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Path:   pulumi.String("string"),
					Port:   pulumi.Int(0),
					Scheme: pulumi.String("string"),
				},
				InitialDelaySeconds: pulumi.Int(0),
				PeriodSeconds:       pulumi.Int(0),
				SuccessThreshold:    pulumi.Int(0),
				TcpSocket: &cpln.WorkloadContainerLivenessProbeTcpSocketArgs{
					Port: pulumi.Int(0),
				},
				TimeoutSeconds: pulumi.Int(0),
			},
			MinCpu: pulumi.String("string"),
			GpuNvidia: &cpln.WorkloadContainerGpuNvidiaArgs{
				Model:    pulumi.String("string"),
				Quantity: pulumi.Int(0),
			},
			Cpu:        pulumi.String("string"),
			InheritEnv: pulumi.Bool(false),
			Lifecycle: &cpln.WorkloadContainerLifecycleArgs{
				PostStart: &cpln.WorkloadContainerLifecyclePostStartArgs{
					Exec: &cpln.WorkloadContainerLifecyclePostStartExecArgs{
						Commands: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
				PreStop: &cpln.WorkloadContainerLifecyclePreStopArgs{
					Exec: &cpln.WorkloadContainerLifecyclePreStopExecArgs{
						Commands: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
			},
			Args: pulumi.StringArray{
				pulumi.String("string"),
			},
			Memory: pulumi.String("string"),
			Metrics: &cpln.WorkloadContainerMetricsArgs{
				Path: pulumi.String("string"),
				Port: pulumi.Int(0),
			},
			Env: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			MinMemory: pulumi.String("string"),
			Command:   pulumi.String("string"),
			Ports: cpln.WorkloadContainerPortArray{
				&cpln.WorkloadContainerPortArgs{
					Number:   pulumi.Int(0),
					Protocol: pulumi.String("string"),
				},
			},
			ReadinessProbe: &cpln.WorkloadContainerReadinessProbeArgs{
				Exec: &cpln.WorkloadContainerReadinessProbeExecArgs{
					Commands: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				FailureThreshold: pulumi.Int(0),
				Grpc: &cpln.WorkloadContainerReadinessProbeGrpcArgs{
					Port: pulumi.Int(0),
				},
				HttpGet: &cpln.WorkloadContainerReadinessProbeHttpGetArgs{
					HttpHeaders: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Path:   pulumi.String("string"),
					Port:   pulumi.Int(0),
					Scheme: pulumi.String("string"),
				},
				InitialDelaySeconds: pulumi.Int(0),
				PeriodSeconds:       pulumi.Int(0),
				SuccessThreshold:    pulumi.Int(0),
				TcpSocket: &cpln.WorkloadContainerReadinessProbeTcpSocketArgs{
					Port: pulumi.Int(0),
				},
				TimeoutSeconds: pulumi.Int(0),
			},
			Volumes: cpln.WorkloadContainerVolumeArray{
				&cpln.WorkloadContainerVolumeArgs{
					Path:           pulumi.String("string"),
					Uri:            pulumi.String("string"),
					RecoveryPolicy: pulumi.String("string"),
				},
			},
			WorkingDirectory: pulumi.String("string"),
		},
	},
	Type: pulumi.String("string"),
	Options: &cpln.WorkloadOptionsArgs{
		Autoscaling: &cpln.WorkloadOptionsAutoscalingArgs{
			MaxConcurrency:   pulumi.Int(0),
			MaxScale:         pulumi.Int(0),
			Metric:           pulumi.String("string"),
			MetricPercentile: pulumi.String("string"),
			MinScale:         pulumi.Int(0),
			ScaleToZeroDelay: pulumi.Int(0),
			Target:           pulumi.Int(0),
		},
		CapacityAi:     pulumi.Bool(false),
		Debug:          pulumi.Bool(false),
		Suspend:        pulumi.Bool(false),
		TimeoutSeconds: pulumi.Int(0),
	},
	Gvc: pulumi.String("string"),
	LocalOptions: cpln.WorkloadLocalOptionArray{
		&cpln.WorkloadLocalOptionArgs{
			Location: pulumi.String("string"),
			Autoscaling: &cpln.WorkloadLocalOptionAutoscalingArgs{
				MaxConcurrency:   pulumi.Int(0),
				MaxScale:         pulumi.Int(0),
				Metric:           pulumi.String("string"),
				MetricPercentile: pulumi.String("string"),
				MinScale:         pulumi.Int(0),
				ScaleToZeroDelay: pulumi.Int(0),
				Target:           pulumi.Int(0),
			},
			CapacityAi:     pulumi.Bool(false),
			Debug:          pulumi.Bool(false),
			Suspend:        pulumi.Bool(false),
			TimeoutSeconds: pulumi.Int(0),
		},
	},
	Job: &cpln.WorkloadJobArgs{
		Schedule:              pulumi.String("string"),
		ActiveDeadlineSeconds: pulumi.Int(0),
		ConcurrencyPolicy:     pulumi.String("string"),
		HistoryLimit:          pulumi.Int(0),
		RestartPolicy:         pulumi.String("string"),
	},
	IdentityLink: pulumi.String("string"),
	Name:         pulumi.String("string"),
	FirewallSpec: &cpln.WorkloadFirewallSpecArgs{
		External: &cpln.WorkloadFirewallSpecExternalArgs{
			InboundAllowCidrs: pulumi.StringArray{
				pulumi.String("string"),
			},
			OutboundAllowCidrs: pulumi.StringArray{
				pulumi.String("string"),
			},
			OutboundAllowHostnames: pulumi.StringArray{
				pulumi.String("string"),
			},
			OutboundAllowPorts: cpln.WorkloadFirewallSpecExternalOutboundAllowPortArray{
				&cpln.WorkloadFirewallSpecExternalOutboundAllowPortArgs{
					Number:   pulumi.Int(0),
					Protocol: pulumi.String("string"),
				},
			},
		},
		Internal: &cpln.WorkloadFirewallSpecInternalArgs{
			InboundAllowType: pulumi.String("string"),
			InboundAllowWorkloads: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	RolloutOptions: &cpln.WorkloadRolloutOptionsArgs{
		MaxSurgeReplicas:       pulumi.String("string"),
		MaxUnavailableReplicas: pulumi.String("string"),
		MinReadySeconds:        pulumi.Int(0),
		ScalingPolicy:          pulumi.String("string"),
	},
	SecurityOptions: &cpln.WorkloadSecurityOptionsArgs{
		FileSystemGroupId: pulumi.Int(0),
	},
	Sidecar: &cpln.WorkloadSidecarArgs{
		Envoy: pulumi.String("string"),
	},
	SupportDynamicTags: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
})
var workloadResource = new Workload("workloadResource", WorkloadArgs.builder()
    .containers(WorkloadContainerArgs.builder()
        .image("string")
        .name("string")
        .livenessProbe(WorkloadContainerLivenessProbeArgs.builder()
            .exec(WorkloadContainerLivenessProbeExecArgs.builder()
                .commands("string")
                .build())
            .failureThreshold(0)
            .grpc(WorkloadContainerLivenessProbeGrpcArgs.builder()
                .port(0)
                .build())
            .httpGet(WorkloadContainerLivenessProbeHttpGetArgs.builder()
                .httpHeaders(Map.of("string", "string"))
                .path("string")
                .port(0)
                .scheme("string")
                .build())
            .initialDelaySeconds(0)
            .periodSeconds(0)
            .successThreshold(0)
            .tcpSocket(WorkloadContainerLivenessProbeTcpSocketArgs.builder()
                .port(0)
                .build())
            .timeoutSeconds(0)
            .build())
        .minCpu("string")
        .gpuNvidia(WorkloadContainerGpuNvidiaArgs.builder()
            .model("string")
            .quantity(0)
            .build())
        .cpu("string")
        .inheritEnv(false)
        .lifecycle(WorkloadContainerLifecycleArgs.builder()
            .postStart(WorkloadContainerLifecyclePostStartArgs.builder()
                .exec(WorkloadContainerLifecyclePostStartExecArgs.builder()
                    .commands("string")
                    .build())
                .build())
            .preStop(WorkloadContainerLifecyclePreStopArgs.builder()
                .exec(WorkloadContainerLifecyclePreStopExecArgs.builder()
                    .commands("string")
                    .build())
                .build())
            .build())
        .args("string")
        .memory("string")
        .metrics(WorkloadContainerMetricsArgs.builder()
            .path("string")
            .port(0)
            .build())
        .env(Map.of("string", "string"))
        .minMemory("string")
        .command("string")
        .ports(WorkloadContainerPortArgs.builder()
            .number(0)
            .protocol("string")
            .build())
        .readinessProbe(WorkloadContainerReadinessProbeArgs.builder()
            .exec(WorkloadContainerReadinessProbeExecArgs.builder()
                .commands("string")
                .build())
            .failureThreshold(0)
            .grpc(WorkloadContainerReadinessProbeGrpcArgs.builder()
                .port(0)
                .build())
            .httpGet(WorkloadContainerReadinessProbeHttpGetArgs.builder()
                .httpHeaders(Map.of("string", "string"))
                .path("string")
                .port(0)
                .scheme("string")
                .build())
            .initialDelaySeconds(0)
            .periodSeconds(0)
            .successThreshold(0)
            .tcpSocket(WorkloadContainerReadinessProbeTcpSocketArgs.builder()
                .port(0)
                .build())
            .timeoutSeconds(0)
            .build())
        .volumes(WorkloadContainerVolumeArgs.builder()
            .path("string")
            .uri("string")
            .recoveryPolicy("string")
            .build())
        .workingDirectory("string")
        .build())
    .type("string")
    .options(WorkloadOptionsArgs.builder()
        .autoscaling(WorkloadOptionsAutoscalingArgs.builder()
            .maxConcurrency(0)
            .maxScale(0)
            .metric("string")
            .metricPercentile("string")
            .minScale(0)
            .scaleToZeroDelay(0)
            .target(0)
            .build())
        .capacityAi(false)
        .debug(false)
        .suspend(false)
        .timeoutSeconds(0)
        .build())
    .gvc("string")
    .localOptions(WorkloadLocalOptionArgs.builder()
        .location("string")
        .autoscaling(WorkloadLocalOptionAutoscalingArgs.builder()
            .maxConcurrency(0)
            .maxScale(0)
            .metric("string")
            .metricPercentile("string")
            .minScale(0)
            .scaleToZeroDelay(0)
            .target(0)
            .build())
        .capacityAi(false)
        .debug(false)
        .suspend(false)
        .timeoutSeconds(0)
        .build())
    .job(WorkloadJobArgs.builder()
        .schedule("string")
        .activeDeadlineSeconds(0)
        .concurrencyPolicy("string")
        .historyLimit(0)
        .restartPolicy("string")
        .build())
    .identityLink("string")
    .name("string")
    .firewallSpec(WorkloadFirewallSpecArgs.builder()
        .external(WorkloadFirewallSpecExternalArgs.builder()
            .inboundAllowCidrs("string")
            .outboundAllowCidrs("string")
            .outboundAllowHostnames("string")
            .outboundAllowPorts(WorkloadFirewallSpecExternalOutboundAllowPortArgs.builder()
                .number(0)
                .protocol("string")
                .build())
            .build())
        .internal(WorkloadFirewallSpecInternalArgs.builder()
            .inboundAllowType("string")
            .inboundAllowWorkloads("string")
            .build())
        .build())
    .rolloutOptions(WorkloadRolloutOptionsArgs.builder()
        .maxSurgeReplicas("string")
        .maxUnavailableReplicas("string")
        .minReadySeconds(0)
        .scalingPolicy("string")
        .build())
    .securityOptions(WorkloadSecurityOptionsArgs.builder()
        .fileSystemGroupId(0)
        .build())
    .sidecar(WorkloadSidecarArgs.builder()
        .envoy("string")
        .build())
    .supportDynamicTags(false)
    .tags(Map.of("string", "string"))
    .description("string")
    .build());
workload_resource = cpln.Workload("workloadResource",
    containers=[cpln.WorkloadContainerArgs(
        image="string",
        name="string",
        liveness_probe=cpln.WorkloadContainerLivenessProbeArgs(
            exec_=cpln.WorkloadContainerLivenessProbeExecArgs(
                commands=["string"],
            ),
            failure_threshold=0,
            grpc=cpln.WorkloadContainerLivenessProbeGrpcArgs(
                port=0,
            ),
            http_get=cpln.WorkloadContainerLivenessProbeHttpGetArgs(
                http_headers={
                    "string": "string",
                },
                path="string",
                port=0,
                scheme="string",
            ),
            initial_delay_seconds=0,
            period_seconds=0,
            success_threshold=0,
            tcp_socket=cpln.WorkloadContainerLivenessProbeTcpSocketArgs(
                port=0,
            ),
            timeout_seconds=0,
        ),
        min_cpu="string",
        gpu_nvidia=cpln.WorkloadContainerGpuNvidiaArgs(
            model="string",
            quantity=0,
        ),
        cpu="string",
        inherit_env=False,
        lifecycle=cpln.WorkloadContainerLifecycleArgs(
            post_start=cpln.WorkloadContainerLifecyclePostStartArgs(
                exec_=cpln.WorkloadContainerLifecyclePostStartExecArgs(
                    commands=["string"],
                ),
            ),
            pre_stop=cpln.WorkloadContainerLifecyclePreStopArgs(
                exec_=cpln.WorkloadContainerLifecyclePreStopExecArgs(
                    commands=["string"],
                ),
            ),
        ),
        args=["string"],
        memory="string",
        metrics=cpln.WorkloadContainerMetricsArgs(
            path="string",
            port=0,
        ),
        env={
            "string": "string",
        },
        min_memory="string",
        command="string",
        ports=[cpln.WorkloadContainerPortArgs(
            number=0,
            protocol="string",
        )],
        readiness_probe=cpln.WorkloadContainerReadinessProbeArgs(
            exec_=cpln.WorkloadContainerReadinessProbeExecArgs(
                commands=["string"],
            ),
            failure_threshold=0,
            grpc=cpln.WorkloadContainerReadinessProbeGrpcArgs(
                port=0,
            ),
            http_get=cpln.WorkloadContainerReadinessProbeHttpGetArgs(
                http_headers={
                    "string": "string",
                },
                path="string",
                port=0,
                scheme="string",
            ),
            initial_delay_seconds=0,
            period_seconds=0,
            success_threshold=0,
            tcp_socket=cpln.WorkloadContainerReadinessProbeTcpSocketArgs(
                port=0,
            ),
            timeout_seconds=0,
        ),
        volumes=[cpln.WorkloadContainerVolumeArgs(
            path="string",
            uri="string",
            recovery_policy="string",
        )],
        working_directory="string",
    )],
    type="string",
    options=cpln.WorkloadOptionsArgs(
        autoscaling=cpln.WorkloadOptionsAutoscalingArgs(
            max_concurrency=0,
            max_scale=0,
            metric="string",
            metric_percentile="string",
            min_scale=0,
            scale_to_zero_delay=0,
            target=0,
        ),
        capacity_ai=False,
        debug=False,
        suspend=False,
        timeout_seconds=0,
    ),
    gvc="string",
    local_options=[cpln.WorkloadLocalOptionArgs(
        location="string",
        autoscaling=cpln.WorkloadLocalOptionAutoscalingArgs(
            max_concurrency=0,
            max_scale=0,
            metric="string",
            metric_percentile="string",
            min_scale=0,
            scale_to_zero_delay=0,
            target=0,
        ),
        capacity_ai=False,
        debug=False,
        suspend=False,
        timeout_seconds=0,
    )],
    job=cpln.WorkloadJobArgs(
        schedule="string",
        active_deadline_seconds=0,
        concurrency_policy="string",
        history_limit=0,
        restart_policy="string",
    ),
    identity_link="string",
    name="string",
    firewall_spec=cpln.WorkloadFirewallSpecArgs(
        external=cpln.WorkloadFirewallSpecExternalArgs(
            inbound_allow_cidrs=["string"],
            outbound_allow_cidrs=["string"],
            outbound_allow_hostnames=["string"],
            outbound_allow_ports=[cpln.WorkloadFirewallSpecExternalOutboundAllowPortArgs(
                number=0,
                protocol="string",
            )],
        ),
        internal=cpln.WorkloadFirewallSpecInternalArgs(
            inbound_allow_type="string",
            inbound_allow_workloads=["string"],
        ),
    ),
    rollout_options=cpln.WorkloadRolloutOptionsArgs(
        max_surge_replicas="string",
        max_unavailable_replicas="string",
        min_ready_seconds=0,
        scaling_policy="string",
    ),
    security_options=cpln.WorkloadSecurityOptionsArgs(
        file_system_group_id=0,
    ),
    sidecar=cpln.WorkloadSidecarArgs(
        envoy="string",
    ),
    support_dynamic_tags=False,
    tags={
        "string": "string",
    },
    description="string")
const workloadResource = new cpln.Workload("workloadResource", {
    containers: [{
        image: "string",
        name: "string",
        livenessProbe: {
            exec: {
                commands: ["string"],
            },
            failureThreshold: 0,
            grpc: {
                port: 0,
            },
            httpGet: {
                httpHeaders: {
                    string: "string",
                },
                path: "string",
                port: 0,
                scheme: "string",
            },
            initialDelaySeconds: 0,
            periodSeconds: 0,
            successThreshold: 0,
            tcpSocket: {
                port: 0,
            },
            timeoutSeconds: 0,
        },
        minCpu: "string",
        gpuNvidia: {
            model: "string",
            quantity: 0,
        },
        cpu: "string",
        inheritEnv: false,
        lifecycle: {
            postStart: {
                exec: {
                    commands: ["string"],
                },
            },
            preStop: {
                exec: {
                    commands: ["string"],
                },
            },
        },
        args: ["string"],
        memory: "string",
        metrics: {
            path: "string",
            port: 0,
        },
        env: {
            string: "string",
        },
        minMemory: "string",
        command: "string",
        ports: [{
            number: 0,
            protocol: "string",
        }],
        readinessProbe: {
            exec: {
                commands: ["string"],
            },
            failureThreshold: 0,
            grpc: {
                port: 0,
            },
            httpGet: {
                httpHeaders: {
                    string: "string",
                },
                path: "string",
                port: 0,
                scheme: "string",
            },
            initialDelaySeconds: 0,
            periodSeconds: 0,
            successThreshold: 0,
            tcpSocket: {
                port: 0,
            },
            timeoutSeconds: 0,
        },
        volumes: [{
            path: "string",
            uri: "string",
            recoveryPolicy: "string",
        }],
        workingDirectory: "string",
    }],
    type: "string",
    options: {
        autoscaling: {
            maxConcurrency: 0,
            maxScale: 0,
            metric: "string",
            metricPercentile: "string",
            minScale: 0,
            scaleToZeroDelay: 0,
            target: 0,
        },
        capacityAi: false,
        debug: false,
        suspend: false,
        timeoutSeconds: 0,
    },
    gvc: "string",
    localOptions: [{
        location: "string",
        autoscaling: {
            maxConcurrency: 0,
            maxScale: 0,
            metric: "string",
            metricPercentile: "string",
            minScale: 0,
            scaleToZeroDelay: 0,
            target: 0,
        },
        capacityAi: false,
        debug: false,
        suspend: false,
        timeoutSeconds: 0,
    }],
    job: {
        schedule: "string",
        activeDeadlineSeconds: 0,
        concurrencyPolicy: "string",
        historyLimit: 0,
        restartPolicy: "string",
    },
    identityLink: "string",
    name: "string",
    firewallSpec: {
        external: {
            inboundAllowCidrs: ["string"],
            outboundAllowCidrs: ["string"],
            outboundAllowHostnames: ["string"],
            outboundAllowPorts: [{
                number: 0,
                protocol: "string",
            }],
        },
        internal: {
            inboundAllowType: "string",
            inboundAllowWorkloads: ["string"],
        },
    },
    rolloutOptions: {
        maxSurgeReplicas: "string",
        maxUnavailableReplicas: "string",
        minReadySeconds: 0,
        scalingPolicy: "string",
    },
    securityOptions: {
        fileSystemGroupId: 0,
    },
    sidecar: {
        envoy: "string",
    },
    supportDynamicTags: false,
    tags: {
        string: "string",
    },
    description: "string",
});
type: cpln:Workload
properties:
    containers:
        - args:
            - string
          command: string
          cpu: string
          env:
            string: string
          gpuNvidia:
            model: string
            quantity: 0
          image: string
          inheritEnv: false
          lifecycle:
            postStart:
                exec:
                    commands:
                        - string
            preStop:
                exec:
                    commands:
                        - string
          livenessProbe:
            exec:
                commands:
                    - string
            failureThreshold: 0
            grpc:
                port: 0
            httpGet:
                httpHeaders:
                    string: string
                path: string
                port: 0
                scheme: string
            initialDelaySeconds: 0
            periodSeconds: 0
            successThreshold: 0
            tcpSocket:
                port: 0
            timeoutSeconds: 0
          memory: string
          metrics:
            path: string
            port: 0
          minCpu: string
          minMemory: string
          name: string
          ports:
            - number: 0
              protocol: string
          readinessProbe:
            exec:
                commands:
                    - string
            failureThreshold: 0
            grpc:
                port: 0
            httpGet:
                httpHeaders:
                    string: string
                path: string
                port: 0
                scheme: string
            initialDelaySeconds: 0
            periodSeconds: 0
            successThreshold: 0
            tcpSocket:
                port: 0
            timeoutSeconds: 0
          volumes:
            - path: string
              recoveryPolicy: string
              uri: string
          workingDirectory: string
    description: string
    firewallSpec:
        external:
            inboundAllowCidrs:
                - string
            outboundAllowCidrs:
                - string
            outboundAllowHostnames:
                - string
            outboundAllowPorts:
                - number: 0
                  protocol: string
        internal:
            inboundAllowType: string
            inboundAllowWorkloads:
                - string
    gvc: string
    identityLink: string
    job:
        activeDeadlineSeconds: 0
        concurrencyPolicy: string
        historyLimit: 0
        restartPolicy: string
        schedule: string
    localOptions:
        - autoscaling:
            maxConcurrency: 0
            maxScale: 0
            metric: string
            metricPercentile: string
            minScale: 0
            scaleToZeroDelay: 0
            target: 0
          capacityAi: false
          debug: false
          location: string
          suspend: false
          timeoutSeconds: 0
    name: string
    options:
        autoscaling:
            maxConcurrency: 0
            maxScale: 0
            metric: string
            metricPercentile: string
            minScale: 0
            scaleToZeroDelay: 0
            target: 0
        capacityAi: false
        debug: false
        suspend: false
        timeoutSeconds: 0
    rolloutOptions:
        maxSurgeReplicas: string
        maxUnavailableReplicas: string
        minReadySeconds: 0
        scalingPolicy: string
    securityOptions:
        fileSystemGroupId: 0
    sidecar:
        envoy: string
    supportDynamicTags: false
    tags:
        string: string
    type: string
Workload Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Workload resource accepts the following input properties:
- Containers
List<Pulumiverse.
Cpln. Inputs. Workload Container>  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - Gvc string
 - Name of the associated GVC.
 - Options
Pulumiverse.
Cpln. Inputs. Workload Options  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - Type string
 - Workload Type. Either 
serverless,standard,stateful, orcron. - Description string
 - Description of the Workload.
 - Firewall
Spec Pulumiverse.Cpln. Inputs. Workload Firewall Spec  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - Identity
Link string - Full link to an Identity.
 - Job
Pulumiverse.
Cpln. Inputs. Workload Job  - Cron Job Reference Page.
 - Local
Options List<Pulumiverse.Cpln. Inputs. Workload Local Option>  - Name string
 - Name of the Workload.
 - Rollout
Options Pulumiverse.Cpln. Inputs. Workload Rollout Options  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - Security
Options Pulumiverse.Cpln. Inputs. Workload Security Options  - Allows for the configuration of the 
file system group id - Sidecar
Pulumiverse.
Cpln. Inputs. Workload Sidecar  - bool
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Dictionary<string, string>
 - Key-value map of resource tags.
 
- Containers
[]Workload
Container Args  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - Gvc string
 - Name of the associated GVC.
 - Options
Workload
Options Args  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - Type string
 - Workload Type. Either 
serverless,standard,stateful, orcron. - Description string
 - Description of the Workload.
 - Firewall
Spec WorkloadFirewall Spec Args  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - Identity
Link string - Full link to an Identity.
 - Job
Workload
Job Args  - Cron Job Reference Page.
 - Local
Options []WorkloadLocal Option Args  - Name string
 - Name of the Workload.
 - Rollout
Options WorkloadRollout Options Args  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - Security
Options WorkloadSecurity Options Args  - Allows for the configuration of the 
file system group id - Sidecar
Workload
Sidecar Args  - bool
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - map[string]string
 - Key-value map of resource tags.
 
- containers
List<Workload
Container>  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - gvc String
 - Name of the associated GVC.
 - options
Workload
Options  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - type String
 - Workload Type. Either 
serverless,standard,stateful, orcron. - description String
 - Description of the Workload.
 - firewall
Spec WorkloadFirewall Spec  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - identity
Link String - Full link to an Identity.
 - job
Workload
Job  - Cron Job Reference Page.
 - local
Options List<WorkloadLocal Option>  - name String
 - Name of the Workload.
 - rollout
Options WorkloadRollout Options  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security
Options WorkloadSecurity Options  - Allows for the configuration of the 
file system group id - sidecar
Workload
Sidecar  - Boolean
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Map<String,String>
 - Key-value map of resource tags.
 
- containers
Workload
Container[]  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - gvc string
 - Name of the associated GVC.
 - options
Workload
Options  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - type string
 - Workload Type. Either 
serverless,standard,stateful, orcron. - description string
 - Description of the Workload.
 - firewall
Spec WorkloadFirewall Spec  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - identity
Link string - Full link to an Identity.
 - job
Workload
Job  - Cron Job Reference Page.
 - local
Options WorkloadLocal Option[]  - name string
 - Name of the Workload.
 - rollout
Options WorkloadRollout Options  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security
Options WorkloadSecurity Options  - Allows for the configuration of the 
file system group id - sidecar
Workload
Sidecar  - boolean
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - {[key: string]: string}
 - Key-value map of resource tags.
 
- containers
Sequence[Workload
Container Args]  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - gvc str
 - Name of the associated GVC.
 - options
Workload
Options Args  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - type str
 - Workload Type. Either 
serverless,standard,stateful, orcron. - description str
 - Description of the Workload.
 - firewall_
spec WorkloadFirewall Spec Args  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - identity_
link str - Full link to an Identity.
 - job
Workload
Job Args  - Cron Job Reference Page.
 - local_
options Sequence[WorkloadLocal Option Args]  - name str
 - Name of the Workload.
 - rollout_
options WorkloadRollout Options Args  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security_
options WorkloadSecurity Options Args  - Allows for the configuration of the 
file system group id - sidecar
Workload
Sidecar Args  - bool
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Mapping[str, str]
 - Key-value map of resource tags.
 
- containers List<Property Map>
 - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - gvc String
 - Name of the associated GVC.
 - options Property Map
 - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - type String
 - Workload Type. Either 
serverless,standard,stateful, orcron. - description String
 - Description of the Workload.
 - firewall
Spec Property Map - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - identity
Link String - Full link to an Identity.
 - job Property Map
 - Cron Job Reference Page.
 - local
Options List<Property Map> - name String
 - Name of the Workload.
 - rollout
Options Property Map - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security
Options Property Map - Allows for the configuration of the 
file system group id - sidecar Property Map
 - Boolean
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Map<String>
 - Key-value map of resource tags.
 
Outputs
All input properties are implicitly available as output properties. Additionally, the Workload resource produces the following output properties:
- Cpln
Id string - The ID, in GUID format, of the Workload.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Self
Link string - Full link to this resource. Can be referenced by other resources.
 - Statuses
List<Pulumiverse.
Cpln. Outputs. Workload Status>  - Status of the workload.
 
- Cpln
Id string - The ID, in GUID format, of the Workload.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Self
Link string - Full link to this resource. Can be referenced by other resources.
 - Statuses
[]Workload
Status  - Status of the workload.
 
- cpln
Id String - The ID, in GUID format, of the Workload.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - self
Link String - Full link to this resource. Can be referenced by other resources.
 - statuses
List<Workload
Status>  - Status of the workload.
 
- cpln
Id string - The ID, in GUID format, of the Workload.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - self
Link string - Full link to this resource. Can be referenced by other resources.
 - statuses
Workload
Status[]  - Status of the workload.
 
- cpln_
id str - The ID, in GUID format, of the Workload.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - self_
link str - Full link to this resource. Can be referenced by other resources.
 - statuses
Sequence[Workload
Status]  - Status of the workload.
 
- cpln
Id String - The ID, in GUID format, of the Workload.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - self
Link String - Full link to this resource. Can be referenced by other resources.
 - statuses List<Property Map>
 - Status of the workload.
 
Look up Existing Workload Resource
Get an existing Workload 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?: WorkloadState, opts?: CustomResourceOptions): Workload@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        containers: Optional[Sequence[WorkloadContainerArgs]] = None,
        cpln_id: Optional[str] = None,
        description: Optional[str] = None,
        firewall_spec: Optional[WorkloadFirewallSpecArgs] = None,
        gvc: Optional[str] = None,
        identity_link: Optional[str] = None,
        job: Optional[WorkloadJobArgs] = None,
        local_options: Optional[Sequence[WorkloadLocalOptionArgs]] = None,
        name: Optional[str] = None,
        options: Optional[WorkloadOptionsArgs] = None,
        rollout_options: Optional[WorkloadRolloutOptionsArgs] = None,
        security_options: Optional[WorkloadSecurityOptionsArgs] = None,
        self_link: Optional[str] = None,
        sidecar: Optional[WorkloadSidecarArgs] = None,
        statuses: Optional[Sequence[WorkloadStatusArgs]] = None,
        support_dynamic_tags: Optional[bool] = None,
        tags: Optional[Mapping[str, str]] = None,
        type: Optional[str] = None) -> Workloadfunc GetWorkload(ctx *Context, name string, id IDInput, state *WorkloadState, opts ...ResourceOption) (*Workload, error)public static Workload Get(string name, Input<string> id, WorkloadState? state, CustomResourceOptions? opts = null)public static Workload get(String name, Output<String> id, WorkloadState state, CustomResourceOptions options)Resource lookup is not supported in YAML- 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.
 
- Containers
List<Pulumiverse.
Cpln. Inputs. Workload Container>  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - Cpln
Id string - The ID, in GUID format, of the Workload.
 - Description string
 - Description of the Workload.
 - Firewall
Spec Pulumiverse.Cpln. Inputs. Workload Firewall Spec  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - Gvc string
 - Name of the associated GVC.
 - Identity
Link string - Full link to an Identity.
 - Job
Pulumiverse.
Cpln. Inputs. Workload Job  - Cron Job Reference Page.
 - Local
Options List<Pulumiverse.Cpln. Inputs. Workload Local Option>  - Name string
 - Name of the Workload.
 - Options
Pulumiverse.
Cpln. Inputs. Workload Options  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - Rollout
Options Pulumiverse.Cpln. Inputs. Workload Rollout Options  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - Security
Options Pulumiverse.Cpln. Inputs. Workload Security Options  - Allows for the configuration of the 
file system group id - Self
Link string - Full link to this resource. Can be referenced by other resources.
 - Sidecar
Pulumiverse.
Cpln. Inputs. Workload Sidecar  - Statuses
List<Pulumiverse.
Cpln. Inputs. Workload Status>  - Status of the workload.
 - bool
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Dictionary<string, string>
 - Key-value map of resource tags.
 - Type string
 - Workload Type. Either 
serverless,standard,stateful, orcron. 
- Containers
[]Workload
Container Args  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - Cpln
Id string - The ID, in GUID format, of the Workload.
 - Description string
 - Description of the Workload.
 - Firewall
Spec WorkloadFirewall Spec Args  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - Gvc string
 - Name of the associated GVC.
 - Identity
Link string - Full link to an Identity.
 - Job
Workload
Job Args  - Cron Job Reference Page.
 - Local
Options []WorkloadLocal Option Args  - Name string
 - Name of the Workload.
 - Options
Workload
Options Args  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - Rollout
Options WorkloadRollout Options Args  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - Security
Options WorkloadSecurity Options Args  - Allows for the configuration of the 
file system group id - Self
Link string - Full link to this resource. Can be referenced by other resources.
 - Sidecar
Workload
Sidecar Args  - Statuses
[]Workload
Status Args  - Status of the workload.
 - bool
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - map[string]string
 - Key-value map of resource tags.
 - Type string
 - Workload Type. Either 
serverless,standard,stateful, orcron. 
- containers
List<Workload
Container>  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - cpln
Id String - The ID, in GUID format, of the Workload.
 - description String
 - Description of the Workload.
 - firewall
Spec WorkloadFirewall Spec  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - gvc String
 - Name of the associated GVC.
 - identity
Link String - Full link to an Identity.
 - job
Workload
Job  - Cron Job Reference Page.
 - local
Options List<WorkloadLocal Option>  - name String
 - Name of the Workload.
 - options
Workload
Options  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - rollout
Options WorkloadRollout Options  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security
Options WorkloadSecurity Options  - Allows for the configuration of the 
file system group id - self
Link String - Full link to this resource. Can be referenced by other resources.
 - sidecar
Workload
Sidecar  - statuses
List<Workload
Status>  - Status of the workload.
 - Boolean
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Map<String,String>
 - Key-value map of resource tags.
 - type String
 - Workload Type. Either 
serverless,standard,stateful, orcron. 
- containers
Workload
Container[]  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - cpln
Id string - The ID, in GUID format, of the Workload.
 - description string
 - Description of the Workload.
 - firewall
Spec WorkloadFirewall Spec  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - gvc string
 - Name of the associated GVC.
 - identity
Link string - Full link to an Identity.
 - job
Workload
Job  - Cron Job Reference Page.
 - local
Options WorkloadLocal Option[]  - name string
 - Name of the Workload.
 - options
Workload
Options  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - rollout
Options WorkloadRollout Options  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security
Options WorkloadSecurity Options  - Allows for the configuration of the 
file system group id - self
Link string - Full link to this resource. Can be referenced by other resources.
 - sidecar
Workload
Sidecar  - statuses
Workload
Status[]  - Status of the workload.
 - boolean
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - {[key: string]: string}
 - Key-value map of resource tags.
 - type string
 - Workload Type. Either 
serverless,standard,stateful, orcron. 
- containers
Sequence[Workload
Container Args]  - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - cpln_
id str - The ID, in GUID format, of the Workload.
 - description str
 - Description of the Workload.
 - firewall_
spec WorkloadFirewall Spec Args  - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - gvc str
 - Name of the associated GVC.
 - identity_
link str - Full link to an Identity.
 - job
Workload
Job Args  - Cron Job Reference Page.
 - local_
options Sequence[WorkloadLocal Option Args]  - name str
 - Name of the Workload.
 - options
Workload
Options Args  - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - rollout_
options WorkloadRollout Options Args  - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security_
options WorkloadSecurity Options Args  - Allows for the configuration of the 
file system group id - self_
link str - Full link to this resource. Can be referenced by other resources.
 - sidecar
Workload
Sidecar Args  - statuses
Sequence[Workload
Status Args]  - Status of the workload.
 - bool
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Mapping[str, str]
 - Key-value map of resource tags.
 - type str
 - Workload Type. Either 
serverless,standard,stateful, orcron. 
- containers List<Property Map>
 - An isolated and lightweight runtime environment that encapsulates an application and its dependencies.
 - cpln
Id String - The ID, in GUID format, of the Workload.
 - description String
 - Description of the Workload.
 - firewall
Spec Property Map - Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default.
 - gvc String
 - Name of the associated GVC.
 - identity
Link String - Full link to an Identity.
 - job Property Map
 - Cron Job Reference Page.
 - local
Options List<Property Map> - name String
 - Name of the Workload.
 - options Property Map
 - Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload.
 - rollout
Options Property Map - Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies.
 - security
Options Property Map - Allows for the configuration of the 
file system group id - self
Link String - Full link to this resource. Can be referenced by other resources.
 - sidecar Property Map
 - statuses List<Property Map>
 - Status of the workload.
 - Boolean
 - Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false.
 - Map<String>
 - Key-value map of resource tags.
 - type String
 - Workload Type. Either 
serverless,standard,stateful, orcron. 
Supporting Types
WorkloadContainer, WorkloadContainerArgs    
- Image string
 - Name string
 - Args List<string>
 - Command string
 - Cpu string
 - Env Dictionary<string, string>
 - Gpu
Nvidia Pulumiverse.Cpln. Inputs. Workload Container Gpu Nvidia  - Inherit
Env bool - Lifecycle
Pulumiverse.
Cpln. Inputs. Workload Container Lifecycle  - Liveness
Probe Pulumiverse.Cpln. Inputs. Workload Container Liveness Probe  - Memory string
 - Metrics
Pulumiverse.
Cpln. Inputs. Workload Container Metrics  - Min
Cpu string - Min
Memory string - Port int
 - Ports
List<Pulumiverse.
Cpln. Inputs. Workload Container Port>  - Readiness
Probe Pulumiverse.Cpln. Inputs. Workload Container Readiness Probe  - Volumes
List<Pulumiverse.
Cpln. Inputs. Workload Container Volume>  - Working
Directory string 
- Image string
 - Name string
 - Args []string
 - Command string
 - Cpu string
 - Env map[string]string
 - Gpu
Nvidia WorkloadContainer Gpu Nvidia  - Inherit
Env bool - Lifecycle
Workload
Container Lifecycle  - Liveness
Probe WorkloadContainer Liveness Probe  - Memory string
 - Metrics
Workload
Container Metrics  - Min
Cpu string - Min
Memory string - Port int
 - Ports
[]Workload
Container Port  - Readiness
Probe WorkloadContainer Readiness Probe  - Volumes
[]Workload
Container Volume  - Working
Directory string 
- image String
 - name String
 - args List<String>
 - command String
 - cpu String
 - env Map<String,String>
 - gpu
Nvidia WorkloadContainer Gpu Nvidia  - inherit
Env Boolean - lifecycle
Workload
Container Lifecycle  - liveness
Probe WorkloadContainer Liveness Probe  - memory String
 - metrics
Workload
Container Metrics  - min
Cpu String - min
Memory String - port Integer
 - ports
List<Workload
Container Port>  - readiness
Probe WorkloadContainer Readiness Probe  - volumes
List<Workload
Container Volume>  - working
Directory String 
- image string
 - name string
 - args string[]
 - command string
 - cpu string
 - env {[key: string]: string}
 - gpu
Nvidia WorkloadContainer Gpu Nvidia  - inherit
Env boolean - lifecycle
Workload
Container Lifecycle  - liveness
Probe WorkloadContainer Liveness Probe  - memory string
 - metrics
Workload
Container Metrics  - min
Cpu string - min
Memory string - port number
 - ports
Workload
Container Port[]  - readiness
Probe WorkloadContainer Readiness Probe  - volumes
Workload
Container Volume[]  - working
Directory string 
- image str
 - name str
 - args Sequence[str]
 - command str
 - cpu str
 - env Mapping[str, str]
 - gpu_
nvidia WorkloadContainer Gpu Nvidia  - inherit_
env bool - lifecycle
Workload
Container Lifecycle  - liveness_
probe WorkloadContainer Liveness Probe  - memory str
 - metrics
Workload
Container Metrics  - min_
cpu str - min_
memory str - port int
 - ports
Sequence[Workload
Container Port]  - readiness_
probe WorkloadContainer Readiness Probe  - volumes
Sequence[Workload
Container Volume]  - working_
directory str 
- image String
 - name String
 - args List<String>
 - command String
 - cpu String
 - env Map<String>
 - gpu
Nvidia Property Map - inherit
Env Boolean - lifecycle Property Map
 - liveness
Probe Property Map - memory String
 - metrics Property Map
 - min
Cpu String - min
Memory String - port Number
 - ports List<Property Map>
 - readiness
Probe Property Map - volumes List<Property Map>
 - working
Directory String 
WorkloadContainerGpuNvidia, WorkloadContainerGpuNvidiaArgs        
WorkloadContainerLifecycle, WorkloadContainerLifecycleArgs      
WorkloadContainerLifecyclePostStart, WorkloadContainerLifecyclePostStartArgs          
WorkloadContainerLifecyclePostStartExec, WorkloadContainerLifecyclePostStartExecArgs            
- Commands List<string>
 
- Commands []string
 
- commands List<String>
 
- commands string[]
 
- commands Sequence[str]
 
- commands List<String>
 
WorkloadContainerLifecyclePreStop, WorkloadContainerLifecyclePreStopArgs          
WorkloadContainerLifecyclePreStopExec, WorkloadContainerLifecyclePreStopExecArgs            
- Commands List<string>
 
- Commands []string
 
- commands List<String>
 
- commands string[]
 
- commands Sequence[str]
 
- commands List<String>
 
WorkloadContainerLivenessProbe, WorkloadContainerLivenessProbeArgs        
- Exec
Pulumiverse.
Cpln. Inputs. Workload Container Liveness Probe Exec  - Failure
Threshold int - Grpc
Pulumiverse.
Cpln. Inputs. Workload Container Liveness Probe Grpc  - Http
Get Pulumiverse.Cpln. Inputs. Workload Container Liveness Probe Http Get  - Initial
Delay intSeconds  - Period
Seconds int - Success
Threshold int - Tcp
Socket Pulumiverse.Cpln. Inputs. Workload Container Liveness Probe Tcp Socket  - Timeout
Seconds int 
- exec Property Map
 - failure
Threshold Number - grpc Property Map
 - http
Get Property Map - initial
Delay NumberSeconds  - period
Seconds Number - success
Threshold Number - tcp
Socket Property Map - timeout
Seconds Number 
WorkloadContainerLivenessProbeExec, WorkloadContainerLivenessProbeExecArgs          
- Commands List<string>
 
- Commands []string
 
- commands List<String>
 
- commands string[]
 
- commands Sequence[str]
 
- commands List<String>
 
WorkloadContainerLivenessProbeGrpc, WorkloadContainerLivenessProbeGrpcArgs          
- Port int
 
- Port int
 
- port Integer
 
- port number
 
- port int
 
- port Number
 
WorkloadContainerLivenessProbeHttpGet, WorkloadContainerLivenessProbeHttpGetArgs            
- Http
Headers Dictionary<string, string> - Path string
 - Port int
 - Scheme string
 
- Http
Headers map[string]string - Path string
 - Port int
 - Scheme string
 
- http
Headers Map<String,String> - path String
 - port Integer
 - scheme String
 
- http
Headers {[key: string]: string} - path string
 - port number
 - scheme string
 
- http_
headers Mapping[str, str] - path str
 - port int
 - scheme str
 
- http
Headers Map<String> - path String
 - port Number
 - scheme String
 
WorkloadContainerLivenessProbeTcpSocket, WorkloadContainerLivenessProbeTcpSocketArgs            
- Port int
 
- Port int
 
- port Integer
 
- port number
 
- port int
 
- port Number
 
WorkloadContainerMetrics, WorkloadContainerMetricsArgs      
WorkloadContainerPort, WorkloadContainerPortArgs      
WorkloadContainerReadinessProbe, WorkloadContainerReadinessProbeArgs        
- Exec
Pulumiverse.
Cpln. Inputs. Workload Container Readiness Probe Exec  - Failure
Threshold int - Grpc
Pulumiverse.
Cpln. Inputs. Workload Container Readiness Probe Grpc  - Http
Get Pulumiverse.Cpln. Inputs. Workload Container Readiness Probe Http Get  - Initial
Delay intSeconds  - Period
Seconds int - Success
Threshold int - Tcp
Socket Pulumiverse.Cpln. Inputs. Workload Container Readiness Probe Tcp Socket  - Timeout
Seconds int 
- exec Property Map
 - failure
Threshold Number - grpc Property Map
 - http
Get Property Map - initial
Delay NumberSeconds  - period
Seconds Number - success
Threshold Number - tcp
Socket Property Map - timeout
Seconds Number 
WorkloadContainerReadinessProbeExec, WorkloadContainerReadinessProbeExecArgs          
- Commands List<string>
 
- Commands []string
 
- commands List<String>
 
- commands string[]
 
- commands Sequence[str]
 
- commands List<String>
 
WorkloadContainerReadinessProbeGrpc, WorkloadContainerReadinessProbeGrpcArgs          
- Port int
 
- Port int
 
- port Integer
 
- port number
 
- port int
 
- port Number
 
WorkloadContainerReadinessProbeHttpGet, WorkloadContainerReadinessProbeHttpGetArgs            
- Http
Headers Dictionary<string, string> - Path string
 - Port int
 - Scheme string
 
- Http
Headers map[string]string - Path string
 - Port int
 - Scheme string
 
- http
Headers Map<String,String> - path String
 - port Integer
 - scheme String
 
- http
Headers {[key: string]: string} - path string
 - port number
 - scheme string
 
- http_
headers Mapping[str, str] - path str
 - port int
 - scheme str
 
- http
Headers Map<String> - path String
 - port Number
 - scheme String
 
WorkloadContainerReadinessProbeTcpSocket, WorkloadContainerReadinessProbeTcpSocketArgs            
- Port int
 
- Port int
 
- port Integer
 
- port number
 
- port int
 
- port Number
 
WorkloadContainerVolume, WorkloadContainerVolumeArgs      
- Path string
 - Uri string
 - Recovery
Policy string 
- Path string
 - Uri string
 - Recovery
Policy string 
- path String
 - uri String
 - recovery
Policy String 
- path string
 - uri string
 - recovery
Policy string 
- path str
 - uri str
 - recovery_
policy str 
- path String
 - uri String
 - recovery
Policy String 
WorkloadFirewallSpec, WorkloadFirewallSpecArgs      
WorkloadFirewallSpecExternal, WorkloadFirewallSpecExternalArgs        
- Inbound
Allow List<string>Cidrs  - Outbound
Allow List<string>Cidrs  - Outbound
Allow List<string>Hostnames  - Outbound
Allow List<Pulumiverse.Ports Cpln. Inputs. Workload Firewall Spec External Outbound Allow Port>  
- inbound
Allow List<String>Cidrs  - outbound
Allow List<String>Cidrs  - outbound
Allow List<String>Hostnames  - outbound
Allow List<WorkloadPorts Firewall Spec External Outbound Allow Port>  
- inbound_
allow_ Sequence[str]cidrs  - outbound_
allow_ Sequence[str]cidrs  - outbound_
allow_ Sequence[str]hostnames  - outbound_
allow_ Sequence[Workloadports Firewall Spec External Outbound Allow Port]  
- inbound
Allow List<String>Cidrs  - outbound
Allow List<String>Cidrs  - outbound
Allow List<String>Hostnames  - outbound
Allow List<Property Map>Ports  
WorkloadFirewallSpecExternalOutboundAllowPort, WorkloadFirewallSpecExternalOutboundAllowPortArgs              
WorkloadFirewallSpecInternal, WorkloadFirewallSpecInternalArgs        
- Inbound
Allow stringType  - Inbound
Allow List<string>Workloads  
- Inbound
Allow stringType  - Inbound
Allow []stringWorkloads  
- inbound
Allow StringType  - inbound
Allow List<String>Workloads  
- inbound
Allow stringType  - inbound
Allow string[]Workloads  
- inbound_
allow_ strtype  - inbound_
allow_ Sequence[str]workloads  
- inbound
Allow StringType  - inbound
Allow List<String>Workloads  
WorkloadJob, WorkloadJobArgs    
- Schedule string
 - Active
Deadline intSeconds  - Concurrency
Policy string - History
Limit int - Restart
Policy string 
- Schedule string
 - Active
Deadline intSeconds  - Concurrency
Policy string - History
Limit int - Restart
Policy string 
- schedule String
 - active
Deadline IntegerSeconds  - concurrency
Policy String - history
Limit Integer - restart
Policy String 
- schedule string
 - active
Deadline numberSeconds  - concurrency
Policy string - history
Limit number - restart
Policy string 
- schedule str
 - active_
deadline_ intseconds  - concurrency_
policy str - history_
limit int - restart_
policy str 
- schedule String
 - active
Deadline NumberSeconds  - concurrency
Policy String - history
Limit Number - restart
Policy String 
WorkloadLocalOption, WorkloadLocalOptionArgs      
- Location string
 - Autoscaling
Workload
Local Option Autoscaling  - Capacity
Ai bool - Debug bool
 - Suspend bool
 - Timeout
Seconds int 
- location String
 - autoscaling
Workload
Local Option Autoscaling  - capacity
Ai Boolean - debug Boolean
 - suspend Boolean
 - timeout
Seconds Integer 
- location string
 - autoscaling
Workload
Local Option Autoscaling  - capacity
Ai boolean - debug boolean
 - suspend boolean
 - timeout
Seconds number 
- location str
 - autoscaling
Workload
Local Option Autoscaling  - capacity_
ai bool - debug bool
 - suspend bool
 - timeout_
seconds int 
- location String
 - autoscaling Property Map
 - capacity
Ai Boolean - debug Boolean
 - suspend Boolean
 - timeout
Seconds Number 
WorkloadLocalOptionAutoscaling, WorkloadLocalOptionAutoscalingArgs        
- Max
Concurrency int - Max
Scale int - Metric string
 - Metric
Percentile string - Min
Scale int - Scale
To intZero Delay  - Target int
 
- Max
Concurrency int - Max
Scale int - Metric string
 - Metric
Percentile string - Min
Scale int - Scale
To intZero Delay  - Target int
 
- max
Concurrency Integer - max
Scale Integer - metric String
 - metric
Percentile String - min
Scale Integer - scale
To IntegerZero Delay  - target Integer
 
- max
Concurrency number - max
Scale number - metric string
 - metric
Percentile string - min
Scale number - scale
To numberZero Delay  - target number
 
- max_
concurrency int - max_
scale int - metric str
 - metric_
percentile str - min_
scale int - scale_
to_ intzero_ delay  - target int
 
- max
Concurrency Number - max
Scale Number - metric String
 - metric
Percentile String - min
Scale Number - scale
To NumberZero Delay  - target Number
 
WorkloadOptions, WorkloadOptionsArgs    
- Autoscaling
Workload
Options Autoscaling  - Capacity
Ai bool - Debug bool
 - Suspend bool
 - Timeout
Seconds int 
- autoscaling
Workload
Options Autoscaling  - capacity
Ai Boolean - debug Boolean
 - suspend Boolean
 - timeout
Seconds Integer 
- autoscaling
Workload
Options Autoscaling  - capacity
Ai boolean - debug boolean
 - suspend boolean
 - timeout
Seconds number 
- autoscaling
Workload
Options Autoscaling  - capacity_
ai bool - debug bool
 - suspend bool
 - timeout_
seconds int 
- autoscaling Property Map
 - capacity
Ai Boolean - debug Boolean
 - suspend Boolean
 - timeout
Seconds Number 
WorkloadOptionsAutoscaling, WorkloadOptionsAutoscalingArgs      
- Max
Concurrency int - Max
Scale int - Metric string
 - Metric
Percentile string - Min
Scale int - Scale
To intZero Delay  - Target int
 
- Max
Concurrency int - Max
Scale int - Metric string
 - Metric
Percentile string - Min
Scale int - Scale
To intZero Delay  - Target int
 
- max
Concurrency Integer - max
Scale Integer - metric String
 - metric
Percentile String - min
Scale Integer - scale
To IntegerZero Delay  - target Integer
 
- max
Concurrency number - max
Scale number - metric string
 - metric
Percentile string - min
Scale number - scale
To numberZero Delay  - target number
 
- max_
concurrency int - max_
scale int - metric str
 - metric_
percentile str - min_
scale int - scale_
to_ intzero_ delay  - target int
 
- max
Concurrency Number - max
Scale Number - metric String
 - metric
Percentile String - min
Scale Number - scale
To NumberZero Delay  - target Number
 
WorkloadRolloutOptions, WorkloadRolloutOptionsArgs      
- Max
Surge stringReplicas  - string
 - Min
Ready intSeconds  - Scaling
Policy string 
- Max
Surge stringReplicas  - string
 - Min
Ready intSeconds  - Scaling
Policy string 
- max
Surge StringReplicas  - String
 - min
Ready IntegerSeconds  - scaling
Policy String 
- max
Surge stringReplicas  - string
 - min
Ready numberSeconds  - scaling
Policy string 
- max_
surge_ strreplicas  - str
 - min_
ready_ intseconds  - scaling_
policy str 
- max
Surge StringReplicas  - String
 - min
Ready NumberSeconds  - scaling
Policy String 
WorkloadSecurityOptions, WorkloadSecurityOptionsArgs      
- file
System IntegerGroup Id  
- file
System numberGroup Id  
- file
System NumberGroup Id  
WorkloadSidecar, WorkloadSidecarArgs    
- Envoy string
 
- Envoy string
 
- envoy String
 
- envoy string
 
- envoy str
 
- envoy String
 
WorkloadStatus, WorkloadStatusArgs    
- canonical
Endpoint string - current
Replica numberCount  - endpoint string
 - health
Checks WorkloadStatus Health Check[]  - internal
Name string - parent
Id string - resolved
Images WorkloadStatus Resolved Image[]  
- canonical
Endpoint String - current
Replica NumberCount  - endpoint String
 - health
Checks List<Property Map> - internal
Name String - parent
Id String - resolved
Images List<Property Map> 
WorkloadStatusHealthCheck, WorkloadStatusHealthCheckArgs        
WorkloadStatusResolvedImage, WorkloadStatusResolvedImageArgs        
- images List<Property Map>
 - resolved
At String - resolved
For NumberVersion  
WorkloadStatusResolvedImageImage, WorkloadStatusResolvedImageImageArgs          
WorkloadStatusResolvedImageImageManifest, WorkloadStatusResolvedImageImageManifestArgs            
- digest str
 - image str
 - media_
type str - platform Mapping[str, str]
 
Package Details
- Repository
 - cpln pulumiverse/pulumi-cpln
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
cplnTerraform Provider.