ApplicationUpgradeProgressInfo Class
Describes the parameters for an application upgrade.
- Inheritance
-
ApplicationUpgradeProgressInfo
Constructor
ApplicationUpgradeProgressInfo(*, name: Optional[str] = None, type_name: Optional[str] = None, target_application_type_version: Optional[str] = None, upgrade_domains=None, upgrade_units=None, upgrade_state=None, next_upgrade_domain: Optional[str] = None, rolling_upgrade_mode='UnmonitoredAuto', upgrade_description=None, upgrade_duration_in_milliseconds: Optional[str] = None, upgrade_domain_duration_in_milliseconds: Optional[str] = None, unhealthy_evaluations=None, current_upgrade_domain_progress=None, current_upgrade_units_progress=None, start_timestamp_utc: Optional[str] = None, failure_timestamp_utc: Optional[str] = None, failure_reason=None, upgrade_domain_progress_at_failure=None, upgrade_status_details: Optional[str] = None, is_node_by_node: bool = False, **kwargs)
Parameters
- target_application_type_version
- str
The target application type version (found in the application manifest) for the application upgrade.
- upgrade_domains
- list[UpgradeDomainInfo]
List of upgrade domains and their statuses. Not applicable to node-by-node upgrades.
- upgrade_state
- str or UpgradeState
The state of the upgrade domain. Possible values include: 'Invalid', 'RollingBackInProgress', 'RollingBackCompleted', 'RollingForwardPending', 'RollingForwardInProgress', 'RollingForwardCompleted', 'Failed'
- next_upgrade_domain
- str
The name of the next upgrade domain to be processed. Not applicable to node-by-node upgrades.
- rolling_upgrade_mode
- str or UpgradeMode
The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, Monitored, and UnmonitoredDeferred. Possible values include: 'Invalid', 'UnmonitoredAuto', 'UnmonitoredManual', 'Monitored', 'UnmonitoredDeferred'. Default value: "UnmonitoredAuto" .
- upgrade_description
- ApplicationUpgradeDescription
Describes the parameters for an application upgrade. Note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would result in the application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription.
- upgrade_duration_in_milliseconds
- str
The estimated total amount of time spent processing the overall upgrade.
- upgrade_domain_duration_in_milliseconds
- str
The estimated total amount of time spent processing the current upgrade domain.
- unhealthy_evaluations
- list[HealthEvaluationWrapper]
List of health evaluations that resulted in the current aggregated health state.
- current_upgrade_domain_progress
- CurrentUpgradeDomainProgressInfo
Information about the current in-progress upgrade domain. Not applicable to node-by-node upgrades.
- current_upgrade_units_progress
- CurrentUpgradeUnitsProgressInfo
Information about the current in-progress upgrade units.
- failure_timestamp_utc
- str
The estimated UTC datetime when the upgrade failed and FailureAction was executed.
- failure_reason
- str or FailureReason
The cause of an upgrade failure that resulted in FailureAction being executed. Possible values include: 'None', 'Interrupted', 'HealthCheck', 'UpgradeDomainTimeout', 'OverallUpgradeTimeout'
- upgrade_domain_progress_at_failure
- FailureUpgradeDomainProgressInfo
Information about the upgrade domain progress at the time of upgrade failure.
- upgrade_status_details
- str
Additional detailed information about the status of the pending upgrade.
- is_node_by_node
- bool
Indicates whether this upgrade is node-by-node. Default value: False .
Feedback
Submit and view feedback for