dcloud ec2 instances get-patch-stateOS 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 idArguments
<id>Requiredstring
Also accepted as
--id. Constraints: /^i-[0-9a-f]{6,32}$/
Example
dcloud ec2 instances get-patch-state idGenerated from the API description, the same one the API checks requests against and the CLI is built from.