Skip to content

Commit

Permalink
[AutoPR] recoveryservicesbackup/resource-manager (#2945)
Browse files Browse the repository at this point in the history
* [AutoPR recoveryservicesbackup/resource-manager]  Added BackupValidateOperation API (#2917)

* Generated from 4aaba64bbb8b134f96532754d65d5344253f5230

Fix casing in swagger example file path

* Generated from 8d8d07ebeaf440632ea9e6e15e7eddf32515a50b

Use ValidateRequest instead of Resource<ValidateRequest>

* Generated from a6543526bd182f359ab86a5c5b5ee9914671d997

Update operationid of validate_Operation to Operation_Validate per feedback

* [AutoPR recoveryservicesbackup/resource-manager] Move Go SDK config for back to its own config file (#3398)

* Generated from 618c0df2930286d956a58d4fe3657da3aca93321

Move Go SDK config for back to its own config file

* Packaging update of azure-mgmt-recoveryservicesbackup

* [AutoPR recoveryservicesbackup/resource-manager] Protection intent changes and bug fixes (#3348)

* Generated from d340e8b5423d019c360e65210d60ceab5c88d4bb

Swagger spec changes for 1808 release of recovery services backup.

* Packaging update of azure-mgmt-recoveryservicesbackup

* Generated from 2fe1e36a12ca29f1145d6c70a0ae6766736aba36

Removing VaultID and adding response type for HttpStatus.OK

* Packaging update of azure-mgmt-recoveryservicesbackup

* Generated from 974a2296c8b9d8cac483c5b129e1585e38b6f350

Adding discriminator value for AzureWorkloadContainer

* [AutoPR recoveryservicesbackup/resource-manager] typo: recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices (#3967)

* Generated from 0ec66b141295ea7910abdcfbf2b634bd4afc7354

typo: recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices

- polymorhpic -> polymorphic
- managmement -> management
- managemenent -> management
- propertes -> properties
- Encrpytion -> Encryption
- specifc -> specific
- operationss -> operations
- DB's -> DBs
- recoverypoint -> recovery point
- specifcally -> specifically
- encaspulates -> encapsulates
- alongwith -> along with
- backupengine -> backup engine
- Diskspace -> Disk space
- follwing -> following
- potentiallty -> potentially
- exteded -> extended
- Exoprt -> Export
- transfered -> transferred

* Packaging update of azure-mgmt-recoveryservicesbackup

* [AutoPR recoveryservicesbackup/resource-manager] Generating latest spec (#4118)

* Generated from 97c181ad47b931a15bb039f85904300528ccb6d0

Generating latest spec

* Generated from 424001e3653bf7ff244f357c943c32980e7860ee

Changing the operationIdin 2016-12-01 bms.json

* Generated from acb8728938d79f932ad2a9f32f517f8975c0f6f8

Updating operationIdin 2016-12-01 bms.json

* Generated from 29bec153b8ce07d20202302d301f7c8f52f7ae19

Modifying Readme

* Generated from f863d5e04544fc1082c125f354fd36b119b27436

Spell Check

* Generated from b4544cbdc4750cc7d8353ec244fe62728bc41799

Spell check

* Generated from 024e0662df9b0d42f785c2318843d89511920e4a (#4209)

typo: recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices

- DB's -> DBs
- recoverypoint -> recovery point
- alongwith -> along with
- backupengine -> backup engine
- Diskspace -> Disk space
- potentiallty -> potentially
- transfered -> transferred

* [AutoPR recoveryservicesbackup/resource-manager] Fixing a minor bug in Recovery Services (Backup)  (#4284)

* Generated from 2387ca4a300956406928ae8727d815f98f88fa93

Undoing unintended removal of a field

* Packaging update of azure-mgmt-recoveryservicesbackup

* Update version.py

* Packaging update of azure-mgmt-recoveryservicesbackup

* updated versioning and changelog

* Packaging update of azure-mgmt-recoveryservicesbackup

* Move recovery services backup to SDK

* Move Recovery services to SDK

* Generated from 3207c9bd7abeaa5aa2bf8c78c42237fea190ab48 (#5374)

recoveryservicesbackup new Python path

* Version
  • Loading branch information
AutorestCI authored and lmazuel committed May 21, 2019
1 parent a8ebedc commit 466b0ba
Show file tree
Hide file tree
Showing 613 changed files with 3,079 additions and 898 deletions.
2 changes: 0 additions & 2 deletions azure-mgmt-recoveryservices/dev_requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion azure-mgmt-recoveryservicesbackup/MANIFEST.in

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-e ../../../azure-sdk-tools
-e ../../../azure-mgmt-resource
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
Release History
===============

0.4.0 (2019-05-21)
++++++++++++++++++

**Features**

- Model AzureWorkloadRestoreRequest has a new parameter target_info
- Model AzureVmWorkloadSAPHanaDatabaseProtectableItem has a new parameter is_auto_protected
- Model AzureVmWorkloadSAPHanaSystemProtectableItem has a new parameter is_auto_protected
- Model AzureIaaSVMJobTaskDetails has a new parameter task_execution_details
- Model AzureWorkloadContainer has a new parameter operation_type
- Model AzureVmWorkloadSQLInstanceProtectableItem has a new parameter is_auto_protected
- Model AzureIaaSVMJobExtendedInfo has a new parameter estimated_remaining_duration
- Model AzureVmWorkloadSQLAvailabilityGroupProtectableItem has a new parameter is_auto_protected
- Model AzureVmWorkloadProtectableItem has a new parameter is_auto_protected
- Model AzureVMAppContainerProtectionContainer has a new parameter operation_type
- Model AzureSQLAGWorkloadContainerProtectionContainer has a new parameter operation_type
- Model AzureVmWorkloadSQLDatabaseProtectableItem has a new parameter is_auto_protected
- Added operation BackupResourceStorageConfigsOperations.patch
- Added operation ProtectionIntentOperations.delete
- Added operation ProtectionIntentOperations.get
- Added operation group BackupProtectionIntentOperations
- Added operation group OperationOperations

0.3.0 (2018-06-27)
++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py

Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Compatibility
=============

**IMPORTANT**: If you have an earlier version of the azure package
(version < 1.0), you should uninstall it before installing this package.

You can check the version using pip:

.. code:: shell
pip freeze
If you see azure==0.11.0 (or any version below 1.0), uninstall it first:

.. code:: shell
pip uninstall azure
Usage
=====

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
# 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.
:param friendly_name: Friendly name of the container.
:type friendly_name: str
:param backup_management_type: Type of backup managemenent for the
:param backup_management_type: Type of backup management for the
container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB',
'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
'DefaultBackup'
Expand Down Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
# 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.
:param friendly_name: Friendly name of the container.
:type friendly_name: str
:param backup_management_type: Type of backup managemenent for the
:param backup_management_type: Type of backup management for the
container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB',
'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
'DefaultBackup'
Expand Down Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -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 backupengine
:param extended_info: Extended info of the backup engine
:type extended_info:
~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo
:param backup_engine_type: Required. Constant filled by server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 backupengine
:param extended_info: Extended info of the backup engine
:type extended_info:
~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo
:param backup_engine_type: Required. Constant filled by server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AzureFileShareProtectableItem(WorkloadProtectableItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent to backup an
: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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AzureFileShareProtectableItem(WorkloadProtectableItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent to backup an
: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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ class AzureFileShareProtectionPolicy(ProtectionPolicy):
:type protected_items_count: int
:param backup_management_type: Required. Constant filled by server.
:type backup_management_type: str
:param work_load_type: Type of workload for the backup management
:type work_load_type: str
: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',
'SAPAseDatabase'
:type work_load_type: str or
~azure.mgmt.recoveryservicesbackup.models.WorkloadType
:param schedule_policy: Backup schedule specified as part of backup
policy.
:type schedule_policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ class AzureFileShareProtectionPolicy(ProtectionPolicy):
:type protected_items_count: int
:param backup_management_type: Required. Constant filled by server.
:type backup_management_type: str
:param work_load_type: Type of workload for the backup management
:type work_load_type: str
: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',
'SAPAseDatabase'
:type work_load_type: str or
~azure.mgmt.recoveryservicesbackup.models.WorkloadType
:param schedule_policy: Backup schedule specified as part of backup
policy.
:type schedule_policy:
Expand All @@ -49,7 +54,7 @@ class AzureFileShareProtectionPolicy(ProtectionPolicy):
'time_zone': {'key': 'timeZone', 'type': 'str'},
}

def __init__(self, *, protected_items_count: int=None, work_load_type: str=None, schedule_policy=None, retention_policy=None, time_zone: str=None, **kwargs) -> None:
def __init__(self, *, protected_items_count: int=None, work_load_type=None, schedule_policy=None, retention_policy=None, time_zone: str=None, **kwargs) -> None:
super(AzureFileShareProtectionPolicy, self).__init__(protected_items_count=protected_items_count, **kwargs)
self.work_load_type = work_load_type
self.schedule_policy = schedule_policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ class AzureFileshareProtectedItem(ProtectedItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent for the backed
up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
: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'
'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
'SAPAseDatabase'
:type workload_type: str or
~azure.mgmt.recoveryservicesbackup.models.DataSourceType
:param container_name: Unique name of container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ class AzureFileshareProtectedItem(ProtectedItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent for the backed
up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
: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'
'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
'SAPAseDatabase'
:type workload_type: str or
~azure.mgmt.recoveryservicesbackup.models.DataSourceType
:param container_name: Unique name of container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AzureIaaSClassicComputeVMContainer(IaaSVMContainer):
:param friendly_name: Friendly name of the container.
:type friendly_name: str
:param backup_management_type: Type of backup managemenent for the
:param backup_management_type: Type of backup management for the
container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB',
'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
'DefaultBackup'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AzureIaaSClassicComputeVMContainer(IaaSVMContainer):
:param friendly_name: Friendly name of the container.
:type friendly_name: str
:param backup_management_type: Type of backup managemenent for the
:param backup_management_type: Type of backup management for the
container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB',
'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
'DefaultBackup'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AzureIaaSClassicComputeVMProtectableItem(IaaSVMProtectableItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent to backup an
: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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AzureIaaSClassicComputeVMProtectableItem(IaaSVMProtectableItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent to backup an
: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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent for the backed
up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
: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'
'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
'SAPAseDatabase'
:type workload_type: str or
~azure.mgmt.recoveryservicesbackup.models.DataSourceType
:param container_name: Unique name of container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent for the backed
up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
: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'
'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
'SAPAseDatabase'
:type workload_type: str or
~azure.mgmt.recoveryservicesbackup.models.DataSourceType
:param container_name: Unique name of container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AzureIaaSComputeVMContainer(IaaSVMContainer):
:param friendly_name: Friendly name of the container.
:type friendly_name: str
:param backup_management_type: Type of backup managemenent for the
:param backup_management_type: Type of backup management for the
container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB',
'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
'DefaultBackup'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AzureIaaSComputeVMContainer(IaaSVMContainer):
:param friendly_name: Friendly name of the container.
:type friendly_name: str
:param backup_management_type: Type of backup managemenent for the
:param backup_management_type: Type of backup management for the
container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB',
'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
'DefaultBackup'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AzureIaaSComputeVMProtectableItem(IaaSVMProtectableItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent to backup an
: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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AzureIaaSComputeVMProtectableItem(IaaSVMProtectableItem):
All required parameters must be populated in order to send to Azure.
:param backup_management_type: Type of backup managemenent to backup an
: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
Expand Down
Loading

0 comments on commit 466b0ba

Please sign in to comment.