Internal
Should not be instantiated by the user.
Readonly
durationThe duration of the command, in milliseconds.
Readonly
longWhether the command is long-running or not, i.e. requires polling.
Readonly
methodThe HTTP method for the request.
Optional
Readonly
paramsThe query parameters, if any.
Readonly
pathThe path for the request, not including the Base URL.
Optional
Readonly
reqThe request body, if any.
Optional
Readonly
resThe response body of the command, if any.
Readonly
warningsAny 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.
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.