@@ -742,11 +742,15 @@ class AzureFileshareProtectedItem(ProtectedItem):
742
742
'ProtectionStopped', 'ProtectionPaused'
743
743
:type protection_state: str or
744
744
~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'
748
749
:type health_status: str or
749
750
~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]
750
754
:param last_backup_status: Last backup operation status. Possible values:
751
755
Healthy, Unhealthy.
752
756
:type last_backup_status: str
@@ -781,6 +785,7 @@ class AzureFileshareProtectedItem(ProtectedItem):
781
785
'protection_status' : {'key' : 'protectionStatus' , 'type' : 'str' },
782
786
'protection_state' : {'key' : 'protectionState' , 'type' : 'str' },
783
787
'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
788
+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
784
789
'last_backup_status' : {'key' : 'lastBackupStatus' , 'type' : 'str' },
785
790
'last_backup_time' : {'key' : 'lastBackupTime' , 'type' : 'iso-8601' },
786
791
'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureFileshareProtectedItemExtendedInfo' },
@@ -792,6 +797,7 @@ def __init__(self, **kwargs):
792
797
self .protection_status = kwargs .get ('protection_status' , None )
793
798
self .protection_state = kwargs .get ('protection_state' , None )
794
799
self .health_status = kwargs .get ('health_status' , None )
800
+ self .health_details = kwargs .get ('health_details' , None )
795
801
self .last_backup_status = kwargs .get ('last_backup_status' , None )
796
802
self .last_backup_time = kwargs .get ('last_backup_time' , None )
797
803
self .extended_info = kwargs .get ('extended_info' , None )
@@ -1429,7 +1435,9 @@ class AzureIaaSVMProtectedItem(ProtectedItem):
1429
1435
:type protection_state: str or
1430
1436
~azure.mgmt.recoveryservicesbackup.models.ProtectionState
1431
1437
: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'
1433
1441
:type health_status: str or
1434
1442
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
1435
1443
:param health_details: Health details on this backup item.
@@ -1567,7 +1575,9 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem):
1567
1575
:type protection_state: str or
1568
1576
~azure.mgmt.recoveryservicesbackup.models.ProtectionState
1569
1577
: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'
1571
1581
:type health_status: str or
1572
1582
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
1573
1583
:param health_details: Health details on this backup item.
@@ -1784,7 +1794,9 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem):
1784
1794
:type protection_state: str or
1785
1795
~azure.mgmt.recoveryservicesbackup.models.ProtectionState
1786
1796
: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'
1788
1800
:type health_status: str or
1789
1801
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
1790
1802
:param health_details: Health details on this backup item.
@@ -1882,8 +1894,8 @@ def __init__(self, **kwargs):
1882
1894
self .recommendations = None
1883
1895
1884
1896
1885
- class AzureIaaSVMHealthDetails (Model ):
1886
- """Azure IaaS VM workload-specific Health Details .
1897
+ class HealthDetails (Model ):
1898
+ """Health Details for backup items .
1887
1899
1888
1900
Variables are only populated by the server, and will be ignored when
1889
1901
sending a request.
@@ -1913,13 +1925,47 @@ class AzureIaaSVMHealthDetails(Model):
1913
1925
}
1914
1926
1915
1927
def __init__ (self , ** kwargs ):
1916
- super (AzureIaaSVMHealthDetails , self ).__init__ (** kwargs )
1928
+ super (HealthDetails , self ).__init__ (** kwargs )
1917
1929
self .code = None
1918
1930
self .title = None
1919
1931
self .message = None
1920
1932
self .recommendations = None
1921
1933
1922
1934
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
+
1923
1969
class Job (Model ):
1924
1970
"""Defines workload agnostic properties for a job.
1925
1971
@@ -3460,6 +3506,15 @@ class AzureVmWorkloadProtectedItem(ProtectedItem):
3460
3506
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
3461
3507
:type protected_item_health_status: str or
3462
3508
~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]
3463
3518
:param extended_info: Additional information for this backup item.
3464
3519
:type extended_info:
3465
3520
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -3495,6 +3550,8 @@ class AzureVmWorkloadProtectedItem(ProtectedItem):
3495
3550
'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
3496
3551
'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
3497
3552
'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
3553
+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
3554
+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
3498
3555
'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
3499
3556
}
3500
3557
@@ -3515,6 +3572,8 @@ def __init__(self, **kwargs):
3515
3572
self .last_backup_error_detail = kwargs .get ('last_backup_error_detail' , None )
3516
3573
self .protected_item_data_source_id = kwargs .get ('protected_item_data_source_id' , None )
3517
3574
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 )
3518
3577
self .extended_info = kwargs .get ('extended_info' , None )
3519
3578
self .protected_item_type = 'AzureVmWorkloadProtectedItem'
3520
3579
@@ -3681,6 +3740,15 @@ class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
3681
3740
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
3682
3741
:type protected_item_health_status: str or
3683
3742
~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]
3684
3752
:param extended_info: Additional information for this backup item.
3685
3753
:type extended_info:
3686
3754
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -3716,6 +3784,8 @@ class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
3716
3784
'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
3717
3785
'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
3718
3786
'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
3787
+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
3788
+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
3719
3789
'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
3720
3790
}
3721
3791
@@ -4059,6 +4129,15 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
4059
4129
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
4060
4130
:type protected_item_health_status: str or
4061
4131
~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]
4062
4141
:param extended_info: Additional information for this backup item.
4063
4142
:type extended_info:
4064
4143
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -4094,6 +4173,8 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
4094
4173
'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
4095
4174
'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
4096
4175
'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
4176
+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
4177
+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
4097
4178
'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
4098
4179
}
4099
4180
@@ -4507,6 +4588,15 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
4507
4588
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
4508
4589
:type protected_item_health_status: str or
4509
4590
~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]
4510
4600
:param extended_info: Additional information for this backup item.
4511
4601
:type extended_info:
4512
4602
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
@@ -4542,6 +4632,8 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
4542
4632
'last_backup_error_detail' : {'key' : 'lastBackupErrorDetail' , 'type' : 'ErrorDetail' },
4543
4633
'protected_item_data_source_id' : {'key' : 'protectedItemDataSourceId' , 'type' : 'str' },
4544
4634
'protected_item_health_status' : {'key' : 'protectedItemHealthStatus' , 'type' : 'str' },
4635
+ 'health_status' : {'key' : 'healthStatus' , 'type' : 'str' },
4636
+ 'health_details' : {'key' : 'healthDetails' , 'type' : '[HealthDetails]' },
4545
4637
'extended_info' : {'key' : 'extendedInfo' , 'type' : 'AzureVmWorkloadProtectedItemExtendedInfo' },
4546
4638
}
4547
4639
0 commit comments