# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
[docs]class ClusterConfigurationUpgradeStatusInfo(Model):
"""Information about a standalone cluster configuration upgrade status.
:param upgrade_state: The state of the upgrade domain. Possible values
include: 'Invalid', 'RollingBackInProgress', 'RollingBackCompleted',
'RollingForwardPending', 'RollingForwardInProgress',
'RollingForwardCompleted', 'Failed'
:type upgrade_state: str or ~azure.servicefabric.models.UpgradeState
:param progress_status: The cluster manifest version.
:type progress_status: int
:param config_version: The cluster configuration version.
:type config_version: str
:param details: The cluster upgrade status details.
:type details: str
"""
_attribute_map = {
'upgrade_state': {'key': 'UpgradeState', 'type': 'str'},
'progress_status': {'key': 'ProgressStatus', 'type': 'int'},
'config_version': {'key': 'ConfigVersion', 'type': 'str'},
'details': {'key': 'Details', 'type': 'str'},
}
def __init__(self, *, upgrade_state=None, progress_status: int=None, config_version: str=None, details: str=None, **kwargs) -> None:
super(ClusterConfigurationUpgradeStatusInfo, self).__init__(**kwargs)
self.upgrade_state = upgrade_state
self.progress_status = progress_status
self.config_version = config_version
self.details = details