dcloud ec2 instances get-patch-state

OS patch state: pending security updates, reboot needed or scheduled, kernel

IAM ec2:DescribeInstancesRead

`data` is null for an instance that does not run the patch reporter (launched without `osPatching`). App boxes always run it.

Synopsis

dcloud ec2 instances get-patch-state id

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^i-[0-9a-f]{6,32}$/

Example

dcloud ec2 instances get-patch-state id

Generated from the API description, the same one the API checks requests against and the CLI is built from.