Class AdminCommandSucceededEvent

Event emitted when an admin command has succeeded, after any necessary polling.

See AdminCommandEvent for more information about all the common properties available on this event.

Hierarchy (view full)

Constructors

Properties

duration: number

The duration of the command, in milliseconds.

longRunning: boolean

Whether the command is long-running or not, i.e. requires polling.

method: "DELETE" | "GET" | "POST"

The HTTP method for the request.

params?: Record<string, any>

The query parameters, if any.

path: string

The path for the request, not including the Base URL.

reqBody?: Record<string, any>

The request body, if any.

resBody?: Record<string, any>

The response body of the command, if any.

warnings: string[]

Any warnings returned from the Data API that may point out deprecated/incorrect practices, or any other issues that aren't strictly an error.

Does not apply to Astra users, as the admin classes will use the DevOps API instead.