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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
/azure-mgmt-eventgrid/ @kalyanaj
/azure-mgmt-keyvault/ @schaabs
/azure-mgmt-machinelearningcompute/ @shutchings
/azure-mgmt-recoveryservicesbackup/ @dragonfly91
/azure-mgmt-recoveryservices/ @DheerendraRathor
/azure-mgmt-recoveryservicesbackup/ @DheerendraRathor
/azure-mgmt-servicefabric/ @QingChenmsft
/azure-mgmt-sql/ @jaredmoo
/azure-mgmt-web/ @yugangw-msft
Expand Down
35 changes: 34 additions & 1 deletion azure-mgmt-recoveryservicesbackup/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,39 @@
Release History
===============

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

**Features**

- SAP HANA contract changes (new filters added to existing API's.). This feature is still in development phase and not open for usage yet.
- Instant RP field added in create policy.
- Comments added for some contracts.

**Python details**

- Model DPMProtectedItem has a new parameter create_mode
- Model MabFileFolderProtectedItem has a new parameter create_mode
- Model AzureIaaSClassicComputeVMProtectedItem has a new parameter create_mode
- Model AzureWorkloadContainer has a new parameter workload_type
- Model AzureIaaSVMProtectionPolicy has a new parameter instant_rp_retention_range_in_days
- Model AzureFileshareProtectedItem has a new parameter create_mode
- Model AzureSQLAGWorkloadContainerProtectionContainer has a new parameter workload_type
- Model AzureSqlProtectedItem has a new parameter create_mode
- Model AzureIaaSVMJobExtendedInfo has a new parameter internal_property_bag
- Model KeyAndSecretDetails has a new parameter encryption_mechanism
- Model AzureIaaSVMProtectedItem has a new parameter create_mode
- Model AzureVMAppContainerProtectionContainer has a new parameter workload_type
- Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter create_mode
- Model IaasVMRecoveryPoint has a new parameter os_type
- Model ProtectionPolicyQueryObject has a new parameter workload_type
- Model AzureIaaSComputeVMProtectedItem has a new parameter create_mode
- Model Settings has a new parameter is_compression
- Model GenericProtectedItem has a new parameter create_mode
- Model AzureWorkloadJob has a new parameter workload_type
- Model ProtectedItem has a new parameter create_mode
- Operation ProtectionContainersOperations.inquire has a new "filter" parameter

0.2.0 (2018-05-25)
++++++++++++++++++

Expand All @@ -28,7 +61,7 @@ This version uses a next-generation code generator that *might* introduce breaki

- Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same.
- Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used.
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`.
- New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`,
the response of the initial call will be returned without polling.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# --------------------------------------------------------------------------

try:
from .azure_backup_goal_feature_support_request_py3 import AzureBackupGoalFeatureSupportRequest
from .azure_fileshare_protected_item_extended_info_py3 import AzureFileshareProtectedItemExtendedInfo
from .azure_fileshare_protected_item_py3 import AzureFileshareProtectedItem
from .schedule_policy_py3 import SchedulePolicy
Expand All @@ -25,6 +26,7 @@
from .azure_iaa_svm_protected_item_extended_info_py3 import AzureIaaSVMProtectedItemExtendedInfo
from .azure_iaa_svm_protected_item_py3 import AzureIaaSVMProtectedItem
from .azure_iaa_svm_protection_policy_py3 import AzureIaaSVMProtectionPolicy
from .azure_recovery_service_vault_protection_intent_py3 import AzureRecoveryServiceVaultProtectionIntent
from .azure_resource_protection_intent_py3 import AzureResourceProtectionIntent
from .azure_sql_protected_item_extended_info_py3 import AzureSqlProtectedItemExtendedInfo
from .azure_sql_protected_item_py3 import AzureSqlProtectedItem
Expand All @@ -35,16 +37,20 @@
from .azure_storage_job_py3 import AzureStorageJob
from .azure_vm_resource_feature_support_request_py3 import AzureVMResourceFeatureSupportRequest
from .azure_vm_resource_feature_support_response_py3 import AzureVMResourceFeatureSupportResponse
from .error_detail_py3 import ErrorDetail
from .azure_vm_workload_protected_item_extended_info_py3 import AzureVmWorkloadProtectedItemExtendedInfo
from .azure_vm_workload_protected_item_py3 import AzureVmWorkloadProtectedItem
from .settings_py3 import Settings
from .sub_protection_policy_py3 import SubProtectionPolicy
from .azure_vm_workload_protection_policy_py3 import AzureVmWorkloadProtectionPolicy
from .error_detail_py3 import ErrorDetail
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
from .azure_workload_error_info_py3 import AzureWorkloadErrorInfo
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_sql_auto_protection_intent_py3 import AzureWorkloadSQLAutoProtectionIntent
from .name_info_py3 import NameInfo
from .backup_management_usage_py3 import BackupManagementUsage
from .backup_status_request_py3 import BackupStatusRequest
Expand Down Expand Up @@ -121,6 +127,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_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
from .azure_vm_workload_sap_hana_system_workload_item_py3 import AzureVmWorkloadSAPHanaSystemWorkloadItem
from .azure_vm_workload_sql_availability_group_protectable_item_py3 import AzureVmWorkloadSQLAvailabilityGroupProtectableItem
from .azure_vm_workload_sql_database_protectable_item_py3 import AzureVmWorkloadSQLDatabaseProtectableItem
from .azure_vm_workload_sql_database_workload_item_py3 import AzureVmWorkloadSQLDatabaseWorkloadItem
Expand All @@ -137,11 +147,15 @@
from .azure_workload_recovery_point_py3 import AzureWorkloadRecoveryPoint
from .azure_workload_restore_request_py3 import AzureWorkloadRestoreRequest
from .point_in_time_range_py3 import PointInTimeRange
from .azure_workload_sap_hana_point_in_time_recovery_point_py3 import AzureWorkloadSAPHanaPointInTimeRecoveryPoint
from .azure_workload_sap_hana_point_in_time_restore_request_py3 import AzureWorkloadSAPHanaPointInTimeRestoreRequest
from .azure_workload_sap_hana_recovery_point_py3 import AzureWorkloadSAPHanaRecoveryPoint
from .target_restore_info_py3 import TargetRestoreInfo
from .azure_workload_sap_hana_restore_request_py3 import AzureWorkloadSAPHanaRestoreRequest
from .azure_workload_sql_point_in_time_recovery_point_py3 import AzureWorkloadSQLPointInTimeRecoveryPoint
from .azure_workload_sql_point_in_time_restore_request_py3 import AzureWorkloadSQLPointInTimeRestoreRequest
from .azure_workload_sql_recovery_point_extended_info_py3 import AzureWorkloadSQLRecoveryPointExtendedInfo
from .azure_workload_sql_recovery_point_py3 import AzureWorkloadSQLRecoveryPoint
from .target_restore_info_py3 import TargetRestoreInfo
from .sql_data_directory_mapping_py3 import SQLDataDirectoryMapping
from .azure_workload_sql_restore_request_py3 import AzureWorkloadSQLRestoreRequest
from .backup_engine_extended_info_py3 import BackupEngineExtendedInfo
Expand All @@ -157,6 +171,7 @@
from .bms_backup_engine_query_object_py3 import BMSBackupEngineQueryObject
from .bms_backup_engines_query_object_py3 import BMSBackupEnginesQueryObject
from .bms_container_query_object_py3 import BMSContainerQueryObject
from .bms_containers_inquiry_query_object_py3 import BMSContainersInquiryQueryObject
from .bmspo_query_object_py3 import BMSPOQueryObject
from .bms_refresh_containers_query_object_py3 import BMSRefreshContainersQueryObject
from .bmsrp_query_object_py3 import BMSRPQueryObject
Expand Down Expand Up @@ -210,6 +225,7 @@
from .client_discovery_for_properties_py3 import ClientDiscoveryForProperties
from .client_discovery_value_for_single_api_py3 import ClientDiscoveryValueForSingleApi
except (SyntaxError, ImportError):
from .azure_backup_goal_feature_support_request import AzureBackupGoalFeatureSupportRequest
from .azure_fileshare_protected_item_extended_info import AzureFileshareProtectedItemExtendedInfo
from .azure_fileshare_protected_item import AzureFileshareProtectedItem
from .schedule_policy import SchedulePolicy
Expand All @@ -225,6 +241,7 @@
from .azure_iaa_svm_protected_item_extended_info import AzureIaaSVMProtectedItemExtendedInfo
from .azure_iaa_svm_protected_item import AzureIaaSVMProtectedItem
from .azure_iaa_svm_protection_policy import AzureIaaSVMProtectionPolicy
from .azure_recovery_service_vault_protection_intent import AzureRecoveryServiceVaultProtectionIntent
from .azure_resource_protection_intent import AzureResourceProtectionIntent
from .azure_sql_protected_item_extended_info import AzureSqlProtectedItemExtendedInfo
from .azure_sql_protected_item import AzureSqlProtectedItem
Expand All @@ -235,16 +252,20 @@
from .azure_storage_job import AzureStorageJob
from .azure_vm_resource_feature_support_request import AzureVMResourceFeatureSupportRequest
from .azure_vm_resource_feature_support_response import AzureVMResourceFeatureSupportResponse
from .error_detail import ErrorDetail
from .azure_vm_workload_protected_item_extended_info import AzureVmWorkloadProtectedItemExtendedInfo
from .azure_vm_workload_protected_item import AzureVmWorkloadProtectedItem
from .settings import Settings
from .sub_protection_policy import SubProtectionPolicy
from .azure_vm_workload_protection_policy import AzureVmWorkloadProtectionPolicy
from .error_detail import ErrorDetail
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
from .azure_workload_error_info import AzureWorkloadErrorInfo
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_sql_auto_protection_intent import AzureWorkloadSQLAutoProtectionIntent
from .name_info import NameInfo
from .backup_management_usage import BackupManagementUsage
from .backup_status_request import BackupStatusRequest
Expand Down Expand Up @@ -321,6 +342,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_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
from .azure_vm_workload_sap_hana_system_workload_item import AzureVmWorkloadSAPHanaSystemWorkloadItem
from .azure_vm_workload_sql_availability_group_protectable_item import AzureVmWorkloadSQLAvailabilityGroupProtectableItem
from .azure_vm_workload_sql_database_protectable_item import AzureVmWorkloadSQLDatabaseProtectableItem
from .azure_vm_workload_sql_database_workload_item import AzureVmWorkloadSQLDatabaseWorkloadItem
Expand All @@ -337,11 +362,15 @@
from .azure_workload_recovery_point import AzureWorkloadRecoveryPoint
from .azure_workload_restore_request import AzureWorkloadRestoreRequest
from .point_in_time_range import PointInTimeRange
from .azure_workload_sap_hana_point_in_time_recovery_point import AzureWorkloadSAPHanaPointInTimeRecoveryPoint
from .azure_workload_sap_hana_point_in_time_restore_request import AzureWorkloadSAPHanaPointInTimeRestoreRequest
from .azure_workload_sap_hana_recovery_point import AzureWorkloadSAPHanaRecoveryPoint
from .target_restore_info import TargetRestoreInfo
from .azure_workload_sap_hana_restore_request import AzureWorkloadSAPHanaRestoreRequest
from .azure_workload_sql_point_in_time_recovery_point import AzureWorkloadSQLPointInTimeRecoveryPoint
from .azure_workload_sql_point_in_time_restore_request import AzureWorkloadSQLPointInTimeRestoreRequest
from .azure_workload_sql_recovery_point_extended_info import AzureWorkloadSQLRecoveryPointExtendedInfo
from .azure_workload_sql_recovery_point import AzureWorkloadSQLRecoveryPoint
from .target_restore_info import TargetRestoreInfo
from .sql_data_directory_mapping import SQLDataDirectoryMapping
from .azure_workload_sql_restore_request import AzureWorkloadSQLRestoreRequest
from .backup_engine_extended_info import BackupEngineExtendedInfo
Expand All @@ -357,6 +386,7 @@
from .bms_backup_engine_query_object import BMSBackupEngineQueryObject
from .bms_backup_engines_query_object import BMSBackupEnginesQueryObject
from .bms_container_query_object import BMSContainerQueryObject
from .bms_containers_inquiry_query_object import BMSContainersInquiryQueryObject
from .bmspo_query_object import BMSPOQueryObject
from .bms_refresh_containers_query_object import BMSRefreshContainersQueryObject
from .bmsrp_query_object import BMSRPQueryObject
Expand Down Expand Up @@ -428,6 +458,7 @@
SupportStatus,
LastBackupStatus,
ProtectedItemHealthStatus,
WorkloadItemType,
UsagesUnit,
DataSourceType,
ProtectionStatus,
Expand All @@ -445,6 +476,7 @@
WorkloadType,
HttpStatusCode,
ValidationStatus,
CreateMode,
HealthState,
ScheduleRunType,
AzureFileShareType,
Expand All @@ -461,14 +493,14 @@
EnhancedSecurityState,
ContainerType,
RestorePointQueryType,
WorkloadItemType,
RecoveryPointTierType,
RecoveryPointTierStatus,
BackupItemType,
OperationStatusValues,
)

__all__ = [
'AzureBackupGoalFeatureSupportRequest',
'AzureFileshareProtectedItemExtendedInfo',
'AzureFileshareProtectedItem',
'SchedulePolicy',
Expand All @@ -484,6 +516,7 @@
'AzureIaaSVMProtectedItemExtendedInfo',
'AzureIaaSVMProtectedItem',
'AzureIaaSVMProtectionPolicy',
'AzureRecoveryServiceVaultProtectionIntent',
'AzureResourceProtectionIntent',
'AzureSqlProtectedItemExtendedInfo',
'AzureSqlProtectedItem',
Expand All @@ -494,16 +527,20 @@
'AzureStorageJob',
'AzureVMResourceFeatureSupportRequest',
'AzureVMResourceFeatureSupportResponse',
'ErrorDetail',
'AzureVmWorkloadProtectedItemExtendedInfo',
'AzureVmWorkloadProtectedItem',
'Settings',
'SubProtectionPolicy',
'AzureVmWorkloadProtectionPolicy',
'ErrorDetail',
'AzureVmWorkloadSAPHanaDatabaseProtectedItem',
'AzureVmWorkloadSQLDatabaseProtectedItem',
'AzureWorkloadAutoProtectionIntent',
'AzureWorkloadErrorInfo',
'AzureWorkloadJobTaskDetails',
'AzureWorkloadJobExtendedInfo',
'AzureWorkloadJob',
'AzureWorkloadSQLAutoProtectionIntent',
'NameInfo',
'BackupManagementUsage',
'BackupStatusRequest',
Expand Down Expand Up @@ -580,6 +617,10 @@
'AzureVmWorkloadItem',
'PreBackupValidation',
'AzureVmWorkloadProtectableItem',
'AzureVmWorkloadSAPHanaDatabaseProtectableItem',
'AzureVmWorkloadSAPHanaDatabaseWorkloadItem',
'AzureVmWorkloadSAPHanaSystemProtectableItem',
'AzureVmWorkloadSAPHanaSystemWorkloadItem',
'AzureVmWorkloadSQLAvailabilityGroupProtectableItem',
'AzureVmWorkloadSQLDatabaseProtectableItem',
'AzureVmWorkloadSQLDatabaseWorkloadItem',
Expand All @@ -596,11 +637,15 @@
'AzureWorkloadRecoveryPoint',
'AzureWorkloadRestoreRequest',
'PointInTimeRange',
'AzureWorkloadSAPHanaPointInTimeRecoveryPoint',
'AzureWorkloadSAPHanaPointInTimeRestoreRequest',
'AzureWorkloadSAPHanaRecoveryPoint',
'TargetRestoreInfo',
'AzureWorkloadSAPHanaRestoreRequest',
'AzureWorkloadSQLPointInTimeRecoveryPoint',
'AzureWorkloadSQLPointInTimeRestoreRequest',
'AzureWorkloadSQLRecoveryPointExtendedInfo',
'AzureWorkloadSQLRecoveryPoint',
'TargetRestoreInfo',
'SQLDataDirectoryMapping',
'AzureWorkloadSQLRestoreRequest',
'BackupEngineExtendedInfo',
Expand All @@ -616,6 +661,7 @@
'BMSBackupEngineQueryObject',
'BMSBackupEnginesQueryObject',
'BMSContainerQueryObject',
'BMSContainersInquiryQueryObject',
'BMSPOQueryObject',
'BMSRefreshContainersQueryObject',
'BMSRPQueryObject',
Expand Down Expand Up @@ -686,6 +732,7 @@
'SupportStatus',
'LastBackupStatus',
'ProtectedItemHealthStatus',
'WorkloadItemType',
'UsagesUnit',
'DataSourceType',
'ProtectionStatus',
Expand All @@ -703,6 +750,7 @@
'WorkloadType',
'HttpStatusCode',
'ValidationStatus',
'CreateMode',
'HealthState',
'ScheduleRunType',
'AzureFileShareType',
Expand All @@ -719,7 +767,6 @@
'EnhancedSecurityState',
'ContainerType',
'RestorePointQueryType',
'WorkloadItemType',
'RecoveryPointTierType',
'RecoveryPointTierStatus',
'BackupItemType',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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 .feature_support_request import FeatureSupportRequest


class AzureBackupGoalFeatureSupportRequest(FeatureSupportRequest):
"""Azure backup goal feature specific request.

All required parameters must be populated in order to send to Azure.

:param feature_type: Required. Constant filled by server.
:type feature_type: str
"""

_validation = {
'feature_type': {'required': True},
}

_attribute_map = {
'feature_type': {'key': 'featureType', 'type': 'str'},
}

def __init__(self, **kwargs):
super(AzureBackupGoalFeatureSupportRequest, self).__init__(**kwargs)
self.feature_type = 'AzureBackupGoals'
Loading