Class State (0.1.2)

State(value)

State defines which state the current deployment is in.

Values: STATE_UNSPECIFIED (0): Unspecified state. DRAFT (1): A deployment starts in DRAFT state. All edits are made in DRAFT state. A deployment opened for editing after applying will be in draft state, while its prevision revision will be its current applied version. APPLIED (2): This state means that the contents (YAML files containing kubernetes resources) of the deployment have been applied to an Orchestration Cluster. A revision is created when a deployment is applied. This revision will represent the latest view of what is applied on the cluster until the deployment is modified and applied again, which will create a new revision.