import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class Workload extends pulumi.CustomResource { /** * Get an existing Workload resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WorkloadState, opts?: pulumi.CustomResourceOptions): Workload; /** * Returns true if the given object is an instance of Workload. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Workload; /** * An isolated and lightweight runtime environment that encapsulates an application and its dependencies. */ readonly containers: pulumi.Output; /** * The ID, in GUID format, of the workload. */ readonly cplnId: pulumi.Output; /** * Description of the workload. */ readonly description: pulumi.Output; /** * Extra Kubernetes modifications. Only used for BYOK. */ readonly extras: pulumi.Output; /** * Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default. */ readonly firewallSpec: pulumi.Output; /** * Name of the associated GVC. */ readonly gvc: pulumi.Output; /** * The identityLink is used as the access scope for 3rd party cloud resources. A single identity can provide access to multiple cloud providers. */ readonly identityLink: pulumi.Output; /** * [Cron Job Reference Page](https://docs.controlplane.com/reference/workload#cron). */ readonly jobs: pulumi.Output; readonly loadBalancer: pulumi.Output; /** * Override defaultOptions for the workload in specific Control Plane Locations. */ readonly localOptions: pulumi.Output; /** * Name of the workload. */ readonly name: pulumi.Output; /** * Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload. */ readonly options: pulumi.Output; readonly requestRetryPolicy: pulumi.Output; /** * Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies. */ readonly rolloutOptions: pulumi.Output; /** * Allows for the configuration of the `file system group id` and `geo location`. */ readonly securityOptions: pulumi.Output; /** * Full link to this resource. Can be referenced by other resources. */ readonly selfLink: pulumi.Output; readonly sidecar: pulumi.Output; /** * Status of the workload. */ readonly statuses: pulumi.Output; /** * Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false. */ readonly supportDynamicTags: pulumi.Output; /** * Key-value map of resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; }>; /** * Workload Type. Either `serverless`, `standard`, `stateful`, `cron`, or `vm`. */ readonly type: pulumi.Output; /** * VM-only configuration. Required when `type` is `vm`; rejected otherwise. */ readonly vm: pulumi.Output; /** * Create a Workload resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkloadArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Workload resources. */ export interface WorkloadState { /** * An isolated and lightweight runtime environment that encapsulates an application and its dependencies. */ containers?: pulumi.Input[]>; /** * The ID, in GUID format, of the workload. */ cplnId?: pulumi.Input; /** * Description of the workload. */ description?: pulumi.Input; /** * Extra Kubernetes modifications. Only used for BYOK. */ extras?: pulumi.Input; /** * Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default. */ firewallSpec?: pulumi.Input; /** * Name of the associated GVC. */ gvc?: pulumi.Input; /** * The identityLink is used as the access scope for 3rd party cloud resources. A single identity can provide access to multiple cloud providers. */ identityLink?: pulumi.Input; /** * [Cron Job Reference Page](https://docs.controlplane.com/reference/workload#cron). */ jobs?: pulumi.Input[]>; loadBalancer?: pulumi.Input; /** * Override defaultOptions for the workload in specific Control Plane Locations. */ localOptions?: pulumi.Input[]>; /** * Name of the workload. */ name?: pulumi.Input; /** * Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload. */ options?: pulumi.Input; requestRetryPolicy?: pulumi.Input; /** * Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies. */ rolloutOptions?: pulumi.Input[]>; /** * Allows for the configuration of the `file system group id` and `geo location`. */ securityOptions?: pulumi.Input; /** * Full link to this resource. Can be referenced by other resources. */ selfLink?: pulumi.Input; sidecar?: pulumi.Input; /** * Status of the workload. */ statuses?: pulumi.Input[]>; /** * Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false. */ supportDynamicTags?: pulumi.Input; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Workload Type. Either `serverless`, `standard`, `stateful`, `cron`, or `vm`. */ type?: pulumi.Input; /** * VM-only configuration. Required when `type` is `vm`; rejected otherwise. */ vm?: pulumi.Input; } /** * The set of arguments for constructing a Workload resource. */ export interface WorkloadArgs { /** * An isolated and lightweight runtime environment that encapsulates an application and its dependencies. */ containers?: pulumi.Input[]>; /** * Description of the workload. */ description?: pulumi.Input; /** * Extra Kubernetes modifications. Only used for BYOK. */ extras?: pulumi.Input; /** * Control of inbound and outbound access to the workload for external (public) and internal (service to service) traffic. Access is restricted by default. */ firewallSpec?: pulumi.Input; /** * Name of the associated GVC. */ gvc: pulumi.Input; /** * The identityLink is used as the access scope for 3rd party cloud resources. A single identity can provide access to multiple cloud providers. */ identityLink?: pulumi.Input; /** * [Cron Job Reference Page](https://docs.controlplane.com/reference/workload#cron). */ jobs?: pulumi.Input[]>; loadBalancer?: pulumi.Input; /** * Override defaultOptions for the workload in specific Control Plane Locations. */ localOptions?: pulumi.Input[]>; /** * Name of the workload. */ name?: pulumi.Input; /** * Configurable settings or parameters that allow fine-tuning and customization of the behavior, performance, and characteristics of the workload. */ options?: pulumi.Input; requestRetryPolicy?: pulumi.Input; /** * Defines the parameters for updating applications and services, including settings for minimum readiness, unavailable replicas, surge replicas, and scaling policies. */ rolloutOptions?: pulumi.Input[]>; /** * Allows for the configuration of the `file system group id` and `geo location`. */ securityOptions?: pulumi.Input; sidecar?: pulumi.Input; /** * Workload will automatically redeploy when one of the container images is updated in the container registry. Default: false. */ supportDynamicTags?: pulumi.Input; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Workload Type. Either `serverless`, `standard`, `stateful`, `cron`, or `vm`. */ type: pulumi.Input; /** * VM-only configuration. Required when `type` is `vm`; rejected otherwise. */ vm?: pulumi.Input; }