azure_mgmt_compute 0.18.7 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1027) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  3. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  4. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  5. data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  6. data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  7. data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  8. data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  9. data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  10. data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  11. data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  12. data/lib/2019-03-01/generated/azure_mgmt_compute.rb +144 -92
  13. data/lib/2019-03-01/generated/azure_mgmt_compute/availability_sets.rb +12 -8
  14. data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +25 -1
  15. data/lib/2019-03-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +852 -0
  16. data/lib/2019-03-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
  17. data/lib/2019-03-01/generated/azure_mgmt_compute/disks.rb +1294 -0
  18. data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_application_versions.rb +724 -0
  19. data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_applications.rb +676 -0
  20. data/lib/2019-03-01/generated/azure_mgmt_compute/models/access_level.rb +17 -0
  21. data/lib/2019-03-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  22. data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +3 -4
  23. data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +76 -0
  24. data/lib/2019-03-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
  25. data/lib/2019-03-01/generated/azure_mgmt_compute/models/creation_data.rb +124 -0
  26. data/lib/2019-03-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  27. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host.rb +220 -0
  28. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
  29. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
  30. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +148 -0
  31. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
  32. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +111 -0
  33. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
  34. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
  35. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
  36. data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +172 -0
  37. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk.rb +287 -0
  38. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
  39. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  40. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
  41. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
  42. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
  43. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_update.rb +134 -0
  44. data/lib/2019-03-01/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
  45. data/lib/2019-03-01/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
  46. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
  47. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
  48. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
  49. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
  50. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
  51. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +59 -7
  52. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image.rb +4 -2
  53. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +11 -31
  54. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +1 -1
  55. data/lib/2019-03-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  56. data/lib/2019-03-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
  57. data/lib/2019-03-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
  58. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  59. data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  60. data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  61. data/lib/2019-03-01/generated/azure_mgmt_compute/models/osprofile.rb +12 -0
  62. data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +3 -2
  63. data/lib/2019-03-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
  64. data/lib/2019-03-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
  65. data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot.rb +240 -0
  66. data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  67. data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
  68. data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  69. data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_update.rb +108 -0
  70. data/lib/2019-03-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  71. data/lib/2019-03-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
  72. data/lib/2019-03-01/generated/azure_mgmt_compute/models/user_artifact_source.rb +58 -0
  73. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine.rb +75 -0
  74. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +11 -0
  75. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +12 -0
  76. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +1 -0
  77. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +2 -1
  78. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +26 -0
  79. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
  80. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +40 -0
  81. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +15 -0
  82. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +26 -0
  83. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +30 -4
  84. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +75 -0
  85. data/lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb +4 -4
  86. data/lib/2019-03-01/generated/azure_mgmt_compute/snapshots.rb +1294 -0
  87. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +20 -10
  88. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -4
  89. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machines.rb +8 -4
  90. data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  91. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_skus_result.rb +3 -3
  92. data/lib/2019-04-01/generated/azure_mgmt_compute/resource_skus.rb +16 -8
  93. data/lib/2019-07-01/generated/azure_mgmt_compute.rb +319 -0
  94. data/lib/2019-07-01/generated/azure_mgmt_compute/availability_sets.rb +916 -0
  95. data/lib/2019-07-01/generated/azure_mgmt_compute/compute_management_client.rb +240 -0
  96. data/lib/2019-07-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +852 -0
  97. data/lib/2019-07-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
  98. data/lib/2019-07-01/generated/azure_mgmt_compute/disk_encryption_sets.rb +1019 -0
  99. data/lib/2019-07-01/generated/azure_mgmt_compute/disks.rb +1294 -0
  100. data/lib/2019-07-01/generated/azure_mgmt_compute/galleries.rb +824 -0
  101. data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_application_versions.rb +724 -0
  102. data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_applications.rb +676 -0
  103. data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_image_versions.rb +720 -0
  104. data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_images.rb +676 -0
  105. data/lib/2019-07-01/generated/azure_mgmt_compute/images.rb +975 -0
  106. data/lib/2019-07-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
  107. data/lib/2019-07-01/generated/azure_mgmt_compute/models/access_level.rb +17 -0
  108. data/lib/2019-07-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  109. data/lib/2019-07-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  110. data/lib/2019-07-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  111. data/lib/2019-07-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
  112. data/lib/2019-07-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  113. data/lib/2019-07-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  114. data/lib/2019-07-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  115. data/lib/2019-07-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
  116. data/lib/2019-07-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
  117. data/lib/2019-07-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +76 -0
  118. data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
  119. data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  120. data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  121. data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
  122. data/lib/2019-07-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
  123. data/lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
  124. data/lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
  125. data/lib/2019-07-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  126. data/lib/2019-07-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  127. data/lib/2019-07-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  128. data/lib/2019-07-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  129. data/lib/2019-07-01/generated/azure_mgmt_compute/models/creation_data.rb +124 -0
  130. data/lib/2019-07-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
  131. data/lib/2019-07-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  132. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host.rb +220 -0
  133. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
  134. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
  135. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +148 -0
  136. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
  137. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +111 -0
  138. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
  139. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
  140. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
  141. data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +172 -0
  142. data/lib/2019-07-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
  143. data/lib/2019-07-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  144. data/lib/2019-07-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
  145. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
  146. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk.rb +300 -0
  147. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
  148. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  149. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set.rb +147 -0
  150. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
  151. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
  152. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
  153. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +66 -0
  154. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  155. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  156. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  157. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
  158. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
  159. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
  160. data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_update.rb +134 -0
  161. data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption.rb +60 -0
  162. data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
  163. data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
  164. data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
  165. data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_type.rb +16 -0
  166. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery.rb +125 -0
  167. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
  168. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
  169. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
  170. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
  171. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
  172. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +120 -0
  173. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
  174. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +47 -0
  175. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +76 -0
  176. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +74 -0
  177. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
  178. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image.rb +251 -0
  179. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
  180. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
  181. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +139 -0
  182. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
  183. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +93 -0
  184. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +79 -0
  185. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
  186. data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +62 -0
  187. data/lib/2019-07-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  188. data/lib/2019-07-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  189. data/lib/2019-07-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
  190. data/lib/2019-07-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
  191. data/lib/2019-07-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
  192. data/lib/2019-07-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
  193. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image.rb +139 -0
  194. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
  195. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
  196. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  197. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  198. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
  199. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
  200. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
  201. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  202. data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
  203. data/lib/2019-07-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  204. data/lib/2019-07-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  205. data/lib/2019-07-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  206. data/lib/2019-07-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  207. data/lib/2019-07-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  208. data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  209. data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  210. data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  211. data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  212. data/lib/2019-07-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
  213. data/lib/2019-07-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  214. data/lib/2019-07-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  215. data/lib/2019-07-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  216. data/lib/2019-07-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  217. data/lib/2019-07-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  218. data/lib/2019-07-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  219. data/lib/2019-07-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
  220. data/lib/2019-07-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
  221. data/lib/2019-07-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  222. data/lib/2019-07-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  223. data/lib/2019-07-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  224. data/lib/2019-07-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  225. data/lib/2019-07-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
  226. data/lib/2019-07-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  227. data/lib/2019-07-01/generated/azure_mgmt_compute/models/osprofile.rb +195 -0
  228. data/lib/2019-07-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  229. data/lib/2019-07-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  230. data/lib/2019-07-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  231. data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +167 -0
  232. data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  233. data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  234. data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  235. data/lib/2019-07-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  236. data/lib/2019-07-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
  237. data/lib/2019-07-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  238. data/lib/2019-07-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
  239. data/lib/2019-07-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
  240. data/lib/2019-07-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
  241. data/lib/2019-07-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
  242. data/lib/2019-07-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  243. data/lib/2019-07-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  244. data/lib/2019-07-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  245. data/lib/2019-07-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
  246. data/lib/2019-07-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  247. data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  248. data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  249. data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  250. data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  251. data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  252. data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  253. data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  254. data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  255. data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  256. data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  257. data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  258. data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  259. data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  260. data/lib/2019-07-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
  261. data/lib/2019-07-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
  262. data/lib/2019-07-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  263. data/lib/2019-07-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
  264. data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot.rb +253 -0
  265. data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  266. data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
  267. data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  268. data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_update.rb +108 -0
  269. data/lib/2019-07-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  270. data/lib/2019-07-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  271. data/lib/2019-07-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  272. data/lib/2019-07-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  273. data/lib/2019-07-01/generated/azure_mgmt_compute/models/storage_account_type.rb +16 -0
  274. data/lib/2019-07-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
  275. data/lib/2019-07-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  276. data/lib/2019-07-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  277. data/lib/2019-07-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  278. data/lib/2019-07-01/generated/azure_mgmt_compute/models/target_region.rb +71 -0
  279. data/lib/2019-07-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
  280. data/lib/2019-07-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  281. data/lib/2019-07-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  282. data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  283. data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  284. data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  285. data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  286. data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  287. data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
  288. data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  289. data/lib/2019-07-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  290. data/lib/2019-07-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  291. data/lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb +58 -0
  292. data/lib/2019-07-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  293. data/lib/2019-07-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  294. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  295. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine.rb +406 -0
  296. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  297. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  298. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  299. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  300. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
  301. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  302. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  303. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  304. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  305. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  306. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  307. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  308. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  309. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +142 -0
  310. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  311. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +217 -0
  312. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  313. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
  314. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
  315. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +315 -0
  316. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
  317. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +172 -0
  318. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  319. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
  320. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  321. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  322. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
  323. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  324. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  325. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  326. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  327. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  328. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  329. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  330. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
  331. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  332. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  333. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  334. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
  335. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  336. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
  337. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  338. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  339. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
  340. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  341. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  342. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  343. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  344. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +194 -0
  345. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
  346. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  347. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
  348. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  349. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  350. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  351. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  352. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +138 -0
  353. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +384 -0
  354. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  355. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  356. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  357. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
  358. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  359. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
  360. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +173 -0
  361. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
  362. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  363. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  364. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  365. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  366. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  367. data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +349 -0
  368. data/lib/2019-07-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
  369. data/lib/2019-07-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  370. data/lib/2019-07-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  371. data/lib/2019-07-01/generated/azure_mgmt_compute/models/windows_configuration.rb +111 -0
  372. data/lib/2019-07-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  373. data/lib/2019-07-01/generated/azure_mgmt_compute/operations.rb +109 -0
  374. data/lib/2019-07-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +837 -0
  375. data/lib/2019-07-01/generated/azure_mgmt_compute/snapshots.rb +1294 -0
  376. data/lib/2019-07-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
  377. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
  378. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
  379. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
  380. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
  381. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +646 -0
  382. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
  383. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
  384. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1997 -0
  385. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3144 -0
  386. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
  387. data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machines.rb +2945 -0
  388. data/lib/2019-11-01/generated/azure_mgmt_compute.rb +66 -0
  389. data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +141 -0
  390. data/lib/2019-11-01/generated/azure_mgmt_compute/disk_encryption_sets.rb +1019 -0
  391. data/lib/2019-11-01/generated/azure_mgmt_compute/disks.rb +1294 -0
  392. data/lib/2019-11-01/generated/azure_mgmt_compute/models/access_level.rb +17 -0
  393. data/lib/2019-11-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  394. data/lib/2019-11-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  395. data/lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  396. data/lib/2019-11-01/generated/azure_mgmt_compute/models/creation_data.rb +138 -0
  397. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk.rb +385 -0
  398. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
  399. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set.rb +147 -0
  400. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
  401. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
  402. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +66 -0
  403. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  404. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
  405. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
  406. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
  407. data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_update.rb +187 -0
  408. data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption.rb +60 -0
  409. data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
  410. data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
  411. data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
  412. data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_type.rb +16 -0
  413. data/lib/2019-11-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  414. data/lib/2019-11-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
  415. data/lib/2019-11-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  416. data/lib/2019-11-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  417. data/lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  418. data/lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  419. data/lib/2019-11-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  420. data/lib/2019-11-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  421. data/lib/2019-11-01/generated/azure_mgmt_compute/models/share_info_element.rb +49 -0
  422. data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot.rb +253 -0
  423. data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  424. data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
  425. data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  426. data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_update.rb +121 -0
  427. data/lib/2019-11-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  428. data/lib/2019-11-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  429. data/lib/2019-11-01/generated/azure_mgmt_compute/snapshots.rb +1294 -0
  430. data/lib/2019-12-01/generated/azure_mgmt_compute.rb +310 -0
  431. data/lib/2019-12-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
  432. data/lib/2019-12-01/generated/azure_mgmt_compute/compute_management_client.rb +232 -0
  433. data/lib/2019-12-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +852 -0
  434. data/lib/2019-12-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
  435. data/lib/2019-12-01/generated/azure_mgmt_compute/galleries.rb +988 -0
  436. data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_application_versions.rb +915 -0
  437. data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_applications.rb +856 -0
  438. data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_image_versions.rb +911 -0
  439. data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_images.rb +856 -0
  440. data/lib/2019-12-01/generated/azure_mgmt_compute/images.rb +975 -0
  441. data/lib/2019-12-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
  442. data/lib/2019-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  443. data/lib/2019-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  444. data/lib/2019-12-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
  445. data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  446. data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  447. data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  448. data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
  449. data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
  450. data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
  451. data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
  452. data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  453. data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  454. data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
  455. data/lib/2019-12-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
  456. data/lib/2019-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
  457. data/lib/2019-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
  458. data/lib/2019-12-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  459. data/lib/2019-12-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  460. data/lib/2019-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  461. data/lib/2019-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  462. data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
  463. data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  464. data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb +57 -0
  465. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host.rb +220 -0
  466. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
  467. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
  468. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +148 -0
  469. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
  470. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +111 -0
  471. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
  472. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
  473. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
  474. data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +172 -0
  475. data/lib/2019-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
  476. data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  477. data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
  478. data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
  479. data/lib/2019-12-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
  480. data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  481. data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
  482. data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  483. data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_image_encryption.rb +47 -0
  484. data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  485. data/lib/2019-12-01/generated/azure_mgmt_compute/models/encryption_images.rb +69 -0
  486. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery.rb +125 -0
  487. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
  488. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
  489. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_update.rb +153 -0
  490. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
  491. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
  492. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
  493. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_update.rb +119 -0
  494. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +120 -0
  495. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
  496. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +47 -0
  497. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +76 -0
  498. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +74 -0
  499. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
  500. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image.rb +251 -0
  501. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
  502. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
  503. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb +243 -0
  504. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +139 -0
  505. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
  506. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +93 -0
  507. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +79 -0
  508. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_update.rb +131 -0
  509. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
  510. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +62 -0
  511. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_update.rb +117 -0
  512. data/lib/2019-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  513. data/lib/2019-12-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
  514. data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
  515. data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
  516. data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
  517. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image.rb +139 -0
  518. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
  519. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
  520. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  521. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
  522. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
  523. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
  524. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  525. data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
  526. data/lib/2019-12-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  527. data/lib/2019-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  528. data/lib/2019-12-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  529. data/lib/2019-12-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  530. data/lib/2019-12-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  531. data/lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  532. data/lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  533. data/lib/2019-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
  534. data/lib/2019-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  535. data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  536. data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  537. data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  538. data/lib/2019-12-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  539. data/lib/2019-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  540. data/lib/2019-12-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
  541. data/lib/2019-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
  542. data/lib/2019-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  543. data/lib/2019-12-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  544. data/lib/2019-12-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  545. data/lib/2019-12-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  546. data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
  547. data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
  548. data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
  549. data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
  550. data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
  551. data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
  552. data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  553. data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image_encryption.rb +43 -0
  554. data/lib/2019-12-01/generated/azure_mgmt_compute/models/osprofile.rb +202 -0
  555. data/lib/2019-12-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  556. data/lib/2019-12-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  557. data/lib/2019-12-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  558. data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
  559. data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  560. data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  561. data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  562. data/lib/2019-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  563. data/lib/2019-12-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
  564. data/lib/2019-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  565. data/lib/2019-12-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
  566. data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
  567. data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
  568. data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
  569. data/lib/2019-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  570. data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  571. data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  572. data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
  573. data/lib/2019-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  574. data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  575. data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  576. data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  577. data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  578. data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  579. data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  580. data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  581. data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  582. data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  583. data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  584. data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  585. data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  586. data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  587. data/lib/2019-12-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
  588. data/lib/2019-12-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
  589. data/lib/2019-12-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  590. data/lib/2019-12-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
  591. data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  592. data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  593. data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
  594. data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
  595. data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
  596. data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
  597. data/lib/2019-12-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  598. data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_account_type.rb +17 -0
  599. data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
  600. data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  601. data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  602. data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  603. data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
  604. data/lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb +83 -0
  605. data/lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
  606. data/lib/2019-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  607. data/lib/2019-12-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  608. data/lib/2019-12-01/generated/azure_mgmt_compute/models/update_resource_definition.rb +90 -0
  609. data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  610. data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  611. data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  612. data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  613. data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  614. data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
  615. data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  616. data/lib/2019-12-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  617. data/lib/2019-12-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  618. data/lib/2019-12-01/generated/azure_mgmt_compute/models/user_artifact_source.rb +58 -0
  619. data/lib/2019-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  620. data/lib/2019-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  621. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  622. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +412 -0
  623. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  624. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  625. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  626. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  627. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
  628. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  629. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  630. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  631. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  632. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  633. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  634. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  635. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  636. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +142 -0
  637. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  638. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +217 -0
  639. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  640. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
  641. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
  642. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +318 -0
  643. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
  644. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +184 -0
  645. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  646. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
  647. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +185 -0
  648. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  649. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  650. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
  651. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  652. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  653. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  654. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  655. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  656. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  657. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  658. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
  659. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  660. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  661. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  662. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
  663. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  664. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
  665. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  666. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  667. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
  668. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  669. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  670. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  671. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  672. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
  673. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
  674. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  675. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
  676. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  677. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  678. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  679. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  680. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +138 -0
  681. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +384 -0
  682. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  683. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  684. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  685. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
  686. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  687. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
  688. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +176 -0
  689. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
  690. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  691. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  692. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  693. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  694. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  695. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +355 -0
  696. data/lib/2019-12-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
  697. data/lib/2019-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  698. data/lib/2019-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  699. data/lib/2019-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +114 -0
  700. data/lib/2019-12-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  701. data/lib/2019-12-01/generated/azure_mgmt_compute/operations.rb +109 -0
  702. data/lib/2019-12-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
  703. data/lib/2019-12-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
  704. data/lib/2019-12-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
  705. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
  706. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
  707. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
  708. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
  709. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
  710. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
  711. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
  712. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2107 -0
  713. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3290 -0
  714. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
  715. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machines.rb +3050 -0
  716. data/lib/2020-06-01/generated/azure_mgmt_compute.rb +276 -0
  717. data/lib/2020-06-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
  718. data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +212 -0
  719. data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +861 -0
  720. data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
  721. data/lib/2020-06-01/generated/azure_mgmt_compute/images.rb +975 -0
  722. data/lib/2020-06-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
  723. data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  724. data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  725. data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  726. data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  727. data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  728. data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
  729. data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
  730. data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
  731. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
  732. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  733. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  734. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
  735. data/lib/2020-06-01/generated/azure_mgmt_compute/models/available_patch_summary.rb +143 -0
  736. data/lib/2020-06-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
  737. data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
  738. data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +78 -0
  739. data/lib/2020-06-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  740. data/lib/2020-06-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  741. data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  742. data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  743. data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
  744. data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  745. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host.rb +219 -0
  746. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
  747. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
  748. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +178 -0
  749. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb +57 -0
  750. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
  751. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +141 -0
  752. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
  753. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb +84 -0
  754. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
  755. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
  756. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +171 -0
  757. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
  758. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  759. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
  760. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
  761. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb +47 -0
  762. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  763. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
  764. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  765. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  766. data/lib/2020-06-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  767. data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
  768. data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
  769. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image.rb +139 -0
  770. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
  771. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
  772. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  773. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
  774. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
  775. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  776. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
  777. data/lib/2020-06-01/generated/azure_mgmt_compute/models/in_guest_patch_mode.rb +17 -0
  778. data/lib/2020-06-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  779. data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  780. data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  781. data/lib/2020-06-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  782. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  783. data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  784. data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  785. data/lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb +211 -0
  786. data/lib/2020-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
  787. data/lib/2020-06-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  788. data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  789. data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  790. data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  791. data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  792. data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  793. data/lib/2020-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
  794. data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  795. data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  796. data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  797. data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  798. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
  799. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
  800. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
  801. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
  802. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
  803. data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
  804. data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  805. data/lib/2020-06-01/generated/azure_mgmt_compute/models/osprofile.rb +204 -0
  806. data/lib/2020-06-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  807. data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_assessment_state.rb +20 -0
  808. data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_operation_status.rb +18 -0
  809. data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb +59 -0
  810. data/lib/2020-06-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  811. data/lib/2020-06-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  812. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
  813. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  814. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  815. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  816. data/lib/2020-06-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  817. data/lib/2020-06-01/generated/azure_mgmt_compute/models/reboot_status.rb +19 -0
  818. data/lib/2020-06-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  819. data/lib/2020-06-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  820. data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  821. data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  822. data/lib/2020-06-01/generated/azure_mgmt_compute/models/retrieve_boot_diagnostics_data_result.rb +59 -0
  823. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  824. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  825. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  826. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  827. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  828. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  829. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  830. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  831. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  832. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  833. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  834. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  835. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  836. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  837. data/lib/2020-06-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
  838. data/lib/2020-06-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
  839. data/lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb +52 -0
  840. data/lib/2020-06-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  841. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
  842. data/lib/2020-06-01/generated/azure_mgmt_compute/models/software_update_reboot_behavior.rb +17 -0
  843. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  844. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  845. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
  846. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
  847. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
  848. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
  849. data/lib/2020-06-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  850. data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
  851. data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  852. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  853. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  854. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
  855. data/lib/2020-06-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
  856. data/lib/2020-06-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  857. data/lib/2020-06-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  858. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  859. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  860. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  861. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  862. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  863. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
  864. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  865. data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  866. data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  867. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  868. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  869. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  870. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +454 -0
  871. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  872. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb +152 -0
  873. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  874. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  875. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  876. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +208 -0
  877. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  878. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  879. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  880. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +147 -0
  881. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  882. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  883. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  884. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  885. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +155 -0
  886. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  887. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +258 -0
  888. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  889. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb +61 -0
  890. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
  891. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
  892. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +332 -0
  893. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
  894. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +197 -0
  895. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  896. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +70 -0
  897. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +198 -0
  898. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  899. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  900. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
  901. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  902. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  903. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  904. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  905. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  906. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  907. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  908. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
  909. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  910. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  911. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  912. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
  913. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  914. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
  915. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  916. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  917. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
  918. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  919. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  920. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  921. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  922. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
  923. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
  924. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  925. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
  926. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  927. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  928. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  929. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  930. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +151 -0
  931. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +397 -0
  932. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  933. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  934. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  935. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +211 -0
  936. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  937. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
  938. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +189 -0
  939. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
  940. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  941. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  942. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  943. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  944. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb +173 -0
  945. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  946. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +397 -0
  947. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vm_disk_types.rb +16 -0
  948. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
  949. data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  950. data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  951. data/lib/2020-06-01/generated/azure_mgmt_compute/models/windows_configuration.rb +127 -0
  952. data/lib/2020-06-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  953. data/lib/2020-06-01/generated/azure_mgmt_compute/operations.rb +109 -0
  954. data/lib/2020-06-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
  955. data/lib/2020-06-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
  956. data/lib/2020-06-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
  957. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
  958. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
  959. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
  960. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
  961. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
  962. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
  963. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
  964. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2220 -0
  965. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3290 -0
  966. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
  967. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machines.rb +3302 -0
  968. data/lib/2020-06-30/generated/azure_mgmt_compute.rb +80 -0
  969. data/lib/2020-06-30/generated/azure_mgmt_compute/compute_management_client.rb +145 -0
  970. data/lib/2020-06-30/generated/azure_mgmt_compute/disk_accesses.rb +1120 -0
  971. data/lib/2020-06-30/generated/azure_mgmt_compute/disk_encryption_sets.rb +1236 -0
  972. data/lib/2020-06-30/generated/azure_mgmt_compute/disks.rb +1294 -0
  973. data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_level.rb +17 -0
  974. data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  975. data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  976. data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  977. data/lib/2020-06-30/generated/azure_mgmt_compute/models/creation_data.rb +150 -0
  978. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk.rb +422 -0
  979. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access.rb +133 -0
  980. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_list.rb +100 -0
  981. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_update.rb +54 -0
  982. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
  983. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set.rb +160 -0
  984. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
  985. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
  986. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_type.rb +16 -0
  987. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +79 -0
  988. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  989. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
  990. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
  991. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
  992. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_update.rb +225 -0
  993. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption.rb +60 -0
  994. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
  995. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
  996. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
  997. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_type.rb +17 -0
  998. data/lib/2020-06-30/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  999. data/lib/2020-06-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
  1000. data/lib/2020-06-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  1001. data/lib/2020-06-30/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  1002. data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  1003. data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  1004. data/lib/2020-06-30/generated/azure_mgmt_compute/models/network_access_policy.rb +17 -0
  1005. data/lib/2020-06-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  1006. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint.rb +47 -0
  1007. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection.rb +110 -0
  1008. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection_provisioning_state.rb +18 -0
  1009. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_service_connection_status.rb +17 -0
  1010. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb +123 -0
  1011. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource_list_result.rb +55 -0
  1012. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_service_connection_state.rb +72 -0
  1013. data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource.rb +110 -0
  1014. data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource_uri_list.rb +100 -0
  1015. data/lib/2020-06-30/generated/azure_mgmt_compute/models/share_info_element.rb +49 -0
  1016. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot.rb +290 -0
  1017. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  1018. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
  1019. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  1020. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_update.rb +145 -0
  1021. data/lib/2020-06-30/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  1022. data/lib/2020-06-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
  1023. data/lib/2020-06-30/generated/azure_mgmt_compute/snapshots.rb +1294 -0
  1024. data/lib/azure_mgmt_compute.rb +15 -10
  1025. data/lib/profiles/latest/modules/compute_profile_module.rb +1072 -704
  1026. data/lib/version.rb +1 -1
  1027. metadata +988 -5
@@ -0,0 +1,988 @@
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::Compute::Mgmt::V2019_12_01
7
+ #
8
+ # Compute Client
9
+ #
10
+ class Galleries
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Galleries class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [ComputeManagementClient] reference to the ComputeManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Create or update a Shared Image Gallery.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
29
+ # allowed characters are alphabets and numbers with dots and periods allowed in
30
+ # the middle. The maximum length is 80 characters.
31
+ # @param gallery [Gallery] Parameters supplied to the create or update Shared
32
+ # Image Gallery operation.
33
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
+ # will be added to the HTTP request.
35
+ #
36
+ # @return [Gallery] operation results.
37
+ #
38
+ def create_or_update(resource_group_name, gallery_name, gallery, custom_headers:nil)
39
+ response = create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
40
+ response.body unless response.nil?
41
+ end
42
+
43
+ #
44
+ # @param resource_group_name [String] The name of the resource group.
45
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
46
+ # allowed characters are alphabets and numbers with dots and periods allowed in
47
+ # the middle. The maximum length is 80 characters.
48
+ # @param gallery [Gallery] Parameters supplied to the create or update Shared
49
+ # Image Gallery operation.
50
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
51
+ # will be added to the HTTP request.
52
+ #
53
+ # @return [Concurrent::Promise] promise which provides async access to http
54
+ # response.
55
+ #
56
+ def create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:nil)
57
+ # Send request
58
+ promise = begin_create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers)
59
+
60
+ promise = promise.then do |response|
61
+ # Defining deserialization method.
62
+ deserialize_method = lambda do |parsed_response|
63
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
64
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
65
+ end
66
+
67
+ # Waiting for response.
68
+ @client.get_long_running_operation_result(response, deserialize_method)
69
+ end
70
+
71
+ promise
72
+ end
73
+
74
+ #
75
+ # Update a Shared Image Gallery.
76
+ #
77
+ # @param resource_group_name [String] The name of the resource group.
78
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
79
+ # allowed characters are alphabets and numbers with dots and periods allowed in
80
+ # the middle. The maximum length is 80 characters.
81
+ # @param gallery [GalleryUpdate] Parameters supplied to the update Shared Image
82
+ # Gallery operation.
83
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
84
+ # will be added to the HTTP request.
85
+ #
86
+ # @return [Gallery] operation results.
87
+ #
88
+ def update(resource_group_name, gallery_name, gallery, custom_headers:nil)
89
+ response = update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
90
+ response.body unless response.nil?
91
+ end
92
+
93
+ #
94
+ # @param resource_group_name [String] The name of the resource group.
95
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
96
+ # allowed characters are alphabets and numbers with dots and periods allowed in
97
+ # the middle. The maximum length is 80 characters.
98
+ # @param gallery [GalleryUpdate] Parameters supplied to the update Shared Image
99
+ # Gallery operation.
100
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
101
+ # will be added to the HTTP request.
102
+ #
103
+ # @return [Concurrent::Promise] promise which provides async access to http
104
+ # response.
105
+ #
106
+ def update_async(resource_group_name, gallery_name, gallery, custom_headers:nil)
107
+ # Send request
108
+ promise = begin_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers)
109
+
110
+ promise = promise.then do |response|
111
+ # Defining deserialization method.
112
+ deserialize_method = lambda do |parsed_response|
113
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
114
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
115
+ end
116
+
117
+ # Waiting for response.
118
+ @client.get_long_running_operation_result(response, deserialize_method)
119
+ end
120
+
121
+ promise
122
+ end
123
+
124
+ #
125
+ # Retrieves information about a Shared Image Gallery.
126
+ #
127
+ # @param resource_group_name [String] The name of the resource group.
128
+ # @param gallery_name [String] The name of the Shared Image Gallery.
129
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
130
+ # will be added to the HTTP request.
131
+ #
132
+ # @return [Gallery] operation results.
133
+ #
134
+ def get(resource_group_name, gallery_name, custom_headers:nil)
135
+ response = get_async(resource_group_name, gallery_name, custom_headers:custom_headers).value!
136
+ response.body unless response.nil?
137
+ end
138
+
139
+ #
140
+ # Retrieves information about a Shared Image Gallery.
141
+ #
142
+ # @param resource_group_name [String] The name of the resource group.
143
+ # @param gallery_name [String] The name of the Shared Image Gallery.
144
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
145
+ # will be added to the HTTP request.
146
+ #
147
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
148
+ #
149
+ def get_with_http_info(resource_group_name, gallery_name, custom_headers:nil)
150
+ get_async(resource_group_name, gallery_name, custom_headers:custom_headers).value!
151
+ end
152
+
153
+ #
154
+ # Retrieves information about a Shared Image Gallery.
155
+ #
156
+ # @param resource_group_name [String] The name of the resource group.
157
+ # @param gallery_name [String] The name of the Shared Image Gallery.
158
+ # @param [Hash{String => String}] A hash of custom headers that will be added
159
+ # to the HTTP request.
160
+ #
161
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
162
+ #
163
+ def get_async(resource_group_name, gallery_name, custom_headers:nil)
164
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
165
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
166
+ fail ArgumentError, 'gallery_name is nil' if gallery_name.nil?
167
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
168
+
169
+
170
+ request_headers = {}
171
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
172
+
173
+ # Set Headers
174
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
175
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
176
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}'
177
+
178
+ request_url = @base_url || @client.base_url
179
+
180
+ options = {
181
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
182
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'galleryName' => gallery_name},
183
+ query_params: {'api-version' => @client.api_version},
184
+ headers: request_headers.merge(custom_headers || {}),
185
+ base_url: request_url
186
+ }
187
+ promise = @client.make_request_async(:get, path_template, options)
188
+
189
+ promise = promise.then do |result|
190
+ http_response = result.response
191
+ status_code = http_response.status
192
+ response_content = http_response.body
193
+ unless status_code == 200
194
+ error_model = JSON.load(response_content)
195
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
196
+ end
197
+
198
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
199
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
200
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
201
+ # Deserialize Response
202
+ if status_code == 200
203
+ begin
204
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
205
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
206
+ result.body = @client.deserialize(result_mapper, parsed_response)
207
+ rescue Exception => e
208
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
209
+ end
210
+ end
211
+
212
+ result
213
+ end
214
+
215
+ promise.execute
216
+ end
217
+
218
+ #
219
+ # Delete a Shared Image Gallery.
220
+ #
221
+ # @param resource_group_name [String] The name of the resource group.
222
+ # @param gallery_name [String] The name of the Shared Image Gallery to be
223
+ # deleted.
224
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
225
+ # will be added to the HTTP request.
226
+ #
227
+ def delete(resource_group_name, gallery_name, custom_headers:nil)
228
+ response = delete_async(resource_group_name, gallery_name, custom_headers:custom_headers).value!
229
+ nil
230
+ end
231
+
232
+ #
233
+ # @param resource_group_name [String] The name of the resource group.
234
+ # @param gallery_name [String] The name of the Shared Image Gallery to be
235
+ # deleted.
236
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
237
+ # will be added to the HTTP request.
238
+ #
239
+ # @return [Concurrent::Promise] promise which provides async access to http
240
+ # response.
241
+ #
242
+ def delete_async(resource_group_name, gallery_name, custom_headers:nil)
243
+ # Send request
244
+ promise = begin_delete_async(resource_group_name, gallery_name, custom_headers:custom_headers)
245
+
246
+ promise = promise.then do |response|
247
+ # Defining deserialization method.
248
+ deserialize_method = lambda do |parsed_response|
249
+ end
250
+
251
+ # Waiting for response.
252
+ @client.get_long_running_operation_result(response, deserialize_method)
253
+ end
254
+
255
+ promise
256
+ end
257
+
258
+ #
259
+ # List galleries under a resource group.
260
+ #
261
+ # @param resource_group_name [String] The name of the resource group.
262
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
263
+ # will be added to the HTTP request.
264
+ #
265
+ # @return [Array<Gallery>] operation results.
266
+ #
267
+ def list_by_resource_group(resource_group_name, custom_headers:nil)
268
+ first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
269
+ first_page.get_all_items
270
+ end
271
+
272
+ #
273
+ # List galleries under a resource group.
274
+ #
275
+ # @param resource_group_name [String] The name of the resource group.
276
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
277
+ # will be added to the HTTP request.
278
+ #
279
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
280
+ #
281
+ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
282
+ list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
283
+ end
284
+
285
+ #
286
+ # List galleries under a resource group.
287
+ #
288
+ # @param resource_group_name [String] The name of the resource group.
289
+ # @param [Hash{String => String}] A hash of custom headers that will be added
290
+ # to the HTTP request.
291
+ #
292
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
293
+ #
294
+ def list_by_resource_group_async(resource_group_name, custom_headers:nil)
295
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
296
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
297
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
298
+
299
+
300
+ request_headers = {}
301
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
302
+
303
+ # Set Headers
304
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
305
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
306
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries'
307
+
308
+ request_url = @base_url || @client.base_url
309
+
310
+ options = {
311
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
312
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
313
+ query_params: {'api-version' => @client.api_version},
314
+ headers: request_headers.merge(custom_headers || {}),
315
+ base_url: request_url
316
+ }
317
+ promise = @client.make_request_async(:get, path_template, options)
318
+
319
+ promise = promise.then do |result|
320
+ http_response = result.response
321
+ status_code = http_response.status
322
+ response_content = http_response.body
323
+ unless status_code == 200
324
+ error_model = JSON.load(response_content)
325
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
326
+ end
327
+
328
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
329
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
330
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
331
+ # Deserialize Response
332
+ if status_code == 200
333
+ begin
334
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
335
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::GalleryList.mapper()
336
+ result.body = @client.deserialize(result_mapper, parsed_response)
337
+ rescue Exception => e
338
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
339
+ end
340
+ end
341
+
342
+ result
343
+ end
344
+
345
+ promise.execute
346
+ end
347
+
348
+ #
349
+ # List galleries under a subscription.
350
+ #
351
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
352
+ # will be added to the HTTP request.
353
+ #
354
+ # @return [Array<Gallery>] operation results.
355
+ #
356
+ def list(custom_headers:nil)
357
+ first_page = list_as_lazy(custom_headers:custom_headers)
358
+ first_page.get_all_items
359
+ end
360
+
361
+ #
362
+ # List galleries under a subscription.
363
+ #
364
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
365
+ # will be added to the HTTP request.
366
+ #
367
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
368
+ #
369
+ def list_with_http_info(custom_headers:nil)
370
+ list_async(custom_headers:custom_headers).value!
371
+ end
372
+
373
+ #
374
+ # List galleries under a subscription.
375
+ #
376
+ # @param [Hash{String => String}] A hash of custom headers that will be added
377
+ # to the HTTP request.
378
+ #
379
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
380
+ #
381
+ def list_async(custom_headers:nil)
382
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
383
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
384
+
385
+
386
+ request_headers = {}
387
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
388
+
389
+ # Set Headers
390
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
391
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
392
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries'
393
+
394
+ request_url = @base_url || @client.base_url
395
+
396
+ options = {
397
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
398
+ path_params: {'subscriptionId' => @client.subscription_id},
399
+ query_params: {'api-version' => @client.api_version},
400
+ headers: request_headers.merge(custom_headers || {}),
401
+ base_url: request_url
402
+ }
403
+ promise = @client.make_request_async(:get, path_template, options)
404
+
405
+ promise = promise.then do |result|
406
+ http_response = result.response
407
+ status_code = http_response.status
408
+ response_content = http_response.body
409
+ unless status_code == 200
410
+ error_model = JSON.load(response_content)
411
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
412
+ end
413
+
414
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
415
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
416
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
417
+ # Deserialize Response
418
+ if status_code == 200
419
+ begin
420
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
421
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::GalleryList.mapper()
422
+ result.body = @client.deserialize(result_mapper, parsed_response)
423
+ rescue Exception => e
424
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
425
+ end
426
+ end
427
+
428
+ result
429
+ end
430
+
431
+ promise.execute
432
+ end
433
+
434
+ #
435
+ # Create or update a Shared Image Gallery.
436
+ #
437
+ # @param resource_group_name [String] The name of the resource group.
438
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
439
+ # allowed characters are alphabets and numbers with dots and periods allowed in
440
+ # the middle. The maximum length is 80 characters.
441
+ # @param gallery [Gallery] Parameters supplied to the create or update Shared
442
+ # Image Gallery operation.
443
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
444
+ # will be added to the HTTP request.
445
+ #
446
+ # @return [Gallery] operation results.
447
+ #
448
+ def begin_create_or_update(resource_group_name, gallery_name, gallery, custom_headers:nil)
449
+ response = begin_create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
450
+ response.body unless response.nil?
451
+ end
452
+
453
+ #
454
+ # Create or update a Shared Image Gallery.
455
+ #
456
+ # @param resource_group_name [String] The name of the resource group.
457
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
458
+ # allowed characters are alphabets and numbers with dots and periods allowed in
459
+ # the middle. The maximum length is 80 characters.
460
+ # @param gallery [Gallery] Parameters supplied to the create or update Shared
461
+ # Image Gallery operation.
462
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
463
+ # will be added to the HTTP request.
464
+ #
465
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
466
+ #
467
+ def begin_create_or_update_with_http_info(resource_group_name, gallery_name, gallery, custom_headers:nil)
468
+ begin_create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
469
+ end
470
+
471
+ #
472
+ # Create or update a Shared Image Gallery.
473
+ #
474
+ # @param resource_group_name [String] The name of the resource group.
475
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
476
+ # allowed characters are alphabets and numbers with dots and periods allowed in
477
+ # the middle. The maximum length is 80 characters.
478
+ # @param gallery [Gallery] Parameters supplied to the create or update Shared
479
+ # Image Gallery operation.
480
+ # @param [Hash{String => String}] A hash of custom headers that will be added
481
+ # to the HTTP request.
482
+ #
483
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
484
+ #
485
+ def begin_create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:nil)
486
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
487
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
488
+ fail ArgumentError, 'gallery_name is nil' if gallery_name.nil?
489
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
490
+ fail ArgumentError, 'gallery is nil' if gallery.nil?
491
+
492
+
493
+ request_headers = {}
494
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
495
+
496
+ # Set Headers
497
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
498
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
499
+
500
+ # Serialize Request
501
+ request_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
502
+ request_content = @client.serialize(request_mapper, gallery)
503
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
504
+
505
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}'
506
+
507
+ request_url = @base_url || @client.base_url
508
+
509
+ options = {
510
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
511
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'galleryName' => gallery_name},
512
+ query_params: {'api-version' => @client.api_version},
513
+ body: request_content,
514
+ headers: request_headers.merge(custom_headers || {}),
515
+ base_url: request_url
516
+ }
517
+ promise = @client.make_request_async(:put, path_template, options)
518
+
519
+ promise = promise.then do |result|
520
+ http_response = result.response
521
+ status_code = http_response.status
522
+ response_content = http_response.body
523
+ unless status_code == 200 || status_code == 201 || status_code == 202
524
+ error_model = JSON.load(response_content)
525
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
526
+ end
527
+
528
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
529
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
530
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
531
+ # Deserialize Response
532
+ if status_code == 200
533
+ begin
534
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
535
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
536
+ result.body = @client.deserialize(result_mapper, parsed_response)
537
+ rescue Exception => e
538
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
539
+ end
540
+ end
541
+ # Deserialize Response
542
+ if status_code == 201
543
+ begin
544
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
545
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
546
+ result.body = @client.deserialize(result_mapper, parsed_response)
547
+ rescue Exception => e
548
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
549
+ end
550
+ end
551
+ # Deserialize Response
552
+ if status_code == 202
553
+ begin
554
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
555
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
556
+ result.body = @client.deserialize(result_mapper, parsed_response)
557
+ rescue Exception => e
558
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
559
+ end
560
+ end
561
+
562
+ result
563
+ end
564
+
565
+ promise.execute
566
+ end
567
+
568
+ #
569
+ # Update a Shared Image Gallery.
570
+ #
571
+ # @param resource_group_name [String] The name of the resource group.
572
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
573
+ # allowed characters are alphabets and numbers with dots and periods allowed in
574
+ # the middle. The maximum length is 80 characters.
575
+ # @param gallery [GalleryUpdate] Parameters supplied to the update Shared Image
576
+ # Gallery operation.
577
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
578
+ # will be added to the HTTP request.
579
+ #
580
+ # @return [Gallery] operation results.
581
+ #
582
+ def begin_update(resource_group_name, gallery_name, gallery, custom_headers:nil)
583
+ response = begin_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
584
+ response.body unless response.nil?
585
+ end
586
+
587
+ #
588
+ # Update a Shared Image Gallery.
589
+ #
590
+ # @param resource_group_name [String] The name of the resource group.
591
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
592
+ # allowed characters are alphabets and numbers with dots and periods allowed in
593
+ # the middle. The maximum length is 80 characters.
594
+ # @param gallery [GalleryUpdate] Parameters supplied to the update Shared Image
595
+ # Gallery operation.
596
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
597
+ # will be added to the HTTP request.
598
+ #
599
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
600
+ #
601
+ def begin_update_with_http_info(resource_group_name, gallery_name, gallery, custom_headers:nil)
602
+ begin_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
603
+ end
604
+
605
+ #
606
+ # Update a Shared Image Gallery.
607
+ #
608
+ # @param resource_group_name [String] The name of the resource group.
609
+ # @param gallery_name [String] The name of the Shared Image Gallery. The
610
+ # allowed characters are alphabets and numbers with dots and periods allowed in
611
+ # the middle. The maximum length is 80 characters.
612
+ # @param gallery [GalleryUpdate] Parameters supplied to the update Shared Image
613
+ # Gallery operation.
614
+ # @param [Hash{String => String}] A hash of custom headers that will be added
615
+ # to the HTTP request.
616
+ #
617
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
618
+ #
619
+ def begin_update_async(resource_group_name, gallery_name, gallery, custom_headers:nil)
620
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
621
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
622
+ fail ArgumentError, 'gallery_name is nil' if gallery_name.nil?
623
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
624
+ fail ArgumentError, 'gallery is nil' if gallery.nil?
625
+
626
+
627
+ request_headers = {}
628
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
629
+
630
+ # Set Headers
631
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
632
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
633
+
634
+ # Serialize Request
635
+ request_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::GalleryUpdate.mapper()
636
+ request_content = @client.serialize(request_mapper, gallery)
637
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
638
+
639
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}'
640
+
641
+ request_url = @base_url || @client.base_url
642
+
643
+ options = {
644
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
645
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'galleryName' => gallery_name},
646
+ query_params: {'api-version' => @client.api_version},
647
+ body: request_content,
648
+ headers: request_headers.merge(custom_headers || {}),
649
+ base_url: request_url
650
+ }
651
+ promise = @client.make_request_async(:patch, path_template, options)
652
+
653
+ promise = promise.then do |result|
654
+ http_response = result.response
655
+ status_code = http_response.status
656
+ response_content = http_response.body
657
+ unless status_code == 200
658
+ error_model = JSON.load(response_content)
659
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
660
+ end
661
+
662
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
663
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
664
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
665
+ # Deserialize Response
666
+ if status_code == 200
667
+ begin
668
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
669
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::Gallery.mapper()
670
+ result.body = @client.deserialize(result_mapper, parsed_response)
671
+ rescue Exception => e
672
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
673
+ end
674
+ end
675
+
676
+ result
677
+ end
678
+
679
+ promise.execute
680
+ end
681
+
682
+ #
683
+ # Delete a Shared Image Gallery.
684
+ #
685
+ # @param resource_group_name [String] The name of the resource group.
686
+ # @param gallery_name [String] The name of the Shared Image Gallery to be
687
+ # deleted.
688
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
689
+ # will be added to the HTTP request.
690
+ #
691
+ #
692
+ def begin_delete(resource_group_name, gallery_name, custom_headers:nil)
693
+ response = begin_delete_async(resource_group_name, gallery_name, custom_headers:custom_headers).value!
694
+ nil
695
+ end
696
+
697
+ #
698
+ # Delete a Shared Image Gallery.
699
+ #
700
+ # @param resource_group_name [String] The name of the resource group.
701
+ # @param gallery_name [String] The name of the Shared Image Gallery to be
702
+ # deleted.
703
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
704
+ # will be added to the HTTP request.
705
+ #
706
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
707
+ #
708
+ def begin_delete_with_http_info(resource_group_name, gallery_name, custom_headers:nil)
709
+ begin_delete_async(resource_group_name, gallery_name, custom_headers:custom_headers).value!
710
+ end
711
+
712
+ #
713
+ # Delete a Shared Image Gallery.
714
+ #
715
+ # @param resource_group_name [String] The name of the resource group.
716
+ # @param gallery_name [String] The name of the Shared Image Gallery to be
717
+ # deleted.
718
+ # @param [Hash{String => String}] A hash of custom headers that will be added
719
+ # to the HTTP request.
720
+ #
721
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
722
+ #
723
+ def begin_delete_async(resource_group_name, gallery_name, custom_headers:nil)
724
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
725
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
726
+ fail ArgumentError, 'gallery_name is nil' if gallery_name.nil?
727
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
728
+
729
+
730
+ request_headers = {}
731
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
732
+
733
+ # Set Headers
734
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
735
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
736
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}'
737
+
738
+ request_url = @base_url || @client.base_url
739
+
740
+ options = {
741
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
742
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'galleryName' => gallery_name},
743
+ query_params: {'api-version' => @client.api_version},
744
+ headers: request_headers.merge(custom_headers || {}),
745
+ base_url: request_url
746
+ }
747
+ promise = @client.make_request_async(:delete, path_template, options)
748
+
749
+ promise = promise.then do |result|
750
+ http_response = result.response
751
+ status_code = http_response.status
752
+ response_content = http_response.body
753
+ unless status_code == 200 || status_code == 202 || status_code == 204
754
+ error_model = JSON.load(response_content)
755
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
756
+ end
757
+
758
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
759
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
760
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
761
+
762
+ result
763
+ end
764
+
765
+ promise.execute
766
+ end
767
+
768
+ #
769
+ # List galleries under a resource group.
770
+ #
771
+ # @param next_page_link [String] The NextLink from the previous successful call
772
+ # to List operation.
773
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
774
+ # will be added to the HTTP request.
775
+ #
776
+ # @return [GalleryList] operation results.
777
+ #
778
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
779
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
780
+ response.body unless response.nil?
781
+ end
782
+
783
+ #
784
+ # List galleries under a resource group.
785
+ #
786
+ # @param next_page_link [String] The NextLink from the previous successful call
787
+ # to List operation.
788
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
789
+ # will be added to the HTTP request.
790
+ #
791
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
792
+ #
793
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
794
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
795
+ end
796
+
797
+ #
798
+ # List galleries under a resource group.
799
+ #
800
+ # @param next_page_link [String] The NextLink from the previous successful call
801
+ # to List operation.
802
+ # @param [Hash{String => String}] A hash of custom headers that will be added
803
+ # to the HTTP request.
804
+ #
805
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
806
+ #
807
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
808
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
809
+
810
+
811
+ request_headers = {}
812
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
813
+
814
+ # Set Headers
815
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
816
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
817
+ path_template = '{nextLink}'
818
+
819
+ request_url = @base_url || @client.base_url
820
+
821
+ options = {
822
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
823
+ skip_encoding_path_params: {'nextLink' => next_page_link},
824
+ headers: request_headers.merge(custom_headers || {}),
825
+ base_url: request_url
826
+ }
827
+ promise = @client.make_request_async(:get, path_template, options)
828
+
829
+ promise = promise.then do |result|
830
+ http_response = result.response
831
+ status_code = http_response.status
832
+ response_content = http_response.body
833
+ unless status_code == 200
834
+ error_model = JSON.load(response_content)
835
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
836
+ end
837
+
838
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
839
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
840
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
841
+ # Deserialize Response
842
+ if status_code == 200
843
+ begin
844
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
845
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::GalleryList.mapper()
846
+ result.body = @client.deserialize(result_mapper, parsed_response)
847
+ rescue Exception => e
848
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
849
+ end
850
+ end
851
+
852
+ result
853
+ end
854
+
855
+ promise.execute
856
+ end
857
+
858
+ #
859
+ # List galleries under a subscription.
860
+ #
861
+ # @param next_page_link [String] The NextLink from the previous successful call
862
+ # to List operation.
863
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
864
+ # will be added to the HTTP request.
865
+ #
866
+ # @return [GalleryList] operation results.
867
+ #
868
+ def list_next(next_page_link, custom_headers:nil)
869
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
870
+ response.body unless response.nil?
871
+ end
872
+
873
+ #
874
+ # List galleries under a subscription.
875
+ #
876
+ # @param next_page_link [String] The NextLink from the previous successful call
877
+ # to List operation.
878
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
879
+ # will be added to the HTTP request.
880
+ #
881
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
882
+ #
883
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
884
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
885
+ end
886
+
887
+ #
888
+ # List galleries under a subscription.
889
+ #
890
+ # @param next_page_link [String] The NextLink from the previous successful call
891
+ # to List operation.
892
+ # @param [Hash{String => String}] A hash of custom headers that will be added
893
+ # to the HTTP request.
894
+ #
895
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
896
+ #
897
+ def list_next_async(next_page_link, custom_headers:nil)
898
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
899
+
900
+
901
+ request_headers = {}
902
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
903
+
904
+ # Set Headers
905
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
906
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
907
+ path_template = '{nextLink}'
908
+
909
+ request_url = @base_url || @client.base_url
910
+
911
+ options = {
912
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
913
+ skip_encoding_path_params: {'nextLink' => next_page_link},
914
+ headers: request_headers.merge(custom_headers || {}),
915
+ base_url: request_url
916
+ }
917
+ promise = @client.make_request_async(:get, path_template, options)
918
+
919
+ promise = promise.then do |result|
920
+ http_response = result.response
921
+ status_code = http_response.status
922
+ response_content = http_response.body
923
+ unless status_code == 200
924
+ error_model = JSON.load(response_content)
925
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
926
+ end
927
+
928
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
929
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
930
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
931
+ # Deserialize Response
932
+ if status_code == 200
933
+ begin
934
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
935
+ result_mapper = Azure::Compute::Mgmt::V2019_12_01::Models::GalleryList.mapper()
936
+ result.body = @client.deserialize(result_mapper, parsed_response)
937
+ rescue Exception => e
938
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
939
+ end
940
+ end
941
+
942
+ result
943
+ end
944
+
945
+ promise.execute
946
+ end
947
+
948
+ #
949
+ # List galleries under a resource group.
950
+ #
951
+ # @param resource_group_name [String] The name of the resource group.
952
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
953
+ # will be added to the HTTP request.
954
+ #
955
+ # @return [GalleryList] which provide lazy access to pages of the response.
956
+ #
957
+ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
958
+ response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
959
+ unless response.nil?
960
+ page = response.body
961
+ page.next_method = Proc.new do |next_page_link|
962
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
963
+ end
964
+ page
965
+ end
966
+ end
967
+
968
+ #
969
+ # List galleries under a subscription.
970
+ #
971
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
972
+ # will be added to the HTTP request.
973
+ #
974
+ # @return [GalleryList] which provide lazy access to pages of the response.
975
+ #
976
+ def list_as_lazy(custom_headers:nil)
977
+ response = list_async(custom_headers:custom_headers).value!
978
+ unless response.nil?
979
+ page = response.body
980
+ page.next_method = Proc.new do |next_page_link|
981
+ list_next_async(next_page_link, custom_headers:custom_headers)
982
+ end
983
+ page
984
+ end
985
+ end
986
+
987
+ end
988
+ end