States

Rules for AIP-216, covering states.

Rule name Description
nesting Lifecycle state enums should be nested within the resource.
state-field-output-only Lifecycle State enum fields should be marked OUTPUT_ONLY
synonyms Lifecycle state enums should be called "State", not "Status".
value-synonyms Enforce common state values.

Note: Because AIPs sometimes cover topics that have some overlap, some rules related to states may be included in the rules for other AIPs.