1 回答
- 最新
- 投票最多
- 评论最多
0
OK, at last, the CLI command works:
$ aws lightsail stop-instance --region My-Instance_Region --instance-name My-Instance-Name --force
The most important thing is use --force
in aws lightsail stop-instance
first.
The CLI retured the following
{ "operations": [ { "id": "some-uuid", "resourceName": "My-Instance-Name", "resourceType": "Instance", "createdAt": "DateTime", "location": { "availabilityZone": "xxx", "regionName": "xxx" }, "isTerminal": false, "operationDetails": "", "operationType": "StopInstance, "status": "Started", "statusChangedAt": "DateTime" } ] }
已回答 2 年前
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 10 个月前
- AWS 官方已更新 1 年前