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

PatchJob

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

A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see Creating patch jobs.

interface PatchJob {
createTime?: Date;
description?: string;
displayName?: string;
dryRun?: boolean;
duration?: number;
errorMessage?: string;
instanceDetailsSummary?: PatchJobInstanceDetailsSummary;
instanceFilter?: PatchInstanceFilter;
name?: string;
patchConfig?: PatchConfig;
readonly patchDeployment?: string;
percentComplete?: number;
rollout?: PatchRollout;
state?:
| "STATE_UNSPECIFIED"
| "STARTED"
| "INSTANCE_LOOKUP"
| "PATCHING"
| "SUCCEEDED"
| "COMPLETED_WITH_ERRORS"
| "CANCELED"
| "TIMED_OUT";
updateTime?: Date;
}

§Properties

§
createTime?: Date
[src]

Time this patch job was created.

§
description?: string
[src]

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

§
displayName?: string
[src]

Display name for this patch job. This is not a unique identifier.

§
dryRun?: boolean
[src]

If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.

§
duration?: number
[src]

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

§
errorMessage?: string
[src]

If this patch job failed, this message provides information about the failure.

§
instanceDetailsSummary?: PatchJobInstanceDetailsSummary
[src]

Summary of instance details.

§
instanceFilter?: PatchInstanceFilter
[src]

Instances to patch.

§
name?: string
[src]

Unique identifier for this patch job in the form projects/*\/patchJobs/*

§
patchConfig?: PatchConfig
[src]

Patch configuration being applied.

§
readonly patchDeployment?: string
[src]

Output only. Name of the patch deployment that created this patch job.

§
percentComplete?: number
[src]

Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.

§

Rollout strategy being applied.

§
state?: "STATE_UNSPECIFIED" | "STARTED" | "INSTANCE_LOOKUP" | "PATCHING" | "SUCCEEDED" | "COMPLETED_WITH_ERRORS" | "CANCELED" | "TIMED_OUT"
[src]

The current state of the PatchJob.

§
updateTime?: Date
[src]

Last time this patch job was updated.