Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release azure-mgmt-recoveryservicesbackup 0.8.0 #11846

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Release History

## 0.8.0 (2020-06-05)

**Features**

- Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter health_details
- Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter health_status
- Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter health_details
- Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter health_status
- Model AzureFileshareProtectedItem has a new parameter health_details
- Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter health_details
- Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter health_status
- Model AzureVmWorkloadProtectedItem has a new parameter health_details
- Model AzureVmWorkloadProtectedItem has a new parameter health_status

## 0.7.0 (2020-03-24)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
from ._models_py3 import GenericProtectionPolicy
from ._models_py3 import GenericRecoveryPoint
from ._models_py3 import GetProtectedItemQueryObject
from ._models_py3 import HealthDetails
from ._models_py3 import IaasVMBackupRequest
from ._models_py3 import IaaSVMContainer
from ._models_py3 import IaasVMILRRegistrationRequest
Expand Down Expand Up @@ -390,6 +391,7 @@
from ._models import GenericProtectionPolicy
from ._models import GenericRecoveryPoint
from ._models import GetProtectedItemQueryObject
from ._models import HealthDetails
from ._models import IaasVMBackupRequest
from ._models import IaaSVMContainer
from ._models import IaasVMILRRegistrationRequest
Expand Down Expand Up @@ -697,6 +699,7 @@
'GenericProtectionPolicy',
'GenericRecoveryPoint',
'GetProtectedItemQueryObject',
'HealthDetails',
'IaasVMBackupRequest',
'IaaSVMContainer',
'IaasVMILRRegistrationRequest',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -742,11 +742,15 @@ class AzureFileshareProtectedItem(ProtectedItem):
'ProtectionStopped', 'ProtectionPaused'
:type protection_state: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectionState
:param health_status: backups running status for this backup item.
Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested',
'Invalid'
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
:type health_details:
list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
:param last_backup_status: Last backup operation status. Possible values:
Healthy, Unhealthy.
:type last_backup_status: str
Expand Down Expand Up @@ -781,6 +785,7 @@ class AzureFileshareProtectedItem(ProtectedItem):
'protection_status': {'key': 'protectionStatus', 'type': 'str'},
'protection_state': {'key': 'protectionState', 'type': 'str'},
'health_status': {'key': 'healthStatus', 'type': 'str'},
'health_details': {'key': 'healthDetails', 'type': '[HealthDetails]'},
'last_backup_status': {'key': 'lastBackupStatus', 'type': 'str'},
'last_backup_time': {'key': 'lastBackupTime', 'type': 'iso-8601'},
'extended_info': {'key': 'extendedInfo', 'type': 'AzureFileshareProtectedItemExtendedInfo'},
Expand All @@ -792,6 +797,7 @@ def __init__(self, **kwargs):
self.protection_status = kwargs.get('protection_status', None)
self.protection_state = kwargs.get('protection_state', None)
self.health_status = kwargs.get('health_status', None)
self.health_details = kwargs.get('health_details', None)
self.last_backup_status = kwargs.get('last_backup_status', None)
self.last_backup_time = kwargs.get('last_backup_time', None)
self.extended_info = kwargs.get('extended_info', None)
Expand Down Expand Up @@ -1429,7 +1435,9 @@ class AzureIaaSVMProtectedItem(ProtectedItem):
:type protection_state: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectionState
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
Expand Down Expand Up @@ -1567,7 +1575,9 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem):
:type protection_state: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectionState
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
Expand Down Expand Up @@ -1784,7 +1794,9 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem):
:type protection_state: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectionState
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
Expand Down Expand Up @@ -1882,8 +1894,8 @@ def __init__(self, **kwargs):
self.recommendations = None


class AzureIaaSVMHealthDetails(Model):
"""Azure IaaS VM workload-specific Health Details.
class HealthDetails(Model):
"""Health Details for backup items.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -1913,13 +1925,47 @@ class AzureIaaSVMHealthDetails(Model):
}

def __init__(self, **kwargs):
super(AzureIaaSVMHealthDetails, self).__init__(**kwargs)
super(HealthDetails, self).__init__(**kwargs)
self.code = None
self.title = None
self.message = None
self.recommendations = None


class AzureIaaSVMHealthDetails(HealthDetails):
"""Azure IaaS VM workload-specific Health Details.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar code: Health Code
:vartype code: int
:ivar title: Health Title
:vartype title: str
:ivar message: Health Message
:vartype message: str
:ivar recommendations: Health Recommended Actions
:vartype recommendations: list[str]
"""

_validation = {
'code': {'readonly': True},
'title': {'readonly': True},
'message': {'readonly': True},
'recommendations': {'readonly': True},
}

_attribute_map = {
'code': {'key': 'code', 'type': 'int'},
'title': {'key': 'title', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'recommendations': {'key': 'recommendations', 'type': '[str]'},
}

def __init__(self, **kwargs):
super(AzureIaaSVMHealthDetails, self).__init__(**kwargs)


class Job(Model):
"""Defines workload agnostic properties for a job.

Expand Down Expand Up @@ -3460,6 +3506,15 @@ class AzureVmWorkloadProtectedItem(ProtectedItem):
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
:type protected_item_health_status: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
:type health_details:
list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
:param extended_info: Additional information for this backup item.
:type extended_info:
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
Expand Down Expand Up @@ -3495,6 +3550,8 @@ class AzureVmWorkloadProtectedItem(ProtectedItem):
'last_backup_error_detail': {'key': 'lastBackupErrorDetail', 'type': 'ErrorDetail'},
'protected_item_data_source_id': {'key': 'protectedItemDataSourceId', 'type': 'str'},
'protected_item_health_status': {'key': 'protectedItemHealthStatus', 'type': 'str'},
'health_status': {'key': 'healthStatus', 'type': 'str'},
'health_details': {'key': 'healthDetails', 'type': '[HealthDetails]'},
'extended_info': {'key': 'extendedInfo', 'type': 'AzureVmWorkloadProtectedItemExtendedInfo'},
}

Expand All @@ -3515,6 +3572,8 @@ def __init__(self, **kwargs):
self.last_backup_error_detail = kwargs.get('last_backup_error_detail', None)
self.protected_item_data_source_id = kwargs.get('protected_item_data_source_id', None)
self.protected_item_health_status = kwargs.get('protected_item_health_status', None)
self.health_status = kwargs.get('health_status', None)
self.health_details = kwargs.get('health_details', None)
self.extended_info = kwargs.get('extended_info', None)
self.protected_item_type = 'AzureVmWorkloadProtectedItem'

Expand Down Expand Up @@ -3681,6 +3740,15 @@ class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
:type protected_item_health_status: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
:type health_details:
list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
:param extended_info: Additional information for this backup item.
:type extended_info:
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
Expand Down Expand Up @@ -3716,6 +3784,8 @@ class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
'last_backup_error_detail': {'key': 'lastBackupErrorDetail', 'type': 'ErrorDetail'},
'protected_item_data_source_id': {'key': 'protectedItemDataSourceId', 'type': 'str'},
'protected_item_health_status': {'key': 'protectedItemHealthStatus', 'type': 'str'},
'health_status': {'key': 'healthStatus', 'type': 'str'},
'health_details': {'key': 'healthDetails', 'type': '[HealthDetails]'},
'extended_info': {'key': 'extendedInfo', 'type': 'AzureVmWorkloadProtectedItemExtendedInfo'},
}

Expand Down Expand Up @@ -4059,6 +4129,15 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
:type protected_item_health_status: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
:type health_details:
list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
:param extended_info: Additional information for this backup item.
:type extended_info:
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
Expand Down Expand Up @@ -4094,6 +4173,8 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
'last_backup_error_detail': {'key': 'lastBackupErrorDetail', 'type': 'ErrorDetail'},
'protected_item_data_source_id': {'key': 'protectedItemDataSourceId', 'type': 'str'},
'protected_item_health_status': {'key': 'protectedItemHealthStatus', 'type': 'str'},
'health_status': {'key': 'healthStatus', 'type': 'str'},
'health_details': {'key': 'healthDetails', 'type': '[HealthDetails]'},
'extended_info': {'key': 'extendedInfo', 'type': 'AzureVmWorkloadProtectedItemExtendedInfo'},
}

Expand Down Expand Up @@ -4507,6 +4588,15 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
:type protected_item_health_status: str or
~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus
:param health_status: Health status of protected item. Possible values
include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Healthy',
'TransientDegraded', 'PersistentDegraded', 'TransientUnhealthy',
'PersistentUnhealthy', 'Invalid'
:type health_status: str or
~azure.mgmt.recoveryservicesbackup.models.HealthStatus
:param health_details: Health details on this backup item.
:type health_details:
list[~azure.mgmt.recoveryservicesbackup.models.HealthDetails]
:param extended_info: Additional information for this backup item.
:type extended_info:
~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
Expand Down Expand Up @@ -4542,6 +4632,8 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem):
'last_backup_error_detail': {'key': 'lastBackupErrorDetail', 'type': 'ErrorDetail'},
'protected_item_data_source_id': {'key': 'protectedItemDataSourceId', 'type': 'str'},
'protected_item_health_status': {'key': 'protectedItemHealthStatus', 'type': 'str'},
'health_status': {'key': 'healthStatus', 'type': 'str'},
'health_details': {'key': 'healthDetails', 'type': '[HealthDetails]'},
'extended_info': {'key': 'extendedInfo', 'type': 'AzureVmWorkloadProtectedItemExtendedInfo'},
}

Expand Down
Loading