PatchDeploymentArgs

data class PatchDeploymentArgs(val description: Output<String>? = null, val duration: Output<String>? = null, val instanceFilter: Output<PatchInstanceFilterArgs>? = null, val name: Output<String>? = null, val oneTimeSchedule: Output<OneTimeScheduleArgs>? = null, val patchConfig: Output<PatchConfigArgs>? = null, val patchDeploymentId: Output<String>? = null, val project: Output<String>? = null, val recurringSchedule: Output<RecurringScheduleArgs>? = null, val rollout: Output<PatchRolloutArgs>? = null) : ConvertibleToJava<PatchDeploymentArgs>

Create an OS Config patch deployment.

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, duration: Output<String>? = null, instanceFilter: Output<PatchInstanceFilterArgs>? = null, name: Output<String>? = null, oneTimeSchedule: Output<OneTimeScheduleArgs>? = null, patchConfig: Output<PatchConfigArgs>? = null, patchDeploymentId: Output<String>? = null, project: Output<String>? = null, recurringSchedule: Output<RecurringScheduleArgs>? = null, rollout: Output<PatchRolloutArgs>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

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

Link copied to clipboard
val duration: Output<String>? = null

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

Link copied to clipboard

VM instances to patch.

Link copied to clipboard
val name: Output<String>? = null

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.

Link copied to clipboard

Schedule a one-time execution.

Link copied to clipboard
val patchConfig: Output<PatchConfigArgs>? = null

Optional. Patch configuration that is applied.

Link copied to clipboard
val patchDeploymentId: Output<String>? = null

Required. A name for the patch deployment in the project. When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

Schedule recurring executions.

Link copied to clipboard
val rollout: Output<PatchRolloutArgs>? = null

Optional. Rollout strategy of the patch job.

Functions

Link copied to clipboard
open override fun toJava(): PatchDeploymentArgs