import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Create an OS Config patch deployment. */ export declare class PatchDeployment extends pulumi.CustomResource { /** * Get an existing PatchDeployment 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PatchDeployment; /** * Returns true if the given object is an instance of PatchDeployment. 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 PatchDeployment; /** * Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ readonly createTime: pulumi.Output; /** * Optional. Description of the patch deployment. Length of the description is limited to 1024 characters. */ readonly description: pulumi.Output; /** * Optional. Duration of the patch. After the duration ends, the patch times out. */ readonly duration: pulumi.Output; /** * VM instances to patch. */ readonly instanceFilter: pulumi.Output; /** * The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ readonly lastExecuteTime: pulumi.Output; /** * Unique name for the patch deployment resource in a project. The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`. This field is ignored when you create a new patch deployment. */ readonly name: pulumi.Output; /** * Schedule a one-time execution. */ readonly oneTimeSchedule: pulumi.Output; /** * Optional. Patch configuration that is applied. */ readonly patchConfig: pulumi.Output; /** * Required. A name for the patch deployment in the project. When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. */ readonly patchDeploymentId: pulumi.Output; readonly project: pulumi.Output; /** * Schedule recurring executions. */ readonly recurringSchedule: pulumi.Output; /** * Optional. Rollout strategy of the patch job. */ readonly rollout: pulumi.Output; /** * Current state of the patch deployment. */ readonly state: pulumi.Output; /** * Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ readonly updateTime: pulumi.Output; /** * Create a PatchDeployment 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: PatchDeploymentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PatchDeployment resource. */ export interface PatchDeploymentArgs { /** * Optional. Description of the patch deployment. Length of the description is limited to 1024 characters. */ description?: pulumi.Input; /** * Optional. Duration of the patch. After the duration ends, the patch times out. */ duration?: pulumi.Input; /** * VM instances to patch. */ instanceFilter: pulumi.Input; /** * Unique name for the patch deployment resource in a project. The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`. This field is ignored when you create a new patch deployment. */ name?: pulumi.Input; /** * Schedule a one-time execution. */ oneTimeSchedule: pulumi.Input; /** * Optional. Patch configuration that is applied. */ patchConfig?: pulumi.Input; /** * Required. A name for the patch deployment in the project. When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. */ patchDeploymentId: pulumi.Input; project?: pulumi.Input; /** * Schedule recurring executions. */ recurringSchedule: pulumi.Input; /** * Optional. Rollout strategy of the patch job. */ rollout?: pulumi.Input; }