PatchRule class
Defines an approval rule for a patch baseline.
Constructors
- PatchRule.new({required PatchFilterGroup patchFilterGroup, int? approveAfterDays, String? approveUntilDate, PatchComplianceLevel? complianceLevel, bool? enableNonSecurity})
-
PatchRule.fromJson(Map<
String, dynamic> json) -
factory
Properties
- approveAfterDays → int?
-
The number of days after the release date of each patch matched by the rule
that the patch is marked as approved in the patch baseline. For example, a
value of
7
means that patches are approved seven days after they are released. Not supported on Ubuntu Server.final - approveUntilDate → String?
-
The cutoff date for auto approval of released patches. Any patches released
on or before this date are installed automatically. Not supported on Ubuntu
Server.
final
- complianceLevel → PatchComplianceLevel?
-
A compliance severity level for all approved patches in a patch baseline.
final
- enableNonSecurity → bool?
-
For instances identified by the approval rule filters, enables a patch
baseline to apply non-security updates available in the specified
repository. The default value is 'false'. Applies to Linux instances only.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- patchFilterGroup → PatchFilterGroup
-
The patch filter group that defines the criteria for the rule.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited