Google Cloud OS Config v1 API - Class PatchDeployment (2.3.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
Name Description
other PatchDeployment

Properties

CreateTime

public Timestamp CreateTime { get; set; }

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

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

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

Property Value
Type Description
string

Duration

public Duration Duration { get; set; }

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

Property Value
Type Description
Duration

InstanceFilter

public PatchInstanceFilter InstanceFilter { get; set; }

Required. VM instances to patch.

Property Value
Type Description
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
Type Description
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
Type Description
string

OneTimeSchedule

public OneTimeSchedule OneTimeSchedule { get; set; }

Required. Schedule a one-time execution.

Property Value
Type Description
OneTimeSchedule

PatchConfig

public PatchConfig PatchConfig { get; set; }

Optional. Patch configuration that is applied.

Property Value
Type Description
PatchConfig

PatchDeploymentName

public PatchDeploymentName PatchDeploymentName { get; set; }

PatchDeploymentName-typed view over the Name resource name property.

Property Value
Type Description
PatchDeploymentName

RecurringSchedule

public RecurringSchedule RecurringSchedule { get; set; }

Required. Schedule recurring executions.

Property Value
Type Description
RecurringSchedule

Rollout

public PatchRollout Rollout { get; set; }

Optional. Rollout strategy of the patch job.

Property Value
Type Description
PatchRollout

ScheduleCase

public PatchDeployment.ScheduleOneofCase ScheduleCase { get; }
Property Value
Type Description
PatchDeploymentScheduleOneofCase

State

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

Output only. Current state of the patch deployment.

Property Value
Type Description
PatchDeploymentTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

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

Property Value
Type Description
Timestamp