The ordering of the State enum is defined such that if there is a state transition
from A -> B then A.compareTo(B) < 0. N.B. The converse is not true, i.e. if
A.compareTo(B) < 0 then there is not guaranteed to be a valid state transition
A -> B.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This webpage details the `ApiService.State` enum, which defines the lifecycle states of a service in versions of the API."],["The latest version of the API covered is 2.46.1, but it also includes a list of versions going back to 2.1.2, along with links to each of them."],["The `ApiService.State` enum defines six possible states: `NEW`, `STARTING`, `RUNNING`, `STOPPING`, `TERMINATED`, and `FAILED`, each representing a different phase in the service's operation."],["The `State` enum is ordered to reflect valid state transitions, meaning that if there is a state transition from A to B, then `A.compareTo(B) \u003c 0`, however the converse is not guaranteed."],["The page also lists inherited methods from the `Enum` class and `Object` class that are applicable to `ApiService.State`, and static methods and static fields applicable to it."]]],[]]