azure_mgmt_recovery_services_backup 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_recovery_services_backup.rb +158 -111
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +163 -64
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_jobs.rb +240 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +38 -35
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +28 -25
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_policies.rb +244 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/{protectable_items.rb → backup_protectable_items.rb} +48 -76
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb +248 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +237 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +206 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +230 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +129 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backups.rb +46 -46
- data/lib/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +31 -22
- data/lib/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +108 -111
- data/lib/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +23 -20
- data/lib/generated/azure_mgmt_recovery_services_backup/job_details.rb +25 -22
- data/lib/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +32 -23
- data/lib/generated/azure_mgmt_recovery_services_backup/jobs.rb +26 -277
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +177 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +51 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +9 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +9 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +47 -8
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +9 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +9 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +47 -9
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +10 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +86 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +15 -11
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +9 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +67 -19
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +10 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +22 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +8 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +20 -11
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +11 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +80 -14
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +11 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +6 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_extended_info.rb +119 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +9 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +102 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +11 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +62 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config_resource.rb +102 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +73 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config_resource.rb +103 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb +9 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +12 -10
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +71 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +51 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +35 -8
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +13 -9
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +9 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +69 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_properties.rb +50 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_service_specification.rb +59 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +99 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +83 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +35 -7
- data/lib/generated/azure_mgmt_recovery_services_backup/models/container_type.rb +29 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +6 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +9 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/day.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +51 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb +177 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb +15 -11
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmcontainer_extended_info.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +150 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +187 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb +11 -8
- data/lib/generated/azure_mgmt_recovery_services_backup/models/enhanced_security_state.rb +21 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +9 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/health_state.rb +22 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/health_status.rb +22 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +12 -9
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +9 -7
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +9 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +14 -10
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +50 -7
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +39 -37
- data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +11 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job.rb +12 -8
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +7 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +16 -14
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb +11 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb +10 -8
- data/lib/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +14 -11
- data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +12 -7
- data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +14 -10
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +15 -10
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +34 -14
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +10 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +20 -18
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +9 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +8 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +12 -8
- data/lib/generated/azure_mgmt_recovery_services_backup/models/name_info.rb +59 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +12 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb +9 -7
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +9 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +9 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +20 -15
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +34 -19
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +49 -14
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +11 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +25 -17
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +11 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +11 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +9 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +11 -7
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +11 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +11 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +9 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +12 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +11 -6
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_information.rb +63 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_status.rb +22 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_type.rb +21 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/resource.rb +10 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +12 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +14 -10
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +8 -3
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +6 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +14 -11
- data/lib/generated/azure_mgmt_recovery_services_backup/models/storage_type.rb +21 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/storage_type_state.rb +21 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/token_information.rb +69 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/type.rb +21 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb +24 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +10 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +15 -11
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +13 -4
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +7 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +9 -2
- data/lib/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +15 -13
- data/lib/generated/azure_mgmt_recovery_services_backup/module_definition.rb +5 -1
- data/lib/generated/azure_mgmt_recovery_services_backup/operations.rb +217 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +40 -34
- data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +43 -37
- data/lib/generated/azure_mgmt_recovery_services_backup/protected_items.rb +112 -350
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +37 -31
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +26 -20
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +57 -365
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +87 -313
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +31 -25
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +43 -37
- data/lib/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +110 -114
- data/lib/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +95 -55
- data/lib/generated/azure_mgmt_recovery_services_backup/restores.rb +46 -46
- data/lib/generated/azure_mgmt_recovery_services_backup/security_pins.rb +123 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/version.rb +6 -2
- metadata +48 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edd5141b0ca2c7f052d4d8c8a5e76518cb4f700b
|
4
|
+
data.tar.gz: b15965b0cb471e20b4487c7caee55f8ec6250216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 226a417df73c25acb16e79750c116fac5d15ea879bf32c8ad8e6b8925e55474eea52b2afb0d24377f4776fda0d5417a334d92dab458b572d0562025930198056
|
7
|
+
data.tar.gz: 9f543d946323db9b9eb22e6bbbd48e53db7bb8a043198a969004dc9eb4574428cb8485bee64f598d846d1ab96a2e2a46cb39001e6025acb02fec29bdecd40c35
|
@@ -1,5 +1,9 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
+
# license information.
|
5
|
+
#
|
6
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
7
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
8
|
# regenerated.
|
5
9
|
|
@@ -20,157 +24,200 @@ require 'generated/azure_mgmt_recovery_services_backup/module_definition'
|
|
20
24
|
require 'ms_rest_azure'
|
21
25
|
|
22
26
|
module Azure::ARM::RecoveryServicesBackup
|
23
|
-
autoload :
|
24
|
-
autoload :
|
25
|
-
autoload :ProtectionPolicyOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb'
|
26
|
-
autoload :ProtectionPolicyOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb'
|
27
|
-
autoload :ProtectionPolicies, 'generated/azure_mgmt_recovery_services_backup/protection_policies.rb'
|
28
|
-
autoload :ProtectionContainerOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb'
|
27
|
+
autoload :BackupResourceVaultConfigs, 'generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb'
|
28
|
+
autoload :BackupEngines, 'generated/azure_mgmt_recovery_services_backup/backup_engines.rb'
|
29
29
|
autoload :ProtectionContainerRefreshOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb'
|
30
30
|
autoload :ProtectionContainers, 'generated/azure_mgmt_recovery_services_backup/protection_containers.rb'
|
31
|
-
autoload :
|
31
|
+
autoload :ProtectionContainerOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb'
|
32
|
+
autoload :ProtectedItems, 'generated/azure_mgmt_recovery_services_backup/protected_items.rb'
|
32
33
|
autoload :Backups, 'generated/azure_mgmt_recovery_services_backup/backups.rb'
|
33
|
-
autoload :ProtectedItemOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb'
|
34
34
|
autoload :ProtectedItemOperationResults, 'generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb'
|
35
|
-
autoload :
|
36
|
-
autoload :
|
37
|
-
autoload :
|
35
|
+
autoload :ProtectedItemOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb'
|
36
|
+
autoload :RecoveryPoints, 'generated/azure_mgmt_recovery_services_backup/recovery_points.rb'
|
37
|
+
autoload :ItemLevelRecoveryConnections, 'generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb'
|
38
|
+
autoload :Restores, 'generated/azure_mgmt_recovery_services_backup/restores.rb'
|
39
|
+
autoload :BackupJobs, 'generated/azure_mgmt_recovery_services_backup/backup_jobs.rb'
|
40
|
+
autoload :JobDetails, 'generated/azure_mgmt_recovery_services_backup/job_details.rb'
|
41
|
+
autoload :JobCancellations, 'generated/azure_mgmt_recovery_services_backup/job_cancellations.rb'
|
38
42
|
autoload :JobOperationResults, 'generated/azure_mgmt_recovery_services_backup/job_operation_results.rb'
|
43
|
+
autoload :ExportJobsOperationResults, 'generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb'
|
39
44
|
autoload :Jobs, 'generated/azure_mgmt_recovery_services_backup/jobs.rb'
|
40
|
-
autoload :JobCancellations, 'generated/azure_mgmt_recovery_services_backup/job_cancellations.rb'
|
41
|
-
autoload :JobDetails, 'generated/azure_mgmt_recovery_services_backup/job_details.rb'
|
42
|
-
autoload :BackupOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb'
|
43
45
|
autoload :BackupOperationResults, 'generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb'
|
44
|
-
autoload :
|
46
|
+
autoload :BackupOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb'
|
47
|
+
autoload :BackupPolicies, 'generated/azure_mgmt_recovery_services_backup/backup_policies.rb'
|
48
|
+
autoload :ProtectionPolicies, 'generated/azure_mgmt_recovery_services_backup/protection_policies.rb'
|
49
|
+
autoload :ProtectionPolicyOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb'
|
50
|
+
autoload :ProtectionPolicyOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb'
|
51
|
+
autoload :BackupProtectableItems, 'generated/azure_mgmt_recovery_services_backup/backup_protectable_items.rb'
|
52
|
+
autoload :BackupProtectedItems, 'generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb'
|
53
|
+
autoload :BackupProtectionContainers, 'generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb'
|
54
|
+
autoload :SecurityPINs, 'generated/azure_mgmt_recovery_services_backup/security_pins.rb'
|
55
|
+
autoload :BackupResourceStorageConfigs, 'generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb'
|
56
|
+
autoload :BackupUsageSummaries, 'generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb'
|
57
|
+
autoload :Operations, 'generated/azure_mgmt_recovery_services_backup/operations.rb'
|
45
58
|
autoload :RecoveryServicesBackupClient, 'generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb'
|
46
59
|
|
47
60
|
module Models
|
48
|
-
autoload :
|
49
|
-
autoload :
|
50
|
-
autoload :Job, 'generated/azure_mgmt_recovery_services_backup/models/job.rb'
|
51
|
-
autoload :ILRRequest, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb'
|
52
|
-
autoload :BMSRPQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb'
|
53
|
-
autoload :ProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb'
|
61
|
+
autoload :KeyAndSecretDetails, 'generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb'
|
62
|
+
autoload :RecoveryPointTierInformation, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_information.rb'
|
54
63
|
autoload :BMSBackupEngineQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb'
|
55
|
-
autoload :
|
56
|
-
autoload :
|
57
|
-
autoload :
|
58
|
-
autoload :
|
64
|
+
autoload :BMSBackupEnginesQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb'
|
65
|
+
autoload :ClientDiscoveryResponse, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb'
|
66
|
+
autoload :BMSBackupSummariesQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb'
|
67
|
+
autoload :ClientDiscoveryForProperties, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_properties.rb'
|
59
68
|
autoload :BMSContainerQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb'
|
60
|
-
autoload :
|
61
|
-
autoload :RestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/restore_request.rb'
|
62
|
-
autoload :DpmErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb'
|
63
|
-
autoload :KeyAndSecretDetails, 'generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb'
|
64
|
-
autoload :ProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/protected_item.rb'
|
65
|
-
autoload :ProtectionPolicyQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb'
|
69
|
+
autoload :ClientDiscoveryForLogSpecification, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb'
|
66
70
|
autoload :BMSPOQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb'
|
67
|
-
autoload :
|
68
|
-
autoload :
|
69
|
-
autoload :KEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb'
|
71
|
+
autoload :AzureIaaSVMErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb'
|
72
|
+
autoload :BMSRPQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb'
|
70
73
|
autoload :AzureIaaSVMJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb'
|
71
|
-
autoload :YearlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
|
72
|
-
autoload :RecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb'
|
73
|
-
autoload :ResourceList, 'generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
|
74
|
-
autoload :Day, 'generated/azure_mgmt_recovery_services_backup/models/day.rb'
|
75
74
|
autoload :ClientScriptForConnect, 'generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb'
|
75
|
+
autoload :WorkloadProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb'
|
76
|
+
autoload :Day, 'generated/azure_mgmt_recovery_services_backup/models/day.rb'
|
77
|
+
autoload :TokenInformation, 'generated/azure_mgmt_recovery_services_backup/models/token_information.rb'
|
76
78
|
autoload :DailyRetentionFormat, 'generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb'
|
77
|
-
autoload :
|
78
|
-
autoload :BackupEngineBase, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb'
|
79
|
-
autoload :MabContainerExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb'
|
80
|
-
autoload :OperationStatus, 'generated/azure_mgmt_recovery_services_backup/models/operation_status.rb'
|
79
|
+
autoload :RetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb'
|
81
80
|
autoload :RetentionDuration, 'generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb'
|
81
|
+
autoload :ResourceList, 'generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
|
82
|
+
autoload :DailyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb'
|
83
|
+
autoload :Resource, 'generated/azure_mgmt_recovery_services_backup/models/resource.rb'
|
84
|
+
autoload :OperationWorkerResponse, 'generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb'
|
85
|
+
autoload :BackupEngineExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_extended_info.rb'
|
86
|
+
autoload :OperationStatus, 'generated/azure_mgmt_recovery_services_backup/models/operation_status.rb'
|
87
|
+
autoload :ProtectionPolicyQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb'
|
88
|
+
autoload :DpmErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb'
|
89
|
+
autoload :NameInfo, 'generated/azure_mgmt_recovery_services_backup/models/name_info.rb'
|
82
90
|
autoload :DpmJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb'
|
91
|
+
autoload :BackupManagementUsageList, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb'
|
92
|
+
autoload :DpmJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb'
|
93
|
+
autoload :ProtectionContainer, 'generated/azure_mgmt_recovery_services_backup/models/protection_container.rb'
|
94
|
+
autoload :OperationStatusExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb'
|
95
|
+
autoload :ProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb'
|
96
|
+
autoload :DPMProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb'
|
97
|
+
autoload :ProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/protected_item.rb'
|
98
|
+
autoload :OperationStatusError, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb'
|
99
|
+
autoload :EncryptionDetails, 'generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb'
|
100
|
+
autoload :ClientDiscoveryForServiceSpecification, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_service_specification.rb'
|
101
|
+
autoload :OperationResultInfoBase, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb'
|
102
|
+
autoload :AzureIaaSVMHealthDetails, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb'
|
83
103
|
autoload :MabJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb'
|
84
|
-
autoload :WeeklyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
|
85
104
|
autoload :AzureIaaSVMProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb'
|
86
|
-
autoload :
|
105
|
+
autoload :GetProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb'
|
106
|
+
autoload :RestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/restore_request.rb'
|
87
107
|
autoload :MabJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb'
|
88
|
-
autoload :
|
108
|
+
autoload :RecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb'
|
89
109
|
autoload :MabFileFolderProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb'
|
90
|
-
autoload :
|
110
|
+
autoload :ProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb'
|
91
111
|
autoload :MabErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb'
|
92
|
-
autoload :
|
93
|
-
autoload :
|
112
|
+
autoload :BackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/backup_request.rb'
|
113
|
+
autoload :MabContainerExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb'
|
114
|
+
autoload :BackupResourceVaultConfig, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb'
|
115
|
+
autoload :KEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb'
|
116
|
+
autoload :ClientDiscoveryValueForSingleApi, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb'
|
117
|
+
autoload :DPMContainerExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpmcontainer_extended_info.rb'
|
94
118
|
autoload :AzureIaaSVMJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb'
|
95
|
-
autoload :
|
96
|
-
autoload :
|
97
|
-
autoload :
|
98
|
-
autoload :
|
99
|
-
autoload :
|
100
|
-
autoload :
|
101
|
-
autoload :
|
102
|
-
autoload :
|
103
|
-
autoload :
|
104
|
-
autoload :
|
105
|
-
autoload :
|
106
|
-
autoload :
|
107
|
-
autoload :
|
108
|
-
autoload :
|
109
|
-
autoload :
|
110
|
-
autoload :
|
111
|
-
autoload :ProtectionContainerResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb'
|
112
|
-
autoload :ProtectionContainerResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb'
|
113
|
-
autoload :ProtectionPolicyResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb'
|
114
|
-
autoload :ProtectionPolicyResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb'
|
115
|
-
autoload :RestoreRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb'
|
116
|
-
autoload :ILRRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb'
|
119
|
+
autoload :YearlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
|
120
|
+
autoload :AzureSqlProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb'
|
121
|
+
autoload :MonthlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb'
|
122
|
+
autoload :BackupManagementUsage, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb'
|
123
|
+
autoload :WeeklyRetentionFormat, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb'
|
124
|
+
autoload :BEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb'
|
125
|
+
autoload :ILRRequest, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb'
|
126
|
+
autoload :SchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb'
|
127
|
+
autoload :WeeklyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
|
128
|
+
autoload :BackupResourceConfig, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb'
|
129
|
+
autoload :InstantItemRecoveryTarget, 'generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb'
|
130
|
+
autoload :BackupEngineBase, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb'
|
131
|
+
autoload :Job, 'generated/azure_mgmt_recovery_services_backup/models/job.rb'
|
132
|
+
autoload :ClientDiscoveryDisplay, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb'
|
133
|
+
autoload :JobQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb'
|
134
|
+
autoload :AzureBackupServerContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb'
|
117
135
|
autoload :AzureBackupServerEngine, 'generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb'
|
118
|
-
autoload :
|
119
|
-
autoload :
|
120
|
-
autoload :
|
121
|
-
autoload :
|
122
|
-
autoload :
|
136
|
+
autoload :AzureIaaSClassicComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb'
|
137
|
+
autoload :AzureIaaSClassicComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb'
|
138
|
+
autoload :AzureIaaSClassicComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb'
|
139
|
+
autoload :AzureIaaSComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb'
|
140
|
+
autoload :AzureIaaSComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb'
|
141
|
+
autoload :AzureIaaSComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb'
|
142
|
+
autoload :AzureIaaSVMJob, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb'
|
123
143
|
autoload :AzureIaaSVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb'
|
124
|
-
autoload :MabFileFolderProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb'
|
125
|
-
autoload :AzureSqlProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb'
|
126
|
-
autoload :IaasVMBackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb'
|
127
144
|
autoload :AzureIaaSVMProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb'
|
128
|
-
autoload :
|
145
|
+
autoload :AzureSqlContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb'
|
146
|
+
autoload :AzureSqlProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb'
|
129
147
|
autoload :AzureSqlProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb'
|
130
|
-
autoload :
|
148
|
+
autoload :BackupEngineBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb'
|
149
|
+
autoload :BackupEngineBaseResourceList, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb'
|
150
|
+
autoload :BackupRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb'
|
151
|
+
autoload :BackupResourceConfigResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_config_resource.rb'
|
152
|
+
autoload :BackupResourceVaultConfigResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config_resource.rb'
|
153
|
+
autoload :DpmBackupEngine, 'generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb'
|
154
|
+
autoload :DpmContainer, 'generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb'
|
155
|
+
autoload :DpmJob, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb'
|
156
|
+
autoload :DPMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb'
|
157
|
+
autoload :ExportJobsOperationResultInfo, 'generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb'
|
131
158
|
autoload :GenericRecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb'
|
132
|
-
autoload :
|
159
|
+
autoload :IaasVMBackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb'
|
160
|
+
autoload :IaaSVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb'
|
133
161
|
autoload :IaasVMILRRegistrationRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb'
|
134
|
-
autoload :
|
135
|
-
autoload :
|
162
|
+
autoload :IaaSVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb'
|
163
|
+
autoload :IaasVMRecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb'
|
164
|
+
autoload :IaasVMRestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb'
|
165
|
+
autoload :ILRRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb'
|
166
|
+
autoload :JobResource, 'generated/azure_mgmt_recovery_services_backup/models/job_resource.rb'
|
167
|
+
autoload :JobResourceList, 'generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb'
|
168
|
+
autoload :LongTermRetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb'
|
169
|
+
autoload :LongTermSchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb'
|
170
|
+
autoload :MabContainer, 'generated/azure_mgmt_recovery_services_backup/models/mab_container.rb'
|
171
|
+
autoload :MabFileFolderProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb'
|
136
172
|
autoload :MabJob, 'generated/azure_mgmt_recovery_services_backup/models/mab_job.rb'
|
173
|
+
autoload :MabProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb'
|
137
174
|
autoload :OperationResultInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb'
|
138
|
-
autoload :
|
139
|
-
autoload :AzureIaaSComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb'
|
140
|
-
autoload :AzureIaaSClassicComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb'
|
141
|
-
autoload :AzureIaaSComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb'
|
142
|
-
autoload :AzureIaaSClassicComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb'
|
143
|
-
autoload :AzureIaaSComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb'
|
144
|
-
autoload :AzureIaaSClassicComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb'
|
175
|
+
autoload :OperationResultInfoBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb'
|
145
176
|
autoload :OperationStatusJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb'
|
146
|
-
autoload :OperationStatusProvisionILRExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb'
|
147
177
|
autoload :OperationStatusJobsExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb'
|
148
|
-
autoload :
|
149
|
-
autoload :
|
178
|
+
autoload :OperationStatusProvisionILRExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb'
|
179
|
+
autoload :ProtectedItemResource, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb'
|
180
|
+
autoload :ProtectedItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb'
|
181
|
+
autoload :ProtectionContainerResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb'
|
182
|
+
autoload :ProtectionContainerResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb'
|
183
|
+
autoload :ProtectionPolicyResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb'
|
184
|
+
autoload :ProtectionPolicyResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb'
|
185
|
+
autoload :RecoveryPointResource, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb'
|
186
|
+
autoload :RecoveryPointResourceList, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb'
|
187
|
+
autoload :RestoreRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb'
|
150
188
|
autoload :SimpleRetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb'
|
151
|
-
autoload :
|
152
|
-
autoload :
|
153
|
-
autoload :
|
154
|
-
autoload :
|
155
|
-
autoload :BackupManagementType, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb'
|
156
|
-
autoload :OperationStatusValues, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb'
|
157
|
-
autoload :HttpStatusCode, 'generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb'
|
158
|
-
autoload :JobStatus, 'generated/azure_mgmt_recovery_services_backup/models/job_status.rb'
|
159
|
-
autoload :JobOperationType, 'generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb'
|
160
|
-
autoload :ProtectionStatus, 'generated/azure_mgmt_recovery_services_backup/models/protection_status.rb'
|
161
|
-
autoload :DataSourceType, 'generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb'
|
162
|
-
autoload :BackupItemType, 'generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb'
|
189
|
+
autoload :SimpleSchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb'
|
190
|
+
autoload :WorkloadProtectableItemResource, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb'
|
191
|
+
autoload :WorkloadProtectableItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb'
|
192
|
+
autoload :JobSupportedAction, 'generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb'
|
163
193
|
autoload :ProtectionState, 'generated/azure_mgmt_recovery_services_backup/models/protection_state.rb'
|
194
|
+
autoload :HealthStatus, 'generated/azure_mgmt_recovery_services_backup/models/health_status.rb'
|
164
195
|
autoload :ProtectedItemState, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb'
|
196
|
+
autoload :BackupManagementType, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb'
|
197
|
+
autoload :UsagesUnit, 'generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb'
|
198
|
+
autoload :StorageType, 'generated/azure_mgmt_recovery_services_backup/models/storage_type.rb'
|
199
|
+
autoload :StorageTypeState, 'generated/azure_mgmt_recovery_services_backup/models/storage_type_state.rb'
|
200
|
+
autoload :EnhancedSecurityState, 'generated/azure_mgmt_recovery_services_backup/models/enhanced_security_state.rb'
|
201
|
+
autoload :Type, 'generated/azure_mgmt_recovery_services_backup/models/type.rb'
|
202
|
+
autoload :ContainerType, 'generated/azure_mgmt_recovery_services_backup/models/container_type.rb'
|
203
|
+
autoload :RetentionDurationType, 'generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb'
|
204
|
+
autoload :RecoveryPointTierType, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_type.rb'
|
205
|
+
autoload :RecoveryPointTierStatus, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_status.rb'
|
165
206
|
autoload :RecoveryType, 'generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb'
|
166
|
-
autoload :
|
167
|
-
autoload :
|
168
|
-
autoload :WorkloadType, 'generated/azure_mgmt_recovery_services_backup/models/workload_type.rb'
|
169
|
-
autoload :ScheduleRunType, 'generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb'
|
207
|
+
autoload :JobStatus, 'generated/azure_mgmt_recovery_services_backup/models/job_status.rb'
|
208
|
+
autoload :JobOperationType, 'generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb'
|
170
209
|
autoload :DayOfWeek, 'generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb'
|
171
|
-
autoload :RetentionDurationType, 'generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb'
|
172
210
|
autoload :RetentionScheduleFormat, 'generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb'
|
173
211
|
autoload :WeekOfMonth, 'generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb'
|
174
212
|
autoload :MonthOfYear, 'generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb'
|
213
|
+
autoload :BackupItemType, 'generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb'
|
214
|
+
autoload :MabServerType, 'generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb'
|
215
|
+
autoload :WorkloadType, 'generated/azure_mgmt_recovery_services_backup/models/workload_type.rb'
|
216
|
+
autoload :OperationStatusValues, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb'
|
217
|
+
autoload :HttpStatusCode, 'generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb'
|
218
|
+
autoload :DataSourceType, 'generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb'
|
219
|
+
autoload :HealthState, 'generated/azure_mgmt_recovery_services_backup/models/health_state.rb'
|
220
|
+
autoload :ScheduleRunType, 'generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb'
|
221
|
+
autoload :ProtectionStatus, 'generated/azure_mgmt_recovery_services_backup/models/protection_status.rb'
|
175
222
|
end
|
176
223
|
end
|
@@ -1,14 +1,17 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
+
# license information.
|
5
|
+
#
|
6
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
7
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
8
|
# regenerated.
|
5
9
|
|
6
10
|
module Azure::ARM::RecoveryServicesBackup
|
7
11
|
#
|
8
|
-
#
|
12
|
+
# Open API 2.0 Specs for Azure RecoveryServices Backup service
|
9
13
|
#
|
10
14
|
class BackupEngines
|
11
|
-
include Azure::ARM::RecoveryServicesBackup::Models
|
12
15
|
include MsRestAzure
|
13
16
|
|
14
17
|
#
|
@@ -23,64 +26,58 @@ module Azure::ARM::RecoveryServicesBackup
|
|
23
26
|
attr_reader :client
|
24
27
|
|
25
28
|
#
|
26
|
-
#
|
27
|
-
#
|
29
|
+
# Backup management servers registered to Recovery Services Vault. Returns a
|
30
|
+
# pageable list of servers.
|
28
31
|
#
|
29
|
-
# @param vault_name [String] The name of the
|
30
|
-
# @param resource_group_name [String] The name of the resource group
|
31
|
-
#
|
32
|
-
# @param filter [String]
|
33
|
-
#
|
34
|
-
# AzureBackupServer, AzureSql }.
|
35
|
-
# @param skip_token [String] The Skip Token filter.
|
32
|
+
# @param vault_name [String] The name of the recovery services vault.
|
33
|
+
# @param resource_group_name [String] The name of the resource group where the
|
34
|
+
# recovery services vault is present.
|
35
|
+
# @param filter [String] OData filter options.
|
36
|
+
# @param skip_token [String] skipToken Filter.
|
36
37
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
37
38
|
# will be added to the HTTP request.
|
38
39
|
#
|
39
40
|
# @return [Array<BackupEngineBaseResource>] operation results.
|
40
41
|
#
|
41
|
-
def
|
42
|
-
first_page =
|
42
|
+
def list(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
|
43
|
+
first_page = list_as_lazy(vault_name, resource_group_name, filter, skip_token, custom_headers)
|
43
44
|
first_page.get_all_items
|
44
45
|
end
|
45
46
|
|
46
47
|
#
|
47
|
-
#
|
48
|
-
#
|
48
|
+
# Backup management servers registered to Recovery Services Vault. Returns a
|
49
|
+
# pageable list of servers.
|
49
50
|
#
|
50
|
-
# @param vault_name [String] The name of the
|
51
|
-
# @param resource_group_name [String] The name of the resource group
|
52
|
-
#
|
53
|
-
# @param filter [String]
|
54
|
-
#
|
55
|
-
# AzureBackupServer, AzureSql }.
|
56
|
-
# @param skip_token [String] The Skip Token filter.
|
51
|
+
# @param vault_name [String] The name of the recovery services vault.
|
52
|
+
# @param resource_group_name [String] The name of the resource group where the
|
53
|
+
# recovery services vault is present.
|
54
|
+
# @param filter [String] OData filter options.
|
55
|
+
# @param skip_token [String] skipToken Filter.
|
57
56
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
58
57
|
# will be added to the HTTP request.
|
59
58
|
#
|
60
59
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
61
60
|
#
|
62
|
-
def
|
63
|
-
|
61
|
+
def list_with_http_info(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
|
62
|
+
list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
|
64
63
|
end
|
65
64
|
|
66
65
|
#
|
67
|
-
#
|
68
|
-
#
|
66
|
+
# Backup management servers registered to Recovery Services Vault. Returns a
|
67
|
+
# pageable list of servers.
|
69
68
|
#
|
70
|
-
# @param vault_name [String] The name of the
|
71
|
-
# @param resource_group_name [String] The name of the resource group
|
72
|
-
#
|
73
|
-
# @param filter [String]
|
74
|
-
#
|
75
|
-
# AzureBackupServer, AzureSql }.
|
76
|
-
# @param skip_token [String] The Skip Token filter.
|
69
|
+
# @param vault_name [String] The name of the recovery services vault.
|
70
|
+
# @param resource_group_name [String] The name of the resource group where the
|
71
|
+
# recovery services vault is present.
|
72
|
+
# @param filter [String] OData filter options.
|
73
|
+
# @param skip_token [String] skipToken Filter.
|
77
74
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
78
75
|
# to the HTTP request.
|
79
76
|
#
|
80
77
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
81
78
|
#
|
82
|
-
def
|
83
|
-
api_version = '2016-
|
79
|
+
def list_async(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
|
80
|
+
api_version = '2016-12-01'
|
84
81
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
85
82
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
86
83
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -91,7 +88,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
91
88
|
# Set Headers
|
92
89
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
93
90
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
94
|
-
path_template = '
|
91
|
+
path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines'
|
95
92
|
|
96
93
|
request_url = @base_url || @client.base_url
|
97
94
|
|
@@ -118,8 +115,8 @@ module Azure::ARM::RecoveryServicesBackup
|
|
118
115
|
if status_code == 200
|
119
116
|
begin
|
120
117
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
121
|
-
result_mapper = BackupEngineBaseResourceList.mapper()
|
122
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
118
|
+
result_mapper = Azure::ARM::RecoveryServicesBackup::Models::BackupEngineBaseResourceList.mapper()
|
119
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
123
120
|
rescue Exception => e
|
124
121
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
125
122
|
end
|
@@ -132,8 +129,112 @@ module Azure::ARM::RecoveryServicesBackup
|
|
132
129
|
end
|
133
130
|
|
134
131
|
#
|
135
|
-
#
|
136
|
-
#
|
132
|
+
# Returns backup management server registered to Recovery Services Vault.
|
133
|
+
#
|
134
|
+
# @param vault_name [String] The name of the recovery services vault.
|
135
|
+
# @param resource_group_name [String] The name of the resource group where the
|
136
|
+
# recovery services vault is present.
|
137
|
+
# @param backup_engine_name [String] Name of the backup management server.
|
138
|
+
# @param filter [String] OData filter options.
|
139
|
+
# @param skip_token [String] skipToken Filter.
|
140
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
141
|
+
# will be added to the HTTP request.
|
142
|
+
#
|
143
|
+
# @return [BackupEngineBaseResource] operation results.
|
144
|
+
#
|
145
|
+
def get(vault_name, resource_group_name, backup_engine_name, filter = nil, skip_token = nil, custom_headers = nil)
|
146
|
+
response = get_async(vault_name, resource_group_name, backup_engine_name, filter, skip_token, custom_headers).value!
|
147
|
+
response.body unless response.nil?
|
148
|
+
end
|
149
|
+
|
150
|
+
#
|
151
|
+
# Returns backup management server registered to Recovery Services Vault.
|
152
|
+
#
|
153
|
+
# @param vault_name [String] The name of the recovery services vault.
|
154
|
+
# @param resource_group_name [String] The name of the resource group where the
|
155
|
+
# recovery services vault is present.
|
156
|
+
# @param backup_engine_name [String] Name of the backup management server.
|
157
|
+
# @param filter [String] OData filter options.
|
158
|
+
# @param skip_token [String] skipToken Filter.
|
159
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
160
|
+
# will be added to the HTTP request.
|
161
|
+
#
|
162
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
163
|
+
#
|
164
|
+
def get_with_http_info(vault_name, resource_group_name, backup_engine_name, filter = nil, skip_token = nil, custom_headers = nil)
|
165
|
+
get_async(vault_name, resource_group_name, backup_engine_name, filter, skip_token, custom_headers).value!
|
166
|
+
end
|
167
|
+
|
168
|
+
#
|
169
|
+
# Returns backup management server registered to Recovery Services Vault.
|
170
|
+
#
|
171
|
+
# @param vault_name [String] The name of the recovery services vault.
|
172
|
+
# @param resource_group_name [String] The name of the resource group where the
|
173
|
+
# recovery services vault is present.
|
174
|
+
# @param backup_engine_name [String] Name of the backup management server.
|
175
|
+
# @param filter [String] OData filter options.
|
176
|
+
# @param skip_token [String] skipToken Filter.
|
177
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
178
|
+
# to the HTTP request.
|
179
|
+
#
|
180
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
181
|
+
#
|
182
|
+
def get_async(vault_name, resource_group_name, backup_engine_name, filter = nil, skip_token = nil, custom_headers = nil)
|
183
|
+
api_version = '2016-12-01'
|
184
|
+
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
185
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
186
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
187
|
+
fail ArgumentError, 'backup_engine_name is nil' if backup_engine_name.nil?
|
188
|
+
|
189
|
+
|
190
|
+
request_headers = {}
|
191
|
+
|
192
|
+
# Set Headers
|
193
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
194
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
195
|
+
path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}'
|
196
|
+
|
197
|
+
request_url = @base_url || @client.base_url
|
198
|
+
|
199
|
+
options = {
|
200
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
201
|
+
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'backupEngineName' => backup_engine_name},
|
202
|
+
query_params: {'api-version' => api_version,'$filter' => filter,'$skipToken' => skip_token},
|
203
|
+
headers: request_headers.merge(custom_headers || {}),
|
204
|
+
base_url: request_url
|
205
|
+
}
|
206
|
+
promise = @client.make_request_async(:get, path_template, options)
|
207
|
+
|
208
|
+
promise = promise.then do |result|
|
209
|
+
http_response = result.response
|
210
|
+
status_code = http_response.status
|
211
|
+
response_content = http_response.body
|
212
|
+
unless status_code == 200
|
213
|
+
error_model = JSON.load(response_content)
|
214
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
215
|
+
end
|
216
|
+
|
217
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
218
|
+
# Deserialize Response
|
219
|
+
if status_code == 200
|
220
|
+
begin
|
221
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
222
|
+
result_mapper = Azure::ARM::RecoveryServicesBackup::Models::BackupEngineBaseResource.mapper()
|
223
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
224
|
+
rescue Exception => e
|
225
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
result
|
230
|
+
end
|
231
|
+
|
232
|
+
promise.execute
|
233
|
+
end
|
234
|
+
|
235
|
+
#
|
236
|
+
# Backup management servers registered to Recovery Services Vault. Returns a
|
237
|
+
# pageable list of servers.
|
137
238
|
#
|
138
239
|
# @param next_page_link [String] The NextLink from the previous successful call
|
139
240
|
# to List operation.
|
@@ -142,14 +243,14 @@ module Azure::ARM::RecoveryServicesBackup
|
|
142
243
|
#
|
143
244
|
# @return [BackupEngineBaseResourceList] operation results.
|
144
245
|
#
|
145
|
-
def
|
146
|
-
response =
|
246
|
+
def list_next(next_page_link, custom_headers = nil)
|
247
|
+
response = list_next_async(next_page_link, custom_headers).value!
|
147
248
|
response.body unless response.nil?
|
148
249
|
end
|
149
250
|
|
150
251
|
#
|
151
|
-
#
|
152
|
-
#
|
252
|
+
# Backup management servers registered to Recovery Services Vault. Returns a
|
253
|
+
# pageable list of servers.
|
153
254
|
#
|
154
255
|
# @param next_page_link [String] The NextLink from the previous successful call
|
155
256
|
# to List operation.
|
@@ -158,13 +259,13 @@ module Azure::ARM::RecoveryServicesBackup
|
|
158
259
|
#
|
159
260
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
160
261
|
#
|
161
|
-
def
|
162
|
-
|
262
|
+
def list_next_with_http_info(next_page_link, custom_headers = nil)
|
263
|
+
list_next_async(next_page_link, custom_headers).value!
|
163
264
|
end
|
164
265
|
|
165
266
|
#
|
166
|
-
#
|
167
|
-
#
|
267
|
+
# Backup management servers registered to Recovery Services Vault. Returns a
|
268
|
+
# pageable list of servers.
|
168
269
|
#
|
169
270
|
# @param next_page_link [String] The NextLink from the previous successful call
|
170
271
|
# to List operation.
|
@@ -173,7 +274,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
173
274
|
#
|
174
275
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
175
276
|
#
|
176
|
-
def
|
277
|
+
def list_next_async(next_page_link, custom_headers = nil)
|
177
278
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
178
279
|
|
179
280
|
|
@@ -208,8 +309,8 @@ module Azure::ARM::RecoveryServicesBackup
|
|
208
309
|
if status_code == 200
|
209
310
|
begin
|
210
311
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
211
|
-
result_mapper = BackupEngineBaseResourceList.mapper()
|
212
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
312
|
+
result_mapper = Azure::ARM::RecoveryServicesBackup::Models::BackupEngineBaseResourceList.mapper()
|
313
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
213
314
|
rescue Exception => e
|
214
315
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
215
316
|
end
|
@@ -222,28 +323,26 @@ module Azure::ARM::RecoveryServicesBackup
|
|
222
323
|
end
|
223
324
|
|
224
325
|
#
|
225
|
-
#
|
226
|
-
#
|
326
|
+
# Backup management servers registered to Recovery Services Vault. Returns a
|
327
|
+
# pageable list of servers.
|
227
328
|
#
|
228
|
-
# @param vault_name [String] The name of the
|
229
|
-
# @param resource_group_name [String] The name of the resource group
|
230
|
-
#
|
231
|
-
# @param filter [String]
|
232
|
-
#
|
233
|
-
# AzureBackupServer, AzureSql }.
|
234
|
-
# @param skip_token [String] The Skip Token filter.
|
329
|
+
# @param vault_name [String] The name of the recovery services vault.
|
330
|
+
# @param resource_group_name [String] The name of the resource group where the
|
331
|
+
# recovery services vault is present.
|
332
|
+
# @param filter [String] OData filter options.
|
333
|
+
# @param skip_token [String] skipToken Filter.
|
235
334
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
236
335
|
# will be added to the HTTP request.
|
237
336
|
#
|
238
337
|
# @return [BackupEngineBaseResourceList] which provide lazy access to pages of
|
239
338
|
# the response.
|
240
339
|
#
|
241
|
-
def
|
242
|
-
response =
|
340
|
+
def list_as_lazy(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
|
341
|
+
response = list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
|
243
342
|
unless response.nil?
|
244
343
|
page = response.body
|
245
344
|
page.next_method = Proc.new do |next_page_link|
|
246
|
-
|
345
|
+
list_next_async(next_page_link, custom_headers)
|
247
346
|
end
|
248
347
|
page
|
249
348
|
end
|