Class State (0.2.7)

State(value)

State represents the state of the plugin instance.

Enums

Name Description
STATE_UNSPECIFIED Default unspecified state.
CREATING The plugin instance is being created.
ACTIVE The plugin instance is active and ready for executions. This is the only state where executions can run on the plugin instance.
APPLYING_CONFIG The updated config that contains additional_config and auth_config is being applied.
ERROR The ERROR state can come while applying config. Users can retrigger ApplyPluginInstanceConfig to restore the plugin instance back to active state. Note, In case the ERROR state happens while applying config (auth_config, additional_config), the plugin instance will reflect the config which was trying to be applied while error happened. In order to overwrite, trigger ApplyConfig with a new config.
FAILED The plugin instance is in a failed state. This indicates that an unrecoverable error occurred during a previous operation (Create, Delete).
DELETING The plugin instance is being deleted. Delete is only possible if there is no other operation running on the plugin instance and plugin instance action.