upgradeState property
UpgradeState of the function Possible string values are:
- "UPGRADE_STATE_UNSPECIFIED" : Unspecified state. Most functions are in this upgrade state.
- "ELIGIBLE_FOR_2ND_GEN_UPGRADE" : Functions in this state are eligible for 1st Gen -> 2nd Gen upgrade.
- "UPGRADE_OPERATION_IN_PROGRESS" : An upgrade related operation is in progress.
- "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL" : SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has been created based on 1st Gen function instance.
- "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR" : SetupFunctionUpgradeConfig API was un-successful.
- "ABORT_FUNCTION_UPGRADE_ERROR" : AbortFunctionUpgrade API was un-successful.
- "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_SUCCESSFUL" : RedirectFunctionUpgradeTraffic API was successful and traffic is served by 2nd Gen function stack.
- "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR" : RedirectFunctionUpgradeTraffic API was un-successful.
- "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR" : RollbackFunctionUpgradeTraffic API was un-successful.
- "COMMIT_FUNCTION_UPGRADE_ERROR" : CommitFunctionUpgrade API was un-successful.
Implementation
core.String? upgradeState;