diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py index 8f6884e7fe37..1bcf9d1eb5ce 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py @@ -46,6 +46,7 @@ from .settings_py3 import Settings from .sub_protection_policy_py3 import SubProtectionPolicy from .azure_vm_workload_protection_policy_py3 import AzureVmWorkloadProtectionPolicy + from .azure_vm_workload_sap_ase_database_protected_item_py3 import AzureVmWorkloadSAPAseDatabaseProtectedItem from .azure_vm_workload_sap_hana_database_protected_item_py3 import AzureVmWorkloadSAPHanaDatabaseProtectedItem from .azure_vm_workload_sql_database_protected_item_py3 import AzureVmWorkloadSQLDatabaseProtectedItem from .azure_workload_auto_protection_intent_py3 import AzureWorkloadAutoProtectionIntent @@ -53,9 +54,10 @@ from .azure_workload_job_task_details_py3 import AzureWorkloadJobTaskDetails from .azure_workload_job_extended_info_py3 import AzureWorkloadJobExtendedInfo from .azure_workload_job_py3 import AzureWorkloadJob + from .azure_workload_point_in_time_restore_request_py3 import AzureWorkloadPointInTimeRestoreRequest + from .target_restore_info_py3 import TargetRestoreInfo from .azure_workload_restore_request_py3 import AzureWorkloadRestoreRequest from .azure_workload_sap_hana_point_in_time_restore_request_py3 import AzureWorkloadSAPHanaPointInTimeRestoreRequest - from .target_restore_info_py3 import TargetRestoreInfo from .azure_workload_sap_hana_restore_request_py3 import AzureWorkloadSAPHanaRestoreRequest from .azure_workload_sql_auto_protection_intent_py3 import AzureWorkloadSQLAutoProtectionIntent from .azure_workload_sql_point_in_time_restore_request_py3 import AzureWorkloadSQLPointInTimeRestoreRequest @@ -124,7 +126,6 @@ from .validate_operation_response_py3 import ValidateOperationResponse from .validate_operations_response_py3 import ValidateOperationsResponse from .validate_restore_operation_request_py3 import ValidateRestoreOperationRequest - from .dpm_container_extended_info_py3 import DPMContainerExtendedInfo from .azure_backup_server_container_py3 import AzureBackupServerContainer from .azure_backup_server_engine_py3 import AzureBackupServerEngine from .azure_file_share_backup_request_py3 import AzureFileShareBackupRequest @@ -143,6 +144,10 @@ from .azure_vm_workload_item_py3 import AzureVmWorkloadItem from .pre_backup_validation_py3 import PreBackupValidation from .azure_vm_workload_protectable_item_py3 import AzureVmWorkloadProtectableItem + from .azure_vm_workload_sap_ase_database_protectable_item_py3 import AzureVmWorkloadSAPAseDatabaseProtectableItem + from .azure_vm_workload_sap_ase_database_workload_item_py3 import AzureVmWorkloadSAPAseDatabaseWorkloadItem + from .azure_vm_workload_sap_ase_system_protectable_item_py3 import AzureVmWorkloadSAPAseSystemProtectableItem + from .azure_vm_workload_sap_ase_system_workload_item_py3 import AzureVmWorkloadSAPAseSystemWorkloadItem from .azure_vm_workload_sap_hana_database_protectable_item_py3 import AzureVmWorkloadSAPHanaDatabaseProtectableItem from .azure_vm_workload_sap_hana_database_workload_item_py3 import AzureVmWorkloadSAPHanaDatabaseWorkloadItem from .azure_vm_workload_sap_hana_system_protectable_item_py3 import AzureVmWorkloadSAPHanaSystemProtectableItem @@ -160,8 +165,9 @@ from .distributed_nodes_info_py3 import DistributedNodesInfo from .azure_workload_container_extended_info_py3 import AzureWorkloadContainerExtendedInfo from .azure_workload_container_py3 import AzureWorkloadContainer - from .azure_workload_recovery_point_py3 import AzureWorkloadRecoveryPoint from .point_in_time_range_py3 import PointInTimeRange + from .azure_workload_point_in_time_recovery_point_py3 import AzureWorkloadPointInTimeRecoveryPoint + from .azure_workload_recovery_point_py3 import AzureWorkloadRecoveryPoint from .azure_workload_sap_hana_point_in_time_recovery_point_py3 import AzureWorkloadSAPHanaPointInTimeRecoveryPoint from .azure_workload_sap_hana_recovery_point_py3 import AzureWorkloadSAPHanaRecoveryPoint from .azure_workload_sql_point_in_time_recovery_point_py3 import AzureWorkloadSQLPointInTimeRecoveryPoint @@ -188,6 +194,7 @@ from .client_script_for_connect_py3 import ClientScriptForConnect from .container_identity_info_py3 import ContainerIdentityInfo from .dpm_backup_engine_py3 import DpmBackupEngine + from .dpm_container_extended_info_py3 import DPMContainerExtendedInfo from .dpm_container_py3 import DpmContainer from .generic_container_extended_info_py3 import GenericContainerExtendedInfo from .generic_container_py3 import GenericContainer @@ -267,6 +274,7 @@ from .settings import Settings from .sub_protection_policy import SubProtectionPolicy from .azure_vm_workload_protection_policy import AzureVmWorkloadProtectionPolicy + from .azure_vm_workload_sap_ase_database_protected_item import AzureVmWorkloadSAPAseDatabaseProtectedItem from .azure_vm_workload_sap_hana_database_protected_item import AzureVmWorkloadSAPHanaDatabaseProtectedItem from .azure_vm_workload_sql_database_protected_item import AzureVmWorkloadSQLDatabaseProtectedItem from .azure_workload_auto_protection_intent import AzureWorkloadAutoProtectionIntent @@ -274,9 +282,10 @@ from .azure_workload_job_task_details import AzureWorkloadJobTaskDetails from .azure_workload_job_extended_info import AzureWorkloadJobExtendedInfo from .azure_workload_job import AzureWorkloadJob + from .azure_workload_point_in_time_restore_request import AzureWorkloadPointInTimeRestoreRequest + from .target_restore_info import TargetRestoreInfo from .azure_workload_restore_request import AzureWorkloadRestoreRequest from .azure_workload_sap_hana_point_in_time_restore_request import AzureWorkloadSAPHanaPointInTimeRestoreRequest - from .target_restore_info import TargetRestoreInfo from .azure_workload_sap_hana_restore_request import AzureWorkloadSAPHanaRestoreRequest from .azure_workload_sql_auto_protection_intent import AzureWorkloadSQLAutoProtectionIntent from .azure_workload_sql_point_in_time_restore_request import AzureWorkloadSQLPointInTimeRestoreRequest @@ -345,7 +354,6 @@ from .validate_operation_response import ValidateOperationResponse from .validate_operations_response import ValidateOperationsResponse from .validate_restore_operation_request import ValidateRestoreOperationRequest - from .dpm_container_extended_info import DPMContainerExtendedInfo from .azure_backup_server_container import AzureBackupServerContainer from .azure_backup_server_engine import AzureBackupServerEngine from .azure_file_share_backup_request import AzureFileShareBackupRequest @@ -364,6 +372,10 @@ from .azure_vm_workload_item import AzureVmWorkloadItem from .pre_backup_validation import PreBackupValidation from .azure_vm_workload_protectable_item import AzureVmWorkloadProtectableItem + from .azure_vm_workload_sap_ase_database_protectable_item import AzureVmWorkloadSAPAseDatabaseProtectableItem + from .azure_vm_workload_sap_ase_database_workload_item import AzureVmWorkloadSAPAseDatabaseWorkloadItem + from .azure_vm_workload_sap_ase_system_protectable_item import AzureVmWorkloadSAPAseSystemProtectableItem + from .azure_vm_workload_sap_ase_system_workload_item import AzureVmWorkloadSAPAseSystemWorkloadItem from .azure_vm_workload_sap_hana_database_protectable_item import AzureVmWorkloadSAPHanaDatabaseProtectableItem from .azure_vm_workload_sap_hana_database_workload_item import AzureVmWorkloadSAPHanaDatabaseWorkloadItem from .azure_vm_workload_sap_hana_system_protectable_item import AzureVmWorkloadSAPHanaSystemProtectableItem @@ -381,8 +393,9 @@ from .distributed_nodes_info import DistributedNodesInfo from .azure_workload_container_extended_info import AzureWorkloadContainerExtendedInfo from .azure_workload_container import AzureWorkloadContainer - from .azure_workload_recovery_point import AzureWorkloadRecoveryPoint from .point_in_time_range import PointInTimeRange + from .azure_workload_point_in_time_recovery_point import AzureWorkloadPointInTimeRecoveryPoint + from .azure_workload_recovery_point import AzureWorkloadRecoveryPoint from .azure_workload_sap_hana_point_in_time_recovery_point import AzureWorkloadSAPHanaPointInTimeRecoveryPoint from .azure_workload_sap_hana_recovery_point import AzureWorkloadSAPHanaRecoveryPoint from .azure_workload_sql_point_in_time_recovery_point import AzureWorkloadSQLPointInTimeRecoveryPoint @@ -409,6 +422,7 @@ from .client_script_for_connect import ClientScriptForConnect from .container_identity_info import ContainerIdentityInfo from .dpm_backup_engine import DpmBackupEngine + from .dpm_container_extended_info import DPMContainerExtendedInfo from .dpm_container import DpmContainer from .generic_container_extended_info import GenericContainerExtendedInfo from .generic_container import GenericContainer @@ -502,6 +516,7 @@ AzureFileShareType, InquiryStatus, BackupType, + OperationType, RestorePointType, StorageType, StorageTypeState, @@ -551,6 +566,7 @@ 'Settings', 'SubProtectionPolicy', 'AzureVmWorkloadProtectionPolicy', + 'AzureVmWorkloadSAPAseDatabaseProtectedItem', 'AzureVmWorkloadSAPHanaDatabaseProtectedItem', 'AzureVmWorkloadSQLDatabaseProtectedItem', 'AzureWorkloadAutoProtectionIntent', @@ -558,9 +574,10 @@ 'AzureWorkloadJobTaskDetails', 'AzureWorkloadJobExtendedInfo', 'AzureWorkloadJob', + 'AzureWorkloadPointInTimeRestoreRequest', + 'TargetRestoreInfo', 'AzureWorkloadRestoreRequest', 'AzureWorkloadSAPHanaPointInTimeRestoreRequest', - 'TargetRestoreInfo', 'AzureWorkloadSAPHanaRestoreRequest', 'AzureWorkloadSQLAutoProtectionIntent', 'AzureWorkloadSQLPointInTimeRestoreRequest', @@ -629,7 +646,6 @@ 'ValidateOperationResponse', 'ValidateOperationsResponse', 'ValidateRestoreOperationRequest', - 'DPMContainerExtendedInfo', 'AzureBackupServerContainer', 'AzureBackupServerEngine', 'AzureFileShareBackupRequest', @@ -648,6 +664,10 @@ 'AzureVmWorkloadItem', 'PreBackupValidation', 'AzureVmWorkloadProtectableItem', + 'AzureVmWorkloadSAPAseDatabaseProtectableItem', + 'AzureVmWorkloadSAPAseDatabaseWorkloadItem', + 'AzureVmWorkloadSAPAseSystemProtectableItem', + 'AzureVmWorkloadSAPAseSystemWorkloadItem', 'AzureVmWorkloadSAPHanaDatabaseProtectableItem', 'AzureVmWorkloadSAPHanaDatabaseWorkloadItem', 'AzureVmWorkloadSAPHanaSystemProtectableItem', @@ -665,8 +685,9 @@ 'DistributedNodesInfo', 'AzureWorkloadContainerExtendedInfo', 'AzureWorkloadContainer', - 'AzureWorkloadRecoveryPoint', 'PointInTimeRange', + 'AzureWorkloadPointInTimeRecoveryPoint', + 'AzureWorkloadRecoveryPoint', 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint', 'AzureWorkloadSAPHanaRecoveryPoint', 'AzureWorkloadSQLPointInTimeRecoveryPoint', @@ -693,6 +714,7 @@ 'ClientScriptForConnect', 'ContainerIdentityInfo', 'DpmBackupEngine', + 'DPMContainerExtendedInfo', 'DpmContainer', 'GenericContainerExtendedInfo', 'GenericContainer', @@ -785,6 +807,7 @@ 'AzureFileShareType', 'InquiryStatus', 'BackupType', + 'OperationType', 'RestorePointType', 'StorageType', 'StorageTypeState', diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py index 120dcbb29f4c..48b872b627bd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .protection_container import ProtectionContainer +from .dpm_container import DpmContainer -class AzureBackupServerContainer(ProtectionContainer): +class AzureBackupServerContainer(DpmContainer): """AzureBackupServer (DPMVenus) workload-specific protection container. All required parameters must be populated in order to send to Azure. @@ -73,12 +73,4 @@ class AzureBackupServerContainer(ProtectionContainer): def __init__(self, **kwargs): super(AzureBackupServerContainer, self).__init__(**kwargs) - self.can_re_register = kwargs.get('can_re_register', None) - self.container_id = kwargs.get('container_id', None) - self.protected_item_count = kwargs.get('protected_item_count', None) - self.dpm_agent_version = kwargs.get('dpm_agent_version', None) - self.dpm_servers = kwargs.get('dpm_servers', None) - self.upgrade_available = kwargs.get('upgrade_available', None) - self.protection_status = kwargs.get('protection_status', None) - self.extended_info = kwargs.get('extended_info', None) self.container_type = 'AzureBackupServerContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container_py3.py index b8513764df1d..0a04c30aab8c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .protection_container_py3 import ProtectionContainer +from .dpm_container_py3 import DpmContainer -class AzureBackupServerContainer(ProtectionContainer): +class AzureBackupServerContainer(DpmContainer): """AzureBackupServer (DPMVenus) workload-specific protection container. All required parameters must be populated in order to send to Azure. @@ -72,13 +72,5 @@ class AzureBackupServerContainer(ProtectionContainer): } def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, can_re_register: bool=None, container_id: str=None, protected_item_count: int=None, dpm_agent_version: str=None, dpm_servers=None, upgrade_available: bool=None, protection_status: str=None, extended_info=None, **kwargs) -> None: - super(AzureBackupServerContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, **kwargs) - self.can_re_register = can_re_register - self.container_id = container_id - self.protected_item_count = protected_item_count - self.dpm_agent_version = dpm_agent_version - self.dpm_servers = dpm_servers - self.upgrade_available = upgrade_available - self.protection_status = protection_status - self.extended_info = extended_info + super(AzureBackupServerContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, can_re_register=can_re_register, container_id=container_id, protected_item_count=protected_item_count, dpm_agent_version=dpm_agent_version, dpm_servers=dpm_servers, upgrade_available=upgrade_available, protection_status=protection_status, extended_info=extended_info, **kwargs) self.container_type = 'AzureBackupServerContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py index 6b52ef8925ab..4a5f2783d116 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py @@ -48,7 +48,7 @@ class AzureBackupServerEngine(BackupEngineBase): :param is_dpm_upgrade_available: To check if backup engine upgrade available :type is_dpm_upgrade_available: bool - :param extended_info: Extended info of the backup engine + :param extended_info: Extended info of the backupengine :type extended_info: ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo :param backup_engine_type: Required. Constant filled by server. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine_py3.py index 70218b27f427..1aaba9929db0 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine_py3.py @@ -48,7 +48,7 @@ class AzureBackupServerEngine(BackupEngineBase): :param is_dpm_upgrade_available: To check if backup engine upgrade available :type is_dpm_upgrade_available: bool - :param extended_info: Extended info of the backup engine + :param extended_info: Extended info of the backupengine :type extended_info: ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo :param backup_engine_type: Required. Constant filled by server. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py index 81807350b28b..914da0ddd3da 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py @@ -24,7 +24,8 @@ class AzureFileShareProtectionPolicy(ProtectionPolicy): :param work_load_type: Type of workload for the backup management. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type work_load_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param schedule_policy: Backup schedule specified as part of backup diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy_py3.py index 17044e56f6a7..5988c6bf2474 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy_py3.py @@ -24,7 +24,8 @@ class AzureFileShareProtectionPolicy(ProtectionPolicy): :param work_load_type: Type of workload for the backup management. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type work_load_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param schedule_policy: Backup schedule specified as part of backup diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py index 5a2e17fb0e9c..f1bb006da998 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py @@ -26,7 +26,8 @@ class AzureFileshareProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_py3.py index 8c9f7f1a38ab..fbd13e5ecada 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_py3.py @@ -26,7 +26,8 @@ class AzureFileshareProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py index 87f79af8e0ba..e423c64da0d6 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py @@ -26,7 +26,8 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item_py3.py index e42a98d68fca..e29373eb4a68 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item_py3.py @@ -26,7 +26,8 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py index 1bcbcaa740ab..0025229ccb90 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py @@ -27,7 +27,8 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item_py3.py index 6865f36e0b3e..8413b75761c8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item_py3.py @@ -27,7 +27,8 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py index 5b7d1f78d49b..e29adcc101f0 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py @@ -30,7 +30,7 @@ class AzureIaaSVMJobTaskDetails(Model): :param progress_percentage: Progress of the task. :type progress_percentage: float :param task_execution_details: Details about execution of the task. - eg: number of bytes transferred etc + eg: number of bytes transfered etc :type task_execution_details: str """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details_py3.py index a1a682967863..2db374087ab1 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details_py3.py @@ -30,7 +30,7 @@ class AzureIaaSVMJobTaskDetails(Model): :param progress_percentage: Progress of the task. :type progress_percentage: float :param task_execution_details: Details about execution of the task. - eg: number of bytes transferred etc + eg: number of bytes transfered etc :type task_execution_details: str """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py index 3eff0339e297..a8dfea39bdc8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py @@ -30,7 +30,8 @@ class AzureIaaSVMProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_py3.py index 6e021c133e31..adad23ab7162 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_py3.py @@ -30,7 +30,8 @@ class AzureIaaSVMProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py index da81c926e8fa..86f20f360c05 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py @@ -26,7 +26,8 @@ class AzureSqlProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_py3.py index 7fb7b31edf54..7809e1f1194c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_py3.py @@ -26,7 +26,8 @@ class AzureSqlProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py index bbdcc7ba2418..1cc7956f6cb6 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py @@ -43,9 +43,14 @@ class AzureSQLAGWorkloadContainerProtectionContainer(AzureWorkloadContainer): :param workload_type: Workload type for which registration was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param operation_type: Re-Do Operation. Possible values include: + 'Invalid', 'Register', 'Reregister' + :type operation_type: str or + ~azure.mgmt.recoveryservicesbackup.models.OperationType """ _validation = { @@ -62,6 +67,7 @@ class AzureSQLAGWorkloadContainerProtectionContainer(AzureWorkloadContainer): 'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'}, 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadContainerExtendedInfo'}, 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container_py3.py index 0cb9fd604034..3a27450e5633 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container_py3.py @@ -43,9 +43,14 @@ class AzureSQLAGWorkloadContainerProtectionContainer(AzureWorkloadContainer): :param workload_type: Workload type for which registration was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param operation_type: Re-Do Operation. Possible values include: + 'Invalid', 'Register', 'Reregister' + :type operation_type: str or + ~azure.mgmt.recoveryservicesbackup.models.OperationType """ _validation = { @@ -62,8 +67,9 @@ class AzureSQLAGWorkloadContainerProtectionContainer(AzureWorkloadContainer): 'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'}, 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadContainerExtendedInfo'}, 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, } - def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, source_resource_id: str=None, last_updated_time=None, extended_info=None, workload_type=None, **kwargs) -> None: - super(AzureSQLAGWorkloadContainerProtectionContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, source_resource_id=source_resource_id, last_updated_time=last_updated_time, extended_info=extended_info, workload_type=workload_type, **kwargs) + def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, source_resource_id: str=None, last_updated_time=None, extended_info=None, workload_type=None, operation_type=None, **kwargs) -> None: + super(AzureSQLAGWorkloadContainerProtectionContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, source_resource_id=source_resource_id, last_updated_time=last_updated_time, extended_info=extended_info, workload_type=workload_type, operation_type=operation_type, **kwargs) self.container_type = 'SQLAGWorkLoadContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py index ae27b34495a1..598e09f8b53e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py @@ -43,9 +43,14 @@ class AzureVMAppContainerProtectionContainer(AzureWorkloadContainer): :param workload_type: Workload type for which registration was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param operation_type: Re-Do Operation. Possible values include: + 'Invalid', 'Register', 'Reregister' + :type operation_type: str or + ~azure.mgmt.recoveryservicesbackup.models.OperationType """ _validation = { @@ -62,6 +67,7 @@ class AzureVMAppContainerProtectionContainer(AzureWorkloadContainer): 'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'}, 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadContainerExtendedInfo'}, 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container_py3.py index e1c866e2ae87..3026b3450921 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container_py3.py @@ -43,9 +43,14 @@ class AzureVMAppContainerProtectionContainer(AzureWorkloadContainer): :param workload_type: Workload type for which registration was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param operation_type: Re-Do Operation. Possible values include: + 'Invalid', 'Register', 'Reregister' + :type operation_type: str or + ~azure.mgmt.recoveryservicesbackup.models.OperationType """ _validation = { @@ -62,8 +67,9 @@ class AzureVMAppContainerProtectionContainer(AzureWorkloadContainer): 'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'}, 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadContainerExtendedInfo'}, 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, } - def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, source_resource_id: str=None, last_updated_time=None, extended_info=None, workload_type=None, **kwargs) -> None: - super(AzureVMAppContainerProtectionContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, source_resource_id=source_resource_id, last_updated_time=last_updated_time, extended_info=extended_info, workload_type=workload_type, **kwargs) + def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, source_resource_id: str=None, last_updated_time=None, extended_info=None, workload_type=None, operation_type=None, **kwargs) -> None: + super(AzureVMAppContainerProtectionContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, source_resource_id=source_resource_id, last_updated_time=last_updated_time, extended_info=extended_info, workload_type=workload_type, operation_type=operation_type, **kwargs) self.container_type = 'VMAppContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py index 0f564b264244..45055ecaf255 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py @@ -16,7 +16,9 @@ class AzureVmWorkloadItem(WorkloadItem): """Azure VM workload-specific workload item. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + sub-classes are: AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemWorkloadItem, AzureVmWorkloadSQLDatabaseWorkloadItem, AzureVmWorkloadSQLInstanceWorkloadItem @@ -43,11 +45,11 @@ class AzureVmWorkloadItem(WorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ @@ -69,7 +71,7 @@ class AzureVmWorkloadItem(WorkloadItem): } _subtype_map = { - 'workload_item_type': {'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseWorkloadItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemWorkloadItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseWorkloadItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceWorkloadItem'} + 'workload_item_type': {'SAPAseDatabase': 'AzureVmWorkloadSAPAseDatabaseWorkloadItem', 'SAPAseSystem': 'AzureVmWorkloadSAPAseSystemWorkloadItem', 'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseWorkloadItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemWorkloadItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseWorkloadItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceWorkloadItem'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item_py3.py index a927f4ed8011..d701bbdc8caa 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item_py3.py @@ -16,7 +16,9 @@ class AzureVmWorkloadItem(WorkloadItem): """Azure VM workload-specific workload item. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + sub-classes are: AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemWorkloadItem, AzureVmWorkloadSQLDatabaseWorkloadItem, AzureVmWorkloadSQLInstanceWorkloadItem @@ -43,11 +45,11 @@ class AzureVmWorkloadItem(WorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ @@ -69,7 +71,7 @@ class AzureVmWorkloadItem(WorkloadItem): } _subtype_map = { - 'workload_item_type': {'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseWorkloadItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemWorkloadItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseWorkloadItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceWorkloadItem'} + 'workload_item_type': {'SAPAseDatabase': 'AzureVmWorkloadSAPAseDatabaseWorkloadItem', 'SAPAseSystem': 'AzureVmWorkloadSAPAseSystemWorkloadItem', 'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseWorkloadItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemWorkloadItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseWorkloadItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceWorkloadItem'} } def __init__(self, *, backup_management_type: str=None, workload_type: str=None, friendly_name: str=None, protection_state=None, parent_name: str=None, server_name: str=None, is_auto_protectable: bool=None, subinquireditemcount: int=None, sub_workload_item_count: int=None, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py index ebbd977e17c7..1c3287b56982 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py @@ -16,7 +16,9 @@ class AzureVmWorkloadProtectableItem(WorkloadProtectableItem): """Azure VM workload-specific protectable item. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureVmWorkloadSAPHanaDatabaseProtectableItem, + sub-classes are: AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaSystemProtectableItem, AzureVmWorkloadSQLAvailabilityGroupProtectableItem, AzureVmWorkloadSQLDatabaseProtectableItem, @@ -52,11 +54,11 @@ class AzureVmWorkloadProtectableItem(WorkloadProtectableItem): :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: @@ -84,7 +86,7 @@ class AzureVmWorkloadProtectableItem(WorkloadProtectableItem): } _subtype_map = { - 'protectable_item_type': {'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectableItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemProtectableItem', 'SQLAvailabilityGroupContainer': 'AzureVmWorkloadSQLAvailabilityGroupProtectableItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseProtectableItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceProtectableItem'} + 'protectable_item_type': {'SAPAseDatabase': 'AzureVmWorkloadSAPAseDatabaseProtectableItem', 'SAPAseSystem': 'AzureVmWorkloadSAPAseSystemProtectableItem', 'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectableItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemProtectableItem', 'SQLAvailabilityGroupContainer': 'AzureVmWorkloadSQLAvailabilityGroupProtectableItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseProtectableItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceProtectableItem'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item_py3.py index ebfedd0515b2..d892dfb0f616 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item_py3.py @@ -16,7 +16,9 @@ class AzureVmWorkloadProtectableItem(WorkloadProtectableItem): """Azure VM workload-specific protectable item. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureVmWorkloadSAPHanaDatabaseProtectableItem, + sub-classes are: AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaSystemProtectableItem, AzureVmWorkloadSQLAvailabilityGroupProtectableItem, AzureVmWorkloadSQLDatabaseProtectableItem, @@ -52,11 +54,11 @@ class AzureVmWorkloadProtectableItem(WorkloadProtectableItem): :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: @@ -84,7 +86,7 @@ class AzureVmWorkloadProtectableItem(WorkloadProtectableItem): } _subtype_map = { - 'protectable_item_type': {'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectableItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemProtectableItem', 'SQLAvailabilityGroupContainer': 'AzureVmWorkloadSQLAvailabilityGroupProtectableItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseProtectableItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceProtectableItem'} + 'protectable_item_type': {'SAPAseDatabase': 'AzureVmWorkloadSAPAseDatabaseProtectableItem', 'SAPAseSystem': 'AzureVmWorkloadSAPAseSystemProtectableItem', 'SAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectableItem', 'SAPHanaSystem': 'AzureVmWorkloadSAPHanaSystemProtectableItem', 'SQLAvailabilityGroupContainer': 'AzureVmWorkloadSQLAvailabilityGroupProtectableItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseProtectableItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceProtectableItem'} } def __init__(self, *, backup_management_type: str=None, workload_type: str=None, friendly_name: str=None, protection_state=None, parent_name: str=None, parent_unique_name: str=None, server_name: str=None, is_auto_protectable: bool=None, is_auto_protected: bool=None, subinquireditemcount: int=None, subprotectableitemcount: int=None, prebackupvalidation=None, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item.py index e7dce5bb0caf..68772f596a6a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item.py @@ -16,7 +16,9 @@ class AzureVmWorkloadProtectedItem(ProtectedItem): """Azure VM workload-specific protected item. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureVmWorkloadSAPHanaDatabaseProtectedItem + sub-classes are: AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem All required parameters must be populated in order to send to Azure. @@ -29,7 +31,8 @@ class AzureVmWorkloadProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -121,7 +124,7 @@ class AzureVmWorkloadProtectedItem(ProtectedItem): } _subtype_map = { - 'protected_item_type': {'AzureVmWorkloadSAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectedItem'} + 'protected_item_type': {'AzureVmWorkloadSAPAseDatabase': 'AzureVmWorkloadSAPAseDatabaseProtectedItem', 'AzureVmWorkloadSAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectedItem', 'AzureVmWorkloadSQLDatabase': 'AzureVmWorkloadSQLDatabaseProtectedItem'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_py3.py index ae5b7d6cdbd3..6e05d1db2c54 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_py3.py @@ -16,7 +16,9 @@ class AzureVmWorkloadProtectedItem(ProtectedItem): """Azure VM workload-specific protected item. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureVmWorkloadSAPHanaDatabaseProtectedItem + sub-classes are: AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem All required parameters must be populated in order to send to Azure. @@ -29,7 +31,8 @@ class AzureVmWorkloadProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -121,7 +124,7 @@ class AzureVmWorkloadProtectedItem(ProtectedItem): } _subtype_map = { - 'protected_item_type': {'AzureVmWorkloadSAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectedItem'} + 'protected_item_type': {'AzureVmWorkloadSAPAseDatabase': 'AzureVmWorkloadSAPAseDatabaseProtectedItem', 'AzureVmWorkloadSAPHanaDatabase': 'AzureVmWorkloadSAPHanaDatabaseProtectedItem', 'AzureVmWorkloadSQLDatabase': 'AzureVmWorkloadSQLDatabaseProtectedItem'} } def __init__(self, *, backup_management_type=None, workload_type=None, container_name: str=None, source_resource_id: str=None, policy_id: str=None, last_recovery_point=None, backup_set_name: str=None, create_mode=None, friendly_name: str=None, server_name: str=None, parent_name: str=None, parent_type: str=None, protection_status: str=None, protection_state=None, last_backup_status=None, last_backup_time=None, last_backup_error_detail=None, protected_item_data_source_id: str=None, protected_item_health_status=None, extended_info=None, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py index 247776fdb934..96fea487358a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py @@ -24,7 +24,8 @@ class AzureVmWorkloadProtectionPolicy(ProtectionPolicy): :param work_load_type: Type of workload for the backup management. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type work_load_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param settings: Common settings for the backup management diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy_py3.py index 8adaca83759c..8d1c8e7f0786 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy_py3.py @@ -24,7 +24,8 @@ class AzureVmWorkloadProtectionPolicy(ProtectionPolicy): :param work_load_type: Type of workload for the backup management. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type work_load_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param settings: Common settings for the backup management diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protectable_item.py new file mode 100644 index 000000000000..a177f3fbd393 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protectable_item.py @@ -0,0 +1,81 @@ +# 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 .azure_vm_workload_protectable_item import AzureVmWorkloadProtectableItem + + +class AzureVmWorkloadSAPAseDatabaseProtectableItem(AzureVmWorkloadProtectableItem): + """Azure VM workload-specific protectable item representing SAP ASE Database. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Required. Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param is_auto_protected: Indicates if protectable item is auto-protected + :type is_auto_protected: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_unique_name': {'key': 'parentUniqueName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'is_auto_protected': {'key': 'isAutoProtected', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'subprotectableitemcount': {'key': 'subprotectableitemcount', 'type': 'int'}, + 'prebackupvalidation': {'key': 'prebackupvalidation', 'type': 'PreBackupValidation'}, + } + + def __init__(self, **kwargs): + super(AzureVmWorkloadSAPAseDatabaseProtectableItem, self).__init__(**kwargs) + self.protectable_item_type = 'SAPAseDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protectable_item_py3.py new file mode 100644 index 000000000000..53782c011ad7 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protectable_item_py3.py @@ -0,0 +1,81 @@ +# 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 .azure_vm_workload_protectable_item_py3 import AzureVmWorkloadProtectableItem + + +class AzureVmWorkloadSAPAseDatabaseProtectableItem(AzureVmWorkloadProtectableItem): + """Azure VM workload-specific protectable item representing SAP ASE Database. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Required. Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param is_auto_protected: Indicates if protectable item is auto-protected + :type is_auto_protected: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_unique_name': {'key': 'parentUniqueName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'is_auto_protected': {'key': 'isAutoProtected', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'subprotectableitemcount': {'key': 'subprotectableitemcount', 'type': 'int'}, + 'prebackupvalidation': {'key': 'prebackupvalidation', 'type': 'PreBackupValidation'}, + } + + def __init__(self, *, backup_management_type: str=None, workload_type: str=None, friendly_name: str=None, protection_state=None, parent_name: str=None, parent_unique_name: str=None, server_name: str=None, is_auto_protectable: bool=None, is_auto_protected: bool=None, subinquireditemcount: int=None, subprotectableitemcount: int=None, prebackupvalidation=None, **kwargs) -> None: + super(AzureVmWorkloadSAPAseDatabaseProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, parent_unique_name=parent_unique_name, server_name=server_name, is_auto_protectable=is_auto_protectable, is_auto_protected=is_auto_protected, subinquireditemcount=subinquireditemcount, subprotectableitemcount=subprotectableitemcount, prebackupvalidation=prebackupvalidation, **kwargs) + self.protectable_item_type = 'SAPAseDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protected_item.py new file mode 100644 index 000000000000..d5dc39f4e1a1 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protected_item.py @@ -0,0 +1,123 @@ +# 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 .azure_vm_workload_protected_item import AzureVmWorkloadProtectedItem + + +class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem): + """Azure VM workload-specific protected item representing SAP ASE Database. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management for the backed up + item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param workload_type: Type of workload this item represents. Possible + values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', + 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType + :param container_name: Unique name of container + :type container_name: str + :param source_resource_id: ARM ID of the resource to be backed up. + :type source_resource_id: str + :param policy_id: ID of the backup policy with which this item is backed + up. + :type policy_id: str + :param last_recovery_point: Timestamp when the last (latest) backup copy + was created for this backup item. + :type last_recovery_point: datetime + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param create_mode: Create mode to indicate recovery of existing soft + deleted data source or creation of new data source. Possible values + include: 'Invalid', 'Default', 'Recover' + :type create_mode: str or + ~azure.mgmt.recoveryservicesbackup.models.CreateMode + :param protected_item_type: Required. Constant filled by server. + :type protected_item_type: str + :param friendly_name: Friendly name of the DB represented by this backup + item. + :type friendly_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param parent_name: Parent name of the DB such as Instance or Availability + Group. + :type parent_name: str + :param parent_type: Parent type of protected item, example: for a DB, + standalone server or distributed + :type parent_type: str + :param protection_status: Backup status of this backup item. + :type protection_status: str + :param protection_state: Backup state of this backup item. Possible values + include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', + 'ProtectionStopped', 'ProtectionPaused' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState + :param last_backup_status: Last backup operation status. Possible values: + Healthy, Unhealthy. Possible values include: 'Invalid', 'Healthy', + 'Unhealthy', 'IRPending' + :type last_backup_status: str or + ~azure.mgmt.recoveryservicesbackup.models.LastBackupStatus + :param last_backup_time: Timestamp of the last backup operation on this + backup item. + :type last_backup_time: datetime + :param last_backup_error_detail: Error details in last backup + :type last_backup_error_detail: + ~azure.mgmt.recoveryservicesbackup.models.ErrorDetail + :param protected_item_data_source_id: Data ID of the protected item. + :type protected_item_data_source_id: str + :param protected_item_health_status: Health status of the backup item, + evaluated based on last heartbeat received. Possible values include: + 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending' + :type protected_item_health_status: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus + :param extended_info: Additional information for this backup item. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo + """ + + _validation = { + 'protected_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'policy_id': {'key': 'policyId', 'type': 'str'}, + 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, + 'create_mode': {'key': 'createMode', 'type': 'str'}, + 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_type': {'key': 'parentType', 'type': 'str'}, + 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'last_backup_status': {'key': 'lastBackupStatus', 'type': 'str'}, + 'last_backup_time': {'key': 'lastBackupTime', 'type': 'iso-8601'}, + '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'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureVmWorkloadProtectedItemExtendedInfo'}, + } + + def __init__(self, **kwargs): + super(AzureVmWorkloadSAPAseDatabaseProtectedItem, self).__init__(**kwargs) + self.protected_item_type = 'AzureVmWorkloadSAPAseDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protected_item_py3.py new file mode 100644 index 000000000000..a5f69939a58d --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_protected_item_py3.py @@ -0,0 +1,123 @@ +# 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 .azure_vm_workload_protected_item_py3 import AzureVmWorkloadProtectedItem + + +class AzureVmWorkloadSAPAseDatabaseProtectedItem(AzureVmWorkloadProtectedItem): + """Azure VM workload-specific protected item representing SAP ASE Database. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management for the backed up + item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param workload_type: Type of workload this item represents. Possible + values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', + 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType + :param container_name: Unique name of container + :type container_name: str + :param source_resource_id: ARM ID of the resource to be backed up. + :type source_resource_id: str + :param policy_id: ID of the backup policy with which this item is backed + up. + :type policy_id: str + :param last_recovery_point: Timestamp when the last (latest) backup copy + was created for this backup item. + :type last_recovery_point: datetime + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param create_mode: Create mode to indicate recovery of existing soft + deleted data source or creation of new data source. Possible values + include: 'Invalid', 'Default', 'Recover' + :type create_mode: str or + ~azure.mgmt.recoveryservicesbackup.models.CreateMode + :param protected_item_type: Required. Constant filled by server. + :type protected_item_type: str + :param friendly_name: Friendly name of the DB represented by this backup + item. + :type friendly_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param parent_name: Parent name of the DB such as Instance or Availability + Group. + :type parent_name: str + :param parent_type: Parent type of protected item, example: for a DB, + standalone server or distributed + :type parent_type: str + :param protection_status: Backup status of this backup item. + :type protection_status: str + :param protection_state: Backup state of this backup item. Possible values + include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', + 'ProtectionStopped', 'ProtectionPaused' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState + :param last_backup_status: Last backup operation status. Possible values: + Healthy, Unhealthy. Possible values include: 'Invalid', 'Healthy', + 'Unhealthy', 'IRPending' + :type last_backup_status: str or + ~azure.mgmt.recoveryservicesbackup.models.LastBackupStatus + :param last_backup_time: Timestamp of the last backup operation on this + backup item. + :type last_backup_time: datetime + :param last_backup_error_detail: Error details in last backup + :type last_backup_error_detail: + ~azure.mgmt.recoveryservicesbackup.models.ErrorDetail + :param protected_item_data_source_id: Data ID of the protected item. + :type protected_item_data_source_id: str + :param protected_item_health_status: Health status of the backup item, + evaluated based on last heartbeat received. Possible values include: + 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending' + :type protected_item_health_status: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus + :param extended_info: Additional information for this backup item. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo + """ + + _validation = { + 'protected_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'policy_id': {'key': 'policyId', 'type': 'str'}, + 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, + 'create_mode': {'key': 'createMode', 'type': 'str'}, + 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_type': {'key': 'parentType', 'type': 'str'}, + 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'last_backup_status': {'key': 'lastBackupStatus', 'type': 'str'}, + 'last_backup_time': {'key': 'lastBackupTime', 'type': 'iso-8601'}, + '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'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureVmWorkloadProtectedItemExtendedInfo'}, + } + + def __init__(self, *, backup_management_type=None, workload_type=None, container_name: str=None, source_resource_id: str=None, policy_id: str=None, last_recovery_point=None, backup_set_name: str=None, create_mode=None, friendly_name: str=None, server_name: str=None, parent_name: str=None, parent_type: str=None, protection_status: str=None, protection_state=None, last_backup_status=None, last_backup_time=None, last_backup_error_detail=None, protected_item_data_source_id: str=None, protected_item_health_status=None, extended_info=None, **kwargs) -> None: + super(AzureVmWorkloadSAPAseDatabaseProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name, create_mode=create_mode, friendly_name=friendly_name, server_name=server_name, parent_name=parent_name, parent_type=parent_type, protection_status=protection_status, protection_state=protection_state, last_backup_status=last_backup_status, last_backup_time=last_backup_time, last_backup_error_detail=last_backup_error_detail, protected_item_data_source_id=protected_item_data_source_id, protected_item_health_status=protected_item_health_status, extended_info=extended_info, **kwargs) + self.protected_item_type = 'AzureVmWorkloadSAPAseDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_workload_item.py new file mode 100644 index 000000000000..6ef20a56feec --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_workload_item.py @@ -0,0 +1,67 @@ +# 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 .azure_vm_workload_item import AzureVmWorkloadItem + + +class AzureVmWorkloadSAPAseDatabaseWorkloadItem(AzureVmWorkloadItem): + """Azure VM workload-specific workload item representing SAP ASE Database. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Required. Constant filled by server. + :type workload_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if workload item is auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param sub_workload_item_count: For instance or AG, indicates number of + DB's to be protected + :type sub_workload_item_count: int + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'sub_workload_item_count': {'key': 'subWorkloadItemCount', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(AzureVmWorkloadSAPAseDatabaseWorkloadItem, self).__init__(**kwargs) + self.workload_item_type = 'SAPAseDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_workload_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_workload_item_py3.py new file mode 100644 index 000000000000..9296ea4284c0 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_database_workload_item_py3.py @@ -0,0 +1,67 @@ +# 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 .azure_vm_workload_item_py3 import AzureVmWorkloadItem + + +class AzureVmWorkloadSAPAseDatabaseWorkloadItem(AzureVmWorkloadItem): + """Azure VM workload-specific workload item representing SAP ASE Database. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Required. Constant filled by server. + :type workload_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if workload item is auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param sub_workload_item_count: For instance or AG, indicates number of + DB's to be protected + :type sub_workload_item_count: int + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'sub_workload_item_count': {'key': 'subWorkloadItemCount', 'type': 'int'}, + } + + def __init__(self, *, backup_management_type: str=None, workload_type: str=None, friendly_name: str=None, protection_state=None, parent_name: str=None, server_name: str=None, is_auto_protectable: bool=None, subinquireditemcount: int=None, sub_workload_item_count: int=None, **kwargs) -> None: + super(AzureVmWorkloadSAPAseDatabaseWorkloadItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, server_name=server_name, is_auto_protectable=is_auto_protectable, subinquireditemcount=subinquireditemcount, sub_workload_item_count=sub_workload_item_count, **kwargs) + self.workload_item_type = 'SAPAseDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_protectable_item.py new file mode 100644 index 000000000000..47ce5f783547 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_protectable_item.py @@ -0,0 +1,81 @@ +# 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 .azure_vm_workload_protectable_item import AzureVmWorkloadProtectableItem + + +class AzureVmWorkloadSAPAseSystemProtectableItem(AzureVmWorkloadProtectableItem): + """Azure VM workload-specific protectable item representing SAP ASE System. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Required. Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param is_auto_protected: Indicates if protectable item is auto-protected + :type is_auto_protected: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_unique_name': {'key': 'parentUniqueName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'is_auto_protected': {'key': 'isAutoProtected', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'subprotectableitemcount': {'key': 'subprotectableitemcount', 'type': 'int'}, + 'prebackupvalidation': {'key': 'prebackupvalidation', 'type': 'PreBackupValidation'}, + } + + def __init__(self, **kwargs): + super(AzureVmWorkloadSAPAseSystemProtectableItem, self).__init__(**kwargs) + self.protectable_item_type = 'SAPAseSystem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_protectable_item_py3.py new file mode 100644 index 000000000000..d5281c82e7d0 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_protectable_item_py3.py @@ -0,0 +1,81 @@ +# 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 .azure_vm_workload_protectable_item_py3 import AzureVmWorkloadProtectableItem + + +class AzureVmWorkloadSAPAseSystemProtectableItem(AzureVmWorkloadProtectableItem): + """Azure VM workload-specific protectable item representing SAP ASE System. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Required. Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param is_auto_protected: Indicates if protectable item is auto-protected + :type is_auto_protected: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_unique_name': {'key': 'parentUniqueName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'is_auto_protected': {'key': 'isAutoProtected', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'subprotectableitemcount': {'key': 'subprotectableitemcount', 'type': 'int'}, + 'prebackupvalidation': {'key': 'prebackupvalidation', 'type': 'PreBackupValidation'}, + } + + def __init__(self, *, backup_management_type: str=None, workload_type: str=None, friendly_name: str=None, protection_state=None, parent_name: str=None, parent_unique_name: str=None, server_name: str=None, is_auto_protectable: bool=None, is_auto_protected: bool=None, subinquireditemcount: int=None, subprotectableitemcount: int=None, prebackupvalidation=None, **kwargs) -> None: + super(AzureVmWorkloadSAPAseSystemProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, parent_unique_name=parent_unique_name, server_name=server_name, is_auto_protectable=is_auto_protectable, is_auto_protected=is_auto_protected, subinquireditemcount=subinquireditemcount, subprotectableitemcount=subprotectableitemcount, prebackupvalidation=prebackupvalidation, **kwargs) + self.protectable_item_type = 'SAPAseSystem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_workload_item.py new file mode 100644 index 000000000000..db222330a335 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_workload_item.py @@ -0,0 +1,67 @@ +# 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 .azure_vm_workload_item import AzureVmWorkloadItem + + +class AzureVmWorkloadSAPAseSystemWorkloadItem(AzureVmWorkloadItem): + """Azure VM workload-specific workload item representing SAP ASE System. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Required. Constant filled by server. + :type workload_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if workload item is auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param sub_workload_item_count: For instance or AG, indicates number of + DB's to be protected + :type sub_workload_item_count: int + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'sub_workload_item_count': {'key': 'subWorkloadItemCount', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(AzureVmWorkloadSAPAseSystemWorkloadItem, self).__init__(**kwargs) + self.workload_item_type = 'SAPAseSystem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_workload_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_workload_item_py3.py new file mode 100644 index 000000000000..b5f24ce02114 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_ase_system_workload_item_py3.py @@ -0,0 +1,67 @@ +# 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 .azure_vm_workload_item_py3 import AzureVmWorkloadItem + + +class AzureVmWorkloadSAPAseSystemWorkloadItem(AzureVmWorkloadItem): + """Azure VM workload-specific workload item representing SAP ASE System. + + All required parameters must be populated in order to send to Azure. + + :param backup_management_type: Type of backup management to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Required. Constant filled by server. + :type workload_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if workload item is auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param sub_workload_item_count: For instance or AG, indicates number of + DB's to be protected + :type sub_workload_item_count: int + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'sub_workload_item_count': {'key': 'subWorkloadItemCount', 'type': 'int'}, + } + + def __init__(self, *, backup_management_type: str=None, workload_type: str=None, friendly_name: str=None, protection_state=None, parent_name: str=None, server_name: str=None, is_auto_protectable: bool=None, subinquireditemcount: int=None, sub_workload_item_count: int=None, **kwargs) -> None: + super(AzureVmWorkloadSAPAseSystemWorkloadItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, server_name=server_name, is_auto_protectable=is_auto_protectable, subinquireditemcount=subinquireditemcount, sub_workload_item_count=sub_workload_item_count, **kwargs) + self.workload_item_type = 'SAPAseSystem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item.py index 410f9da2ccc1..e5f236107680 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaDatabaseProtectableItem(AzureVmWorkloadProtectableItem): - """Azure VM workload-specific protectable item representing SAP Hana Database. + """Azure VM workload-specific protectable item representing SAP HANA Database. All required parameters must be populated in order to send to Azure. @@ -45,11 +45,11 @@ class AzureVmWorkloadSAPHanaDatabaseProtectableItem(AzureVmWorkloadProtectableIt :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item_py3.py index c07ceb260c15..fb3080a0857f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protectable_item_py3.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaDatabaseProtectableItem(AzureVmWorkloadProtectableItem): - """Azure VM workload-specific protectable item representing SAP Hana Database. + """Azure VM workload-specific protectable item representing SAP HANA Database. All required parameters must be populated in order to send to Azure. @@ -45,11 +45,11 @@ class AzureVmWorkloadSAPHanaDatabaseProtectableItem(AzureVmWorkloadProtectableIt :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item.py index 352d574b75d1..5b81fc46488a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem): - """Azure VM workload-specific protected item representing SAP Hana Database. + """Azure VM workload-specific protected item representing SAP HANA Database. All required parameters must be populated in order to send to Azure. @@ -26,7 +26,8 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item_py3.py index f25d29d651d6..f16aeefd4d5a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_protected_item_py3.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem): - """Azure VM workload-specific protected item representing SAP Hana Database. + """Azure VM workload-specific protected item representing SAP HANA Database. All required parameters must be populated in order to send to Azure. @@ -26,7 +26,8 @@ class AzureVmWorkloadSAPHanaDatabaseProtectedItem(AzureVmWorkloadProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item.py index 41f935908e1a..6640658e44be 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaDatabaseWorkloadItem(AzureVmWorkloadItem): - """Azure VM workload-specific workload item representing SAP Hana Database. + """Azure VM workload-specific workload item representing SAP HANA Database. All required parameters must be populated in order to send to Azure. @@ -37,11 +37,11 @@ class AzureVmWorkloadSAPHanaDatabaseWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item_py3.py index b79bec3f7600..7cffefdfff91 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_database_workload_item_py3.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaDatabaseWorkloadItem(AzureVmWorkloadItem): - """Azure VM workload-specific workload item representing SAP Hana Database. + """Azure VM workload-specific workload item representing SAP HANA Database. All required parameters must be populated in order to send to Azure. @@ -37,11 +37,11 @@ class AzureVmWorkloadSAPHanaDatabaseWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item.py index cd62054da303..3ce78b508c5d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaSystemProtectableItem(AzureVmWorkloadProtectableItem): - """Azure VM workload-specific protectable item representing SAP Hana System. + """Azure VM workload-specific protectable item representing SAP HANA System. All required parameters must be populated in order to send to Azure. @@ -45,11 +45,11 @@ class AzureVmWorkloadSAPHanaSystemProtectableItem(AzureVmWorkloadProtectableItem :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item_py3.py index b4b85c9292a1..8f4cf828beb2 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_protectable_item_py3.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaSystemProtectableItem(AzureVmWorkloadProtectableItem): - """Azure VM workload-specific protectable item representing SAP Hana System. + """Azure VM workload-specific protectable item representing SAP HANA System. All required parameters must be populated in order to send to Azure. @@ -45,11 +45,11 @@ class AzureVmWorkloadSAPHanaSystemProtectableItem(AzureVmWorkloadProtectableItem :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item.py index adef0a57f0f3..be61eced7489 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaSystemWorkloadItem(AzureVmWorkloadItem): - """Azure VM workload-specific workload item representing SAP Hana System. + """Azure VM workload-specific workload item representing SAP HANA System. All required parameters must be populated in order to send to Azure. @@ -37,11 +37,11 @@ class AzureVmWorkloadSAPHanaSystemWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item_py3.py index 0a28e2890f12..d691adba6386 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sap_hana_system_workload_item_py3.py @@ -13,7 +13,7 @@ class AzureVmWorkloadSAPHanaSystemWorkloadItem(AzureVmWorkloadItem): - """Azure VM workload-specific workload item representing SAP Hana System. + """Azure VM workload-specific workload item representing SAP HANA System. All required parameters must be populated in order to send to Azure. @@ -37,11 +37,11 @@ class AzureVmWorkloadSAPHanaSystemWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py index 9532d4bf6f21..eaffffe6c32f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py @@ -46,11 +46,11 @@ class AzureVmWorkloadSQLAvailabilityGroupProtectableItem(AzureVmWorkloadProtecta :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item_py3.py index 1c18abc093d0..b702e5228488 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item_py3.py @@ -46,11 +46,11 @@ class AzureVmWorkloadSQLAvailabilityGroupProtectableItem(AzureVmWorkloadProtecta :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py index f4e67c5cfffd..06d4b8dc5df7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py @@ -45,11 +45,11 @@ class AzureVmWorkloadSQLDatabaseProtectableItem(AzureVmWorkloadProtectableItem): :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item_py3.py index f582ad191fce..f8d42108c9af 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item_py3.py @@ -45,11 +45,11 @@ class AzureVmWorkloadSQLDatabaseProtectableItem(AzureVmWorkloadProtectableItem): :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py index 0de6671e9944..f92f220aa3a4 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .protected_item import ProtectedItem +from .azure_vm_workload_protected_item import AzureVmWorkloadProtectedItem -class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): +class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem): """Azure VM workload-specific protected item representing SQL Database. All required parameters must be populated in order to send to Azure. @@ -26,7 +26,8 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -56,7 +57,8 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): :param parent_name: Parent name of the DB such as Instance or Availability Group. :type parent_name: str - :param parent_type: Parent type of DB, SQLAG or StandAlone + :param parent_type: Parent type of protected item, example: for a DB, + standalone server or distributed :type parent_type: str :param protection_status: Backup status of this backup item. :type protection_status: str @@ -118,16 +120,4 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): def __init__(self, **kwargs): super(AzureVmWorkloadSQLDatabaseProtectedItem, self).__init__(**kwargs) - self.friendly_name = kwargs.get('friendly_name', None) - self.server_name = kwargs.get('server_name', None) - self.parent_name = kwargs.get('parent_name', None) - self.parent_type = kwargs.get('parent_type', None) - self.protection_status = kwargs.get('protection_status', None) - self.protection_state = kwargs.get('protection_state', None) - self.last_backup_status = kwargs.get('last_backup_status', None) - self.last_backup_time = kwargs.get('last_backup_time', None) - 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.extended_info = kwargs.get('extended_info', None) self.protected_item_type = 'AzureVmWorkloadSQLDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item_py3.py index f7050a320dbf..10bbb71eccc8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .protected_item_py3 import ProtectedItem +from .azure_vm_workload_protected_item_py3 import AzureVmWorkloadProtectedItem -class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): +class AzureVmWorkloadSQLDatabaseProtectedItem(AzureVmWorkloadProtectedItem): """Azure VM workload-specific protected item representing SQL Database. All required parameters must be populated in order to send to Azure. @@ -26,7 +26,8 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -56,7 +57,8 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): :param parent_name: Parent name of the DB such as Instance or Availability Group. :type parent_name: str - :param parent_type: Parent type of DB, SQLAG or StandAlone + :param parent_type: Parent type of protected item, example: for a DB, + standalone server or distributed :type parent_type: str :param protection_status: Backup status of this backup item. :type protection_status: str @@ -117,17 +119,5 @@ class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): } def __init__(self, *, backup_management_type=None, workload_type=None, container_name: str=None, source_resource_id: str=None, policy_id: str=None, last_recovery_point=None, backup_set_name: str=None, create_mode=None, friendly_name: str=None, server_name: str=None, parent_name: str=None, parent_type: str=None, protection_status: str=None, protection_state=None, last_backup_status=None, last_backup_time=None, last_backup_error_detail=None, protected_item_data_source_id: str=None, protected_item_health_status=None, extended_info=None, **kwargs) -> None: - super(AzureVmWorkloadSQLDatabaseProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name, create_mode=create_mode, **kwargs) - self.friendly_name = friendly_name - self.server_name = server_name - self.parent_name = parent_name - self.parent_type = parent_type - self.protection_status = protection_status - self.protection_state = protection_state - self.last_backup_status = last_backup_status - self.last_backup_time = last_backup_time - self.last_backup_error_detail = last_backup_error_detail - self.protected_item_data_source_id = protected_item_data_source_id - self.protected_item_health_status = protected_item_health_status - self.extended_info = extended_info + super(AzureVmWorkloadSQLDatabaseProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name, create_mode=create_mode, friendly_name=friendly_name, server_name=server_name, parent_name=parent_name, parent_type=parent_type, protection_status=protection_status, protection_state=protection_state, last_backup_status=last_backup_status, last_backup_time=last_backup_time, last_backup_error_detail=last_backup_error_detail, protected_item_data_source_id=protected_item_data_source_id, protected_item_health_status=protected_item_health_status, extended_info=extended_info, **kwargs) self.protected_item_type = 'AzureVmWorkloadSQLDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py index 9c11fc816f42..3a4dbadbb135 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py @@ -37,11 +37,11 @@ class AzureVmWorkloadSQLDatabaseWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item_py3.py index ea06bbcac4a4..1842264375bf 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item_py3.py @@ -37,11 +37,11 @@ class AzureVmWorkloadSQLDatabaseWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py index e727013a842d..52b83578791e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py @@ -45,11 +45,11 @@ class AzureVmWorkloadSQLInstanceProtectableItem(AzureVmWorkloadProtectableItem): :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item_py3.py index 95fd91555256..3016a3faeb03 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item_py3.py @@ -45,11 +45,11 @@ class AzureVmWorkloadSQLInstanceProtectableItem(AzureVmWorkloadProtectableItem): :type is_auto_protectable: bool :param is_auto_protected: Indicates if protectable item is auto-protected :type is_auto_protected: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param subprotectableitemcount: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type subprotectableitemcount: int :param prebackupvalidation: Pre-backup validation for protectable objects :type prebackupvalidation: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py index 3f186bee1ad0..81a8a72c7804 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py @@ -37,11 +37,11 @@ class AzureVmWorkloadSQLInstanceWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int :param data_directory_paths: Data Directory Paths for default directories :type data_directory_paths: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item_py3.py index daa0da6bca14..9b838c052b7b 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item_py3.py @@ -37,11 +37,11 @@ class AzureVmWorkloadSQLInstanceWorkloadItem(AzureVmWorkloadItem): :type server_name: str :param is_auto_protectable: Indicates if workload item is auto-protectable :type is_auto_protectable: bool - :param subinquireditemcount: For instance or AG, indicates number of DBs + :param subinquireditemcount: For instance or AG, indicates number of DB's present :type subinquireditemcount: int :param sub_workload_item_count: For instance or AG, indicates number of - DBs to be protected + DB's to be protected :type sub_workload_item_count: int :param data_directory_paths: Data Directory Paths for default directories :type data_directory_paths: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py index 00ee2ff09b66..d1cc0f6b6a63 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py @@ -48,9 +48,14 @@ class AzureWorkloadContainer(ProtectionContainer): :param workload_type: Workload type for which registration was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param operation_type: Re-Do Operation. Possible values include: + 'Invalid', 'Register', 'Reregister' + :type operation_type: str or + ~azure.mgmt.recoveryservicesbackup.models.OperationType """ _validation = { @@ -67,6 +72,7 @@ class AzureWorkloadContainer(ProtectionContainer): 'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'}, 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadContainerExtendedInfo'}, 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, } _subtype_map = { @@ -79,4 +85,5 @@ def __init__(self, **kwargs): self.last_updated_time = kwargs.get('last_updated_time', None) self.extended_info = kwargs.get('extended_info', None) self.workload_type = kwargs.get('workload_type', None) - self.container_type = 'AzureWorkloadBackupRequest' + self.operation_type = kwargs.get('operation_type', None) + self.container_type = 'AzureWorkloadContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_py3.py index acaa2dfaadc6..a354a4864901 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_py3.py @@ -48,9 +48,14 @@ class AzureWorkloadContainer(ProtectionContainer): :param workload_type: Workload type for which registration was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param operation_type: Re-Do Operation. Possible values include: + 'Invalid', 'Register', 'Reregister' + :type operation_type: str or + ~azure.mgmt.recoveryservicesbackup.models.OperationType """ _validation = { @@ -67,16 +72,18 @@ class AzureWorkloadContainer(ProtectionContainer): 'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'}, 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadContainerExtendedInfo'}, 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, } _subtype_map = { 'container_type': {'SQLAGWorkLoadContainer': 'AzureSQLAGWorkloadContainerProtectionContainer', 'VMAppContainer': 'AzureVMAppContainerProtectionContainer'} } - def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, source_resource_id: str=None, last_updated_time=None, extended_info=None, workload_type=None, **kwargs) -> None: + def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, source_resource_id: str=None, last_updated_time=None, extended_info=None, workload_type=None, operation_type=None, **kwargs) -> None: super(AzureWorkloadContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, **kwargs) self.source_resource_id = source_resource_id self.last_updated_time = last_updated_time self.extended_info = extended_info self.workload_type = workload_type - self.container_type = 'AzureWorkloadBackupRequest' + self.operation_type = operation_type + self.container_type = 'AzureWorkloadContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_recovery_point.py new file mode 100644 index 000000000000..e6841ff34611 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_recovery_point.py @@ -0,0 +1,55 @@ +# 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 .azure_workload_recovery_point import AzureWorkloadRecoveryPoint + + +class AzureWorkloadPointInTimeRecoveryPoint(AzureWorkloadRecoveryPoint): + """Recovery point specific to PointInTime. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureWorkloadSAPHanaPointInTimeRecoveryPoint + + All required parameters must be populated in order to send to Azure. + + :param object_type: Required. Constant filled by server. + :type object_type: str + :param recovery_point_time_in_utc: UTC time at which recoverypoint was + created + :type recovery_point_time_in_utc: datetime + :param type: Type of restore point. Possible values include: 'Invalid', + 'Full', 'Log', 'Differential' + :type type: str or + ~azure.mgmt.recoveryservicesbackup.models.RestorePointType + :param time_ranges: List of log ranges + :type time_ranges: + list[~azure.mgmt.recoveryservicesbackup.models.PointInTimeRange] + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_point_time_in_utc': {'key': 'recoveryPointTimeInUTC', 'type': 'iso-8601'}, + 'type': {'key': 'type', 'type': 'str'}, + 'time_ranges': {'key': 'timeRanges', 'type': '[PointInTimeRange]'}, + } + + _subtype_map = { + 'object_type': {'AzureWorkloadSAPHanaPointInTimeRecoveryPoint': 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint'} + } + + def __init__(self, **kwargs): + super(AzureWorkloadPointInTimeRecoveryPoint, self).__init__(**kwargs) + self.time_ranges = kwargs.get('time_ranges', None) + self.object_type = 'AzureWorkloadPointInTimeRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_recovery_point_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_recovery_point_py3.py new file mode 100644 index 000000000000..3b4aa333860c --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_recovery_point_py3.py @@ -0,0 +1,55 @@ +# 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 .azure_workload_recovery_point_py3 import AzureWorkloadRecoveryPoint + + +class AzureWorkloadPointInTimeRecoveryPoint(AzureWorkloadRecoveryPoint): + """Recovery point specific to PointInTime. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureWorkloadSAPHanaPointInTimeRecoveryPoint + + All required parameters must be populated in order to send to Azure. + + :param object_type: Required. Constant filled by server. + :type object_type: str + :param recovery_point_time_in_utc: UTC time at which recoverypoint was + created + :type recovery_point_time_in_utc: datetime + :param type: Type of restore point. Possible values include: 'Invalid', + 'Full', 'Log', 'Differential' + :type type: str or + ~azure.mgmt.recoveryservicesbackup.models.RestorePointType + :param time_ranges: List of log ranges + :type time_ranges: + list[~azure.mgmt.recoveryservicesbackup.models.PointInTimeRange] + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_point_time_in_utc': {'key': 'recoveryPointTimeInUTC', 'type': 'iso-8601'}, + 'type': {'key': 'type', 'type': 'str'}, + 'time_ranges': {'key': 'timeRanges', 'type': '[PointInTimeRange]'}, + } + + _subtype_map = { + 'object_type': {'AzureWorkloadSAPHanaPointInTimeRecoveryPoint': 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint'} + } + + def __init__(self, *, recovery_point_time_in_utc=None, type=None, time_ranges=None, **kwargs) -> None: + super(AzureWorkloadPointInTimeRecoveryPoint, self).__init__(recovery_point_time_in_utc=recovery_point_time_in_utc, type=type, **kwargs) + self.time_ranges = time_ranges + self.object_type = 'AzureWorkloadPointInTimeRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_restore_request.py new file mode 100644 index 000000000000..ae73be06d4f1 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_restore_request.py @@ -0,0 +1,56 @@ +# 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 .azure_workload_restore_request import AzureWorkloadRestoreRequest + + +class AzureWorkloadPointInTimeRestoreRequest(AzureWorkloadRestoreRequest): + """AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log + restore. + + All required parameters must be populated in order to send to Azure. + + :param object_type: Required. Constant filled by server. + :type object_type: str + :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible + values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', + 'RestoreDisks' + :type recovery_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryType + :param source_resource_id: Fully qualified ARM ID of the VM on which + workload that was running is being recovered. + :type source_resource_id: str + :param property_bag: Workload specific property bag. + :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo + :param point_in_time: PointInTime value + :type point_in_time: datetime + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, + 'point_in_time': {'key': 'pointInTime', 'type': 'iso-8601'}, + } + + def __init__(self, **kwargs): + super(AzureWorkloadPointInTimeRestoreRequest, self).__init__(**kwargs) + self.point_in_time = kwargs.get('point_in_time', None) + self.object_type = 'AzureWorkloadPointInTimeRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_restore_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_restore_request_py3.py new file mode 100644 index 000000000000..23f9b830d249 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_point_in_time_restore_request_py3.py @@ -0,0 +1,56 @@ +# 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 .azure_workload_restore_request_py3 import AzureWorkloadRestoreRequest + + +class AzureWorkloadPointInTimeRestoreRequest(AzureWorkloadRestoreRequest): + """AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log + restore. + + All required parameters must be populated in order to send to Azure. + + :param object_type: Required. Constant filled by server. + :type object_type: str + :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible + values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', + 'RestoreDisks' + :type recovery_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryType + :param source_resource_id: Fully qualified ARM ID of the VM on which + workload that was running is being recovered. + :type source_resource_id: str + :param property_bag: Workload specific property bag. + :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo + :param point_in_time: PointInTime value + :type point_in_time: datetime + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, + 'point_in_time': {'key': 'pointInTime', 'type': 'iso-8601'}, + } + + def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, target_info=None, point_in_time=None, **kwargs) -> None: + super(AzureWorkloadPointInTimeRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, target_info=target_info, **kwargs) + self.point_in_time = point_in_time + self.object_type = 'AzureWorkloadPointInTimeRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py index 0cf44ccdc8be..c3798dcc3374 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py @@ -17,13 +17,14 @@ class AzureWorkloadRecoveryPoint(RecoveryPoint): recovery point. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureWorkloadSQLRecoveryPoint + sub-classes are: AzureWorkloadPointInTimeRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, AzureWorkloadSQLRecoveryPoint All required parameters must be populated in order to send to Azure. :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', @@ -43,7 +44,7 @@ class AzureWorkloadRecoveryPoint(RecoveryPoint): } _subtype_map = { - 'object_type': {'AzureWorkloadSQLRecoveryPoint': 'AzureWorkloadSQLRecoveryPoint'} + 'object_type': {'AzureWorkloadPointInTimeRecoveryPoint': 'AzureWorkloadPointInTimeRecoveryPoint', 'AzureWorkloadSAPHanaRecoveryPoint': 'AzureWorkloadSAPHanaRecoveryPoint', 'AzureWorkloadSQLRecoveryPoint': 'AzureWorkloadSQLRecoveryPoint'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point_py3.py index 38ca763bda7c..ee98bdd26a25 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point_py3.py @@ -17,13 +17,14 @@ class AzureWorkloadRecoveryPoint(RecoveryPoint): recovery point. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureWorkloadSQLRecoveryPoint + sub-classes are: AzureWorkloadPointInTimeRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, AzureWorkloadSQLRecoveryPoint All required parameters must be populated in order to send to Azure. :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', @@ -43,7 +44,7 @@ class AzureWorkloadRecoveryPoint(RecoveryPoint): } _subtype_map = { - 'object_type': {'AzureWorkloadSQLRecoveryPoint': 'AzureWorkloadSQLRecoveryPoint'} + 'object_type': {'AzureWorkloadPointInTimeRecoveryPoint': 'AzureWorkloadPointInTimeRecoveryPoint', 'AzureWorkloadSAPHanaRecoveryPoint': 'AzureWorkloadSAPHanaRecoveryPoint', 'AzureWorkloadSQLRecoveryPoint': 'AzureWorkloadSQLRecoveryPoint'} } def __init__(self, *, recovery_point_time_in_utc=None, type=None, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py index e43a62db1768..83c89169c229 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py @@ -16,7 +16,8 @@ class AzureWorkloadRestoreRequest(RestoreRequest): """AzureWorkload-specific restore. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureWorkloadSQLRestoreRequest + sub-classes are: AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLRestoreRequest All required parameters must be populated in order to send to Azure. @@ -32,6 +33,9 @@ class AzureWorkloadRestoreRequest(RestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo """ _validation = { @@ -43,10 +47,11 @@ class AzureWorkloadRestoreRequest(RestoreRequest): 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, } _subtype_map = { - 'object_type': {'AzureWorkloadSQLRestoreRequest': 'AzureWorkloadSQLRestoreRequest'} + 'object_type': {'AzureWorkloadPointInTimeRestoreRequest': 'AzureWorkloadPointInTimeRestoreRequest', 'AzureWorkloadSAPHanaRestoreRequest': 'AzureWorkloadSAPHanaRestoreRequest', 'AzureWorkloadSQLRestoreRequest': 'AzureWorkloadSQLRestoreRequest'} } def __init__(self, **kwargs): @@ -54,4 +59,5 @@ def __init__(self, **kwargs): self.recovery_type = kwargs.get('recovery_type', None) self.source_resource_id = kwargs.get('source_resource_id', None) self.property_bag = kwargs.get('property_bag', None) + self.target_info = kwargs.get('target_info', None) self.object_type = 'AzureWorkloadRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request_py3.py index ad4b341ec594..6052a34438ec 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request_py3.py @@ -16,7 +16,8 @@ class AzureWorkloadRestoreRequest(RestoreRequest): """AzureWorkload-specific restore. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureWorkloadSQLRestoreRequest + sub-classes are: AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLRestoreRequest All required parameters must be populated in order to send to Azure. @@ -32,6 +33,9 @@ class AzureWorkloadRestoreRequest(RestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo """ _validation = { @@ -43,15 +47,17 @@ class AzureWorkloadRestoreRequest(RestoreRequest): 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, } _subtype_map = { - 'object_type': {'AzureWorkloadSQLRestoreRequest': 'AzureWorkloadSQLRestoreRequest'} + 'object_type': {'AzureWorkloadPointInTimeRestoreRequest': 'AzureWorkloadPointInTimeRestoreRequest', 'AzureWorkloadSAPHanaRestoreRequest': 'AzureWorkloadSAPHanaRestoreRequest', 'AzureWorkloadSQLRestoreRequest': 'AzureWorkloadSQLRestoreRequest'} } - def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, **kwargs) -> None: + def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, target_info=None, **kwargs) -> None: super(AzureWorkloadRestoreRequest, self).__init__(**kwargs) self.recovery_type = recovery_type self.source_resource_id = source_resource_id self.property_bag = property_bag + self.target_info = target_info self.object_type = 'AzureWorkloadRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point.py index e78f9b05f0a4..e025220cb64d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point.py @@ -9,17 +9,17 @@ # regenerated. # -------------------------------------------------------------------------- -from .azure_workload_sap_hana_recovery_point import AzureWorkloadSAPHanaRecoveryPoint +from .azure_workload_point_in_time_recovery_point import AzureWorkloadPointInTimeRecoveryPoint -class AzureWorkloadSAPHanaPointInTimeRecoveryPoint(AzureWorkloadSAPHanaRecoveryPoint): +class AzureWorkloadSAPHanaPointInTimeRecoveryPoint(AzureWorkloadPointInTimeRecoveryPoint): """Recovery point specific to PointInTime in SAPHana. All required parameters must be populated in order to send to Azure. :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', @@ -44,5 +44,4 @@ class AzureWorkloadSAPHanaPointInTimeRecoveryPoint(AzureWorkloadSAPHanaRecoveryP def __init__(self, **kwargs): super(AzureWorkloadSAPHanaPointInTimeRecoveryPoint, self).__init__(**kwargs) - self.time_ranges = kwargs.get('time_ranges', None) self.object_type = 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point_py3.py index 7bddf617a6e7..02dccd01bae7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_recovery_point_py3.py @@ -9,17 +9,17 @@ # regenerated. # -------------------------------------------------------------------------- -from .azure_workload_sap_hana_recovery_point_py3 import AzureWorkloadSAPHanaRecoveryPoint +from .azure_workload_point_in_time_recovery_point_py3 import AzureWorkloadPointInTimeRecoveryPoint -class AzureWorkloadSAPHanaPointInTimeRecoveryPoint(AzureWorkloadSAPHanaRecoveryPoint): +class AzureWorkloadSAPHanaPointInTimeRecoveryPoint(AzureWorkloadPointInTimeRecoveryPoint): """Recovery point specific to PointInTime in SAPHana. All required parameters must be populated in order to send to Azure. :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', @@ -43,6 +43,5 @@ class AzureWorkloadSAPHanaPointInTimeRecoveryPoint(AzureWorkloadSAPHanaRecoveryP } def __init__(self, *, recovery_point_time_in_utc=None, type=None, time_ranges=None, **kwargs) -> None: - super(AzureWorkloadSAPHanaPointInTimeRecoveryPoint, self).__init__(recovery_point_time_in_utc=recovery_point_time_in_utc, type=type, **kwargs) - self.time_ranges = time_ranges + super(AzureWorkloadSAPHanaPointInTimeRecoveryPoint, self).__init__(recovery_point_time_in_utc=recovery_point_time_in_utc, type=type, time_ranges=time_ranges, **kwargs) self.object_type = 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request.py index 1f6d8744b99f..9dcde716bc62 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request.py @@ -20,9 +20,6 @@ class AzureWorkloadSAPHanaPointInTimeRestoreRequest(AzureWorkloadSAPHanaRestoreR :param object_type: Required. Constant filled by server. :type object_type: str - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks' @@ -33,6 +30,9 @@ class AzureWorkloadSAPHanaPointInTimeRestoreRequest(AzureWorkloadSAPHanaRestoreR :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param point_in_time: PointInTime value :type point_in_time: datetime """ @@ -43,10 +43,10 @@ class AzureWorkloadSAPHanaPointInTimeRestoreRequest(AzureWorkloadSAPHanaRestoreR _attribute_map = { 'object_type': {'key': 'objectType', 'type': 'str'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'point_in_time': {'key': 'pointInTime', 'type': 'iso-8601'}, } diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request_py3.py index b412d4b441a9..1205ea8dbac8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_point_in_time_restore_request_py3.py @@ -20,9 +20,6 @@ class AzureWorkloadSAPHanaPointInTimeRestoreRequest(AzureWorkloadSAPHanaRestoreR :param object_type: Required. Constant filled by server. :type object_type: str - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks' @@ -33,6 +30,9 @@ class AzureWorkloadSAPHanaPointInTimeRestoreRequest(AzureWorkloadSAPHanaRestoreR :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param point_in_time: PointInTime value :type point_in_time: datetime """ @@ -43,14 +43,14 @@ class AzureWorkloadSAPHanaPointInTimeRestoreRequest(AzureWorkloadSAPHanaRestoreR _attribute_map = { 'object_type': {'key': 'objectType', 'type': 'str'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'point_in_time': {'key': 'pointInTime', 'type': 'iso-8601'}, } - def __init__(self, *, target_info=None, recovery_type=None, source_resource_id: str=None, property_bag=None, point_in_time=None, **kwargs) -> None: - super(AzureWorkloadSAPHanaPointInTimeRestoreRequest, self).__init__(target_info=target_info, recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, **kwargs) + def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, target_info=None, point_in_time=None, **kwargs) -> None: + super(AzureWorkloadSAPHanaPointInTimeRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, target_info=target_info, **kwargs) self.point_in_time = point_in_time self.object_type = 'AzureWorkloadSAPHanaPointInTimeRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point.py index 652f9efef745..fb3bedf4a7f1 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point.py @@ -9,21 +9,18 @@ # regenerated. # -------------------------------------------------------------------------- -from .recovery_point import RecoveryPoint +from .azure_workload_recovery_point import AzureWorkloadRecoveryPoint -class AzureWorkloadSAPHanaRecoveryPoint(RecoveryPoint): - """SAPHana specific recovery point, specifically encapsulates full/diff - recovery points. - - You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureWorkloadSAPHanaPointInTimeRecoveryPoint +class AzureWorkloadSAPHanaRecoveryPoint(AzureWorkloadRecoveryPoint): + """SAPHana specific recoverypoint, specifically encapsulates full/diff + recoverypoints. All required parameters must be populated in order to send to Azure. :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', @@ -42,12 +39,6 @@ class AzureWorkloadSAPHanaRecoveryPoint(RecoveryPoint): 'type': {'key': 'type', 'type': 'str'}, } - _subtype_map = { - 'object_type': {'AzureWorkloadSAPHanaPointInTimeRecoveryPoint': 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint'} - } - def __init__(self, **kwargs): super(AzureWorkloadSAPHanaRecoveryPoint, self).__init__(**kwargs) - self.recovery_point_time_in_utc = kwargs.get('recovery_point_time_in_utc', None) - self.type = kwargs.get('type', None) self.object_type = 'AzureWorkloadSAPHanaRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point_py3.py index 9bc237eb7a78..5a30d235bc57 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_recovery_point_py3.py @@ -9,21 +9,18 @@ # regenerated. # -------------------------------------------------------------------------- -from .recovery_point_py3 import RecoveryPoint +from .azure_workload_recovery_point_py3 import AzureWorkloadRecoveryPoint -class AzureWorkloadSAPHanaRecoveryPoint(RecoveryPoint): - """SAPHana specific recovery point, specifically encapsulates full/diff - recovery points. - - You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureWorkloadSAPHanaPointInTimeRecoveryPoint +class AzureWorkloadSAPHanaRecoveryPoint(AzureWorkloadRecoveryPoint): + """SAPHana specific recoverypoint, specifically encapsulates full/diff + recoverypoints. All required parameters must be populated in order to send to Azure. :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', @@ -42,12 +39,6 @@ class AzureWorkloadSAPHanaRecoveryPoint(RecoveryPoint): 'type': {'key': 'type', 'type': 'str'}, } - _subtype_map = { - 'object_type': {'AzureWorkloadSAPHanaPointInTimeRecoveryPoint': 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint'} - } - def __init__(self, *, recovery_point_time_in_utc=None, type=None, **kwargs) -> None: - super(AzureWorkloadSAPHanaRecoveryPoint, self).__init__(**kwargs) - self.recovery_point_time_in_utc = recovery_point_time_in_utc - self.type = type + super(AzureWorkloadSAPHanaRecoveryPoint, self).__init__(recovery_point_time_in_utc=recovery_point_time_in_utc, type=type, **kwargs) self.object_type = 'AzureWorkloadSAPHanaRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request.py index f7242faaca25..d57362de6681 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .restore_request import RestoreRequest +from .azure_workload_restore_request import AzureWorkloadRestoreRequest -class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): +class AzureWorkloadSAPHanaRestoreRequest(AzureWorkloadRestoreRequest): """AzureWorkload SAP Hana-specific restore. You probably want to use the sub-classes and not this class directly. Known @@ -22,9 +22,6 @@ class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): :param object_type: Required. Constant filled by server. :type object_type: str - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks' @@ -35,6 +32,9 @@ class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo """ _validation = { @@ -43,10 +43,10 @@ class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): _attribute_map = { 'object_type': {'key': 'objectType', 'type': 'str'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, } _subtype_map = { @@ -55,8 +55,4 @@ class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): def __init__(self, **kwargs): super(AzureWorkloadSAPHanaRestoreRequest, self).__init__(**kwargs) - self.target_info = kwargs.get('target_info', None) - self.recovery_type = kwargs.get('recovery_type', None) - self.source_resource_id = kwargs.get('source_resource_id', None) - self.property_bag = kwargs.get('property_bag', None) self.object_type = 'AzureWorkloadSAPHanaRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request_py3.py index c5de6698accb..13c9b74ce8af 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sap_hana_restore_request_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .restore_request_py3 import RestoreRequest +from .azure_workload_restore_request_py3 import AzureWorkloadRestoreRequest -class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): +class AzureWorkloadSAPHanaRestoreRequest(AzureWorkloadRestoreRequest): """AzureWorkload SAP Hana-specific restore. You probably want to use the sub-classes and not this class directly. Known @@ -22,9 +22,6 @@ class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): :param object_type: Required. Constant filled by server. :type object_type: str - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks' @@ -35,6 +32,9 @@ class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo """ _validation = { @@ -43,20 +43,16 @@ class AzureWorkloadSAPHanaRestoreRequest(RestoreRequest): _attribute_map = { 'object_type': {'key': 'objectType', 'type': 'str'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, } _subtype_map = { 'object_type': {'AzureWorkloadSAPHanaPointInTimeRestoreRequest': 'AzureWorkloadSAPHanaPointInTimeRestoreRequest'} } - def __init__(self, *, target_info=None, recovery_type=None, source_resource_id: str=None, property_bag=None, **kwargs) -> None: - super(AzureWorkloadSAPHanaRestoreRequest, self).__init__(**kwargs) - self.target_info = target_info - self.recovery_type = recovery_type - self.source_resource_id = source_resource_id - self.property_bag = property_bag + def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, target_info=None, **kwargs) -> None: + super(AzureWorkloadSAPHanaRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, target_info=target_info, **kwargs) self.object_type = 'AzureWorkloadSAPHanaRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent.py index 907248d89797..ed7a57edd4e2 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent.py @@ -40,7 +40,8 @@ class AzureWorkloadSQLAutoProtectionIntent(AzureWorkloadAutoProtectionIntent): :type protection_intent_item_type: str :param workload_item_type: Workload item type of the item for which intent is to be set. Possible values include: 'Invalid', 'SQLInstance', - 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase' + 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase', 'SAPAseSystem', + 'SAPAseDatabase' :type workload_item_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadItemType """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent_py3.py index 79e21366a50d..efaece32cf72 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_auto_protection_intent_py3.py @@ -40,7 +40,8 @@ class AzureWorkloadSQLAutoProtectionIntent(AzureWorkloadAutoProtectionIntent): :type protection_intent_item_type: str :param workload_item_type: Workload item type of the item for which intent is to be set. Possible values include: 'Invalid', 'SQLInstance', - 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase' + 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase', 'SAPAseSystem', + 'SAPAseDatabase' :type workload_item_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadItemType """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py index dbf4fd6191ac..b4e7793833fd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py @@ -19,7 +19,7 @@ class AzureWorkloadSQLPointInTimeRecoveryPoint(AzureWorkloadSQLRecoveryPoint): :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point_py3.py index 58410e1c744a..8a7f76ab55cd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point_py3.py @@ -19,7 +19,7 @@ class AzureWorkloadSQLPointInTimeRecoveryPoint(AzureWorkloadSQLRecoveryPoint): :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py index 53c86acf62cd..6dc13e0a0600 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py @@ -30,15 +30,15 @@ class AzureWorkloadSQLPointInTimeRestoreRequest(AzureWorkloadSQLRestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param should_use_alternate_target_location: Default option set to true. If this is set to false, alternate data directory must be provided :type should_use_alternate_target_location: bool :param is_non_recoverable: SQL specific property where user can chose to set no-recovery when restore operation is tried :type is_non_recoverable: bool - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param alternate_directory_paths: Data directory details :type alternate_directory_paths: list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryMapping] @@ -55,9 +55,9 @@ class AzureWorkloadSQLPointInTimeRestoreRequest(AzureWorkloadSQLRestoreRequest): 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'should_use_alternate_target_location': {'key': 'shouldUseAlternateTargetLocation', 'type': 'bool'}, 'is_non_recoverable': {'key': 'isNonRecoverable', 'type': 'bool'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'alternate_directory_paths': {'key': 'alternateDirectoryPaths', 'type': '[SQLDataDirectoryMapping]'}, 'point_in_time': {'key': 'pointInTime', 'type': 'iso-8601'}, } diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request_py3.py index 70352a9c2e58..7e06c7899e10 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request_py3.py @@ -30,15 +30,15 @@ class AzureWorkloadSQLPointInTimeRestoreRequest(AzureWorkloadSQLRestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param should_use_alternate_target_location: Default option set to true. If this is set to false, alternate data directory must be provided :type should_use_alternate_target_location: bool :param is_non_recoverable: SQL specific property where user can chose to set no-recovery when restore operation is tried :type is_non_recoverable: bool - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param alternate_directory_paths: Data directory details :type alternate_directory_paths: list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryMapping] @@ -55,14 +55,14 @@ class AzureWorkloadSQLPointInTimeRestoreRequest(AzureWorkloadSQLRestoreRequest): 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'should_use_alternate_target_location': {'key': 'shouldUseAlternateTargetLocation', 'type': 'bool'}, 'is_non_recoverable': {'key': 'isNonRecoverable', 'type': 'bool'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'alternate_directory_paths': {'key': 'alternateDirectoryPaths', 'type': '[SQLDataDirectoryMapping]'}, 'point_in_time': {'key': 'pointInTime', 'type': 'iso-8601'}, } - def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, should_use_alternate_target_location: bool=None, is_non_recoverable: bool=None, target_info=None, alternate_directory_paths=None, point_in_time=None, **kwargs) -> None: - super(AzureWorkloadSQLPointInTimeRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, should_use_alternate_target_location=should_use_alternate_target_location, is_non_recoverable=is_non_recoverable, target_info=target_info, alternate_directory_paths=alternate_directory_paths, **kwargs) + def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, target_info=None, should_use_alternate_target_location: bool=None, is_non_recoverable: bool=None, alternate_directory_paths=None, point_in_time=None, **kwargs) -> None: + super(AzureWorkloadSQLPointInTimeRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, target_info=target_info, should_use_alternate_target_location=should_use_alternate_target_location, is_non_recoverable=is_non_recoverable, alternate_directory_paths=alternate_directory_paths, **kwargs) self.point_in_time = point_in_time self.object_type = 'AzureWorkloadSQLPointInTimeRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py index 2a33680067fd..6c130f95a920 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py @@ -13,8 +13,8 @@ class AzureWorkloadSQLRecoveryPoint(AzureWorkloadRecoveryPoint): - """SQL specific recovery point, specifically encapsulates full/diff recovery - point along with extended info. + """SQL specific recoverypoint, specifically encapsulates full/diff + recoverypoint alongwith extended info. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureWorkloadSQLPointInTimeRecoveryPoint @@ -23,7 +23,7 @@ class AzureWorkloadSQLRecoveryPoint(AzureWorkloadRecoveryPoint): :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_py3.py index c4e5f7e83e4b..493219b5efc0 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_py3.py @@ -13,8 +13,8 @@ class AzureWorkloadSQLRecoveryPoint(AzureWorkloadRecoveryPoint): - """SQL specific recovery point, specifically encapsulates full/diff recovery - point along with extended info. + """SQL specific recoverypoint, specifically encapsulates full/diff + recoverypoint alongwith extended info. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureWorkloadSQLPointInTimeRecoveryPoint @@ -23,7 +23,7 @@ class AzureWorkloadSQLRecoveryPoint(AzureWorkloadRecoveryPoint): :param object_type: Required. Constant filled by server. :type object_type: str - :param recovery_point_time_in_utc: UTC time at which recovery point was + :param recovery_point_time_in_utc: UTC time at which recoverypoint was created :type recovery_point_time_in_utc: datetime :param type: Type of restore point. Possible values include: 'Invalid', diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py index 536e4afe3713..e4bc76311c01 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py @@ -32,15 +32,15 @@ class AzureWorkloadSQLRestoreRequest(AzureWorkloadRestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param should_use_alternate_target_location: Default option set to true. If this is set to false, alternate data directory must be provided :type should_use_alternate_target_location: bool :param is_non_recoverable: SQL specific property where user can chose to set no-recovery when restore operation is tried :type is_non_recoverable: bool - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param alternate_directory_paths: Data directory details :type alternate_directory_paths: list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryMapping] @@ -55,9 +55,9 @@ class AzureWorkloadSQLRestoreRequest(AzureWorkloadRestoreRequest): 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'should_use_alternate_target_location': {'key': 'shouldUseAlternateTargetLocation', 'type': 'bool'}, 'is_non_recoverable': {'key': 'isNonRecoverable', 'type': 'bool'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'alternate_directory_paths': {'key': 'alternateDirectoryPaths', 'type': '[SQLDataDirectoryMapping]'}, } @@ -69,6 +69,5 @@ def __init__(self, **kwargs): super(AzureWorkloadSQLRestoreRequest, self).__init__(**kwargs) self.should_use_alternate_target_location = kwargs.get('should_use_alternate_target_location', None) self.is_non_recoverable = kwargs.get('is_non_recoverable', None) - self.target_info = kwargs.get('target_info', None) self.alternate_directory_paths = kwargs.get('alternate_directory_paths', None) self.object_type = 'AzureWorkloadSQLRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request_py3.py index 711bb4f1d18d..048e4be84559 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request_py3.py @@ -32,15 +32,15 @@ class AzureWorkloadSQLRestoreRequest(AzureWorkloadRestoreRequest): :type source_resource_id: str :param property_bag: Workload specific property bag. :type property_bag: dict[str, str] + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param should_use_alternate_target_location: Default option set to true. If this is set to false, alternate data directory must be provided :type should_use_alternate_target_location: bool :param is_non_recoverable: SQL specific property where user can chose to set no-recovery when restore operation is tried :type is_non_recoverable: bool - :param target_info: Details of target database - :type target_info: - ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo :param alternate_directory_paths: Data directory details :type alternate_directory_paths: list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryMapping] @@ -55,9 +55,9 @@ class AzureWorkloadSQLRestoreRequest(AzureWorkloadRestoreRequest): 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'should_use_alternate_target_location': {'key': 'shouldUseAlternateTargetLocation', 'type': 'bool'}, 'is_non_recoverable': {'key': 'isNonRecoverable', 'type': 'bool'}, - 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, 'alternate_directory_paths': {'key': 'alternateDirectoryPaths', 'type': '[SQLDataDirectoryMapping]'}, } @@ -65,10 +65,9 @@ class AzureWorkloadSQLRestoreRequest(AzureWorkloadRestoreRequest): 'object_type': {'AzureWorkloadSQLPointInTimeRestoreRequest': 'AzureWorkloadSQLPointInTimeRestoreRequest'} } - def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, should_use_alternate_target_location: bool=None, is_non_recoverable: bool=None, target_info=None, alternate_directory_paths=None, **kwargs) -> None: - super(AzureWorkloadSQLRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, **kwargs) + def __init__(self, *, recovery_type=None, source_resource_id: str=None, property_bag=None, target_info=None, should_use_alternate_target_location: bool=None, is_non_recoverable: bool=None, alternate_directory_paths=None, **kwargs) -> None: + super(AzureWorkloadSQLRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, target_info=target_info, **kwargs) self.should_use_alternate_target_location = should_use_alternate_target_location self.is_non_recoverable = is_non_recoverable - self.target_info = target_info self.alternate_directory_paths = alternate_directory_paths self.object_type = 'AzureWorkloadSQLRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py index 1b2f2497470a..0cdb3706c690 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py @@ -52,7 +52,7 @@ class BackupEngineBase(Model): :param is_dpm_upgrade_available: To check if backup engine upgrade available :type is_dpm_upgrade_available: bool - :param extended_info: Extended info of the backup engine + :param extended_info: Extended info of the backupengine :type extended_info: ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo :param backup_engine_type: Required. Constant filled by server. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_py3.py index eef73eeddbb6..ec49d322d2cb 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_py3.py @@ -52,7 +52,7 @@ class BackupEngineBase(Model): :param is_dpm_upgrade_available: To check if backup engine upgrade available :type is_dpm_upgrade_available: bool - :param extended_info: Extended info of the backup engine + :param extended_info: Extended info of the backupengine :type extended_info: ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo :param backup_engine_type: Required. Constant filled by server. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py index 8e76a1f5ed63..77f8334ce9f7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py @@ -25,9 +25,9 @@ class BackupEngineExtendedInfo(Model): :type protected_servers_count: int :param disk_count: Number of disks in the backup engine. :type disk_count: int - :param used_disk_space: Disk space used in the backup engine. + :param used_disk_space: Diskspace used in the backup engine. :type used_disk_space: float - :param available_disk_space: Disk space currently available in the backup + :param available_disk_space: Diskspace currently available in the backup engine. :type available_disk_space: float :param refreshed_at: Last refresh time in the backup engine. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info_py3.py index 1f4b8aa897d0..4631dc11e281 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info_py3.py @@ -25,9 +25,9 @@ class BackupEngineExtendedInfo(Model): :type protected_servers_count: int :param disk_count: Number of disks in the backup engine. :type disk_count: int - :param used_disk_space: Disk space used in the backup engine. + :param used_disk_space: Diskspace used in the backup engine. :type used_disk_space: float - :param available_disk_space: Disk space currently available in the backup + :param available_disk_space: Diskspace currently available in the backup engine. :type available_disk_space: float :param refreshed_at: Last refresh time in the backup engine. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py index e934b546276a..153677245588 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py @@ -18,7 +18,8 @@ class BackupStatusRequest(Model): :param resource_type: Container Type - VM, SQLPaaS, DPM, AzureFileShare. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type resource_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param resource_id: Entire ARM resource id of the resource diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request_py3.py index 0e44817a5133..a387478acab0 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request_py3.py @@ -18,7 +18,8 @@ class BackupStatusRequest(Model): :param resource_type: Container Type - VM, SQLPaaS, DPM, AzureFileShare. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type resource_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param resource_id: Entire ARM resource id of the resource diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object.py index 8894acfa8c49..b52e835b8802 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object.py @@ -24,7 +24,7 @@ class BMSContainersInquiryQueryObject(Model): :param workload_type: Workload type for this container. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object_py3.py index 83eb9355fee5..045e646fd59d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_containers_inquiry_query_object_py3.py @@ -24,7 +24,7 @@ class BMSContainersInquiryQueryObject(Model): :param workload_type: Workload type for this container. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py index f589f05110ad..a9c041020116 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py @@ -22,13 +22,13 @@ class BMSWorkloadItemQueryObject(Model): ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_item_type: Workload Item type. Possible values include: 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', - 'SAPHanaDatabase' + 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase' :type workload_item_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadItemType :param workload_type: Workload type. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - 'AzureFileShare', 'SAPHanaDatabase' + 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param protection_status: Backup status query parameter. Possible values diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object_py3.py index 4e57641ae91e..2648721f5469 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object_py3.py @@ -22,13 +22,13 @@ class BMSWorkloadItemQueryObject(Model): ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_item_type: Workload Item type. Possible values include: 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', - 'SAPHanaDatabase' + 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase' :type workload_item_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadItemType :param workload_type: Workload type. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - 'AzureFileShare', 'SAPHanaDatabase' + 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param protection_status: Backup status query parameter. Possible values diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py index ed0e5762ecf8..e7a9595735b3 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py @@ -23,7 +23,7 @@ class BMSPOQueryObject(Model): :param workload_type: Workload type. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - 'AzureFileShare', 'SAPHanaDatabase' + 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param container_name: Full name of the container whose Protectable diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object_py3.py index a6878de3f045..e06a42e7db08 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object_py3.py @@ -23,7 +23,7 @@ class BMSPOQueryObject(Model): :param workload_type: Workload type. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - 'AzureFileShare', 'SAPHanaDatabase' + 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param container_name: Full name of the container whose Protectable diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py index a4bb71aa83f7..25050f397dc4 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py @@ -27,7 +27,7 @@ class ClientScriptForConnect(Model): :param url: URL of Executable from where to source the content. If this is not null then ScriptContent should not be used :type url: str - :param script_name_suffix: Mandator suffix that should be added to the + :param script_name_suffix: Mandatory suffix that should be added to the name of script that is given for download to user. If its null or empty then , ignore it. :type script_name_suffix: str diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect_py3.py index c43e2efc94ae..5579426064d6 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect_py3.py @@ -27,7 +27,7 @@ class ClientScriptForConnect(Model): :param url: URL of Executable from where to source the content. If this is not null then ScriptContent should not be used :type url: str - :param script_name_suffix: Mandator suffix that should be added to the + :param script_name_suffix: Mandatory suffix that should be added to the name of script that is given for download to user. If its null or empty then , ignore it. :type script_name_suffix: str diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py index bb14b5215172..df5c918d22fd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py @@ -48,7 +48,7 @@ class DpmBackupEngine(BackupEngineBase): :param is_dpm_upgrade_available: To check if backup engine upgrade available :type is_dpm_upgrade_available: bool - :param extended_info: Extended info of the backup engine + :param extended_info: Extended info of the backupengine :type extended_info: ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo :param backup_engine_type: Required. Constant filled by server. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine_py3.py index 672e71064c35..421b22f5a77d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine_py3.py @@ -48,7 +48,7 @@ class DpmBackupEngine(BackupEngineBase): :param is_dpm_upgrade_available: To check if backup engine upgrade available :type is_dpm_upgrade_available: bool - :param extended_info: Extended info of the backup engine + :param extended_info: Extended info of the backupengine :type extended_info: ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo :param backup_engine_type: Required. Constant filled by server. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py index db7f509de847..ae40f50df73b 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py @@ -15,6 +15,9 @@ class DpmContainer(ProtectionContainer): """DPM workload-specific protection container. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureBackupServerContainer + All required parameters must be populated in order to send to Azure. :param friendly_name: Friendly name of the container. @@ -71,6 +74,10 @@ class DpmContainer(ProtectionContainer): 'extended_info': {'key': 'extendedInfo', 'type': 'DPMContainerExtendedInfo'}, } + _subtype_map = { + 'container_type': {'AzureBackupServerContainer': 'AzureBackupServerContainer'} + } + def __init__(self, **kwargs): super(DpmContainer, self).__init__(**kwargs) self.can_re_register = kwargs.get('can_re_register', None) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_py3.py index cbadf57b4190..69ae6c542d08 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_py3.py @@ -15,6 +15,9 @@ class DpmContainer(ProtectionContainer): """DPM workload-specific protection container. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureBackupServerContainer + All required parameters must be populated in order to send to Azure. :param friendly_name: Friendly name of the container. @@ -71,6 +74,10 @@ class DpmContainer(ProtectionContainer): 'extended_info': {'key': 'extendedInfo', 'type': 'DPMContainerExtendedInfo'}, } + _subtype_map = { + 'container_type': {'AzureBackupServerContainer': 'AzureBackupServerContainer'} + } + def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, can_re_register: bool=None, container_id: str=None, protected_item_count: int=None, dpm_agent_version: str=None, dpm_servers=None, upgrade_available: bool=None, protection_status: str=None, extended_info=None, **kwargs) -> None: super(DpmContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, **kwargs) self.can_re_register = can_re_register diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py index 15cb36c5ce14..aae818cf3f35 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py @@ -26,7 +26,8 @@ class DPMProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -53,7 +54,7 @@ class DPMProtectedItem(ProtectedItem): :param backup_engine_name: Backup Management server protecting this backup item :type backup_engine_name: str - :param protection_state: Protection state of the backup engine. Possible + :param protection_state: Protection state of the backupengine. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' :type protection_state: str or diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_py3.py index eb4281548d09..cb443651d2fd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_py3.py @@ -26,7 +26,8 @@ class DPMProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -53,7 +54,7 @@ class DPMProtectedItem(ProtectedItem): :param backup_engine_name: Backup Management server protecting this backup item :type backup_engine_name: str - :param protection_state: Protection state of the backup engine. Possible + :param protection_state: Protection state of the backupengine. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' :type protection_state: str or diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py index ca1e54f677ea..59718cc0c6e4 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py @@ -26,7 +26,8 @@ class GenericProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item_py3.py index d9c3b30ad9c5..e4e2e1734c0f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item_py3.py @@ -26,7 +26,8 @@ class GenericProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py index 48f0b4270830..1f76ecda1280 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py @@ -19,7 +19,7 @@ class KeyAndSecretDetails(Model): 1. Secret(BEK) - Url + Backup Data + vaultId. 2. Key(KEK) - Url + Backup Data + vaultId. 3. EncryptionMechanism - BEK and KEK can potentially have different vault ids. + BEK and KEK can potentiallty have different vault ids. :param kek_details: KEK is encryption key for BEK. :type kek_details: ~azure.mgmt.recoveryservicesbackup.models.KEKDetails diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details_py3.py index 33d587fb4857..370dd2d25f1c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details_py3.py @@ -19,7 +19,7 @@ class KeyAndSecretDetails(Model): 1. Secret(BEK) - Url + Backup Data + vaultId. 2. Key(KEK) - Url + Backup Data + vaultId. 3. EncryptionMechanism - BEK and KEK can potentially have different vault ids. + BEK and KEK can potentiallty have different vault ids. :param kek_details: KEK is encryption key for BEK. :type kek_details: ~azure.mgmt.recoveryservicesbackup.models.KEKDetails diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py index 95ab76b64abc..ea7ea63369ab 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py @@ -21,7 +21,7 @@ class MabContainerExtendedInfo(Model): container. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - 'AzureFileShare', 'SAPHanaDatabase' + 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type backup_item_type: str or ~azure.mgmt.recoveryservicesbackup.models.BackupItemType :param backup_items: List of backup items associated with this container. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info_py3.py index f0d2f50b589c..44bbafd9115f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info_py3.py @@ -21,7 +21,7 @@ class MabContainerExtendedInfo(Model): container. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - 'AzureFileShare', 'SAPHanaDatabase' + 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type backup_item_type: str or ~azure.mgmt.recoveryservicesbackup.models.BackupItemType :param backup_items: List of backup items associated with this container. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py index bf88664f9609..a302f6a11b7d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py @@ -26,7 +26,8 @@ class MabFileFolderProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_py3.py index f4683677aa05..fa7e06b94f75 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_py3.py @@ -26,7 +26,8 @@ class MabFileFolderProtectedItem(ProtectedItem): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py index cde8d9d03e65..e2abececb659 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py @@ -57,7 +57,7 @@ class MabJob(Job): :param workload_type: Workload type of backup item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param error_details: The errors. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_py3.py index 32023956a6da..236e171484fc 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_py3.py @@ -57,7 +57,7 @@ class MabJob(Job): :param workload_type: Workload type of backup item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param error_details: The errors. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py index 2926a069f7c6..9e7420b06a7f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py @@ -23,7 +23,8 @@ class PreValidateEnableBackupRequest(Model): :param resource_type: ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type resource_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param resource_id: ARM Virtual Machine Id diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request_py3.py index 5c5ebdfd7356..8db119f145a0 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request_py3.py @@ -23,7 +23,8 @@ class PreValidateEnableBackupRequest(Model): :param resource_type: ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type resource_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param resource_id: ARM Virtual Machine Id diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py index 420fd0695a81..1127fee72ea7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py @@ -17,8 +17,7 @@ class ProtectedItem(Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureFileshareProtectedItem, AzureIaaSVMProtectedItem, - AzureSqlProtectedItem, AzureVmWorkloadProtectedItem, - AzureVmWorkloadSQLDatabaseProtectedItem, DPMProtectedItem, + AzureSqlProtectedItem, AzureVmWorkloadProtectedItem, DPMProtectedItem, GenericProtectedItem, MabFileFolderProtectedItem All required parameters must be populated in order to send to Azure. @@ -32,7 +31,8 @@ class ProtectedItem(Model): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -73,7 +73,7 @@ class ProtectedItem(Model): } _subtype_map = { - 'protected_item_type': {'AzureFileShareProtectedItem': 'AzureFileshareProtectedItem', 'AzureIaaSVMProtectedItem': 'AzureIaaSVMProtectedItem', 'Microsoft.Sql/servers/databases': 'AzureSqlProtectedItem', 'AzureVmWorkloadProtectedItem': 'AzureVmWorkloadProtectedItem', 'AzureVmWorkloadSQLDatabase': 'AzureVmWorkloadSQLDatabaseProtectedItem', 'DPMProtectedItem': 'DPMProtectedItem', 'GenericProtectedItem': 'GenericProtectedItem', 'MabFileFolderProtectedItem': 'MabFileFolderProtectedItem'} + 'protected_item_type': {'AzureFileShareProtectedItem': 'AzureFileshareProtectedItem', 'AzureIaaSVMProtectedItem': 'AzureIaaSVMProtectedItem', 'Microsoft.Sql/servers/databases': 'AzureSqlProtectedItem', 'AzureVmWorkloadProtectedItem': 'AzureVmWorkloadProtectedItem', 'DPMProtectedItem': 'DPMProtectedItem', 'GenericProtectedItem': 'GenericProtectedItem', 'MabFileFolderProtectedItem': 'MabFileFolderProtectedItem'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_py3.py index 5d7dc0ff8901..953fdc9f15fe 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_py3.py @@ -17,8 +17,7 @@ class ProtectedItem(Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureFileshareProtectedItem, AzureIaaSVMProtectedItem, - AzureSqlProtectedItem, AzureVmWorkloadProtectedItem, - AzureVmWorkloadSQLDatabaseProtectedItem, DPMProtectedItem, + AzureSqlProtectedItem, AzureVmWorkloadProtectedItem, DPMProtectedItem, GenericProtectedItem, MabFileFolderProtectedItem All required parameters must be populated in order to send to Azure. @@ -32,7 +31,8 @@ class ProtectedItem(Model): :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container @@ -73,7 +73,7 @@ class ProtectedItem(Model): } _subtype_map = { - 'protected_item_type': {'AzureFileShareProtectedItem': 'AzureFileshareProtectedItem', 'AzureIaaSVMProtectedItem': 'AzureIaaSVMProtectedItem', 'Microsoft.Sql/servers/databases': 'AzureSqlProtectedItem', 'AzureVmWorkloadProtectedItem': 'AzureVmWorkloadProtectedItem', 'AzureVmWorkloadSQLDatabase': 'AzureVmWorkloadSQLDatabaseProtectedItem', 'DPMProtectedItem': 'DPMProtectedItem', 'GenericProtectedItem': 'GenericProtectedItem', 'MabFileFolderProtectedItem': 'MabFileFolderProtectedItem'} + 'protected_item_type': {'AzureFileShareProtectedItem': 'AzureFileshareProtectedItem', 'AzureIaaSVMProtectedItem': 'AzureIaaSVMProtectedItem', 'Microsoft.Sql/servers/databases': 'AzureSqlProtectedItem', 'AzureVmWorkloadProtectedItem': 'AzureVmWorkloadProtectedItem', 'DPMProtectedItem': 'DPMProtectedItem', 'GenericProtectedItem': 'GenericProtectedItem', 'MabFileFolderProtectedItem': 'MabFileFolderProtectedItem'} } def __init__(self, *, backup_management_type=None, workload_type=None, container_name: str=None, source_resource_id: str=None, policy_id: str=None, last_recovery_point=None, backup_set_name: str=None, create_mode=None, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py index 3e32b9005001..d695e3d42589 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py @@ -28,7 +28,7 @@ class ProtectedItemQueryObject(Model): :param item_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type item_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param policy_name: Backup policy name associated with the backup item. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object_py3.py index b16e9e9c1ef6..2e45b84d2b1b 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object_py3.py @@ -28,7 +28,7 @@ class ProtectedItemQueryObject(Model): :param item_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type item_type: str or ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param policy_name: Backup policy name associated with the backup item. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py index 6f95c4a178e4..d7022590f859 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py @@ -17,9 +17,9 @@ class ProtectionContainer(Model): workloads are derived from this class. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureBackupServerContainer, AzureSqlContainer, - AzureStorageContainer, AzureWorkloadContainer, DpmContainer, - GenericContainer, IaaSVMContainer, MabContainer + sub-classes are: AzureSqlContainer, AzureStorageContainer, + AzureWorkloadContainer, DpmContainer, GenericContainer, IaaSVMContainer, + MabContainer All required parameters must be populated in order to send to Azure. @@ -53,7 +53,7 @@ class ProtectionContainer(Model): } _subtype_map = { - 'container_type': {'AzureBackupServerContainer': 'AzureBackupServerContainer', 'AzureSqlContainer': 'AzureSqlContainer', 'StorageContainer': 'AzureStorageContainer', 'AzureWorkloadBackupRequest': 'AzureWorkloadContainer', 'DPMContainer': 'DpmContainer', 'GenericContainer': 'GenericContainer', 'IaaSVMContainer': 'IaaSVMContainer', 'Windows': 'MabContainer'} + 'container_type': {'AzureSqlContainer': 'AzureSqlContainer', 'StorageContainer': 'AzureStorageContainer', 'AzureWorkloadContainer': 'AzureWorkloadContainer', 'DPMContainer': 'DpmContainer', 'GenericContainer': 'GenericContainer', 'IaaSVMContainer': 'IaaSVMContainer', 'Windows': 'MabContainer'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_py3.py index da03c22cb05d..bbfb15cb9ca9 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_py3.py @@ -17,9 +17,9 @@ class ProtectionContainer(Model): workloads are derived from this class. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AzureBackupServerContainer, AzureSqlContainer, - AzureStorageContainer, AzureWorkloadContainer, DpmContainer, - GenericContainer, IaaSVMContainer, MabContainer + sub-classes are: AzureSqlContainer, AzureStorageContainer, + AzureWorkloadContainer, DpmContainer, GenericContainer, IaaSVMContainer, + MabContainer All required parameters must be populated in order to send to Azure. @@ -53,7 +53,7 @@ class ProtectionContainer(Model): } _subtype_map = { - 'container_type': {'AzureBackupServerContainer': 'AzureBackupServerContainer', 'AzureSqlContainer': 'AzureSqlContainer', 'StorageContainer': 'AzureStorageContainer', 'AzureWorkloadBackupRequest': 'AzureWorkloadContainer', 'DPMContainer': 'DpmContainer', 'GenericContainer': 'GenericContainer', 'IaaSVMContainer': 'IaaSVMContainer', 'Windows': 'MabContainer'} + 'container_type': {'AzureSqlContainer': 'AzureSqlContainer', 'StorageContainer': 'AzureStorageContainer', 'AzureWorkloadContainer': 'AzureWorkloadContainer', 'DPMContainer': 'DpmContainer', 'GenericContainer': 'GenericContainer', 'IaaSVMContainer': 'IaaSVMContainer', 'Windows': 'MabContainer'} } def __init__(self, *, friendly_name: str=None, backup_management_type=None, registration_status: str=None, health_status: str=None, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py index a9a38a9ce79f..6a7c6c3f5217 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py @@ -26,7 +26,7 @@ class ProtectionPolicyQueryObject(Model): :param workload_type: Workload type for the backup policy. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object_py3.py index 075e45e60fa6..c3dc647580d7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object_py3.py @@ -26,7 +26,7 @@ class ProtectionPolicyQueryObject(Model): :param workload_type: Workload type for the backup policy. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' :type workload_type: str or ~azure.mgmt.recoveryservicesbackup.models.WorkloadType """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py index d0c3082d2b15..514f61bbc720 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py @@ -18,8 +18,7 @@ class RecoveryPoint(Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureFileShareRecoveryPoint, AzureWorkloadRecoveryPoint, - AzureWorkloadSAPHanaRecoveryPoint, GenericRecoveryPoint, - IaasVMRecoveryPoint + GenericRecoveryPoint, IaasVMRecoveryPoint All required parameters must be populated in order to send to Azure. @@ -36,7 +35,7 @@ class RecoveryPoint(Model): } _subtype_map = { - 'object_type': {'AzureFileShareRecoveryPoint': 'AzureFileShareRecoveryPoint', 'AzureWorkloadRecoveryPoint': 'AzureWorkloadRecoveryPoint', 'AzureWorkloadSAPHanaRecoveryPoint': 'AzureWorkloadSAPHanaRecoveryPoint', 'GenericRecoveryPoint': 'GenericRecoveryPoint', 'IaasVMRecoveryPoint': 'IaasVMRecoveryPoint'} + 'object_type': {'AzureFileShareRecoveryPoint': 'AzureFileShareRecoveryPoint', 'AzureWorkloadRecoveryPoint': 'AzureWorkloadRecoveryPoint', 'GenericRecoveryPoint': 'GenericRecoveryPoint', 'IaasVMRecoveryPoint': 'IaasVMRecoveryPoint'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_py3.py index 9b132c208824..e2e87c51e520 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_py3.py @@ -18,8 +18,7 @@ class RecoveryPoint(Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureFileShareRecoveryPoint, AzureWorkloadRecoveryPoint, - AzureWorkloadSAPHanaRecoveryPoint, GenericRecoveryPoint, - IaasVMRecoveryPoint + GenericRecoveryPoint, IaasVMRecoveryPoint All required parameters must be populated in order to send to Azure. @@ -36,7 +35,7 @@ class RecoveryPoint(Model): } _subtype_map = { - 'object_type': {'AzureFileShareRecoveryPoint': 'AzureFileShareRecoveryPoint', 'AzureWorkloadRecoveryPoint': 'AzureWorkloadRecoveryPoint', 'AzureWorkloadSAPHanaRecoveryPoint': 'AzureWorkloadSAPHanaRecoveryPoint', 'GenericRecoveryPoint': 'GenericRecoveryPoint', 'IaasVMRecoveryPoint': 'IaasVMRecoveryPoint'} + 'object_type': {'AzureFileShareRecoveryPoint': 'AzureFileShareRecoveryPoint', 'AzureWorkloadRecoveryPoint': 'AzureWorkloadRecoveryPoint', 'GenericRecoveryPoint': 'GenericRecoveryPoint', 'IaasVMRecoveryPoint': 'IaasVMRecoveryPoint'} } def __init__(self, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py index 4e15ffdad402..a3b22c3bdffb 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py @@ -46,6 +46,7 @@ class WorkloadType(str, Enum): sql_data_base = "SQLDataBase" azure_file_share = "AzureFileShare" sap_hana_database = "SAPHanaDatabase" + sap_ase_database = "SAPAseDatabase" class RecoveryType(str, Enum): @@ -138,6 +139,8 @@ class WorkloadItemType(str, Enum): sql_data_base = "SQLDataBase" sap_hana_system = "SAPHanaSystem" sap_hana_database = "SAPHanaDatabase" + sap_ase_system = "SAPAseSystem" + sap_ase_database = "SAPAseDatabase" class SQLDataDirectoryType(str, Enum): @@ -173,6 +176,7 @@ class DataSourceType(str, Enum): sql_data_base = "SQLDataBase" azure_file_share = "AzureFileShare" sap_hana_database = "SAPHanaDatabase" + sap_ase_database = "SAPAseDatabase" class ProtectionStatus(str, Enum): @@ -416,6 +420,13 @@ class BackupType(str, Enum): copy_only_full = "CopyOnlyFull" +class OperationType(str, Enum): + + invalid = "Invalid" + register = "Register" + reregister = "Reregister" + + class RestorePointType(str, Enum): invalid = "Invalid" @@ -505,6 +516,7 @@ class BackupItemType(str, Enum): sql_data_base = "SQLDataBase" azure_file_share = "AzureFileShare" sap_hana_database = "SAPHanaDatabase" + sap_ase_database = "SAPAseDatabase" class OperationStatusValues(str, Enum): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py index 8156117b88cd..d18be734a9ee 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py @@ -18,7 +18,7 @@ class RestoreRequest(Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureFileShareRestoreRequest, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, IaasVMRestoreRequest + IaasVMRestoreRequest All required parameters must be populated in order to send to Azure. @@ -35,7 +35,7 @@ class RestoreRequest(Model): } _subtype_map = { - 'object_type': {'AzureFileShareRestoreRequest': 'AzureFileShareRestoreRequest', 'AzureWorkloadRestoreRequest': 'AzureWorkloadRestoreRequest', 'AzureWorkloadSAPHanaRestoreRequest': 'AzureWorkloadSAPHanaRestoreRequest', 'IaasVMRestoreRequest': 'IaasVMRestoreRequest'} + 'object_type': {'AzureFileShareRestoreRequest': 'AzureFileShareRestoreRequest', 'AzureWorkloadRestoreRequest': 'AzureWorkloadRestoreRequest', 'IaasVMRestoreRequest': 'IaasVMRestoreRequest'} } def __init__(self, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_py3.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_py3.py index 6250bedb3c80..659d951369f9 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_py3.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_py3.py @@ -18,7 +18,7 @@ class RestoreRequest(Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureFileShareRestoreRequest, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, IaasVMRestoreRequest + IaasVMRestoreRequest All required parameters must be populated in order to send to Azure. @@ -35,7 +35,7 @@ class RestoreRequest(Model): } _subtype_map = { - 'object_type': {'AzureFileShareRestoreRequest': 'AzureFileShareRestoreRequest', 'AzureWorkloadRestoreRequest': 'AzureWorkloadRestoreRequest', 'AzureWorkloadSAPHanaRestoreRequest': 'AzureWorkloadSAPHanaRestoreRequest', 'IaasVMRestoreRequest': 'IaasVMRestoreRequest'} + 'object_type': {'AzureFileShareRestoreRequest': 'AzureFileShareRestoreRequest', 'AzureWorkloadRestoreRequest': 'AzureWorkloadRestoreRequest', 'IaasVMRestoreRequest': 'IaasVMRestoreRequest'} } def __init__(self, **kwargs) -> None: diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py index f3f51fa0df1e..7c551874e996 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py @@ -105,6 +105,77 @@ def update( self, vault_name, resource_group_name, parameters, custom_headers=None, raw=False, **operation_config): """Updates vault storage model type. + :param vault_name: The name of the recovery services vault. + :type vault_name: str + :param resource_group_name: The name of the resource group where the + recovery services vault is present. + :type resource_group_name: str + :param parameters: Vault storage config request + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceConfigResource + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: BackupResourceConfigResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceConfigResource + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'BackupResourceConfigResource') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BackupResourceConfigResource', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig'} + + def patch( + self, vault_name, resource_group_name, parameters, custom_headers=None, raw=False, **operation_config): + """Updates vault storage model type. + :param vault_name: The name of the recovery services vault. :type vault_name: str :param resource_group_name: The name of the resource group where the @@ -123,7 +194,7 @@ def update( :raises: :class:`CloudError` """ # Construct URL - url = self.update.metadata['url'] + url = self.patch.metadata['url'] path_format_arguments = { 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), @@ -160,4 +231,4 @@ def update( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response - update.metadata = {'url': '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig'} + patch.metadata = {'url': '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig'} diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py index e558936fd648..3a22e0154693 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py @@ -46,7 +46,7 @@ def list( :param resource_group_name: The name of the resource group where the recovery services vault is present. :type resource_group_name: str - :param fabric_name: Fabric name associated with the container. + :param fabric_name: :type fabric_name: str :param filter: OData filter options. :type filter: str