import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * 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; /** * Required. 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; /** * Required. Schedule a one-time execution. */ readonly oneTimeSchedule: pulumi.Output; /** * Optional. Patch configuration that is applied. */ readonly patchConfig: pulumi.Output; /** * Required. Schedule recurring executions. */ readonly recurringSchedule: pulumi.Output; /** * Optional. Rollout strategy of the patch job. */ readonly rollout: 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. */ readonly description?: pulumi.Input; /** * Optional. Duration of the patch. After the duration ends, the patch times out. */ readonly duration?: pulumi.Input; /** * Required. VM instances to patch. */ readonly 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. */ readonly name?: pulumi.Input; /** * Required. Schedule a one-time execution. */ readonly oneTimeSchedule?: pulumi.Input; /** * Optional. Patch configuration that is applied. */ readonly patchConfig?: pulumi.Input; readonly patchDeploymentsId: pulumi.Input; readonly projectsId: pulumi.Input; /** * Required. Schedule recurring executions. */ readonly recurringSchedule?: pulumi.Input; /** * Optional. Rollout strategy of the patch job. */ readonly rollout?: pulumi.Input; }