PatchDeploymentArgs class
The set of arguments for PatchDeployment. The set of arguments for PatchDeployment.
Constructors
-
PatchDeploymentArgs({Input<
String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? duration, required Input<PatchDeploymentInstanceFilter> instanceFilter, Input<PatchDeploymentOneTimeSchedule?> ? oneTimeSchedule, Input<PatchDeploymentPatchConfig?> ? patchConfig, required Input<String> patchDeploymentId, Input<String?> ? project, Input<PatchDeploymentRecurringSchedule?> ? recurringSchedule, Input<PatchDeploymentRollout?> ? rollout}) -
Creates a new PatchDeploymentArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionDescription of the patch deployment. Length of the description is limited to 1024 characters.durationDuration of the patch. After the duration ends, the patch times out.instanceFilterVM instances to patch.oneTimeScheduleSchedule a one-time execution.patchConfigPatch configuration that is applied.patchDeploymentIdA name for the patch deployment in the project. When creating a name the following rules apply:projectThe ID of the project in which the resource belongs.recurringScheduleSchedule recurring executions.rolloutRollout strategy of the patch job.const -
PatchDeploymentArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
Description of the patch deployment. Length of the description is limited to 1024 characters.
final
-
duration
→ Input<
String?> ? -
Duration of the patch. After the duration ends, the patch times out.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceFilter
→ Input<
PatchDeploymentInstanceFilter> -
VM instances to patch.
Structure is documented below.
final
-
oneTimeSchedule
→ Input<
PatchDeploymentOneTimeSchedule?> ? -
Schedule a one-time execution.
Structure is documented below.
final
-
patchConfig
→ Input<
PatchDeploymentPatchConfig?> ? -
Patch configuration that is applied.
Structure is documented below.
final
-
patchDeploymentId
→ Input<
String> -
A name for the patch deployment in the project. When creating a name the following rules apply:
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
recurringSchedule
→ Input<
PatchDeploymentRecurringSchedule?> ? -
Schedule recurring executions.
Structure is documented below.
final
-
rollout
→ Input<
PatchDeploymentRollout?> ? -
Rollout strategy of the patch job.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited