azure_mgmt_batch 0.17.2 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (471) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +20 -20
  3. data/lib/2015-12-01/generated/azure_mgmt_batch.rb +0 -0
  4. data/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
  5. data/lib/2015-12-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
  6. data/lib/2015-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
  7. data/lib/2015-12-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
  8. data/lib/2015-12-01/generated/azure_mgmt_batch/location.rb +2 -0
  9. data/lib/2015-12-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
  10. data/lib/2015-12-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
  11. data/lib/2015-12-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +0 -0
  12. data/lib/2015-12-01/generated/azure_mgmt_batch/models/application.rb +0 -0
  13. data/lib/2015-12-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
  14. data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
  15. data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
  16. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
  17. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
  18. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
  19. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
  20. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
  21. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
  22. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
  23. data/lib/2015-12-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
  24. data/lib/2015-12-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
  25. data/lib/2015-12-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
  26. data/lib/2015-12-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
  27. data/lib/2015-12-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +0 -0
  28. data/lib/2015-12-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
  29. data/lib/2017-01-01/generated/azure_mgmt_batch.rb +0 -0
  30. data/lib/2017-01-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
  31. data/lib/2017-01-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
  32. data/lib/2017-01-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
  33. data/lib/2017-01-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
  34. data/lib/2017-01-01/generated/azure_mgmt_batch/location.rb +2 -0
  35. data/lib/2017-01-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
  36. data/lib/2017-01-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
  37. data/lib/2017-01-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +0 -0
  38. data/lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb +0 -0
  39. data/lib/2017-01-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
  40. data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
  41. data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
  42. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
  43. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
  44. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
  45. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
  46. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
  47. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
  48. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
  49. data/lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +0 -0
  50. data/lib/2017-01-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
  51. data/lib/2017-01-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
  52. data/lib/2017-01-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +0 -0
  53. data/lib/2017-01-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
  54. data/lib/2017-01-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
  55. data/lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +0 -0
  56. data/lib/2017-01-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
  57. data/lib/2017-05-01/generated/azure_mgmt_batch.rb +0 -0
  58. data/lib/2017-05-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
  59. data/lib/2017-05-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
  60. data/lib/2017-05-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
  61. data/lib/2017-05-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
  62. data/lib/2017-05-01/generated/azure_mgmt_batch/location.rb +4 -0
  63. data/lib/2017-05-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
  64. data/lib/2017-05-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
  65. data/lib/2017-05-01/generated/azure_mgmt_batch/models/application.rb +0 -0
  66. data/lib/2017-05-01/generated/azure_mgmt_batch/models/application_create_parameters.rb +0 -0
  67. data/lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
  68. data/lib/2017-05-01/generated/azure_mgmt_batch/models/application_update_parameters.rb +0 -0
  69. data/lib/2017-05-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
  70. data/lib/2017-05-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
  71. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
  72. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
  73. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
  74. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
  75. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
  76. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
  77. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
  78. data/lib/2017-05-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +0 -0
  79. data/lib/2017-05-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +0 -0
  80. data/lib/2017-05-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +0 -0
  81. data/lib/2017-05-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
  82. data/lib/2017-05-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +0 -0
  83. data/lib/2017-05-01/generated/azure_mgmt_batch/models/operation.rb +0 -0
  84. data/lib/2017-05-01/generated/azure_mgmt_batch/models/operation_display.rb +0 -0
  85. data/lib/2017-05-01/generated/azure_mgmt_batch/models/operation_list_result.rb +0 -0
  86. data/lib/2017-05-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
  87. data/lib/2017-05-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +0 -0
  88. data/lib/2017-05-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
  89. data/lib/2017-05-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
  90. data/lib/2017-05-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
  91. data/lib/2017-05-01/generated/azure_mgmt_batch/operations.rb +4 -0
  92. data/lib/2017-09-01/generated/azure_mgmt_batch.rb +0 -0
  93. data/lib/2017-09-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
  94. data/lib/2017-09-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
  95. data/lib/2017-09-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
  96. data/lib/2017-09-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
  97. data/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb +14 -0
  98. data/lib/2017-09-01/generated/azure_mgmt_batch/location.rb +4 -0
  99. data/lib/2017-09-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
  100. data/lib/2017-09-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
  101. data/lib/2017-09-01/generated/azure_mgmt_batch/models/allocation_state.rb +0 -0
  102. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application.rb +0 -0
  103. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_create_parameters.rb +0 -0
  104. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
  105. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb +0 -0
  106. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_update_parameters.rb +0 -0
  107. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +0 -0
  108. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +0 -0
  109. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +0 -0
  110. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
  111. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
  112. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +0 -0
  113. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +0 -0
  114. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
  115. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
  116. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
  117. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
  118. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
  119. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
  120. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
  121. data/lib/2017-09-01/generated/azure_mgmt_batch/models/caching_type.rb +0 -0
  122. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate.rb +0 -0
  123. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +0 -0
  124. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +0 -0
  125. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_format.rb +0 -0
  126. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +0 -0
  127. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_reference.rb +0 -0
  128. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +0 -0
  129. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +0 -0
  130. data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +0 -0
  131. data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +0 -0
  132. data/lib/2017-09-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +0 -0
  133. data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +0 -0
  134. data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +0 -0
  135. data/lib/2017-09-01/generated/azure_mgmt_batch/models/data_disk.rb +0 -0
  136. data/lib/2017-09-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +0 -0
  137. data/lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +0 -0
  138. data/lib/2017-09-01/generated/azure_mgmt_batch/models/elevation_level.rb +0 -0
  139. data/lib/2017-09-01/generated/azure_mgmt_batch/models/environment_setting.rb +0 -0
  140. data/lib/2017-09-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +0 -0
  141. data/lib/2017-09-01/generated/azure_mgmt_batch/models/image_reference.rb +0 -0
  142. data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +0 -0
  143. data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +0 -0
  144. data/lib/2017-09-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +0 -0
  145. data/lib/2017-09-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +0 -0
  146. data/lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +0 -0
  147. data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
  148. data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +0 -0
  149. data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_pools_result.rb +0 -0
  150. data/lib/2017-09-01/generated/azure_mgmt_batch/models/metadata_item.rb +0 -0
  151. data/lib/2017-09-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +0 -0
  152. data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_configuration.rb +0 -0
  153. data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +0 -0
  154. data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +0 -0
  155. data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation.rb +0 -0
  156. data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_display.rb +0 -0
  157. data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_list_result.rb +0 -0
  158. data/lib/2017-09-01/generated/azure_mgmt_batch/models/osdisk.rb +0 -0
  159. data/lib/2017-09-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
  160. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool.rb +0 -0
  161. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +0 -0
  162. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +0 -0
  163. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +0 -0
  164. data/lib/2017-09-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
  165. data/lib/2017-09-01/generated/azure_mgmt_batch/models/proxy_resource.rb +0 -0
  166. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_error.rb +0 -0
  167. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +0 -0
  168. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
  169. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource_file.rb +0 -0
  170. data/lib/2017-09-01/generated/azure_mgmt_batch/models/scale_settings.rb +0 -0
  171. data/lib/2017-09-01/generated/azure_mgmt_batch/models/start_task.rb +0 -0
  172. data/lib/2017-09-01/generated/azure_mgmt_batch/models/storage_account_type.rb +0 -0
  173. data/lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +0 -0
  174. data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_account.rb +0 -0
  175. data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_identity.rb +0 -0
  176. data/lib/2017-09-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +0 -0
  177. data/lib/2017-09-01/generated/azure_mgmt_batch/models/windows_configuration.rb +0 -0
  178. data/lib/2017-09-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
  179. data/lib/2017-09-01/generated/azure_mgmt_batch/operations.rb +4 -0
  180. data/lib/2017-09-01/generated/azure_mgmt_batch/pool_operations.rb +16 -0
  181. data/lib/2018-12-01/generated/azure_mgmt_batch.rb +116 -0
  182. data/lib/2018-12-01/generated/azure_mgmt_batch/application_operations.rb +696 -0
  183. data/lib/2018-12-01/generated/azure_mgmt_batch/application_package_operations.rb +737 -0
  184. data/lib/2018-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +1295 -0
  185. data/lib/2018-12-01/generated/azure_mgmt_batch/batch_management_client.rb +156 -0
  186. data/lib/2018-12-01/generated/azure_mgmt_batch/certificate_operations.rb +1023 -0
  187. data/lib/2018-12-01/generated/azure_mgmt_batch/location.rb +225 -0
  188. data/lib/2018-12-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
  189. data/lib/2018-12-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
  190. data/lib/2018-12-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
  191. data/lib/2018-12-01/generated/azure_mgmt_batch/models/application.rb +107 -0
  192. data/lib/2018-12-01/generated/azure_mgmt_batch/models/application_package.rb +137 -0
  193. data/lib/2018-12-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
  194. data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
  195. data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
  196. data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
  197. data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
  198. data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
  199. data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
  200. data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +66 -0
  201. data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account.rb +208 -0
  202. data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
  203. data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
  204. data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
  205. data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
  206. data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
  207. data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
  208. data/lib/2018-12-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
  209. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate.rb +192 -0
  210. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
  211. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
  212. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
  213. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
  214. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_reference.rb +112 -0
  215. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
  216. data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
  217. data/lib/2018-12-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
  218. data/lib/2018-12-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
  219. data/lib/2018-12-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +67 -0
  220. data/lib/2018-12-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
  221. data/lib/2018-12-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
  222. data/lib/2018-12-01/generated/azure_mgmt_batch/models/container_configuration.rb +95 -0
  223. data/lib/2018-12-01/generated/azure_mgmt_batch/models/container_registry.rb +70 -0
  224. data/lib/2018-12-01/generated/azure_mgmt_batch/models/data_disk.rb +101 -0
  225. data/lib/2018-12-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
  226. data/lib/2018-12-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
  227. data/lib/2018-12-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
  228. data/lib/2018-12-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
  229. data/lib/2018-12-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
  230. data/lib/2018-12-01/generated/azure_mgmt_batch/models/image_reference.rb +108 -0
  231. data/lib/2018-12-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
  232. data/lib/2018-12-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
  233. data/lib/2018-12-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
  234. data/lib/2018-12-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
  235. data/lib/2018-12-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
  236. data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_application_packages_result.rb +98 -0
  237. data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
  238. data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
  239. data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
  240. data/lib/2018-12-01/generated/azure_mgmt_batch/models/login_mode.rb +16 -0
  241. data/lib/2018-12-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
  242. data/lib/2018-12-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
  243. data/lib/2018-12-01/generated/azure_mgmt_batch/models/network_configuration.rb +86 -0
  244. data/lib/2018-12-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +82 -0
  245. data/lib/2018-12-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
  246. data/lib/2018-12-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
  247. data/lib/2018-12-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
  248. data/lib/2018-12-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
  249. data/lib/2018-12-01/generated/azure_mgmt_batch/models/package_state.rb +16 -0
  250. data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool.rb +459 -0
  251. data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
  252. data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
  253. data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
  254. data/lib/2018-12-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
  255. data/lib/2018-12-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
  256. data/lib/2018-12-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
  257. data/lib/2018-12-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
  258. data/lib/2018-12-01/generated/azure_mgmt_batch/models/resource.rb +112 -0
  259. data/lib/2018-12-01/generated/azure_mgmt_batch/models/resource_file.rb +139 -0
  260. data/lib/2018-12-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
  261. data/lib/2018-12-01/generated/azure_mgmt_batch/models/start_task.rb +168 -0
  262. data/lib/2018-12-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
  263. data/lib/2018-12-01/generated/azure_mgmt_batch/models/task_container_settings.rb +77 -0
  264. data/lib/2018-12-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
  265. data/lib/2018-12-01/generated/azure_mgmt_batch/models/user_account.rb +104 -0
  266. data/lib/2018-12-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
  267. data/lib/2018-12-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +141 -0
  268. data/lib/2018-12-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
  269. data/lib/2018-12-01/generated/azure_mgmt_batch/models/windows_user_configuration.rb +51 -0
  270. data/lib/2018-12-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
  271. data/lib/2018-12-01/generated/azure_mgmt_batch/operations.rb +219 -0
  272. data/lib/2018-12-01/generated/azure_mgmt_batch/pool_operations.rb +1148 -0
  273. data/lib/2019-04-01/generated/azure_mgmt_batch.rb +117 -0
  274. data/lib/2019-04-01/generated/azure_mgmt_batch/application_operations.rb +696 -0
  275. data/lib/2019-04-01/generated/azure_mgmt_batch/application_package_operations.rb +737 -0
  276. data/lib/2019-04-01/generated/azure_mgmt_batch/batch_account_operations.rb +1295 -0
  277. data/lib/2019-04-01/generated/azure_mgmt_batch/batch_management_client.rb +156 -0
  278. data/lib/2019-04-01/generated/azure_mgmt_batch/certificate_operations.rb +1023 -0
  279. data/lib/2019-04-01/generated/azure_mgmt_batch/location.rb +225 -0
  280. data/lib/2019-04-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
  281. data/lib/2019-04-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
  282. data/lib/2019-04-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
  283. data/lib/2019-04-01/generated/azure_mgmt_batch/models/application.rb +107 -0
  284. data/lib/2019-04-01/generated/azure_mgmt_batch/models/application_package.rb +137 -0
  285. data/lib/2019-04-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
  286. data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
  287. data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
  288. data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
  289. data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
  290. data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
  291. data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
  292. data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +66 -0
  293. data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account.rb +257 -0
  294. data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
  295. data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
  296. data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
  297. data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
  298. data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
  299. data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
  300. data/lib/2019-04-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
  301. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate.rb +192 -0
  302. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
  303. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
  304. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
  305. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
  306. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_reference.rb +112 -0
  307. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
  308. data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
  309. data/lib/2019-04-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
  310. data/lib/2019-04-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
  311. data/lib/2019-04-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +68 -0
  312. data/lib/2019-04-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
  313. data/lib/2019-04-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
  314. data/lib/2019-04-01/generated/azure_mgmt_batch/models/container_configuration.rb +95 -0
  315. data/lib/2019-04-01/generated/azure_mgmt_batch/models/container_registry.rb +70 -0
  316. data/lib/2019-04-01/generated/azure_mgmt_batch/models/data_disk.rb +101 -0
  317. data/lib/2019-04-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
  318. data/lib/2019-04-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
  319. data/lib/2019-04-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
  320. data/lib/2019-04-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
  321. data/lib/2019-04-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
  322. data/lib/2019-04-01/generated/azure_mgmt_batch/models/image_reference.rb +108 -0
  323. data/lib/2019-04-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
  324. data/lib/2019-04-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
  325. data/lib/2019-04-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
  326. data/lib/2019-04-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
  327. data/lib/2019-04-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
  328. data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_application_packages_result.rb +98 -0
  329. data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
  330. data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
  331. data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
  332. data/lib/2019-04-01/generated/azure_mgmt_batch/models/login_mode.rb +16 -0
  333. data/lib/2019-04-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
  334. data/lib/2019-04-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
  335. data/lib/2019-04-01/generated/azure_mgmt_batch/models/network_configuration.rb +86 -0
  336. data/lib/2019-04-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +82 -0
  337. data/lib/2019-04-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
  338. data/lib/2019-04-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
  339. data/lib/2019-04-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
  340. data/lib/2019-04-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
  341. data/lib/2019-04-01/generated/azure_mgmt_batch/models/package_state.rb +16 -0
  342. data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool.rb +462 -0
  343. data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
  344. data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
  345. data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
  346. data/lib/2019-04-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
  347. data/lib/2019-04-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
  348. data/lib/2019-04-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
  349. data/lib/2019-04-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
  350. data/lib/2019-04-01/generated/azure_mgmt_batch/models/resource.rb +112 -0
  351. data/lib/2019-04-01/generated/azure_mgmt_batch/models/resource_file.rb +139 -0
  352. data/lib/2019-04-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
  353. data/lib/2019-04-01/generated/azure_mgmt_batch/models/start_task.rb +174 -0
  354. data/lib/2019-04-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
  355. data/lib/2019-04-01/generated/azure_mgmt_batch/models/task_container_settings.rb +77 -0
  356. data/lib/2019-04-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
  357. data/lib/2019-04-01/generated/azure_mgmt_batch/models/user_account.rb +104 -0
  358. data/lib/2019-04-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
  359. data/lib/2019-04-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +141 -0
  360. data/lib/2019-04-01/generated/azure_mgmt_batch/models/virtual_machine_family_core_quota.rb +60 -0
  361. data/lib/2019-04-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
  362. data/lib/2019-04-01/generated/azure_mgmt_batch/models/windows_user_configuration.rb +51 -0
  363. data/lib/2019-04-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
  364. data/lib/2019-04-01/generated/azure_mgmt_batch/operations.rb +219 -0
  365. data/lib/2019-04-01/generated/azure_mgmt_batch/pool_operations.rb +1148 -0
  366. data/lib/2019-08-01/generated/azure_mgmt_batch.rb +123 -0
  367. data/lib/2019-08-01/generated/azure_mgmt_batch/application_operations.rb +696 -0
  368. data/lib/2019-08-01/generated/azure_mgmt_batch/application_package_operations.rb +749 -0
  369. data/lib/2019-08-01/generated/azure_mgmt_batch/batch_account_operations.rb +1295 -0
  370. data/lib/2019-08-01/generated/azure_mgmt_batch/batch_management_client.rb +156 -0
  371. data/lib/2019-08-01/generated/azure_mgmt_batch/certificate_operations.rb +1023 -0
  372. data/lib/2019-08-01/generated/azure_mgmt_batch/location.rb +225 -0
  373. data/lib/2019-08-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
  374. data/lib/2019-08-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
  375. data/lib/2019-08-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
  376. data/lib/2019-08-01/generated/azure_mgmt_batch/models/application.rb +107 -0
  377. data/lib/2019-08-01/generated/azure_mgmt_batch/models/application_package.rb +137 -0
  378. data/lib/2019-08-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
  379. data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
  380. data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
  381. data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
  382. data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
  383. data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
  384. data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
  385. data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +68 -0
  386. data/lib/2019-08-01/generated/azure_mgmt_batch/models/azure_blob_file_system_configuration.rb +109 -0
  387. data/lib/2019-08-01/generated/azure_mgmt_batch/models/azure_file_share_configuration.rb +97 -0
  388. data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account.rb +257 -0
  389. data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
  390. data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
  391. data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
  392. data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
  393. data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
  394. data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
  395. data/lib/2019-08-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
  396. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate.rb +192 -0
  397. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
  398. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
  399. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
  400. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
  401. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_reference.rb +112 -0
  402. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
  403. data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
  404. data/lib/2019-08-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
  405. data/lib/2019-08-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
  406. data/lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb +98 -0
  407. data/lib/2019-08-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +68 -0
  408. data/lib/2019-08-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
  409. data/lib/2019-08-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
  410. data/lib/2019-08-01/generated/azure_mgmt_batch/models/container_configuration.rb +95 -0
  411. data/lib/2019-08-01/generated/azure_mgmt_batch/models/container_registry.rb +70 -0
  412. data/lib/2019-08-01/generated/azure_mgmt_batch/models/container_working_directory.rb +16 -0
  413. data/lib/2019-08-01/generated/azure_mgmt_batch/models/data_disk.rb +102 -0
  414. data/lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
  415. data/lib/2019-08-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
  416. data/lib/2019-08-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
  417. data/lib/2019-08-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
  418. data/lib/2019-08-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
  419. data/lib/2019-08-01/generated/azure_mgmt_batch/models/image_reference.rb +111 -0
  420. data/lib/2019-08-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
  421. data/lib/2019-08-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
  422. data/lib/2019-08-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
  423. data/lib/2019-08-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
  424. data/lib/2019-08-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
  425. data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_application_packages_result.rb +98 -0
  426. data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
  427. data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
  428. data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
  429. data/lib/2019-08-01/generated/azure_mgmt_batch/models/login_mode.rb +16 -0
  430. data/lib/2019-08-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
  431. data/lib/2019-08-01/generated/azure_mgmt_batch/models/mount_configuration.rb +91 -0
  432. data/lib/2019-08-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
  433. data/lib/2019-08-01/generated/azure_mgmt_batch/models/network_configuration.rb +111 -0
  434. data/lib/2019-08-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +106 -0
  435. data/lib/2019-08-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
  436. data/lib/2019-08-01/generated/azure_mgmt_batch/models/nfsmount_configuration.rb +74 -0
  437. data/lib/2019-08-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
  438. data/lib/2019-08-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
  439. data/lib/2019-08-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
  440. data/lib/2019-08-01/generated/azure_mgmt_batch/models/package_state.rb +16 -0
  441. data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool.rb +484 -0
  442. data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
  443. data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
  444. data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
  445. data/lib/2019-08-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
  446. data/lib/2019-08-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
  447. data/lib/2019-08-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
  448. data/lib/2019-08-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
  449. data/lib/2019-08-01/generated/azure_mgmt_batch/models/resource.rb +112 -0
  450. data/lib/2019-08-01/generated/azure_mgmt_batch/models/resource_file.rb +139 -0
  451. data/lib/2019-08-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
  452. data/lib/2019-08-01/generated/azure_mgmt_batch/models/start_task.rb +174 -0
  453. data/lib/2019-08-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
  454. data/lib/2019-08-01/generated/azure_mgmt_batch/models/task_container_settings.rb +92 -0
  455. data/lib/2019-08-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
  456. data/lib/2019-08-01/generated/azure_mgmt_batch/models/user_account.rb +104 -0
  457. data/lib/2019-08-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
  458. data/lib/2019-08-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +141 -0
  459. data/lib/2019-08-01/generated/azure_mgmt_batch/models/virtual_machine_family_core_quota.rb +60 -0
  460. data/lib/2019-08-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
  461. data/lib/2019-08-01/generated/azure_mgmt_batch/models/windows_user_configuration.rb +51 -0
  462. data/lib/2019-08-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
  463. data/lib/2019-08-01/generated/azure_mgmt_batch/operations.rb +219 -0
  464. data/lib/2019-08-01/generated/azure_mgmt_batch/pool_operations.rb +1148 -0
  465. data/lib/azure_mgmt_batch.rb +5 -2
  466. data/lib/module_definition.rb +7 -7
  467. data/lib/profiles/latest/batch_latest_profile_client.rb +40 -40
  468. data/lib/profiles/latest/batch_module_definition.rb +8 -8
  469. data/lib/profiles/latest/modules/batch_profile_module.rb +244 -204
  470. data/lib/version.rb +1 -1
  471. metadata +289 -5
@@ -0,0 +1,737 @@
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::Batch::Mgmt::V2018_12_01
7
+ #
8
+ # ApplicationPackageOperations
9
+ #
10
+ class ApplicationPackageOperations
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ApplicationPackageOperations class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [BatchManagementClient] reference to the BatchManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Activates the specified application package.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group that
28
+ # contains the Batch account.
29
+ # @param account_name [String] The name of the Batch account.
30
+ # @param application_name [String] The name of the application. This must be
31
+ # unique within the account.
32
+ # @param version_name [String] The version of the application.
33
+ # @param parameters [ActivateApplicationPackageParameters] The parameters for
34
+ # the request.
35
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
36
+ # will be added to the HTTP request.
37
+ #
38
+ # @return [ApplicationPackage] operation results.
39
+ #
40
+ def activate(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:nil)
41
+ response = activate_async(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:custom_headers).value!
42
+ response.body unless response.nil?
43
+ end
44
+
45
+ #
46
+ # Activates the specified application package.
47
+ #
48
+ # @param resource_group_name [String] The name of the resource group that
49
+ # contains the Batch account.
50
+ # @param account_name [String] The name of the Batch account.
51
+ # @param application_name [String] The name of the application. This must be
52
+ # unique within the account.
53
+ # @param version_name [String] The version of the application.
54
+ # @param parameters [ActivateApplicationPackageParameters] The parameters for
55
+ # the request.
56
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
57
+ # will be added to the HTTP request.
58
+ #
59
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
60
+ #
61
+ def activate_with_http_info(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:nil)
62
+ activate_async(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:custom_headers).value!
63
+ end
64
+
65
+ #
66
+ # Activates the specified application package.
67
+ #
68
+ # @param resource_group_name [String] The name of the resource group that
69
+ # contains the Batch account.
70
+ # @param account_name [String] The name of the Batch account.
71
+ # @param application_name [String] The name of the application. This must be
72
+ # unique within the account.
73
+ # @param version_name [String] The version of the application.
74
+ # @param parameters [ActivateApplicationPackageParameters] The parameters for
75
+ # the request.
76
+ # @param [Hash{String => String}] A hash of custom headers that will be added
77
+ # to the HTTP request.
78
+ #
79
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
80
+ #
81
+ def activate_async(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:nil)
82
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
83
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
84
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
85
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
86
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
87
+ fail ArgumentError, 'application_name is nil' if application_name.nil?
88
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
89
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
90
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
91
+ fail ArgumentError, 'version_name is nil' if version_name.nil?
92
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
93
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
94
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
95
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
96
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
97
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
98
+
99
+
100
+ request_headers = {}
101
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
102
+
103
+ # Set Headers
104
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
105
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
106
+
107
+ # Serialize Request
108
+ request_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ActivateApplicationPackageParameters.mapper()
109
+ request_content = @client.serialize(request_mapper, parameters)
110
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
111
+
112
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}/activate'
113
+
114
+ request_url = @base_url || @client.base_url
115
+
116
+ options = {
117
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
118
+ path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
119
+ query_params: {'api-version' => @client.api_version},
120
+ body: request_content,
121
+ headers: request_headers.merge(custom_headers || {}),
122
+ base_url: request_url
123
+ }
124
+ promise = @client.make_request_async(:post, path_template, options)
125
+
126
+ promise = promise.then do |result|
127
+ http_response = result.response
128
+ status_code = http_response.status
129
+ response_content = http_response.body
130
+ unless status_code == 200
131
+ error_model = JSON.load(response_content)
132
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
133
+ end
134
+
135
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
136
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
137
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
138
+ # Deserialize Response
139
+ if status_code == 200
140
+ begin
141
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
142
+ result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
143
+ result.body = @client.deserialize(result_mapper, parsed_response)
144
+ rescue Exception => e
145
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
146
+ end
147
+ end
148
+
149
+ result
150
+ end
151
+
152
+ promise.execute
153
+ end
154
+
155
+ #
156
+ # Creates an application package record.
157
+ #
158
+ # @param resource_group_name [String] The name of the resource group that
159
+ # contains the Batch account.
160
+ # @param account_name [String] The name of the Batch account.
161
+ # @param application_name [String] The name of the application. This must be
162
+ # unique within the account.
163
+ # @param version_name [String] The version of the application.
164
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
165
+ # will be added to the HTTP request.
166
+ #
167
+ # @return [ApplicationPackage] operation results.
168
+ #
169
+ def create(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
170
+ response = create_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
171
+ response.body unless response.nil?
172
+ end
173
+
174
+ #
175
+ # Creates an application package record.
176
+ #
177
+ # @param resource_group_name [String] The name of the resource group that
178
+ # contains the Batch account.
179
+ # @param account_name [String] The name of the Batch account.
180
+ # @param application_name [String] The name of the application. This must be
181
+ # unique within the account.
182
+ # @param version_name [String] The version of the application.
183
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
184
+ # will be added to the HTTP request.
185
+ #
186
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
187
+ #
188
+ def create_with_http_info(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
189
+ create_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
190
+ end
191
+
192
+ #
193
+ # Creates an application package record.
194
+ #
195
+ # @param resource_group_name [String] The name of the resource group that
196
+ # contains the Batch account.
197
+ # @param account_name [String] The name of the Batch account.
198
+ # @param application_name [String] The name of the application. This must be
199
+ # unique within the account.
200
+ # @param version_name [String] The version of the application.
201
+ # @param [Hash{String => String}] A hash of custom headers that will be added
202
+ # to the HTTP request.
203
+ #
204
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
205
+ #
206
+ def create_async(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
207
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
208
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
209
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
210
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
211
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
212
+ fail ArgumentError, 'application_name is nil' if application_name.nil?
213
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
214
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
215
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
216
+ fail ArgumentError, 'version_name is nil' if version_name.nil?
217
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
218
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
219
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
220
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
221
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
222
+
223
+ parameters = nil
224
+
225
+ request_headers = {}
226
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
227
+
228
+ # Set Headers
229
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
230
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
231
+
232
+ # Serialize Request
233
+ request_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
234
+ request_content = @client.serialize(request_mapper, parameters)
235
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
236
+
237
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}'
238
+
239
+ request_url = @base_url || @client.base_url
240
+
241
+ options = {
242
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
243
+ path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
244
+ query_params: {'api-version' => @client.api_version},
245
+ body: request_content,
246
+ headers: request_headers.merge(custom_headers || {}),
247
+ base_url: request_url
248
+ }
249
+ promise = @client.make_request_async(:put, path_template, options)
250
+
251
+ promise = promise.then do |result|
252
+ http_response = result.response
253
+ status_code = http_response.status
254
+ response_content = http_response.body
255
+ unless status_code == 200
256
+ error_model = JSON.load(response_content)
257
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
258
+ end
259
+
260
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
261
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
262
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
263
+ # Deserialize Response
264
+ if status_code == 200
265
+ begin
266
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
267
+ result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
268
+ result.body = @client.deserialize(result_mapper, parsed_response)
269
+ rescue Exception => e
270
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
271
+ end
272
+ end
273
+
274
+ result
275
+ end
276
+
277
+ promise.execute
278
+ end
279
+
280
+ #
281
+ # Deletes an application package record and its associated binary file.
282
+ #
283
+ # @param resource_group_name [String] The name of the resource group that
284
+ # contains the Batch account.
285
+ # @param account_name [String] The name of the Batch account.
286
+ # @param application_name [String] The name of the application. This must be
287
+ # unique within the account.
288
+ # @param version_name [String] The version of the application.
289
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
290
+ # will be added to the HTTP request.
291
+ #
292
+ #
293
+ def delete(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
294
+ response = delete_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
295
+ nil
296
+ end
297
+
298
+ #
299
+ # Deletes an application package record and its associated binary file.
300
+ #
301
+ # @param resource_group_name [String] The name of the resource group that
302
+ # contains the Batch account.
303
+ # @param account_name [String] The name of the Batch account.
304
+ # @param application_name [String] The name of the application. This must be
305
+ # unique within the account.
306
+ # @param version_name [String] The version of the application.
307
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
308
+ # will be added to the HTTP request.
309
+ #
310
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
311
+ #
312
+ def delete_with_http_info(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
313
+ delete_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
314
+ end
315
+
316
+ #
317
+ # Deletes an application package record and its associated binary file.
318
+ #
319
+ # @param resource_group_name [String] The name of the resource group that
320
+ # contains the Batch account.
321
+ # @param account_name [String] The name of the Batch account.
322
+ # @param application_name [String] The name of the application. This must be
323
+ # unique within the account.
324
+ # @param version_name [String] The version of the application.
325
+ # @param [Hash{String => String}] A hash of custom headers that will be added
326
+ # to the HTTP request.
327
+ #
328
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
329
+ #
330
+ def delete_async(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
331
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
332
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
333
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
334
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
335
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
336
+ fail ArgumentError, 'application_name is nil' if application_name.nil?
337
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
338
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
339
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
340
+ fail ArgumentError, 'version_name is nil' if version_name.nil?
341
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
342
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
343
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
344
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
345
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
346
+
347
+
348
+ request_headers = {}
349
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
350
+
351
+ # Set Headers
352
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
353
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
354
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}'
355
+
356
+ request_url = @base_url || @client.base_url
357
+
358
+ options = {
359
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
360
+ path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
361
+ query_params: {'api-version' => @client.api_version},
362
+ headers: request_headers.merge(custom_headers || {}),
363
+ base_url: request_url
364
+ }
365
+ promise = @client.make_request_async(:delete, path_template, options)
366
+
367
+ promise = promise.then do |result|
368
+ http_response = result.response
369
+ status_code = http_response.status
370
+ response_content = http_response.body
371
+ unless status_code == 200 || status_code == 204
372
+ error_model = JSON.load(response_content)
373
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
374
+ end
375
+
376
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
377
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
378
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
379
+
380
+ result
381
+ end
382
+
383
+ promise.execute
384
+ end
385
+
386
+ #
387
+ # Gets information about the specified application package.
388
+ #
389
+ # @param resource_group_name [String] The name of the resource group that
390
+ # contains the Batch account.
391
+ # @param account_name [String] The name of the Batch account.
392
+ # @param application_name [String] The name of the application. This must be
393
+ # unique within the account.
394
+ # @param version_name [String] The version of the application.
395
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
396
+ # will be added to the HTTP request.
397
+ #
398
+ # @return [ApplicationPackage] operation results.
399
+ #
400
+ def get(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
401
+ response = get_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
402
+ response.body unless response.nil?
403
+ end
404
+
405
+ #
406
+ # Gets information about the specified application package.
407
+ #
408
+ # @param resource_group_name [String] The name of the resource group that
409
+ # contains the Batch account.
410
+ # @param account_name [String] The name of the Batch account.
411
+ # @param application_name [String] The name of the application. This must be
412
+ # unique within the account.
413
+ # @param version_name [String] The version of the application.
414
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
415
+ # will be added to the HTTP request.
416
+ #
417
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
418
+ #
419
+ def get_with_http_info(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
420
+ get_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
421
+ end
422
+
423
+ #
424
+ # Gets information about the specified application package.
425
+ #
426
+ # @param resource_group_name [String] The name of the resource group that
427
+ # contains the Batch account.
428
+ # @param account_name [String] The name of the Batch account.
429
+ # @param application_name [String] The name of the application. This must be
430
+ # unique within the account.
431
+ # @param version_name [String] The version of the application.
432
+ # @param [Hash{String => String}] A hash of custom headers that will be added
433
+ # to the HTTP request.
434
+ #
435
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
436
+ #
437
+ def get_async(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
438
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
439
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
440
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
441
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
442
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
443
+ fail ArgumentError, 'application_name is nil' if application_name.nil?
444
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
445
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
446
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
447
+ fail ArgumentError, 'version_name is nil' if version_name.nil?
448
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
449
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
450
+ fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
451
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
452
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
453
+
454
+
455
+ request_headers = {}
456
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
457
+
458
+ # Set Headers
459
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
460
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
461
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}'
462
+
463
+ request_url = @base_url || @client.base_url
464
+
465
+ options = {
466
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
467
+ path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
468
+ query_params: {'api-version' => @client.api_version},
469
+ headers: request_headers.merge(custom_headers || {}),
470
+ base_url: request_url
471
+ }
472
+ promise = @client.make_request_async(:get, path_template, options)
473
+
474
+ promise = promise.then do |result|
475
+ http_response = result.response
476
+ status_code = http_response.status
477
+ response_content = http_response.body
478
+ unless status_code == 200
479
+ error_model = JSON.load(response_content)
480
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
481
+ end
482
+
483
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
484
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
485
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
486
+ # Deserialize Response
487
+ if status_code == 200
488
+ begin
489
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
490
+ result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
491
+ result.body = @client.deserialize(result_mapper, parsed_response)
492
+ rescue Exception => e
493
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
494
+ end
495
+ end
496
+
497
+ result
498
+ end
499
+
500
+ promise.execute
501
+ end
502
+
503
+ #
504
+ # Lists all of the application packages in the specified application.
505
+ #
506
+ # @param resource_group_name [String] The name of the resource group that
507
+ # contains the Batch account.
508
+ # @param account_name [String] The name of the Batch account.
509
+ # @param application_name [String] The name of the application. This must be
510
+ # unique within the account.
511
+ # @param maxresults [Integer] The maximum number of items to return in the
512
+ # response.
513
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
514
+ # will be added to the HTTP request.
515
+ #
516
+ # @return [Array<ApplicationPackage>] operation results.
517
+ #
518
+ def list(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
519
+ first_page = list_as_lazy(resource_group_name, account_name, application_name, maxresults:maxresults, custom_headers:custom_headers)
520
+ first_page.get_all_items
521
+ end
522
+
523
+ #
524
+ # Lists all of the application packages in the specified application.
525
+ #
526
+ # @param resource_group_name [String] The name of the resource group that
527
+ # contains the Batch account.
528
+ # @param account_name [String] The name of the Batch account.
529
+ # @param application_name [String] The name of the application. This must be
530
+ # unique within the account.
531
+ # @param maxresults [Integer] The maximum number of items to return in the
532
+ # response.
533
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
534
+ # will be added to the HTTP request.
535
+ #
536
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
537
+ #
538
+ def list_with_http_info(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
539
+ list_async(resource_group_name, account_name, application_name, maxresults:maxresults, custom_headers:custom_headers).value!
540
+ end
541
+
542
+ #
543
+ # Lists all of the application packages in the specified application.
544
+ #
545
+ # @param resource_group_name [String] The name of the resource group that
546
+ # contains the Batch account.
547
+ # @param account_name [String] The name of the Batch account.
548
+ # @param application_name [String] The name of the application. This must be
549
+ # unique within the account.
550
+ # @param maxresults [Integer] The maximum number of items to return in the
551
+ # response.
552
+ # @param [Hash{String => String}] A hash of custom headers that will be added
553
+ # to the HTTP request.
554
+ #
555
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
556
+ #
557
+ def list_async(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
558
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
559
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
560
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
561
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
562
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
563
+ fail ArgumentError, 'application_name is nil' if application_name.nil?
564
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
565
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
566
+ fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
567
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
568
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
569
+
570
+
571
+ request_headers = {}
572
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
573
+
574
+ # Set Headers
575
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
576
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
577
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions'
578
+
579
+ request_url = @base_url || @client.base_url
580
+
581
+ options = {
582
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
583
+ path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'subscriptionId' => @client.subscription_id},
584
+ query_params: {'maxresults' => maxresults,'api-version' => @client.api_version},
585
+ headers: request_headers.merge(custom_headers || {}),
586
+ base_url: request_url
587
+ }
588
+ promise = @client.make_request_async(:get, path_template, options)
589
+
590
+ promise = promise.then do |result|
591
+ http_response = result.response
592
+ status_code = http_response.status
593
+ response_content = http_response.body
594
+ unless status_code == 200
595
+ error_model = JSON.load(response_content)
596
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
597
+ end
598
+
599
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
600
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
601
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
602
+ # Deserialize Response
603
+ if status_code == 200
604
+ begin
605
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
606
+ result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ListApplicationPackagesResult.mapper()
607
+ result.body = @client.deserialize(result_mapper, parsed_response)
608
+ rescue Exception => e
609
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
610
+ end
611
+ end
612
+
613
+ result
614
+ end
615
+
616
+ promise.execute
617
+ end
618
+
619
+ #
620
+ # Lists all of the application packages in the specified application.
621
+ #
622
+ # @param next_page_link [String] The NextLink from the previous successful call
623
+ # to List operation.
624
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
625
+ # will be added to the HTTP request.
626
+ #
627
+ # @return [ListApplicationPackagesResult] operation results.
628
+ #
629
+ def list_next(next_page_link, custom_headers:nil)
630
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
631
+ response.body unless response.nil?
632
+ end
633
+
634
+ #
635
+ # Lists all of the application packages in the specified application.
636
+ #
637
+ # @param next_page_link [String] The NextLink from the previous successful call
638
+ # to List operation.
639
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
640
+ # will be added to the HTTP request.
641
+ #
642
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
643
+ #
644
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
645
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
646
+ end
647
+
648
+ #
649
+ # Lists all of the application packages in the specified application.
650
+ #
651
+ # @param next_page_link [String] The NextLink from the previous successful call
652
+ # to List operation.
653
+ # @param [Hash{String => String}] A hash of custom headers that will be added
654
+ # to the HTTP request.
655
+ #
656
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
657
+ #
658
+ def list_next_async(next_page_link, custom_headers:nil)
659
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
660
+
661
+
662
+ request_headers = {}
663
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
664
+
665
+ # Set Headers
666
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
667
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
668
+ path_template = '{nextLink}'
669
+
670
+ request_url = @base_url || @client.base_url
671
+
672
+ options = {
673
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
674
+ skip_encoding_path_params: {'nextLink' => next_page_link},
675
+ headers: request_headers.merge(custom_headers || {}),
676
+ base_url: request_url
677
+ }
678
+ promise = @client.make_request_async(:get, path_template, options)
679
+
680
+ promise = promise.then do |result|
681
+ http_response = result.response
682
+ status_code = http_response.status
683
+ response_content = http_response.body
684
+ unless status_code == 200
685
+ error_model = JSON.load(response_content)
686
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
687
+ end
688
+
689
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
690
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
691
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
692
+ # Deserialize Response
693
+ if status_code == 200
694
+ begin
695
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
696
+ result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ListApplicationPackagesResult.mapper()
697
+ result.body = @client.deserialize(result_mapper, parsed_response)
698
+ rescue Exception => e
699
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
700
+ end
701
+ end
702
+
703
+ result
704
+ end
705
+
706
+ promise.execute
707
+ end
708
+
709
+ #
710
+ # Lists all of the application packages in the specified application.
711
+ #
712
+ # @param resource_group_name [String] The name of the resource group that
713
+ # contains the Batch account.
714
+ # @param account_name [String] The name of the Batch account.
715
+ # @param application_name [String] The name of the application. This must be
716
+ # unique within the account.
717
+ # @param maxresults [Integer] The maximum number of items to return in the
718
+ # response.
719
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
720
+ # will be added to the HTTP request.
721
+ #
722
+ # @return [ListApplicationPackagesResult] which provide lazy access to pages of
723
+ # the response.
724
+ #
725
+ def list_as_lazy(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
726
+ response = list_async(resource_group_name, account_name, application_name, maxresults:maxresults, custom_headers:custom_headers).value!
727
+ unless response.nil?
728
+ page = response.body
729
+ page.next_method = Proc.new do |next_page_link|
730
+ list_next_async(next_page_link, custom_headers:custom_headers)
731
+ end
732
+ page
733
+ end
734
+ end
735
+
736
+ end
737
+ end