Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PatchDeployment

import type { PatchDeployment } from "https://googleapis.deno.dev/v1/osconfig:v1.ts";

Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.

interface PatchDeployment {
readonly createTime?: Date;
description?: string;
duration?: number;
instanceFilter?: PatchInstanceFilter;
readonly lastExecuteTime?: Date;
name?: string;
oneTimeSchedule?: OneTimeSchedule;
patchConfig?: PatchConfig;
recurringSchedule?: RecurringSchedule;
rollout?: PatchRollout;
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "PAUSED";
readonly updateTime?: Date;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.

§
description?: string
[src]

Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.

§
duration?: number
[src]

Optional. Duration of the patch. After the duration ends, the patch times out.

§
instanceFilter?: PatchInstanceFilter
[src]

Required. VM instances to patch.

§
readonly lastExecuteTime?: Date
[src]

Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.

§
name?: string
[src]

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.

§
oneTimeSchedule?: OneTimeSchedule
[src]

Required. Schedule a one-time execution.

§
patchConfig?: PatchConfig
[src]

Optional. Patch configuration that is applied.

§
recurringSchedule?: RecurringSchedule
[src]

Required. Schedule recurring executions.

§

Optional. Rollout strategy of the patch job.

§
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "PAUSED"
[src]

Output only. Current state of the patch deployment.

§
readonly updateTime?: Date
[src]

Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.