Scope

Create a troubleshooting action

Submits an action to kill a specific instance or pod.

post/scope/{scopeId}/action

Path parameters

scopeIdstring required

The ID of the scope.

Request body

name'instance_kill' | 'instance_restart' | 'autoscaling_fix' | 'autoscaling_stop' | 'autoscaling_start' required

The name of the troubleshooting action

Example request

{
  "name": "instance_kill",
  "parameters": {
    "instance_id": "i-0a1234567890b1234"
  }
}

Response

The operation was successful.

idstring

The ID of the troubleshooting action.

namestring

The name of the troubleshooting action.

status'pending_approval' | 'pending_approval_denied' | 'pending' | 'executed' | 'cancelled' | 'failed'

The status of the troubleshooting action.

entitystring

The entity that the troubleshooting action is associated with.

entity_idstring

The ID of the entity that the troubleshooting action is associated with.

parametersobject

The parameters for the troubleshooting action.

messagesstring[]

The messages for the troubleshooting action.

nrnstring

The NRN of the entity that the troubleshooting action is associated with.

created_atstring date-time

The ISO-8601 UTC timestamp of when the troubleshooting action was created.

updated_atstring date-time nullable

The ISO-8601 UTC timestamp of when the troubleshooting action was last updated.

Example response

{
  "id": "5678",
  "name": "instance_kill",
  "parameters": {
    "instance_id": "i-0a1234567890b1234"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.