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.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_recovery_services_backup.rb +158 -111
  3. data/lib/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +163 -64
  4. data/lib/generated/azure_mgmt_recovery_services_backup/backup_jobs.rb +240 -0
  5. data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +38 -35
  6. data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +28 -25
  7. data/lib/generated/azure_mgmt_recovery_services_backup/backup_policies.rb +244 -0
  8. data/lib/generated/azure_mgmt_recovery_services_backup/{protectable_items.rb → backup_protectable_items.rb} +48 -76
  9. data/lib/generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb +248 -0
  10. data/lib/generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +237 -0
  11. data/lib/generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +206 -0
  12. data/lib/generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +230 -0
  13. data/lib/generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +129 -0
  14. data/lib/generated/azure_mgmt_recovery_services_backup/backups.rb +46 -46
  15. data/lib/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +31 -22
  16. data/lib/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +108 -111
  17. data/lib/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +23 -20
  18. data/lib/generated/azure_mgmt_recovery_services_backup/job_details.rb +25 -22
  19. data/lib/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +32 -23
  20. data/lib/generated/azure_mgmt_recovery_services_backup/jobs.rb +26 -277
  21. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +177 -0
  22. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +51 -4
  23. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +9 -5
  24. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +9 -4
  25. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +47 -8
  26. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +9 -5
  27. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +9 -4
  28. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +47 -9
  29. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +10 -4
  30. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +86 -0
  31. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +15 -11
  32. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +8 -3
  33. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +9 -4
  34. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +67 -19
  35. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +10 -6
  36. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +22 -6
  37. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +8 -4
  38. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +20 -11
  39. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +11 -6
  40. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +8 -3
  41. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +80 -14
  42. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +11 -3
  43. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +6 -1
  44. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_extended_info.rb +119 -0
  45. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +9 -2
  46. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +5 -1
  47. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +102 -0
  48. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +58 -0
  49. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +8 -3
  50. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +11 -3
  51. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +62 -0
  52. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config_resource.rb +102 -0
  53. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +73 -0
  54. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config_resource.rb +103 -0
  55. data/lib/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb +9 -5
  56. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +12 -10
  57. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +71 -0
  58. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +51 -0
  59. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +35 -8
  60. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +13 -9
  61. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +9 -4
  62. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +79 -0
  63. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +69 -0
  64. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_properties.rb +50 -0
  65. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_service_specification.rb +59 -0
  66. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +99 -0
  67. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +83 -0
  68. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +35 -7
  69. data/lib/generated/azure_mgmt_recovery_services_backup/models/container_type.rb +29 -0
  70. data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +6 -1
  71. data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +8 -3
  72. data/lib/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +9 -2
  73. data/lib/generated/azure_mgmt_recovery_services_backup/models/day.rb +8 -3
  74. data/lib/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +5 -1
  75. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +51 -5
  76. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb +177 -0
  77. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +8 -3
  78. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb +15 -11
  79. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +7 -2
  80. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +7 -2
  81. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmcontainer_extended_info.rb +49 -0
  82. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +150 -0
  83. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +187 -0
  84. data/lib/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb +11 -8
  85. data/lib/generated/azure_mgmt_recovery_services_backup/models/enhanced_security_state.rb +21 -0
  86. data/lib/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +9 -5
  87. data/lib/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +7 -2
  88. data/lib/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +7 -2
  89. data/lib/generated/azure_mgmt_recovery_services_backup/models/health_state.rb +22 -0
  90. data/lib/generated/azure_mgmt_recovery_services_backup/models/health_status.rb +22 -0
  91. data/lib/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +5 -1
  92. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +12 -9
  93. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +9 -7
  94. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +9 -5
  95. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +14 -10
  96. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +50 -7
  97. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +39 -37
  98. data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +7 -2
  99. data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +11 -3
  100. data/lib/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +7 -2
  101. data/lib/generated/azure_mgmt_recovery_services_backup/models/job.rb +12 -8
  102. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +7 -1
  103. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +16 -14
  104. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb +11 -3
  105. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +7 -2
  106. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +5 -1
  107. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +5 -1
  108. data/lib/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb +10 -8
  109. data/lib/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +14 -11
  110. data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +12 -7
  111. data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +7 -2
  112. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +14 -10
  113. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +15 -10
  114. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +7 -2
  115. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +34 -14
  116. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +10 -6
  117. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +20 -18
  118. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +8 -3
  119. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +7 -2
  120. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +9 -5
  121. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +8 -4
  122. data/lib/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +5 -1
  123. data/lib/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +12 -8
  124. data/lib/generated/azure_mgmt_recovery_services_backup/models/name_info.rb +59 -0
  125. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +7 -2
  126. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +8 -3
  127. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +12 -6
  128. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb +9 -7
  129. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +9 -4
  130. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +8 -3
  131. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +8 -3
  132. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +8 -3
  133. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +9 -5
  134. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +5 -1
  135. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +20 -15
  136. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +34 -19
  137. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +49 -14
  138. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +11 -3
  139. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +8 -3
  140. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +5 -1
  141. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +25 -17
  142. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +11 -3
  143. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +11 -6
  144. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +9 -4
  145. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +11 -7
  146. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +11 -3
  147. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +11 -6
  148. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +5 -1
  149. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +5 -1
  150. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +9 -4
  151. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +12 -4
  152. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +11 -6
  153. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_information.rb +63 -0
  154. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_status.rb +22 -0
  155. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_type.rb +21 -0
  156. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb +5 -1
  157. data/lib/generated/azure_mgmt_recovery_services_backup/models/resource.rb +10 -2
  158. data/lib/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +8 -3
  159. data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +8 -3
  160. data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +12 -4
  161. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +14 -10
  162. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +5 -1
  163. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +8 -3
  164. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +5 -1
  165. data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +7 -2
  166. data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +5 -1
  167. data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +6 -1
  168. data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +14 -11
  169. data/lib/generated/azure_mgmt_recovery_services_backup/models/storage_type.rb +21 -0
  170. data/lib/generated/azure_mgmt_recovery_services_backup/models/storage_type_state.rb +21 -0
  171. data/lib/generated/azure_mgmt_recovery_services_backup/models/token_information.rb +69 -0
  172. data/lib/generated/azure_mgmt_recovery_services_backup/models/type.rb +21 -0
  173. data/lib/generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb +24 -0
  174. data/lib/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +5 -1
  175. data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +7 -2
  176. data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +10 -5
  177. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +15 -11
  178. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +13 -4
  179. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +7 -2
  180. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +9 -2
  181. data/lib/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +15 -13
  182. data/lib/generated/azure_mgmt_recovery_services_backup/module_definition.rb +5 -1
  183. data/lib/generated/azure_mgmt_recovery_services_backup/operations.rb +217 -0
  184. data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +40 -34
  185. data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +43 -37
  186. data/lib/generated/azure_mgmt_recovery_services_backup/protected_items.rb +112 -350
  187. data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +37 -31
  188. data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +26 -20
  189. data/lib/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +57 -365
  190. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +87 -313
  191. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +31 -25
  192. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +43 -37
  193. data/lib/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +110 -114
  194. data/lib/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +95 -55
  195. data/lib/generated/azure_mgmt_recovery_services_backup/restores.rb +46 -46
  196. data/lib/generated/azure_mgmt_recovery_services_backup/security_pins.rb +123 -0
  197. data/lib/generated/azure_mgmt_recovery_services_backup/version.rb +6 -2
  198. metadata +48 -5
@@ -1,28 +1,32 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # Additional information for the Azure VM (also known as IaaS VM)-specific
10
- # backup item.
13
+ # Additional information on Azure IaaS VM specific backup item.
11
14
  #
12
15
  class AzureIaaSVMProtectedItemExtendedInfo
13
16
 
14
17
  include MsRestAzure
15
18
 
19
+ include MsRest::JSONable
16
20
  # @return [DateTime] The oldest backup copy available for this backup
17
21
  # item.
18
22
  attr_accessor :oldest_recovery_point
19
23
 
20
- # @return [Integer] The number of backup copies available for this backup
24
+ # @return [Integer] Number of backup copies available for this backup
21
25
  # item.
22
26
  attr_accessor :recovery_point_count
23
27
 
24
- # @return [Boolean] Specifies if the backup policy associated with the
25
- # backup item is inconsistent.
28
+ # @return [Boolean] Specifies if backup policy associated with the backup
29
+ # item is inconsistent.
26
30
  attr_accessor :policy_inconsistent
27
31
 
28
32
 
@@ -1,17 +1,22 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # Azure VM (also known as IaaS VM) workload-specific backup policy.
13
+ # IaaS VM workload-specific backup policy.
10
14
  #
11
15
  class AzureIaaSVMProtectionPolicy < ProtectionPolicy
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
 
16
21
  def initialize
17
22
  @backupManagementType = "AzureIaasVM"
@@ -19,14 +24,18 @@ module Azure::ARM::RecoveryServicesBackup
19
24
 
20
25
  attr_accessor :backupManagementType
21
26
 
22
- # @return [SchedulePolicy] The backup schedule specified as part of
23
- # backup policy.
27
+ # @return [SchedulePolicy] Backup schedule specified as part of backup
28
+ # policy.
24
29
  attr_accessor :schedule_policy
25
30
 
26
- # @return [RetentionPolicy] The retention policy with the details on
27
- # backup copy retention ranges.
31
+ # @return [RetentionPolicy] Retention policy with the details on backup
32
+ # copy retention ranges.
28
33
  attr_accessor :retention_policy
29
34
 
35
+ # @return [String] TimeZone optional input as string. For example:
36
+ # TimeZone = "Pacific Standard Time".
37
+ attr_accessor :time_zone
38
+
30
39
 
31
40
  #
32
41
  # Mapper for AzureIaaSVMProtectionPolicy class as Ruby Hash.
@@ -73,6 +82,13 @@ module Azure::ARM::RecoveryServicesBackup
73
82
  uber_parent: 'RetentionPolicy',
74
83
  class_name: 'RetentionPolicy'
75
84
  }
85
+ },
86
+ time_zone: {
87
+ required: false,
88
+ serialized_name: 'timeZone',
89
+ type: {
90
+ name: 'String'
91
+ }
76
92
  }
77
93
  }
78
94
  }
@@ -1,17 +1,22 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # Azure SQL workload-specific container.
13
+ # Azure Sql workload-specific container.
10
14
  #
11
15
  class AzureSqlContainer < ProtectionContainer
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
 
16
21
  def initialize
17
22
  @protectableObjectType = "AzureSqlContainer"
@@ -43,8 +48,7 @@ module Azure::ARM::RecoveryServicesBackup
43
48
  required: false,
44
49
  serialized_name: 'backupManagementType',
45
50
  type: {
46
- name: 'Enum',
47
- module: 'BackupManagementType'
51
+ name: 'String'
48
52
  }
49
53
  },
50
54
  registration_status: {
@@ -1,17 +1,22 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # This is an Azure SQL workload-specific backup item.
13
+ # Azure SQL workload-specific backup item.
10
14
  #
11
15
  class AzureSqlProtectedItem < ProtectedItem
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
 
16
21
  def initialize
17
22
  @protectedItemType = "Microsoft.Sql/servers/databases"
@@ -19,11 +24,11 @@ module Azure::ARM::RecoveryServicesBackup
19
24
 
20
25
  attr_accessor :protectedItemType
21
26
 
22
- # @return [String] The internal ID of a backup item. The internal ID is
23
- # used by the Azure SQL Backup engine to contact Recovery Services.
27
+ # @return [String] Internal ID of a backup item. Used by Azure SQL Backup
28
+ # engine to contact Recovery Services.
24
29
  attr_accessor :protected_item_data_id
25
30
 
26
- # @return [ProtectedItemState] The backup state of the backup item.
31
+ # @return [ProtectedItemState] Backup state of the backed up item.
27
32
  # Possible values include: 'Invalid', 'IRPending', 'Protected',
28
33
  # 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
29
34
  attr_accessor :protection_state
@@ -49,16 +54,21 @@ module Azure::ARM::RecoveryServicesBackup
49
54
  required: false,
50
55
  serialized_name: 'backupManagementType',
51
56
  type: {
52
- name: 'Enum',
53
- module: 'BackupManagementType'
57
+ name: 'String'
54
58
  }
55
59
  },
56
60
  workload_type: {
57
61
  required: false,
58
62
  serialized_name: 'workloadType',
59
63
  type: {
60
- name: 'Enum',
61
- module: 'DataSourceType'
64
+ name: 'String'
65
+ }
66
+ },
67
+ container_name: {
68
+ required: false,
69
+ serialized_name: 'containerName',
70
+ type: {
71
+ name: 'String'
62
72
  }
63
73
  },
64
74
  source_resource_id: {
@@ -100,8 +110,7 @@ module Azure::ARM::RecoveryServicesBackup
100
110
  required: false,
101
111
  serialized_name: 'protectionState',
102
112
  type: {
103
- name: 'Enum',
104
- module: 'ProtectedItemState'
113
+ name: 'String'
105
114
  }
106
115
  },
107
116
  extended_info: {
@@ -1,27 +1,32 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # Additional information for the Azure SQL specific backup item.
13
+ # Additional information on Azure Sql specific protected item.
10
14
  #
11
15
  class AzureSqlProtectedItemExtendedInfo
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
  # @return [DateTime] The oldest backup copy available for this item in
16
21
  # the service.
17
22
  attr_accessor :oldest_recovery_point
18
23
 
19
- # @return [Integer] The number of available backup copies for this backup
20
- # item.
24
+ # @return [Integer] Number of available backup copies associated with
25
+ # this backup item.
21
26
  attr_accessor :recovery_point_count
22
27
 
23
- # @return [String] The state of the backup policy associated with this
24
- # backup item.
28
+ # @return [String] State of the backup policy associated with this backup
29
+ # item.
25
30
  attr_accessor :policy_state
26
31
 
27
32
 
@@ -1,17 +1,22 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # The Azure SQL workload-specific backup policy.
13
+ # Azure SQL workload-specific backup policy.
10
14
  #
11
15
  class AzureSqlProtectionPolicy < ProtectionPolicy
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
 
16
21
  def initialize
17
22
  @backupManagementType = "AzureSql"
@@ -19,7 +24,7 @@ module Azure::ARM::RecoveryServicesBackup
19
24
 
20
25
  attr_accessor :backupManagementType
21
26
 
22
- # @return [RetentionPolicy] The retention policy details.
27
+ # @return [RetentionPolicy] Retention policy details.
23
28
  attr_accessor :retention_policy
24
29
 
25
30
 
@@ -1,18 +1,23 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # The base backup engine class. All workload-specific backup engines derive
13
+ # The base backup engine class. All workload specific backup engines derive
10
14
  # from this class.
11
15
  #
12
16
  class BackupEngineBase
13
17
 
14
18
  include MsRestAzure
15
19
 
20
+ include MsRest::JSONable
16
21
  @@discriminatorMap = Hash.new
17
22
  @@discriminatorMap["AzureBackupServerEngine"] = "AzureBackupServerEngine"
18
23
  @@discriminatorMap["DpmBackupEngine"] = "DpmBackupEngine"
@@ -23,28 +28,47 @@ module Azure::ARM::RecoveryServicesBackup
23
28
 
24
29
  attr_accessor :backupEngineType
25
30
 
26
- # @return [String] The friendly name of the backup engine.
31
+ # @return [String] Friendly name of the backup engine.
27
32
  attr_accessor :friendly_name
28
33
 
29
- # @return [BackupManagementType] The type of backup management associated
30
- # with the backup engine. Possible values include: 'Invalid',
31
- # 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql'
34
+ # @return [BackupManagementType] Type of backup management for the backup
35
+ # engine. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB',
36
+ # 'DPM', 'AzureBackupServer', 'AzureSql'
32
37
  attr_accessor :backup_management_type
33
38
 
34
- # @return [String] The status of the backup engine registration with the
35
- # Recovery Services vault.
39
+ # @return [String] Registration status of the backup engine with the
40
+ # Recovery Services Vault.
36
41
  attr_accessor :registration_status
37
42
 
38
- # @return [String] The backup status of the backup engine.
43
+ # @return [String] Status of the backup engine with the Recovery Services
44
+ # Vault. = {Active/Deleting/DeleteFailed}
45
+ attr_accessor :backup_engine_state
46
+
47
+ # @return [String] Backup status of the backup engine.
39
48
  attr_accessor :health_status
40
49
 
41
- # @return [Boolean] The flag indicating whether the backup engine be
42
- # registered again, once the engine has been initially registered.
50
+ # @return [Boolean] Flag indicating if the backup engine be registered,
51
+ # once already registered.
43
52
  attr_accessor :can_re_register
44
53
 
45
- # @return [String] The ID of the backup engine.
54
+ # @return [String] ID of the backup engine.
46
55
  attr_accessor :backup_engine_id
47
56
 
57
+ # @return [String] Backup engine version
58
+ attr_accessor :dpm_version
59
+
60
+ # @return [String] Backup agent version
61
+ attr_accessor :azure_backup_agent_version
62
+
63
+ # @return [Boolean] To check if backup agent upgrade available
64
+ attr_accessor :is_azure_backup_agent_upgrade_available
65
+
66
+ # @return [Boolean] To check if backup engine upgrade available
67
+ attr_accessor :is_dpmupgrade_available
68
+
69
+ # @return [BackupEngineExtendedInfo] Extended info of the backupengine
70
+ attr_accessor :extended_info
71
+
48
72
 
49
73
  #
50
74
  # Mapper for BackupEngineBase class as Ruby Hash.
@@ -71,8 +95,7 @@ module Azure::ARM::RecoveryServicesBackup
71
95
  required: false,
72
96
  serialized_name: 'backupManagementType',
73
97
  type: {
74
- name: 'Enum',
75
- module: 'BackupManagementType'
98
+ name: 'String'
76
99
  }
77
100
  },
78
101
  registration_status: {
@@ -82,6 +105,13 @@ module Azure::ARM::RecoveryServicesBackup
82
105
  name: 'String'
83
106
  }
84
107
  },
108
+ backup_engine_state: {
109
+ required: false,
110
+ serialized_name: 'backupEngineState',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
85
115
  health_status: {
86
116
  required: false,
87
117
  serialized_name: 'healthStatus',
@@ -102,6 +132,42 @@ module Azure::ARM::RecoveryServicesBackup
102
132
  type: {
103
133
  name: 'String'
104
134
  }
135
+ },
136
+ dpm_version: {
137
+ required: false,
138
+ serialized_name: 'dpmVersion',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ azure_backup_agent_version: {
144
+ required: false,
145
+ serialized_name: 'azureBackupAgentVersion',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ },
150
+ is_azure_backup_agent_upgrade_available: {
151
+ required: false,
152
+ serialized_name: 'isAzureBackupAgentUpgradeAvailable',
153
+ type: {
154
+ name: 'Boolean'
155
+ }
156
+ },
157
+ is_dpmupgrade_available: {
158
+ required: false,
159
+ serialized_name: 'isDPMUpgradeAvailable',
160
+ type: {
161
+ name: 'Boolean'
162
+ }
163
+ },
164
+ extended_info: {
165
+ required: false,
166
+ serialized_name: 'extendedInfo',
167
+ type: {
168
+ name: 'Composite',
169
+ class_name: 'BackupEngineExtendedInfo'
170
+ }
105
171
  }
106
172
  }
107
173
  }
@@ -1,19 +1,24 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
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
- # The base backup engine class. All workload-specific backup engines derive
13
+ # The base backup engine class. All workload specific backup engines derive
10
14
  # from this class.
11
15
  #
12
16
  class BackupEngineBaseResource < MsRestAzure::Resource
13
17
 
14
18
  include MsRestAzure
15
19
 
16
- # @return [BackupEngineBase]
20
+ include MsRest::JSONable
21
+ # @return [BackupEngineBase] BackupEngineBaseResource properties
17
22
  attr_accessor :properties
18
23
 
19
24
 
@@ -31,6 +36,7 @@ module Azure::ARM::RecoveryServicesBackup
31
36
  model_properties: {
32
37
  id: {
33
38
  required: false,
39
+ read_only: true,
34
40
  serialized_name: 'id',
35
41
  type: {
36
42
  name: 'String'
@@ -38,6 +44,7 @@ module Azure::ARM::RecoveryServicesBackup
38
44
  },
39
45
  name: {
40
46
  required: false,
47
+ read_only: true,
41
48
  serialized_name: 'name',
42
49
  type: {
43
50
  name: 'String'
@@ -45,6 +52,7 @@ module Azure::ARM::RecoveryServicesBackup
45
52
  },
46
53
  type: {
47
54
  required: false,
55
+ read_only: true,
48
56
  serialized_name: 'type',
49
57
  type: {
50
58
  name: 'String'