InstancePatchState class
Defines the high-level patch compliance state for a managed instance, providing information about the number of installed, missing, not applicable, and failed patches along with metadata about the operation when this information was gathered for the instance.
Constructors
- InstancePatchState({required String baselineId, required String instanceId, required PatchOperationType operation, required DateTime operationEndTime, required DateTime operationStartTime, required String patchGroup, int? failedCount, String? installOverrideList, int? installedCount, int? installedOtherCount, int? installedPendingRebootCount, int? installedRejectedCount, DateTime? lastNoRebootInstallOperationTime, int? missingCount, int? notApplicableCount, String? ownerInformation, RebootOption? rebootOption, String? snapshotId, int? unreportedNotApplicableCount})
-
InstancePatchState.fromJson(Map<
String, dynamic> json) -
factory
Properties
- baselineId → String
-
The ID of the patch baseline used to patch the instance.
final
- failedCount → int?
-
The number of patches from the patch baseline that were attempted to be
installed during the last patching operation, but failed to install.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- installedCount → int?
-
The number of patches from the patch baseline that are installed on the
instance.
final
- installedOtherCount → int?
-
The number of patches not specified in the patch baseline that are installed
on the instance.
final
- installedPendingRebootCount → int?
-
The number of patches installed by Patch Manager since the last time the
instance was rebooted.
final
- installedRejectedCount → int?
-
The number of patches installed on an instance that are specified in a
RejectedPatches
list. Patches with a status of InstalledRejected were typically installed before they were added to aRejectedPatches
list.final - installOverrideList → String?
-
An https URL or an Amazon S3 path-style URL to a list of patches to be
installed. This patch installation list, which you maintain in an S3 bucket
in YAML format and specify in the SSM document
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.final - instanceId → String
-
The ID of the managed instance the high-level patch compliance information
was collected for.
final
- lastNoRebootInstallOperationTime → DateTime?
-
The time of the last attempt to patch the instance with
NoReboot
specified as the reboot option.final - missingCount → int?
-
The number of patches from the patch baseline that are applicable for the
instance but aren't currently installed.
final
- notApplicableCount → int?
-
The number of patches from the patch baseline that aren't applicable for the
instance and therefore aren't installed on the instance. This number may be
truncated if the list of patch names is very large. The number of patches
beyond this limit are reported in
UnreportedNotApplicableCount
.final - operation → PatchOperationType
-
The type of patching operation that was performed:
SCAN
(assess patch compliance state) orINSTALL
(install missing patches).final - operationEndTime → DateTime
-
The time the most recent patching operation completed on the instance.
final
- operationStartTime → DateTime
-
The time the most recent patching operation was started on the instance.
final
- ownerInformation → String?
-
Placeholder information. This field will always be empty in the current
release of the service.
final
- patchGroup → String
-
The name of the patch group the managed instance belongs to.
final
- rebootOption → RebootOption?
-
Indicates the reboot option specified in the patch baseline.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snapshotId → String?
-
The ID of the patch baseline snapshot used during the patching operation
when this compliance data was collected.
final
- unreportedNotApplicableCount → int?
-
The number of patches beyond the supported limit of
NotApplicableCount
that are not reported by name to Systems Manager Inventory.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited