PatchDeploymentArgs constructor

const PatchDeploymentArgs({
  1. Input<String>? description,
  2. Input<String>? duration,
  3. required Input<PatchInstanceFilter> instanceFilter,
  4. Input<String>? name,
  5. required Input<OneTimeSchedule> oneTimeSchedule,
  6. Input<PatchConfig>? patchConfig,
  7. required Input<String> patchDeploymentId,
  8. Input<String>? project,
  9. required Input<RecurringSchedule> recurringSchedule,
  10. Input<PatchRollout>? rollout,
})

Creates a new PatchDeploymentArgs. description Optional. Description of the patch deployment. Length of the description is limited to 1024 characters. duration Optional. Duration of the patch. After the duration ends, the patch times out. instanceFilter VM instances to patch. name 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 Schedule a one-time execution. patchConfig Optional. Patch configuration that is applied. patchDeploymentId 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. project Optional. recurringSchedule Schedule recurring executions. rollout Optional. Rollout strategy of the patch job.

Implementation

const PatchDeploymentArgs({
  this.description,
  this.duration,
  required this.instanceFilter,
  this.name,
  required this.oneTimeSchedule,
  this.patchConfig,
  required this.patchDeploymentId,
  this.project,
  required this.recurringSchedule,
  this.rollout,
});