@@ -742,11 +742,15 @@ class AzureFileshareProtectedItem(ProtectedItem):
742742 'ProtectionStopped', 'ProtectionPaused'
743743 :type protection_state: str or
744744 ~azure.mgmt.recoveryservicesbackup.models.ProtectionState
745- :param health_status: backups running status for this backup item.
746- Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested',
747- 'Invalid'
745+ :param health_status: Health status of protected item. Possible values
746+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
747+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
748+ 'PersistentUnhealthy', 'Invalid'
748749 :type health_status: str or
749750 ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
751+ :param health_details: Health details on this backup item.
752+ :type health_details:
753+ list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
750754 :param last_backup_status: Last backup operation status. Possible values:
751755 Healthy, Unhealthy.
752756 :type last_backup_status: str
@@ -781,6 +785,7 @@ class AzureFileshareProtectedItem(ProtectedItem):
781785 'protection_status' : {'key' : 'protectionStatus' , 'type' : 'str' },
782786 'protection_state' : {'key' : 'protectionState' , 'type' : 'str' },
783787 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
788+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
784789 'last_backup_status' : {'key' : 'lastBackupStatus' , 'type' : 'str' },
785790 'last_backup_time' : {'key' : 'lastBackupTime' , 'type' : 'iso-8601' },
786791 'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureFileshareProtectedItemExtendedInfo' },
@@ -792,6 +797,7 @@ def __init__(self, **kwargs):
792797 self .protection_status = kwargs .get ('protection_status' , None )
793798 self .protection_state = kwargs .get ('protection_state' , None )
794799 self .health_status = kwargs .get ('health_status' , None )
800+ self .health_details = kwargs .get ('health_details' , None )
795801 self .last_backup_status = kwargs .get ('last_backup_status' , None )
796802 self .last_backup_time = kwargs .get ('last_backup_time' , None )
797803 self .extended_info = kwargs .get ('extended_info' , None )
@@ -1429,7 +1435,9 @@ class AzureIaaSVMProtectedItem(ProtectedItem):
14291435 :type protection_state: str or
14301436 ~azure.mgmt.recoveryservicesbackup.models.ProtectionState
14311437 :param health_status: Health status of protected item. Possible values
1432- include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
1438+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
1439+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
1440+ 'PersistentUnhealthy', 'Invalid'
14331441 :type health_status: str or
14341442 ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
14351443 :param health_details: Health details on this backup item.
@@ -1567,7 +1575,9 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem):
15671575 :type protection_state: str or
15681576 ~azure.mgmt.recoveryservicesbackup.models.ProtectionState
15691577 :param health_status: Health status of protected item. Possible values
1570- include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
1578+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
1579+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
1580+ 'PersistentUnhealthy', 'Invalid'
15711581 :type health_status: str or
15721582 ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
15731583 :param health_details: Health details on this backup item.
@@ -1784,7 +1794,9 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem):
17841794 :type protection_state: str or
17851795 ~azure.mgmt.recoveryservicesbackup.models.ProtectionState
17861796 :param health_status: Health status of protected item. Possible values
1787- include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
1797+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
1798+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
1799+ 'PersistentUnhealthy', 'Invalid'
17881800 :type health_status: str or
17891801 ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
17901802 :param health_details: Health details on this backup item.
@@ -1882,8 +1894,8 @@ def __init__(self, **kwargs):
18821894 self .recommendations = None
18831895
18841896
1885- class AzureIaaSVMHealthDetails (Model ):
1886- """Azure IaaS VM workload-specific Health Details .
1897+ class HealthDetails (Model ):
1898+ """Health Details for backup items .
18871899
18881900 Variables are only populated by the server, and will be ignored when
18891901 sending a request.
@@ -1913,13 +1925,47 @@ class AzureIaaSVMHealthDetails(Model):
19131925 }
19141926
19151927 def __init__ (self , ** kwargs ):
1916- super (AzureIaaSVMHealthDetails , self ).__init__ (** kwargs )
1928+ super (HealthDetails , self ).__init__ (** kwargs )
19171929 self .code = None
19181930 self .title = None
19191931 self .message = None
19201932 self .recommendations = None
19211933
19221934
1935+ class AzureIaaSVMHealthDetails (HealthDetails ):
1936+ """Azure IaaS VM workload-specific Health Details.
1937+
1938+ Variables are only populated by the server, and will be ignored when
1939+ sending a request.
1940+
1941+ :ivar code: Health Code
1942+ :vartype code: int
1943+ :ivar title: Health Title
1944+ :vartype title: str
1945+ :ivar message: Health Message
1946+ :vartype message: str
1947+ :ivar recommendations: Health Recommended Actions
1948+ :vartype recommendations: list[str]
1949+ """
1950+
1951+ _validation = {
1952+ 'code' : {'readonly' : True },
1953+ 'title' : {'readonly' : True },
1954+ 'message' : {'readonly' : True },
1955+ 'recommendations' : {'readonly' : True },
1956+ }
1957+
1958+ _attribute_map = {
1959+ 'code' : {'key' : 'code' , 'type' : 'int' },
1960+ 'title' : {'key' : 'title' , 'type' : 'str' },
1961+ 'message' : {'key' : 'message' , 'type' : 'str' },
1962+ 'recommendations' : {'key' : 'recommendations' , 'type' : '[str]' },
1963+ }
1964+
1965+ def __init__ (self , ** kwargs ):
1966+ super (AzureIaaSVMHealthDetails , self ).__init__ (** kwargs )
1967+
1968+
19231969class Job (Model ):
19241970 """Defines workload agnostic properties for a job.
19251971
@@ -3460,6 +3506,15 @@ class AzureVmWorkloadProtectedItem(ProtectedItem):
34603506 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
34613507 :type protected_item_health_status: str or
34623508 ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
3509+ :param health_status: Health status of protected item. Possible values
3510+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
3511+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
3512+ 'PersistentUnhealthy', 'Invalid'
3513+ :type health_status: str or
3514+ ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
3515+ :param health_details: Health details on this backup item.
3516+ :type health_details:
3517+ list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
34633518 :param extended_info: Additional information for this backup item.
34643519 :type extended_info:
34653520 ~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -3495,6 +3550,8 @@ class AzureVmWorkloadProtectedItem(ProtectedItem):
34953550 'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
34963551 'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
34973552 'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
3553+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
3554+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
34983555 'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
34993556 }
35003557
@@ -3515,6 +3572,8 @@ def __init__(self, **kwargs):
35153572 self .last_backup_error_detail = kwargs .get ('last_backup_error_detail' , None )
35163573 self .protected_item_data_source_id = kwargs .get ('protected_item_data_source_id' , None )
35173574 self .protected_item_health_status = kwargs .get ('protected_item_health_status' , None )
3575+ self .health_status = kwargs .get ('health_status' , None )
3576+ self .health_details = kwargs .get ('health_details' , None )
35183577 self .extended_info = kwargs .get ('extended_info' , None )
35193578 self .protected_item_type = 'AzureVmWorkloadProtectedItem'
35203579
@@ -3681,6 +3740,15 @@ class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
36813740 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
36823741 :type protected_item_health_status: str or
36833742 ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
3743+ :param health_status: Health status of protected item. Possible values
3744+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
3745+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
3746+ 'PersistentUnhealthy', 'Invalid'
3747+ :type health_status: str or
3748+ ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
3749+ :param health_details: Health details on this backup item.
3750+ :type health_details:
3751+ list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
36843752 :param extended_info: Additional information for this backup item.
36853753 :type extended_info:
36863754 ~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -3716,6 +3784,8 @@ class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
37163784 'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
37173785 'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
37183786 'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
3787+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
3788+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
37193789 'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
37203790 }
37213791
@@ -4059,6 +4129,15 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
40594129 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
40604130 :type protected_item_health_status: str or
40614131 ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
4132+ :param health_status: Health status of protected item. Possible values
4133+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
4134+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
4135+ 'PersistentUnhealthy', 'Invalid'
4136+ :type health_status: str or
4137+ ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
4138+ :param health_details: Health details on this backup item.
4139+ :type health_details:
4140+ list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
40624141 :param extended_info: Additional information for this backup item.
40634142 :type extended_info:
40644143 ~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -4094,6 +4173,8 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
40944173 'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
40954174 'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
40964175 'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
4176+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
4177+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
40974178 'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
40984179 }
40994180
@@ -4507,6 +4588,15 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
45074588 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
45084589 :type protected_item_health_status: str or
45094590 ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
4591+ :param health_status: Health status of protected item. Possible values
4592+ include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
4593+ 'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
4594+ 'PersistentUnhealthy', 'Invalid'
4595+ :type health_status: str or
4596+ ~azure.mgmt.recoveryservicesbackup.models.HealthStatus
4597+ :param health_details: Health details on this backup item.
4598+ :type health_details:
4599+ list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
45104600 :param extended_info: Additional information for this backup item.
45114601 :type extended_info:
45124602 ~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -4542,6 +4632,8 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
45424632 'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
45434633 'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
45444634 'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
4635+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
4636+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
45454637 'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
45464638 }
45474639
0 commit comments