azure_mgmt_netapp 0.20.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  3. data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  4. data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  5. data/lib/2019-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  6. data/lib/2019-08-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  7. data/lib/2019-10-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  8. data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  9. data/lib/2020-02-01/generated/azure_mgmt_netapp.rb +71 -0
  10. data/lib/2020-02-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
  11. data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +153 -0
  12. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/active_directory.rb +160 -0
  13. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  14. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
  15. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  16. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
  17. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  18. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  19. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  20. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +115 -0
  21. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  22. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  23. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  24. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mount_target.rb +218 -0
  25. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +152 -0
  26. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  27. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  28. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  29. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  30. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  31. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  32. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  33. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  34. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
  35. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  36. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
  37. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  38. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  39. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  40. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  41. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  42. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume.rb +328 -0
  43. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  44. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
  45. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  46. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +62 -0
  47. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  48. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  49. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  50. data/lib/2020-02-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  51. data/lib/2020-02-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
  52. data/lib/2020-02-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  53. data/lib/2020-02-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  54. data/lib/2020-02-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  55. data/lib/2020-02-01/generated/azure_mgmt_netapp/volumes.rb +1688 -0
  56. data/lib/2020-06-01/generated/azure_mgmt_netapp.rb +104 -0
  57. data/lib/2020-06-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
  58. data/lib/2020-06-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
  59. data/lib/2020-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
  60. data/lib/2020-06-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
  61. data/lib/2020-06-01/generated/azure_mgmt_netapp/backups.rb +747 -0
  62. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/active_directory.rb +229 -0
  63. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
  64. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  65. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup.rb +141 -0
  66. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_patch.rb +113 -0
  67. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
  68. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
  69. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
  70. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +157 -0
  71. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
  72. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
  73. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +204 -0
  74. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  75. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
  76. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
  77. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  78. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
  79. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
  80. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  81. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  82. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
  83. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
  84. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  85. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  86. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  87. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
  88. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
  89. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
  90. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  91. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  92. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  93. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  94. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  95. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  96. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
  97. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
  98. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
  99. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  100. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  101. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
  102. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  103. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  104. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
  105. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  106. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  107. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  108. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
  109. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +156 -0
  110. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +156 -0
  111. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +156 -0
  112. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
  113. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  114. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
  115. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
  116. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume.rb +387 -0
  117. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
  118. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
  119. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  120. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
  121. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
  122. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  123. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
  124. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  125. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  126. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  127. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
  128. data/lib/2020-06-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  129. data/lib/2020-06-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
  130. data/lib/2020-06-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  131. data/lib/2020-06-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  132. data/lib/2020-06-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
  133. data/lib/2020-06-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  134. data/lib/2020-06-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
  135. data/lib/2020-06-01/generated/azure_mgmt_netapp/volumes.rb +2023 -0
  136. data/lib/2020-07-01/generated/azure_mgmt_netapp.rb +104 -0
  137. data/lib/2020-07-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
  138. data/lib/2020-07-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
  139. data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
  140. data/lib/2020-07-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
  141. data/lib/2020-07-01/generated/azure_mgmt_netapp/backups.rb +747 -0
  142. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory.rb +253 -0
  143. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
  144. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  145. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup.rb +158 -0
  146. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_patch.rb +130 -0
  147. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
  148. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
  149. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
  150. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
  151. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
  152. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
  153. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
  154. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  155. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
  156. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
  157. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  158. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
  159. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
  160. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  161. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  162. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
  163. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
  164. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  165. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  166. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  167. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
  168. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
  169. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
  170. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  171. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  172. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  173. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  174. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  175. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  176. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
  177. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
  178. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
  179. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  180. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  181. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
  182. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  183. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  184. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
  185. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  186. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  187. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  188. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
  189. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
  190. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
  191. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
  192. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
  193. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  194. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
  195. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
  196. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb +382 -0
  197. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
  198. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
  199. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  200. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
  201. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
  202. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  203. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
  204. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  205. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  206. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  207. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
  208. data/lib/2020-07-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  209. data/lib/2020-07-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
  210. data/lib/2020-07-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  211. data/lib/2020-07-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  212. data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
  213. data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  214. data/lib/2020-07-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
  215. data/lib/2020-07-01/generated/azure_mgmt_netapp/volumes.rb +2023 -0
  216. data/lib/2020-09-01/generated/azure_mgmt_netapp.rb +104 -0
  217. data/lib/2020-09-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
  218. data/lib/2020-09-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
  219. data/lib/2020-09-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
  220. data/lib/2020-09-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
  221. data/lib/2020-09-01/generated/azure_mgmt_netapp/backups.rb +747 -0
  222. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/active_directory.rb +275 -0
  223. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
  224. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  225. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup.rb +158 -0
  226. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_patch.rb +130 -0
  227. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
  228. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
  229. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
  230. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
  231. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
  232. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
  233. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
  234. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  235. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
  236. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
  237. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  238. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
  239. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
  240. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  241. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  242. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
  243. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
  244. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  245. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  246. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  247. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
  248. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
  249. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
  250. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  251. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  252. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  253. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  254. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  255. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  256. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
  257. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
  258. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
  259. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  260. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  261. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
  262. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  263. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  264. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
  265. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  266. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  267. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  268. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
  269. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
  270. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
  271. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
  272. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
  273. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  274. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
  275. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
  276. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume.rb +409 -0
  277. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
  278. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
  279. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_list.rb +98 -0
  280. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
  281. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
  282. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  283. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
  284. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  285. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  286. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  287. data/lib/2020-09-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
  288. data/lib/2020-09-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  289. data/lib/2020-09-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
  290. data/lib/2020-09-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  291. data/lib/2020-09-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  292. data/lib/2020-09-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
  293. data/lib/2020-09-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  294. data/lib/2020-09-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
  295. data/lib/2020-09-01/generated/azure_mgmt_netapp/volumes.rb +2143 -0
  296. data/lib/2020-11-01/generated/azure_mgmt_netapp.rb +108 -0
  297. data/lib/2020-11-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
  298. data/lib/2020-11-01/generated/azure_mgmt_netapp/accounts.rb +828 -0
  299. data/lib/2020-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
  300. data/lib/2020-11-01/generated/azure_mgmt_netapp/backup_policies.rb +701 -0
  301. data/lib/2020-11-01/generated/azure_mgmt_netapp/backups.rb +811 -0
  302. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/account_encryption.rb +47 -0
  303. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory.rb +288 -0
  304. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
  305. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  306. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup.rb +170 -0
  307. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_patch.rb +142 -0
  308. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
  309. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
  310. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
  311. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
  312. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
  313. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
  314. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
  315. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +98 -0
  316. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
  317. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
  318. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  319. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
  320. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/created_by_type.rb +18 -0
  321. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
  322. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  323. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  324. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
  325. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
  326. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  327. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/key_source.rb +15 -0
  328. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  329. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  330. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
  331. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
  332. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
  333. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account.rb +158 -0
  334. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +98 -0
  335. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +145 -0
  336. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  337. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  338. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  339. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
  340. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
  341. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
  342. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  343. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  344. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
  345. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  346. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  347. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
  348. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  349. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  350. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  351. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
  352. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
  353. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
  354. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
  355. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
  356. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  357. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/system_data.rb +105 -0
  358. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
  359. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
  360. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume.rb +427 -0
  361. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
  362. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
  363. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_list.rb +98 -0
  364. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
  365. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
  366. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  367. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
  368. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  369. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  370. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  371. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
  372. data/lib/2020-11-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  373. data/lib/2020-11-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
  374. data/lib/2020-11-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  375. data/lib/2020-11-01/generated/azure_mgmt_netapp/pools.rb +857 -0
  376. data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshot_policies.rb +758 -0
  377. data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  378. data/lib/2020-11-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
  379. data/lib/2020-11-01/generated/azure_mgmt_netapp/volumes.rb +2143 -0
  380. data/lib/azure_mgmt_netapp.rb +9 -4
  381. data/lib/profiles/latest/modules/netapp_profile_module.rb +247 -105
  382. data/lib/version.rb +1 -1
  383. metadata +374 -3
@@ -0,0 +1,58 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2020_09_01
7
+ module Models
8
+ #
9
+ # exportPolicy
10
+
11
+ # Set of export policy rules
12
+ #
13
+ class VolumePatchPropertiesExportPolicy
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [Array<ExportPolicyRule>] Export policy rule. Export policy
18
+ # rule
19
+ attr_accessor :rules
20
+
21
+
22
+ #
23
+ # Mapper for VolumePatchPropertiesExportPolicy class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'volumePatchProperties_exportPolicy',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'VolumePatchPropertiesExportPolicy',
34
+ model_properties: {
35
+ rules: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'rules',
39
+ type: {
40
+ name: 'Sequence',
41
+ element: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'ExportPolicyRuleElementType',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'ExportPolicyRule'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,74 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2020_09_01
7
+ module Models
8
+ #
9
+ # DataProtection
10
+
11
+ # DataProtection type volumes include an object containing details of the
12
+ # replication
13
+ #
14
+ class VolumePropertiesDataProtection
15
+
16
+ include MsRestAzure
17
+
18
+ # @return [VolumeBackupProperties] Backup. Backup Properties
19
+ attr_accessor :backup
20
+
21
+ # @return [ReplicationObject] Replication. Replication properties
22
+ attr_accessor :replication
23
+
24
+ # @return [VolumeSnapshotProperties] Snapshot. Snapshot properties.
25
+ attr_accessor :snapshot
26
+
27
+
28
+ #
29
+ # Mapper for VolumePropertiesDataProtection class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'volumeProperties_dataProtection',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'VolumePropertiesDataProtection',
40
+ model_properties: {
41
+ backup: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'backup',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'VolumeBackupProperties'
48
+ }
49
+ },
50
+ replication: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'replication',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'ReplicationObject'
57
+ }
58
+ },
59
+ snapshot: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'snapshot',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'VolumeSnapshotProperties'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,58 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2020_09_01
7
+ module Models
8
+ #
9
+ # exportPolicy
10
+
11
+ # Set of export policy rules
12
+ #
13
+ class VolumePropertiesExportPolicy
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [Array<ExportPolicyRule>] Export policy rule. Export policy
18
+ # rule
19
+ attr_accessor :rules
20
+
21
+
22
+ #
23
+ # Mapper for VolumePropertiesExportPolicy class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'volumeProperties_exportPolicy',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'VolumePropertiesExportPolicy',
34
+ model_properties: {
35
+ rules: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'rules',
39
+ type: {
40
+ name: 'Sequence',
41
+ element: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'ExportPolicyRuleElementType',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'ExportPolicyRule'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2020_09_01
7
+ module Models
8
+ #
9
+ # revert a volume to the snapshot
10
+ #
11
+ class VolumeRevert
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource id of the snapshot
16
+ attr_accessor :snapshot_id
17
+
18
+
19
+ #
20
+ # Mapper for VolumeRevert class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'volumeRevert',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'VolumeRevert',
31
+ model_properties: {
32
+ snapshot_id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'snapshotId',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2020_09_01
7
+ module Models
8
+ #
9
+ # Volume Snapshot Properties
10
+ #
11
+ class VolumeSnapshotProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Snapshot Policy ResourceId
16
+ attr_accessor :snapshot_policy_id
17
+
18
+
19
+ #
20
+ # Mapper for VolumeSnapshotProperties class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'volumeSnapshotProperties',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'VolumeSnapshotProperties',
31
+ model_properties: {
32
+ snapshot_policy_id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'snapshotPolicyId',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,94 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2020_09_01
7
+ module Models
8
+ #
9
+ # Weekly Schedule properties, make a snapshot every week at a specific day
10
+ # or days
11
+ #
12
+ class WeeklySchedule
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Integer] Weekly snapshot count to keep
17
+ attr_accessor :snapshots_to_keep
18
+
19
+ # @return [String] Indicates which weekdays snapshot should be taken,
20
+ # accepts a comma separated list of week day names in english
21
+ attr_accessor :day
22
+
23
+ # @return [Integer] Indicates which hour in UTC timezone a snapshot
24
+ # should be taken
25
+ attr_accessor :hour
26
+
27
+ # @return [Integer] Indicates which minute snapshot should be taken
28
+ attr_accessor :minute
29
+
30
+ # @return [Integer] Resource size in bytes, current storage usage for the
31
+ # volume in bytes
32
+ attr_accessor :used_bytes
33
+
34
+
35
+ #
36
+ # Mapper for WeeklySchedule class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'weeklySchedule',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'WeeklySchedule',
47
+ model_properties: {
48
+ snapshots_to_keep: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'snapshotsToKeep',
52
+ type: {
53
+ name: 'Number'
54
+ }
55
+ },
56
+ day: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'day',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ hour: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'hour',
68
+ type: {
69
+ name: 'Number'
70
+ }
71
+ },
72
+ minute: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'minute',
76
+ type: {
77
+ name: 'Number'
78
+ }
79
+ },
80
+ used_bytes: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'usedBytes',
84
+ type: {
85
+ name: 'Number'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure end
7
+ module Azure::NetApp end
8
+ module Azure::NetApp::Mgmt end
9
+ module Azure::NetApp::Mgmt::V2020_09_01 end
@@ -0,0 +1,424 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2020_09_01
7
+ #
8
+ # Microsoft NetApp Azure Resource Provider specification
9
+ #
10
+ class NetAppResource
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the NetAppResource class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [AzureNetAppFilesManagementClient] reference to the AzureNetAppFilesManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Check resource name availability
26
+ #
27
+ # Check if a resource name is available.
28
+ #
29
+ # @param location [String] The location
30
+ # @param name [String] Resource name to verify.
31
+ # @param type [CheckNameResourceTypes] Resource type used for verification.
32
+ # Possible values include: 'Microsoft.NetApp/netAppAccounts',
33
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
34
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
35
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
36
+ # @param resource_group [String] Resource group name.
37
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
38
+ # will be added to the HTTP request.
39
+ #
40
+ # @return [CheckAvailabilityResponse] operation results.
41
+ #
42
+ def check_name_availability(location, name, type, resource_group, custom_headers:nil)
43
+ response = check_name_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
44
+ response.body unless response.nil?
45
+ end
46
+
47
+ #
48
+ # Check resource name availability
49
+ #
50
+ # Check if a resource name is available.
51
+ #
52
+ # @param location [String] The location
53
+ # @param name [String] Resource name to verify.
54
+ # @param type [CheckNameResourceTypes] Resource type used for verification.
55
+ # Possible values include: 'Microsoft.NetApp/netAppAccounts',
56
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
57
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
58
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
59
+ # @param resource_group [String] Resource group name.
60
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
61
+ # will be added to the HTTP request.
62
+ #
63
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
64
+ #
65
+ def check_name_availability_with_http_info(location, name, type, resource_group, custom_headers:nil)
66
+ check_name_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
67
+ end
68
+
69
+ #
70
+ # Check resource name availability
71
+ #
72
+ # Check if a resource name is available.
73
+ #
74
+ # @param location [String] The location
75
+ # @param name [String] Resource name to verify.
76
+ # @param type [CheckNameResourceTypes] Resource type used for verification.
77
+ # Possible values include: 'Microsoft.NetApp/netAppAccounts',
78
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
79
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
80
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
81
+ # @param resource_group [String] Resource group name.
82
+ # @param [Hash{String => String}] A hash of custom headers that will be added
83
+ # to the HTTP request.
84
+ #
85
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
86
+ #
87
+ def check_name_availability_async(location, name, type, resource_group, custom_headers:nil)
88
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
89
+ fail ArgumentError, 'location is nil' if location.nil?
90
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
91
+ fail ArgumentError, 'name is nil' if name.nil?
92
+ fail ArgumentError, 'type is nil' if type.nil?
93
+ fail ArgumentError, 'resource_group is nil' if resource_group.nil?
94
+
95
+ body = ResourceNameAvailabilityRequest.new
96
+ unless name.nil? && type.nil? && resource_group.nil?
97
+ body.name = name
98
+ body.type = type
99
+ body.resource_group = resource_group
100
+ end
101
+
102
+ request_headers = {}
103
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
104
+
105
+ # Set Headers
106
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
107
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
108
+
109
+ # Serialize Request
110
+ request_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::ResourceNameAvailabilityRequest.mapper()
111
+ request_content = @client.serialize(request_mapper, body)
112
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
113
+
114
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability'
115
+
116
+ request_url = @base_url || @client.base_url
117
+
118
+ options = {
119
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
120
+ path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
121
+ query_params: {'api-version' => @client.api_version},
122
+ body: request_content,
123
+ headers: request_headers.merge(custom_headers || {}),
124
+ base_url: request_url
125
+ }
126
+ promise = @client.make_request_async(:post, path_template, options)
127
+
128
+ promise = promise.then do |result|
129
+ http_response = result.response
130
+ status_code = http_response.status
131
+ response_content = http_response.body
132
+ unless status_code == 200
133
+ error_model = JSON.load(response_content)
134
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
135
+ end
136
+
137
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
138
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
139
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
140
+ # Deserialize Response
141
+ if status_code == 200
142
+ begin
143
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
144
+ result_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::CheckAvailabilityResponse.mapper()
145
+ result.body = @client.deserialize(result_mapper, parsed_response)
146
+ rescue Exception => e
147
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
148
+ end
149
+ end
150
+
151
+ result
152
+ end
153
+
154
+ promise.execute
155
+ end
156
+
157
+ #
158
+ # Check file path availability
159
+ #
160
+ # Check if a file path is available.
161
+ #
162
+ # @param location [String] The location
163
+ # @param name [String] Resource name to verify.
164
+ # @param type [CheckNameResourceTypes] Resource type used for verification.
165
+ # Possible values include: 'Microsoft.NetApp/netAppAccounts',
166
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
167
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
168
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
169
+ # @param resource_group [String] Resource group name.
170
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
171
+ # will be added to the HTTP request.
172
+ #
173
+ # @return [CheckAvailabilityResponse] operation results.
174
+ #
175
+ def check_file_path_availability(location, name, type, resource_group, custom_headers:nil)
176
+ response = check_file_path_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
177
+ response.body unless response.nil?
178
+ end
179
+
180
+ #
181
+ # Check file path availability
182
+ #
183
+ # Check if a file path is available.
184
+ #
185
+ # @param location [String] The location
186
+ # @param name [String] Resource name to verify.
187
+ # @param type [CheckNameResourceTypes] Resource type used for verification.
188
+ # Possible values include: 'Microsoft.NetApp/netAppAccounts',
189
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
190
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
191
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
192
+ # @param resource_group [String] Resource group name.
193
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
194
+ # will be added to the HTTP request.
195
+ #
196
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
197
+ #
198
+ def check_file_path_availability_with_http_info(location, name, type, resource_group, custom_headers:nil)
199
+ check_file_path_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
200
+ end
201
+
202
+ #
203
+ # Check file path availability
204
+ #
205
+ # Check if a file path is available.
206
+ #
207
+ # @param location [String] The location
208
+ # @param name [String] Resource name to verify.
209
+ # @param type [CheckNameResourceTypes] Resource type used for verification.
210
+ # Possible values include: 'Microsoft.NetApp/netAppAccounts',
211
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
212
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
213
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
214
+ # @param resource_group [String] Resource group name.
215
+ # @param [Hash{String => String}] A hash of custom headers that will be added
216
+ # to the HTTP request.
217
+ #
218
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
219
+ #
220
+ def check_file_path_availability_async(location, name, type, resource_group, custom_headers:nil)
221
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
222
+ fail ArgumentError, 'location is nil' if location.nil?
223
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
224
+ fail ArgumentError, 'name is nil' if name.nil?
225
+ fail ArgumentError, 'type is nil' if type.nil?
226
+ fail ArgumentError, 'resource_group is nil' if resource_group.nil?
227
+
228
+ body = ResourceNameAvailabilityRequest.new
229
+ unless name.nil? && type.nil? && resource_group.nil?
230
+ body.name = name
231
+ body.type = type
232
+ body.resource_group = resource_group
233
+ end
234
+
235
+ request_headers = {}
236
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
237
+
238
+ # Set Headers
239
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
240
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
241
+
242
+ # Serialize Request
243
+ request_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::ResourceNameAvailabilityRequest.mapper()
244
+ request_content = @client.serialize(request_mapper, body)
245
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
246
+
247
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability'
248
+
249
+ request_url = @base_url || @client.base_url
250
+
251
+ options = {
252
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
253
+ path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
254
+ query_params: {'api-version' => @client.api_version},
255
+ body: request_content,
256
+ headers: request_headers.merge(custom_headers || {}),
257
+ base_url: request_url
258
+ }
259
+ promise = @client.make_request_async(:post, path_template, options)
260
+
261
+ promise = promise.then do |result|
262
+ http_response = result.response
263
+ status_code = http_response.status
264
+ response_content = http_response.body
265
+ unless status_code == 200
266
+ error_model = JSON.load(response_content)
267
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
268
+ end
269
+
270
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
271
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
272
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
273
+ # Deserialize Response
274
+ if status_code == 200
275
+ begin
276
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
277
+ result_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::CheckAvailabilityResponse.mapper()
278
+ result.body = @client.deserialize(result_mapper, parsed_response)
279
+ rescue Exception => e
280
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
281
+ end
282
+ end
283
+
284
+ result
285
+ end
286
+
287
+ promise.execute
288
+ end
289
+
290
+ #
291
+ # Check quota availability
292
+ #
293
+ # Check if a quota is available.
294
+ #
295
+ # @param location [String] The location
296
+ # @param name [String] Name of the resource to verify.
297
+ # @param type [CheckQuotaNameResourceTypes] Resource type used for
298
+ # verification. Possible values include: 'Microsoft.NetApp/netAppAccounts',
299
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
300
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
301
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
302
+ # @param resource_group [String] Resource group name.
303
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
304
+ # will be added to the HTTP request.
305
+ #
306
+ # @return [CheckAvailabilityResponse] operation results.
307
+ #
308
+ def check_quota_availability(location, name, type, resource_group, custom_headers:nil)
309
+ response = check_quota_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
310
+ response.body unless response.nil?
311
+ end
312
+
313
+ #
314
+ # Check quota availability
315
+ #
316
+ # Check if a quota is available.
317
+ #
318
+ # @param location [String] The location
319
+ # @param name [String] Name of the resource to verify.
320
+ # @param type [CheckQuotaNameResourceTypes] Resource type used for
321
+ # verification. Possible values include: 'Microsoft.NetApp/netAppAccounts',
322
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
323
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
324
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
325
+ # @param resource_group [String] Resource group name.
326
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
327
+ # will be added to the HTTP request.
328
+ #
329
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
330
+ #
331
+ def check_quota_availability_with_http_info(location, name, type, resource_group, custom_headers:nil)
332
+ check_quota_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
333
+ end
334
+
335
+ #
336
+ # Check quota availability
337
+ #
338
+ # Check if a quota is available.
339
+ #
340
+ # @param location [String] The location
341
+ # @param name [String] Name of the resource to verify.
342
+ # @param type [CheckQuotaNameResourceTypes] Resource type used for
343
+ # verification. Possible values include: 'Microsoft.NetApp/netAppAccounts',
344
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools',
345
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
346
+ # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
347
+ # @param resource_group [String] Resource group name.
348
+ # @param [Hash{String => String}] A hash of custom headers that will be added
349
+ # to the HTTP request.
350
+ #
351
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
352
+ #
353
+ def check_quota_availability_async(location, name, type, resource_group, custom_headers:nil)
354
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
355
+ fail ArgumentError, 'location is nil' if location.nil?
356
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
357
+ fail ArgumentError, 'name is nil' if name.nil?
358
+ fail ArgumentError, 'type is nil' if type.nil?
359
+ fail ArgumentError, 'resource_group is nil' if resource_group.nil?
360
+
361
+ body = QuotaAvailabilityRequest.new
362
+ unless name.nil? && type.nil? && resource_group.nil?
363
+ body.name = name
364
+ body.type = type
365
+ body.resource_group = resource_group
366
+ end
367
+
368
+ request_headers = {}
369
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
370
+
371
+ # Set Headers
372
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
373
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
374
+
375
+ # Serialize Request
376
+ request_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::QuotaAvailabilityRequest.mapper()
377
+ request_content = @client.serialize(request_mapper, body)
378
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
379
+
380
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability'
381
+
382
+ request_url = @base_url || @client.base_url
383
+
384
+ options = {
385
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
386
+ path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
387
+ query_params: {'api-version' => @client.api_version},
388
+ body: request_content,
389
+ headers: request_headers.merge(custom_headers || {}),
390
+ base_url: request_url
391
+ }
392
+ promise = @client.make_request_async(:post, path_template, options)
393
+
394
+ promise = promise.then do |result|
395
+ http_response = result.response
396
+ status_code = http_response.status
397
+ response_content = http_response.body
398
+ unless status_code == 200
399
+ error_model = JSON.load(response_content)
400
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
401
+ end
402
+
403
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
404
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
405
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
406
+ # Deserialize Response
407
+ if status_code == 200
408
+ begin
409
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
410
+ result_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::CheckAvailabilityResponse.mapper()
411
+ result.body = @client.deserialize(result_mapper, parsed_response)
412
+ rescue Exception => e
413
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
414
+ end
415
+ end
416
+
417
+ result
418
+ end
419
+
420
+ promise.execute
421
+ end
422
+
423
+ end
424
+ end