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
@@ -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
|
|
@@ -1,20 +1,25 @@
|
|
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
|
module Models
|
8
12
|
#
|
9
|
-
#
|
13
|
+
# Base class for retention policy.
|
10
14
|
#
|
11
15
|
class RetentionPolicy
|
12
16
|
|
13
17
|
include MsRestAzure
|
14
18
|
|
19
|
+
include MsRest::JSONable
|
15
20
|
@@discriminatorMap = Hash.new
|
16
|
-
@@discriminatorMap["SimpleRetentionPolicy"] = "SimpleRetentionPolicy"
|
17
21
|
@@discriminatorMap["LongTermRetentionPolicy"] = "LongTermRetentionPolicy"
|
22
|
+
@@discriminatorMap["SimpleRetentionPolicy"] = "SimpleRetentionPolicy"
|
18
23
|
|
19
24
|
def initialize
|
20
25
|
@retentionPolicyType = "RetentionPolicy"
|
@@ -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
|
|
@@ -1,17 +1,22 @@
|
|
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
|
module Models
|
8
12
|
#
|
9
|
-
#
|
13
|
+
# Base class for backup schedule.
|
10
14
|
#
|
11
15
|
class SchedulePolicy
|
12
16
|
|
13
17
|
include MsRestAzure
|
14
18
|
|
19
|
+
include MsRest::JSONable
|
15
20
|
@@discriminatorMap = Hash.new
|
16
21
|
@@discriminatorMap["LongTermSchedulePolicy"] = "LongTermSchedulePolicy"
|
17
22
|
@@discriminatorMap["SimpleSchedulePolicy"] = "SimpleSchedulePolicy"
|
@@ -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
|
|
@@ -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
|
|
@@ -12,6 +16,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
12
16
|
|
13
17
|
include MsRestAzure
|
14
18
|
|
19
|
+
include MsRest::JSONable
|
15
20
|
|
16
21
|
def initialize
|
17
22
|
@retentionPolicyType = "SimpleRetentionPolicy"
|
@@ -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
|
|
@@ -12,6 +16,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
12
16
|
|
13
17
|
include MsRestAzure
|
14
18
|
|
19
|
+
include MsRest::JSONable
|
15
20
|
|
16
21
|
def initialize
|
17
22
|
@schedulePolicyType = "SimpleSchedulePolicy"
|
@@ -19,20 +24,19 @@ module Azure::ARM::RecoveryServicesBackup
|
|
19
24
|
|
20
25
|
attr_accessor :schedulePolicyType
|
21
26
|
|
22
|
-
# @return [ScheduleRunType]
|
23
|
-
#
|
24
|
-
# 'Daily', 'Weekly'
|
27
|
+
# @return [ScheduleRunType] Frequency of the schedule operation of this
|
28
|
+
# policy. Possible values include: 'Invalid', 'Daily', 'Weekly'
|
25
29
|
attr_accessor :schedule_run_frequency
|
26
30
|
|
27
|
-
# @return [Array<DayOfWeek>]
|
28
|
-
#
|
31
|
+
# @return [Array<DayOfWeek>] List of days of week this schedule has to be
|
32
|
+
# run.
|
29
33
|
attr_accessor :schedule_run_days
|
30
34
|
|
31
|
-
# @return [Array<DateTime>] List of times
|
32
|
-
#
|
35
|
+
# @return [Array<DateTime>] List of times of day this schedule has to be
|
36
|
+
# run.
|
33
37
|
attr_accessor :schedule_run_times
|
34
38
|
|
35
|
-
# @return [Integer]
|
39
|
+
# @return [Integer] At every number weeks this schedule has to be run.
|
36
40
|
attr_accessor :schedule_weekly_frequency
|
37
41
|
|
38
42
|
|
@@ -59,8 +63,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
59
63
|
required: false,
|
60
64
|
serialized_name: 'scheduleRunFrequency',
|
61
65
|
type: {
|
62
|
-
name: '
|
63
|
-
module: 'ScheduleRunType'
|
66
|
+
name: 'String'
|
64
67
|
}
|
65
68
|
},
|
66
69
|
schedule_run_days: {
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
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
|
7
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
8
|
+
# regenerated.
|
9
|
+
|
10
|
+
module Azure::ARM::RecoveryServicesBackup
|
11
|
+
module Models
|
12
|
+
#
|
13
|
+
# Defines values for StorageType
|
14
|
+
#
|
15
|
+
module StorageType
|
16
|
+
Invalid = "Invalid"
|
17
|
+
GeoRedundant = "GeoRedundant"
|
18
|
+
LocallyRedundant = "LocallyRedundant"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
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
|
7
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
8
|
+
# regenerated.
|
9
|
+
|
10
|
+
module Azure::ARM::RecoveryServicesBackup
|
11
|
+
module Models
|
12
|
+
#
|
13
|
+
# Defines values for StorageTypeState
|
14
|
+
#
|
15
|
+
module StorageTypeState
|
16
|
+
Invalid = "Invalid"
|
17
|
+
Locked = "Locked"
|
18
|
+
Unlocked = "Unlocked"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# encoding: utf-8
|
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
|
7
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
8
|
+
# regenerated.
|
9
|
+
|
10
|
+
module Azure::ARM::RecoveryServicesBackup
|
11
|
+
module Models
|
12
|
+
#
|
13
|
+
# The token information details.
|
14
|
+
#
|
15
|
+
class TokenInformation
|
16
|
+
|
17
|
+
include MsRestAzure
|
18
|
+
|
19
|
+
include MsRest::JSONable
|
20
|
+
# @return [String] Token value.
|
21
|
+
attr_accessor :token
|
22
|
+
|
23
|
+
# @return [Integer] Expiry time of token.
|
24
|
+
attr_accessor :expiry_time_in_utc_ticks
|
25
|
+
|
26
|
+
# @return [String] Security PIN
|
27
|
+
attr_accessor :security_pin
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for TokenInformation class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'TokenInformation',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'TokenInformation',
|
41
|
+
model_properties: {
|
42
|
+
token: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'token',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
expiry_time_in_utc_ticks: {
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'expiryTimeInUtcTicks',
|
52
|
+
type: {
|
53
|
+
name: 'Number'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
security_pin: {
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'securityPIN',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
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
|
7
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
8
|
+
# regenerated.
|
9
|
+
|
10
|
+
module Azure::ARM::RecoveryServicesBackup
|
11
|
+
module Models
|
12
|
+
#
|
13
|
+
# Defines values for Type
|
14
|
+
#
|
15
|
+
module Type
|
16
|
+
Invalid = "Invalid"
|
17
|
+
BackupProtectedItemCountSummary = "BackupProtectedItemCountSummary"
|
18
|
+
BackupProtectionContainerCountSummary = "BackupProtectionContainerCountSummary"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: utf-8
|
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
|
7
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
8
|
+
# regenerated.
|
9
|
+
|
10
|
+
module Azure::ARM::RecoveryServicesBackup
|
11
|
+
module Models
|
12
|
+
#
|
13
|
+
# Defines values for UsagesUnit
|
14
|
+
#
|
15
|
+
module UsagesUnit
|
16
|
+
Count = "Count"
|
17
|
+
Bytes = "Bytes"
|
18
|
+
Seconds = "Seconds"
|
19
|
+
Percent = "Percent"
|
20
|
+
CountPerSecond = "CountPerSecond"
|
21
|
+
BytesPerSecond = "BytesPerSecond"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -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
|
|
@@ -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
|
|
@@ -12,10 +16,11 @@ module Azure::ARM::RecoveryServicesBackup
|
|
12
16
|
|
13
17
|
include MsRestAzure
|
14
18
|
|
19
|
+
include MsRest::JSONable
|
15
20
|
# @return [Array<DayOfWeek>] List of days of the week.
|
16
21
|
attr_accessor :days_of_the_week
|
17
22
|
|
18
|
-
# @return [Array<WeekOfMonth>] List of weeks of
|
23
|
+
# @return [Array<WeekOfMonth>] List of weeks of month.
|
19
24
|
attr_accessor :weeks_of_the_month
|
20
25
|
|
21
26
|
|
@@ -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
|
|
@@ -12,14 +16,15 @@ module Azure::ARM::RecoveryServicesBackup
|
|
12
16
|
|
13
17
|
include MsRestAzure
|
14
18
|
|
15
|
-
|
16
|
-
# retention
|
19
|
+
include MsRest::JSONable
|
20
|
+
# @return [Array<DayOfWeek>] List of days of week for weekly retention
|
21
|
+
# policy.
|
17
22
|
attr_accessor :days_of_the_week
|
18
23
|
|
19
|
-
# @return [Array<DateTime>] Retention times of
|
24
|
+
# @return [Array<DateTime>] Retention times of retention policy.
|
20
25
|
attr_accessor :retention_times
|
21
26
|
|
22
|
-
# @return [RetentionDuration] Retention duration of retention
|
27
|
+
# @return [RetentionDuration] Retention duration of retention Policy.
|
23
28
|
attr_accessor :retention_duration
|
24
29
|
|
25
30
|
|
@@ -1,22 +1,27 @@
|
|
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
|
module Models
|
8
12
|
#
|
9
|
-
#
|
10
|
-
#
|
13
|
+
# Base class for backup item. Workload-specific backup items are derived
|
14
|
+
# from this class.
|
11
15
|
#
|
12
16
|
class WorkloadProtectableItem
|
13
17
|
|
14
18
|
include MsRestAzure
|
15
19
|
|
20
|
+
include MsRest::JSONable
|
16
21
|
@@discriminatorMap = Hash.new
|
17
|
-
@@discriminatorMap["IaaSVMProtectableItem"] = "IaaSVMProtectableItem"
|
18
|
-
@@discriminatorMap["Microsoft.Compute/virtualMachines"] = "AzureIaaSComputeVMProtectableItem"
|
19
22
|
@@discriminatorMap["Microsoft.ClassicCompute/virtualMachines"] = "AzureIaaSClassicComputeVMProtectableItem"
|
23
|
+
@@discriminatorMap["Microsoft.Compute/virtualMachines"] = "AzureIaaSComputeVMProtectableItem"
|
24
|
+
@@discriminatorMap["IaaSVMProtectableItem"] = "IaaSVMProtectableItem"
|
20
25
|
|
21
26
|
def initialize
|
22
27
|
@protectableItemType = "WorkloadProtectableItem"
|
@@ -24,14 +29,14 @@ module Azure::ARM::RecoveryServicesBackup
|
|
24
29
|
|
25
30
|
attr_accessor :protectableItemType
|
26
31
|
|
27
|
-
# @return [String]
|
32
|
+
# @return [String] Type of backup managemenent to backup an item.
|
28
33
|
attr_accessor :backup_management_type
|
29
34
|
|
30
|
-
# @return [String]
|
35
|
+
# @return [String] Friendly name of the backup item.
|
31
36
|
attr_accessor :friendly_name
|
32
37
|
|
33
|
-
# @return [ProtectionStatus]
|
34
|
-
#
|
38
|
+
# @return [ProtectionStatus] State of the back up item. Possible values
|
39
|
+
# include: 'Invalid', 'NotProtected', 'Protecting', 'Protected'
|
35
40
|
attr_accessor :protection_state
|
36
41
|
|
37
42
|
|
@@ -67,8 +72,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
67
72
|
required: false,
|
68
73
|
serialized_name: 'protectionState',
|
69
74
|
type: {
|
70
|
-
name: '
|
71
|
-
module: 'ProtectionStatus'
|
75
|
+
name: 'String'
|
72
76
|
}
|
73
77
|
}
|
74
78
|
}
|