azure_mgmt_container_instance 0.17.1 → 0.17.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +14 -0
  3. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  4. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
  5. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +1 -1
  6. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +14 -0
  7. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  8. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
  9. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +1 -1
  10. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb +2 -0
  11. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
  12. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +14 -0
  13. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  14. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
  15. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +1 -1
  16. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb +2 -0
  17. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
  18. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +16 -0
  19. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  20. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
  21. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +1 -1
  22. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb +2 -0
  23. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb +2 -0
  24. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
  25. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb +16 -0
  26. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  27. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
  28. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +1 -1
  29. data/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb +2 -0
  30. data/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb +2 -0
  31. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
  32. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb +241 -0
  33. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  34. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb +4 -0
  35. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +1 -1
  36. data/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb +2 -0
  37. data/lib/2018-09-01/generated/azure_mgmt_container_instance.rb +74 -0
  38. data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_group_usage.rb +115 -0
  39. data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_groups.rb +1225 -0
  40. data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
  41. data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_operations.rb +262 -0
  42. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
  43. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
  44. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
  45. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  46. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  47. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
  48. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group.rb +242 -0
  49. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
  50. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
  51. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
  52. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
  53. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
  54. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
  55. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
  56. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
  57. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
  58. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
  59. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
  60. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
  61. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
  62. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_state.rb +94 -0
  63. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
  64. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/event.rb +101 -0
  65. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
  66. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
  67. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/ip_address.rb +101 -0
  68. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +88 -0
  69. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
  70. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
  71. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
  72. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb +70 -0
  73. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
  74. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
  75. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
  76. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
  77. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +57 -0
  78. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +57 -0
  79. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
  80. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
  81. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
  82. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
  83. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
  84. data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
  85. data/lib/2018-09-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
  86. data/lib/2018-09-01/generated/azure_mgmt_container_instance/operations.rb +109 -0
  87. data/lib/2018-10-01/generated/azure_mgmt_container_instance.rb +86 -0
  88. data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_group_usage.rb +115 -0
  89. data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_groups.rb +1354 -0
  90. data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +344 -0
  91. data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_operations.rb +262 -0
  92. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
  93. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/cached_images.rb +68 -0
  94. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +66 -0
  95. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
  96. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
  97. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +66 -0
  98. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
  99. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
  100. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  101. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  102. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
  103. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group.rb +268 -0
  104. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
  105. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
  106. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
  107. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
  108. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
  109. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
  110. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
  111. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
  112. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
  113. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
  114. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
  115. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
  116. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
  117. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
  118. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
  119. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_state.rb +94 -0
  120. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
  121. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
  122. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/event.rb +101 -0
  123. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
  124. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
  125. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
  126. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
  127. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
  128. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +88 -0
  129. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
  130. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
  131. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
  132. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation.rb +81 -0
  133. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
  134. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
  135. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
  136. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
  137. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
  138. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
  139. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
  140. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
  141. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
  142. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
  143. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
  144. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
  145. data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
  146. data/lib/2018-10-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
  147. data/lib/2018-10-01/generated/azure_mgmt_container_instance/operations.rb +109 -0
  148. data/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb +121 -0
  149. data/lib/2019-12-01/generated/azure_mgmt_container_instance.rb +90 -0
  150. data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_groups.rb +1404 -0
  151. data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
  152. data/lib/2019-12-01/generated/azure_mgmt_container_instance/containers.rb +262 -0
  153. data/lib/2019-12-01/generated/azure_mgmt_container_instance/location.rb +552 -0
  154. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
  155. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/cached_images.rb +57 -0
  156. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +98 -0
  157. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
  158. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
  159. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +98 -0
  160. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
  161. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
  162. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  163. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  164. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
  165. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group.rb +314 -0
  166. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
  167. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
  168. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
  169. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
  170. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
  171. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
  172. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
  173. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
  174. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
  175. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_sku.rb +16 -0
  176. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
  177. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
  178. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
  179. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
  180. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
  181. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
  182. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
  183. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
  184. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/encryption_properties.rb +68 -0
  185. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
  186. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
  187. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
  188. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
  189. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
  190. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
  191. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_definition.rb +133 -0
  192. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb +96 -0
  193. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
  194. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +88 -0
  195. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
  196. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
  197. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
  198. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operation.rb +81 -0
  199. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
  200. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +99 -0
  201. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
  202. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
  203. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
  204. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
  205. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
  206. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
  207. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/scheme.rb +16 -0
  208. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
  209. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
  210. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
  211. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
  212. data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
  213. data/lib/2019-12-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
  214. data/lib/2019-12-01/generated/azure_mgmt_container_instance/operations.rb +219 -0
  215. data/lib/azure_mgmt_container_instance.rb +5 -2
  216. data/lib/profiles/latest/modules/containerinstance_profile_module.rb +183 -107
  217. data/lib/version.rb +1 -1
  218. metadata +183 -5
@@ -103,6 +103,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
103
103
  end
104
104
 
105
105
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
106
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
107
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
106
108
  # Deserialize Response
107
109
  if status_code == 200
108
110
  begin
@@ -209,6 +211,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
209
211
  end
210
212
 
211
213
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
214
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
215
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
212
216
  # Deserialize Response
213
217
  if status_code == 200
214
218
  begin
@@ -316,6 +320,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
316
320
  end
317
321
 
318
322
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
323
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
324
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
319
325
  # Deserialize Response
320
326
  if status_code == 200
321
327
  begin
@@ -476,6 +482,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
476
482
  end
477
483
 
478
484
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
485
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
486
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
479
487
  # Deserialize Response
480
488
  if status_code == 200
481
489
  begin
@@ -580,6 +588,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
580
588
  end
581
589
 
582
590
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
591
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
592
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
583
593
  # Deserialize Response
584
594
  if status_code == 200
585
595
  begin
@@ -692,6 +702,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
692
702
  end
693
703
 
694
704
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
705
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
706
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
695
707
  # Deserialize Response
696
708
  if status_code == 200
697
709
  begin
@@ -805,6 +817,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
805
817
  end
806
818
 
807
819
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
820
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
821
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
808
822
  # Deserialize Response
809
823
  if status_code == 200
810
824
  begin
@@ -911,6 +925,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
911
925
  end
912
926
 
913
927
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
928
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
929
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
914
930
  # Deserialize Response
915
931
  if status_code == 200
916
932
  begin
@@ -142,7 +142,7 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_container_instance'
145
- sdk_information = "#{sdk_information}/0.17.1"
145
+ sdk_information = "#{sdk_information}/0.17.6"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  end
@@ -118,6 +118,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
118
118
  end
119
119
 
120
120
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
121
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
122
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
121
123
  # Deserialize Response
122
124
  if status_code == 200
123
125
  begin
@@ -31,7 +31,7 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
31
31
  def get_all_items
32
32
  items = @value
33
33
  page = self
34
- while page.next_link != nil do
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
35
  page = page.get_next_page
36
36
  items.concat(page.value)
37
37
  end
@@ -86,6 +86,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -123,6 +123,8 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
123
123
  end
124
124
 
125
125
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
126
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
127
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
126
128
  # Deserialize Response
127
129
  if status_code == 200
128
130
  begin
@@ -92,6 +92,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
92
92
  end
93
93
 
94
94
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
95
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
96
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
95
97
  # Deserialize Response
96
98
  if status_code == 200
97
99
  begin
@@ -103,6 +103,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
103
103
  end
104
104
 
105
105
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
106
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
107
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
106
108
  # Deserialize Response
107
109
  if status_code == 200
108
110
  begin
@@ -209,6 +211,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
209
211
  end
210
212
 
211
213
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
214
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
215
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
212
216
  # Deserialize Response
213
217
  if status_code == 200
214
218
  begin
@@ -316,6 +320,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
316
320
  end
317
321
 
318
322
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
323
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
324
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
319
325
  # Deserialize Response
320
326
  if status_code == 200
321
327
  begin
@@ -476,6 +482,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
476
482
  end
477
483
 
478
484
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
485
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
486
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
479
487
  # Deserialize Response
480
488
  if status_code == 200
481
489
  begin
@@ -580,6 +588,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
580
588
  end
581
589
 
582
590
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
591
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
592
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
583
593
  # Deserialize Response
584
594
  if status_code == 200
585
595
  begin
@@ -597,6 +607,139 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
597
607
  promise.execute
598
608
  end
599
609
 
610
+ #
611
+ # Restarts all containers in a container group.
612
+ #
613
+ # Restarts all containers in a container group in place. If container image has
614
+ # updates, new image will be downloaded.
615
+ #
616
+ # @param resource_group_name [String] The name of the resource group.
617
+ # @param container_group_name [String] The name of the container group.
618
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
619
+ # will be added to the HTTP request.
620
+ #
621
+ def restart(resource_group_name, container_group_name, custom_headers:nil)
622
+ response = restart_async(resource_group_name, container_group_name, custom_headers:custom_headers).value!
623
+ nil
624
+ end
625
+
626
+ #
627
+ # @param resource_group_name [String] The name of the resource group.
628
+ # @param container_group_name [String] The name of the container group.
629
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
630
+ # will be added to the HTTP request.
631
+ #
632
+ # @return [Concurrent::Promise] promise which provides async access to http
633
+ # response.
634
+ #
635
+ def restart_async(resource_group_name, container_group_name, custom_headers:nil)
636
+ # Send request
637
+ promise = begin_restart_async(resource_group_name, container_group_name, custom_headers:custom_headers)
638
+
639
+ promise = promise.then do |response|
640
+ # Defining deserialization method.
641
+ deserialize_method = lambda do |parsed_response|
642
+ end
643
+
644
+ # Waiting for response.
645
+ @client.get_long_running_operation_result(response, deserialize_method)
646
+ end
647
+
648
+ promise
649
+ end
650
+
651
+ #
652
+ # Stops all containers in a container group.
653
+ #
654
+ # Stops all containers in a container group. Compute resources will be
655
+ # deallocated and billing will stop.
656
+ #
657
+ # @param resource_group_name [String] The name of the resource group.
658
+ # @param container_group_name [String] The name of the container group.
659
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
660
+ # will be added to the HTTP request.
661
+ #
662
+ #
663
+ def stop(resource_group_name, container_group_name, custom_headers:nil)
664
+ response = stop_async(resource_group_name, container_group_name, custom_headers:custom_headers).value!
665
+ nil
666
+ end
667
+
668
+ #
669
+ # Stops all containers in a container group.
670
+ #
671
+ # Stops all containers in a container group. Compute resources will be
672
+ # deallocated and billing will stop.
673
+ #
674
+ # @param resource_group_name [String] The name of the resource group.
675
+ # @param container_group_name [String] The name of the container group.
676
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
677
+ # will be added to the HTTP request.
678
+ #
679
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
680
+ #
681
+ def stop_with_http_info(resource_group_name, container_group_name, custom_headers:nil)
682
+ stop_async(resource_group_name, container_group_name, custom_headers:custom_headers).value!
683
+ end
684
+
685
+ #
686
+ # Stops all containers in a container group.
687
+ #
688
+ # Stops all containers in a container group. Compute resources will be
689
+ # deallocated and billing will stop.
690
+ #
691
+ # @param resource_group_name [String] The name of the resource group.
692
+ # @param container_group_name [String] The name of the container group.
693
+ # @param [Hash{String => String}] A hash of custom headers that will be added
694
+ # to the HTTP request.
695
+ #
696
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
697
+ #
698
+ def stop_async(resource_group_name, container_group_name, custom_headers:nil)
699
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
700
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
701
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
702
+ fail ArgumentError, 'container_group_name is nil' if container_group_name.nil?
703
+
704
+
705
+ request_headers = {}
706
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
707
+
708
+ # Set Headers
709
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
710
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
711
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/stop'
712
+
713
+ request_url = @base_url || @client.base_url
714
+
715
+ options = {
716
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
717
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name},
718
+ query_params: {'api-version' => @client.api_version},
719
+ headers: request_headers.merge(custom_headers || {}),
720
+ base_url: request_url
721
+ }
722
+ promise = @client.make_request_async(:post, path_template, options)
723
+
724
+ promise = promise.then do |result|
725
+ http_response = result.response
726
+ status_code = http_response.status
727
+ response_content = http_response.body
728
+ unless status_code == 204
729
+ error_model = JSON.load(response_content)
730
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
731
+ end
732
+
733
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
734
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
735
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
736
+
737
+ result
738
+ end
739
+
740
+ promise.execute
741
+ end
742
+
600
743
  #
601
744
  # Create or update container groups.
602
745
  #
@@ -692,6 +835,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
692
835
  end
693
836
 
694
837
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
838
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
839
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
695
840
  # Deserialize Response
696
841
  if status_code == 200
697
842
  begin
@@ -719,6 +864,98 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
719
864
  promise.execute
720
865
  end
721
866
 
867
+ #
868
+ # Restarts all containers in a container group.
869
+ #
870
+ # Restarts all containers in a container group in place. If container image has
871
+ # updates, new image will be downloaded.
872
+ #
873
+ # @param resource_group_name [String] The name of the resource group.
874
+ # @param container_group_name [String] The name of the container group.
875
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
876
+ # will be added to the HTTP request.
877
+ #
878
+ #
879
+ def begin_restart(resource_group_name, container_group_name, custom_headers:nil)
880
+ response = begin_restart_async(resource_group_name, container_group_name, custom_headers:custom_headers).value!
881
+ nil
882
+ end
883
+
884
+ #
885
+ # Restarts all containers in a container group.
886
+ #
887
+ # Restarts all containers in a container group in place. If container image has
888
+ # updates, new image will be downloaded.
889
+ #
890
+ # @param resource_group_name [String] The name of the resource group.
891
+ # @param container_group_name [String] The name of the container group.
892
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
893
+ # will be added to the HTTP request.
894
+ #
895
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
896
+ #
897
+ def begin_restart_with_http_info(resource_group_name, container_group_name, custom_headers:nil)
898
+ begin_restart_async(resource_group_name, container_group_name, custom_headers:custom_headers).value!
899
+ end
900
+
901
+ #
902
+ # Restarts all containers in a container group.
903
+ #
904
+ # Restarts all containers in a container group in place. If container image has
905
+ # updates, new image will be downloaded.
906
+ #
907
+ # @param resource_group_name [String] The name of the resource group.
908
+ # @param container_group_name [String] The name of the container group.
909
+ # @param [Hash{String => String}] A hash of custom headers that will be added
910
+ # to the HTTP request.
911
+ #
912
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
913
+ #
914
+ def begin_restart_async(resource_group_name, container_group_name, custom_headers:nil)
915
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
916
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
917
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
918
+ fail ArgumentError, 'container_group_name is nil' if container_group_name.nil?
919
+
920
+
921
+ request_headers = {}
922
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
923
+
924
+ # Set Headers
925
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
926
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
927
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/restart'
928
+
929
+ request_url = @base_url || @client.base_url
930
+
931
+ options = {
932
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
933
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name},
934
+ query_params: {'api-version' => @client.api_version},
935
+ headers: request_headers.merge(custom_headers || {}),
936
+ base_url: request_url
937
+ }
938
+ promise = @client.make_request_async(:post, path_template, options)
939
+
940
+ promise = promise.then do |result|
941
+ http_response = result.response
942
+ status_code = http_response.status
943
+ response_content = http_response.body
944
+ unless status_code == 204
945
+ error_model = JSON.load(response_content)
946
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
947
+ end
948
+
949
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
950
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
951
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
952
+
953
+ result
954
+ end
955
+
956
+ promise.execute
957
+ end
958
+
722
959
  #
723
960
  # Get a list of container groups in the specified subscription.
724
961
  #
@@ -805,6 +1042,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
805
1042
  end
806
1043
 
807
1044
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1045
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1046
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
808
1047
  # Deserialize Response
809
1048
  if status_code == 200
810
1049
  begin
@@ -911,6 +1150,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
911
1150
  end
912
1151
 
913
1152
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1153
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1154
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
914
1155
  # Deserialize Response
915
1156
  if status_code == 200
916
1157
  begin
@@ -138,7 +138,7 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_container_instance'
141
- sdk_information = "#{sdk_information}/0.17.1"
141
+ sdk_information = "#{sdk_information}/0.17.6"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -118,6 +118,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
118
118
  end
119
119
 
120
120
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
121
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
122
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
121
123
  # Deserialize Response
122
124
  if status_code == 200
123
125
  begin
@@ -237,6 +239,8 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
237
239
  end
238
240
 
239
241
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
242
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
243
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
240
244
  # Deserialize Response
241
245
  if status_code == 200
242
246
  begin