Google Cloud OS Config v1 API - Class PatchDeployment (2.1.0)

public sealed class PatchDeployment : IMessage<PatchDeployment>, IEquatable<PatchDeployment>, IDeepCloneable<PatchDeployment>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1 API class PatchDeployment.

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.

Inheritance

Object > PatchDeployment

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

PatchDeployment()

public PatchDeployment()

PatchDeployment(PatchDeployment)

public PatchDeployment(PatchDeployment other)
Parameter
NameDescription
otherPatchDeployment

Properties

CreateTime

public Timestamp CreateTime { get; set; }

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

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

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

Property Value
TypeDescription
String

Duration

public Duration Duration { get; set; }

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

Property Value
TypeDescription
Duration

InstanceFilter

public PatchInstanceFilter InstanceFilter { get; set; }

Required. VM instances to patch.

Property Value
TypeDescription
PatchInstanceFilter

LastExecuteTime

public Timestamp LastExecuteTime { get; set; }

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

Property Value
TypeDescription
Timestamp

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
String

OneTimeSchedule

public OneTimeSchedule OneTimeSchedule { get; set; }

Required. Schedule a one-time execution.

Property Value
TypeDescription
OneTimeSchedule

PatchConfig

public PatchConfig PatchConfig { get; set; }

Optional. Patch configuration that is applied.

Property Value
TypeDescription
PatchConfig

PatchDeploymentName

public PatchDeploymentName PatchDeploymentName { get; set; }

PatchDeploymentName-typed view over the Name resource name property.

Property Value
TypeDescription
PatchDeploymentName

RecurringSchedule

public RecurringSchedule RecurringSchedule { get; set; }

Required. Schedule recurring executions.

Property Value
TypeDescription
RecurringSchedule

Rollout

public PatchRollout Rollout { get; set; }

Optional. Rollout strategy of the patch job.

Property Value
TypeDescription
PatchRollout

ScheduleCase

public PatchDeployment.ScheduleOneofCase ScheduleCase { get; }
Property Value
TypeDescription
PatchDeployment.ScheduleOneofCase

State

public PatchDeployment.Types.State State { get; set; }

Output only. Current state of the patch deployment.

Property Value
TypeDescription
PatchDeployment.Types.State

UpdateTime

public Timestamp UpdateTime { get; set; }

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

Property Value
TypeDescription
Timestamp