PatchDeploymentArgs class
The set of arguments for PatchDeployment. The set of arguments for PatchDeployment.
Constructors
-
PatchDeploymentArgs({Input<
String> ? description, Input<String> ? duration, required Input<PatchInstanceFilter> instanceFilter, Input<String> ? name, required Input<OneTimeSchedule> oneTimeSchedule, Input<PatchConfig> ? patchConfig, required Input<String> patchDeploymentId, Input<String> ? project, required Input<RecurringSchedule> recurringSchedule, Input<PatchRollout> ? rollout}) -
Creates a new PatchDeploymentArgs.
descriptionOptional. Description of the patch deployment. Length of the description is limited to 1024 characters.durationOptional. Duration of the patch. After the duration ends, the patch times out.instanceFilterVM instances to patch.nameUnique 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.oneTimeScheduleSchedule a one-time execution.patchConfigOptional. Patch configuration that is applied.patchDeploymentIdRequired. 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.projectOptional.recurringScheduleSchedule recurring executions.rolloutOptional. Rollout strategy of the patch job.const -
PatchDeploymentArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String> ? -
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
final
-
duration
→ Input<
String> ? -
Optional. Duration of the patch. After the duration ends, the patch times out.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceFilter
→ Input<
PatchInstanceFilter> -
VM instances to patch.
final
-
name
→ Input<
String> ? -
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.final -
oneTimeSchedule
→ Input<
OneTimeSchedule> -
Schedule a one-time execution.
final
-
patchConfig
→ Input<
PatchConfig> ? -
Optional. Patch configuration that is applied.
final
-
patchDeploymentId
→ Input<
String> -
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.
final
-
project
→ Input<
String> ? -
final
-
recurringSchedule
→ Input<
RecurringSchedule> -
Schedule recurring executions.
final
-
rollout
→ Input<
PatchRollout> ? -
Optional. Rollout strategy of the patch job.
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