azure_mgmt_container_service 0.18.5 → 0.20.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  3. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb +10 -0
  4. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  5. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb +14 -0
  6. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  7. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb +14 -0
  8. data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  9. data/lib/2017-07-01/generated/azure_mgmt_container_service/container_services.rb +14 -0
  10. data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  11. data/lib/2017-08-31/generated/azure_mgmt_container_service/managed_clusters.rb +20 -0
  12. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  13. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_services.rb +2 -0
  14. data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  15. data/lib/2018-03-31/generated/azure_mgmt_container_service/managed_clusters.rb +28 -0
  16. data/lib/2018-03-31/generated/azure_mgmt_container_service/operations.rb +2 -0
  17. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  18. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/managed_clusters.rb +28 -0
  19. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/operations.rb +2 -0
  20. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  21. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +16 -0
  22. data/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb +10 -0
  23. data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  24. data/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb +28 -0
  25. data/lib/2019-02-01/generated/azure_mgmt_container_service/operations.rb +2 -0
  26. data/lib/2019-04-01/generated/azure_mgmt_container_service/agent_pools.rb +81 -76
  27. data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  28. data/lib/2019-04-01/generated/azure_mgmt_container_service/container_services.rb +2 -0
  29. data/lib/2019-04-01/generated/azure_mgmt_container_service/managed_clusters.rb +58 -0
  30. data/lib/2019-04-01/generated/azure_mgmt_container_service/operations.rb +2 -0
  31. data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  32. data/lib/2019-04-30/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +16 -0
  33. data/lib/2019-06-01/generated/azure_mgmt_container_service.rb +77 -0
  34. data/lib/2019-06-01/generated/azure_mgmt_container_service/agent_pools.rb +904 -0
  35. data/lib/2019-06-01/generated/azure_mgmt_container_service/container_service_client.rb +145 -0
  36. data/lib/2019-06-01/generated/azure_mgmt_container_service/container_services.rb +133 -0
  37. data/lib/2019-06-01/generated/azure_mgmt_container_service/managed_clusters.rb +1788 -0
  38. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool.rb +344 -0
  39. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
  40. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
  41. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  42. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  43. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
  44. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
  45. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  46. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  47. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  48. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +140 -0
  49. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  50. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  51. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  52. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  53. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  54. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  55. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  56. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  57. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +325 -0
  58. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  59. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  60. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  61. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +211 -0
  62. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +317 -0
  63. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
  64. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  65. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  66. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  67. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  68. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  69. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
  70. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  71. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  72. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  73. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  74. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +68 -0
  75. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb +100 -0
  76. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile_list_result.rb +92 -0
  77. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  78. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  79. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
  80. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
  81. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
  82. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  83. data/lib/2019-06-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  84. data/lib/2019-06-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  85. data/lib/2019-06-01/generated/azure_mgmt_container_service/operations.rb +109 -0
  86. data/lib/2019-08-01/generated/azure_mgmt_container_service.rb +83 -0
  87. data/lib/2019-08-01/generated/azure_mgmt_container_service/agent_pools.rb +904 -0
  88. data/lib/2019-08-01/generated/azure_mgmt_container_service/container_service_client.rb +145 -0
  89. data/lib/2019-08-01/generated/azure_mgmt_container_service/container_services.rb +133 -0
  90. data/lib/2019-08-01/generated/azure_mgmt_container_service/managed_clusters.rb +1788 -0
  91. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool.rb +344 -0
  92. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
  93. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
  94. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  95. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  96. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
  97. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
  98. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  99. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  100. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  101. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +153 -0
  102. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  103. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  104. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  105. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  106. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  107. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  108. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  109. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  110. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +318 -0
  111. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  112. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  113. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  114. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +211 -0
  115. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +317 -0
  116. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
  117. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
  118. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  119. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +95 -0
  120. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
  121. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
  122. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
  123. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  124. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  125. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  126. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  127. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
  128. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  129. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  130. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  131. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  132. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +68 -0
  133. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb +100 -0
  134. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile_list_result.rb +92 -0
  135. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  136. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  137. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
  138. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
  139. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
  140. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
  141. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  142. data/lib/2019-08-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  143. data/lib/2019-08-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  144. data/lib/2019-08-01/generated/azure_mgmt_container_service/operations.rb +109 -0
  145. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service.rb +45 -0
  146. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
  147. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/network_profile.rb +70 -0
  148. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_agent_pool_profile_role.rb +16 -0
  149. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_container_service_vmsize.rb +47 -0
  150. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster.rb +255 -0
  151. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +95 -0
  152. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb +119 -0
  153. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_auth_profile.rb +56 -0
  154. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_base_identity_provider.rb +47 -0
  155. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_identity_provider.rb +62 -0
  156. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_list_result.rb +101 -0
  157. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb +107 -0
  158. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_monitor_profile.rb +59 -0
  159. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_router_profile.rb +70 -0
  160. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  161. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/purchase_plan.rb +82 -0
  162. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  163. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  164. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  165. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +1068 -0
  166. data/lib/2019-10-01/generated/azure_mgmt_container_service.rb +79 -0
  167. data/lib/2019-10-01/generated/azure_mgmt_container_service/agent_pools.rb +900 -0
  168. data/lib/2019-10-01/generated/azure_mgmt_container_service/container_service_client.rb +141 -0
  169. data/lib/2019-10-01/generated/azure_mgmt_container_service/managed_clusters.rb +1921 -0
  170. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool.rb +344 -0
  171. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
  172. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
  173. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  174. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  175. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
  176. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
  177. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  178. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  179. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  180. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +153 -0
  181. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  182. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  183. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  184. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  185. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  186. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  187. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  188. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  189. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +330 -0
  190. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  191. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  192. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  193. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +211 -0
  194. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +317 -0
  195. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
  196. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
  197. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  198. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +95 -0
  199. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
  200. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
  201. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
  202. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  203. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  204. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  205. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  206. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
  207. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  208. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  209. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  210. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  211. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  212. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  213. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
  214. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
  215. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
  216. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
  217. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  218. data/lib/2019-10-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  219. data/lib/2019-10-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  220. data/lib/2019-10-01/generated/azure_mgmt_container_service/operations.rb +109 -0
  221. data/lib/2020-02-01/generated/azure_mgmt_container_service.rb +85 -0
  222. data/lib/2020-02-01/generated/azure_mgmt_container_service/agent_pools.rb +900 -0
  223. data/lib/2020-02-01/generated/azure_mgmt_container_service/container_service_client.rb +141 -0
  224. data/lib/2020-02-01/generated/azure_mgmt_container_service/managed_clusters.rb +2028 -0
  225. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool.rb +398 -0
  226. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
  227. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
  228. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  229. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  230. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
  231. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
  232. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  233. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  234. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  235. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +179 -0
  236. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  237. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  238. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  239. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  240. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  241. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  242. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  243. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  244. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +376 -0
  245. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  246. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  247. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +80 -0
  248. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb +59 -0
  249. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +251 -0
  250. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +371 -0
  251. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
  252. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
  253. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  254. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +132 -0
  255. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
  256. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
  257. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
  258. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  259. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  260. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb +124 -0
  261. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb +61 -0
  262. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  263. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  264. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
  265. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/network_mode.rb +16 -0
  266. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  267. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  268. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  269. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  270. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  271. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/outbound_type.rb +16 -0
  272. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  273. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
  274. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
  275. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
  276. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +17 -0
  277. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  278. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  279. data/lib/2020-02-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb +69 -0
  280. data/lib/2020-02-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  281. data/lib/2020-02-01/generated/azure_mgmt_container_service/operations.rb +109 -0
  282. data/lib/2020-06-01/generated/azure_mgmt_container_service.rb +98 -0
  283. data/lib/2020-06-01/generated/azure_mgmt_container_service/agent_pools.rb +900 -0
  284. data/lib/2020-06-01/generated/azure_mgmt_container_service/container_service_client.rb +145 -0
  285. data/lib/2020-06-01/generated/azure_mgmt_container_service/managed_clusters.rb +2043 -0
  286. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool.rb +440 -0
  287. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
  288. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
  289. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  290. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_mode.rb +16 -0
  291. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  292. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +129 -0
  293. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
  294. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_settings.rb +47 -0
  295. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/connection_status.rb +18 -0
  296. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  297. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  298. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  299. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +179 -0
  300. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  301. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  302. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  303. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  304. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  305. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  306. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  307. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  308. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +388 -0
  309. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +123 -0
  310. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  311. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +80 -0
  312. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb +59 -0
  313. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +279 -0
  314. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +413 -0
  315. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
  316. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +104 -0
  317. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_identity_user_assigned_identities_value.rb +61 -0
  318. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  319. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +132 -0
  320. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
  321. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
  322. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
  323. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  324. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  325. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb +135 -0
  326. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb +61 -0
  327. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  328. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_sku.rb +60 -0
  329. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_skuname.rb +15 -0
  330. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_skutier.rb +16 -0
  331. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  332. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
  333. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/network_mode.rb +16 -0
  334. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  335. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  336. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  337. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  338. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  339. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/outbound_type.rb +16 -0
  340. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/private_endpoint.rb +46 -0
  341. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/private_endpoint_connection.rb +111 -0
  342. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_list_result.rb +55 -0
  343. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_provisioning_state.rb +18 -0
  344. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/private_link_service_connection_state.rb +59 -0
  345. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  346. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +17 -0
  347. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
  348. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
  349. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
  350. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  351. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  352. data/lib/2020-06-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb +69 -0
  353. data/lib/2020-06-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  354. data/lib/2020-06-01/generated/azure_mgmt_container_service/operations.rb +109 -0
  355. data/lib/2020-06-01/generated/azure_mgmt_container_service/private_endpoint_connections.rb +515 -0
  356. data/lib/azure_mgmt_container_service.rb +13 -7
  357. data/lib/profiles/latest/modules/containerservice_profile_module.rb +284 -146
  358. data/lib/version.rb +1 -1
  359. metadata +328 -5
@@ -86,6 +86,8 @@ module Azure::ContainerService::Mgmt::V2018_03_31
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
@@ -130,7 +130,7 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_container_service'
133
- sdk_information = "#{sdk_information}/0.18.5"
133
+ sdk_information = "#{sdk_information}/0.20.3"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -97,6 +97,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
97
97
  end
98
98
 
99
99
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
100
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
101
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
100
102
  # Deserialize Response
101
103
  if status_code == 200
102
104
  begin
@@ -195,6 +197,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
195
197
  end
196
198
 
197
199
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
200
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
201
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
198
202
  # Deserialize Response
199
203
  if status_code == 200
200
204
  begin
@@ -297,6 +301,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
297
301
  end
298
302
 
299
303
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
304
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
305
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
300
306
  # Deserialize Response
301
307
  if status_code == 200
302
308
  begin
@@ -406,6 +412,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
406
412
  end
407
413
 
408
414
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
415
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
416
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
409
417
  # Deserialize Response
410
418
  if status_code == 200
411
419
  begin
@@ -508,6 +516,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
508
516
  end
509
517
 
510
518
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
519
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
520
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
511
521
  # Deserialize Response
512
522
  if status_code == 200
513
523
  begin
@@ -610,6 +620,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
610
620
  end
611
621
 
612
622
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
623
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
624
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
613
625
  # Deserialize Response
614
626
  if status_code == 200
615
627
  begin
@@ -712,6 +724,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
712
724
  end
713
725
 
714
726
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
727
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
728
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
715
729
  # Deserialize Response
716
730
  if status_code == 200
717
731
  begin
@@ -1053,6 +1067,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
1053
1067
  end
1054
1068
 
1055
1069
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1070
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1071
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1056
1072
  # Deserialize Response
1057
1073
  if status_code == 200
1058
1074
  begin
@@ -1176,6 +1192,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
1176
1192
  end
1177
1193
 
1178
1194
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1195
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1196
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1179
1197
  # Deserialize Response
1180
1198
  if status_code == 200
1181
1199
  begin
@@ -1274,6 +1292,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
1274
1292
  end
1275
1293
 
1276
1294
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1295
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1296
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1277
1297
 
1278
1298
  result
1279
1299
  end
@@ -1376,6 +1396,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
1376
1396
  end
1377
1397
 
1378
1398
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1399
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1400
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1379
1401
 
1380
1402
  result
1381
1403
  end
@@ -1478,6 +1500,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
1478
1500
  end
1479
1501
 
1480
1502
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1503
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1504
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1481
1505
 
1482
1506
  result
1483
1507
  end
@@ -1565,6 +1589,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
1565
1589
  end
1566
1590
 
1567
1591
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1592
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1593
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1568
1594
  # Deserialize Response
1569
1595
  if status_code == 200
1570
1596
  begin
@@ -1662,6 +1688,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
1662
1688
  end
1663
1689
 
1664
1690
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1691
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1692
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1665
1693
  # Deserialize Response
1666
1694
  if status_code == 200
1667
1695
  begin
@@ -86,6 +86,8 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
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
@@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_container_service'
129
- sdk_information = "#{sdk_information}/0.18.5"
129
+ sdk_information = "#{sdk_information}/0.20.3"
130
130
  add_user_agent_information(sdk_information)
131
131
  end
132
132
  end
@@ -97,6 +97,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
97
97
  end
98
98
 
99
99
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
100
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
101
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
100
102
  # Deserialize Response
101
103
  if status_code == 200
102
104
  begin
@@ -198,6 +200,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
198
200
  end
199
201
 
200
202
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
203
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
204
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
201
205
  # Deserialize Response
202
206
  if status_code == 200
203
207
  begin
@@ -303,6 +307,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
303
307
  end
304
308
 
305
309
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
310
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
311
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
306
312
  # Deserialize Response
307
313
  if status_code == 200
308
314
  begin
@@ -566,6 +572,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
566
572
  end
567
573
 
568
574
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
575
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
576
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
569
577
  # Deserialize Response
570
578
  if status_code == 200
571
579
  begin
@@ -692,6 +700,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
692
700
  end
693
701
 
694
702
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
703
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
704
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
695
705
  # Deserialize Response
696
706
  if status_code == 200
697
707
  begin
@@ -796,6 +806,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
796
806
  end
797
807
 
798
808
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
809
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
810
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
799
811
 
800
812
  result
801
813
  end
@@ -883,6 +895,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
883
895
  end
884
896
 
885
897
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
898
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
899
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
886
900
  # Deserialize Response
887
901
  if status_code == 200
888
902
  begin
@@ -983,6 +997,8 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
983
997
  end
984
998
 
985
999
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1000
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1001
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
986
1002
  # Deserialize Response
987
1003
  if status_code == 200
988
1004
  begin
@@ -109,6 +109,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
109
109
  end
110
110
 
111
111
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
112
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
113
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
112
114
  # Deserialize Response
113
115
  if status_code == 200
114
116
  begin
@@ -215,6 +217,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
215
217
  end
216
218
 
217
219
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
220
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
221
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
218
222
  # Deserialize Response
219
223
  if status_code == 200
220
224
  begin
@@ -431,6 +435,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
431
435
  end
432
436
 
433
437
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
438
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
439
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
434
440
  # Deserialize Response
435
441
  if status_code == 200
436
442
  begin
@@ -546,6 +552,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
546
552
  end
547
553
 
548
554
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
555
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
556
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
549
557
 
550
558
  result
551
559
  end
@@ -633,6 +641,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
633
641
  end
634
642
 
635
643
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
644
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
645
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
636
646
  # Deserialize Response
637
647
  if status_code == 200
638
648
  begin
@@ -134,7 +134,7 @@ module Azure::ContainerService::Mgmt::V2019_02_01
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_container_service'
137
- sdk_information = "#{sdk_information}/0.18.5"
137
+ sdk_information = "#{sdk_information}/0.20.3"
138
138
  add_user_agent_information(sdk_information)
139
139
  end
140
140
  end
@@ -97,6 +97,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
97
97
  end
98
98
 
99
99
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
100
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
101
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
100
102
  # Deserialize Response
101
103
  if status_code == 200
102
104
  begin
@@ -195,6 +197,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
195
197
  end
196
198
 
197
199
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
200
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
201
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
198
202
  # Deserialize Response
199
203
  if status_code == 200
200
204
  begin
@@ -297,6 +301,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
297
301
  end
298
302
 
299
303
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
304
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
305
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
300
306
  # Deserialize Response
301
307
  if status_code == 200
302
308
  begin
@@ -406,6 +412,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
406
412
  end
407
413
 
408
414
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
415
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
416
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
409
417
  # Deserialize Response
410
418
  if status_code == 200
411
419
  begin
@@ -508,6 +516,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
508
516
  end
509
517
 
510
518
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
519
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
520
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
511
521
  # Deserialize Response
512
522
  if status_code == 200
513
523
  begin
@@ -610,6 +620,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
610
620
  end
611
621
 
612
622
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
623
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
624
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
613
625
  # Deserialize Response
614
626
  if status_code == 200
615
627
  begin
@@ -712,6 +724,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
712
724
  end
713
725
 
714
726
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
727
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
728
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
715
729
  # Deserialize Response
716
730
  if status_code == 200
717
731
  begin
@@ -1053,6 +1067,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
1053
1067
  end
1054
1068
 
1055
1069
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1070
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1071
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1056
1072
  # Deserialize Response
1057
1073
  if status_code == 200
1058
1074
  begin
@@ -1176,6 +1192,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
1176
1192
  end
1177
1193
 
1178
1194
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1195
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1196
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1179
1197
  # Deserialize Response
1180
1198
  if status_code == 200
1181
1199
  begin
@@ -1274,6 +1292,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
1274
1292
  end
1275
1293
 
1276
1294
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1295
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1296
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1277
1297
 
1278
1298
  result
1279
1299
  end
@@ -1376,6 +1396,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
1376
1396
  end
1377
1397
 
1378
1398
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1399
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1400
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1379
1401
 
1380
1402
  result
1381
1403
  end
@@ -1478,6 +1500,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
1478
1500
  end
1479
1501
 
1480
1502
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1503
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1504
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1481
1505
 
1482
1506
  result
1483
1507
  end
@@ -1565,6 +1589,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
1565
1589
  end
1566
1590
 
1567
1591
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1592
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1593
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1568
1594
  # Deserialize Response
1569
1595
  if status_code == 200
1570
1596
  begin
@@ -1662,6 +1688,8 @@ module Azure::ContainerService::Mgmt::V2019_02_01
1662
1688
  end
1663
1689
 
1664
1690
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1691
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1692
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1665
1693
  # Deserialize Response
1666
1694
  if status_code == 200
1667
1695
  begin
@@ -86,6 +86,8 @@ module Azure::ContainerService::Mgmt::V2019_02_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
@@ -28,15 +28,14 @@ module Azure::ContainerService::Mgmt::V2019_04_01
28
28
  # returns properties of each agent pool.
29
29
  #
30
30
  # @param resource_group_name [String] The name of the resource group.
31
- # @param managed_cluster_name [String] The name of the managed cluster
32
- # resource.
31
+ # @param resource_name [String] The name of the managed cluster resource.
33
32
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
33
  # will be added to the HTTP request.
35
34
  #
36
35
  # @return [Array<AgentPool>] operation results.
37
36
  #
38
- def list(resource_group_name, managed_cluster_name, custom_headers:nil)
39
- first_page = list_as_lazy(resource_group_name, managed_cluster_name, custom_headers:custom_headers)
37
+ def list(resource_group_name, resource_name, custom_headers:nil)
38
+ first_page = list_as_lazy(resource_group_name, resource_name, custom_headers:custom_headers)
40
39
  first_page.get_all_items
41
40
  end
42
41
 
@@ -47,15 +46,14 @@ module Azure::ContainerService::Mgmt::V2019_04_01
47
46
  # returns properties of each agent pool.
48
47
  #
49
48
  # @param resource_group_name [String] The name of the resource group.
50
- # @param managed_cluster_name [String] The name of the managed cluster
51
- # resource.
49
+ # @param resource_name [String] The name of the managed cluster resource.
52
50
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
53
51
  # will be added to the HTTP request.
54
52
  #
55
53
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
56
54
  #
57
- def list_with_http_info(resource_group_name, managed_cluster_name, custom_headers:nil)
58
- list_async(resource_group_name, managed_cluster_name, custom_headers:custom_headers).value!
55
+ def list_with_http_info(resource_group_name, resource_name, custom_headers:nil)
56
+ list_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
59
57
  end
60
58
 
61
59
  #
@@ -65,19 +63,21 @@ module Azure::ContainerService::Mgmt::V2019_04_01
65
63
  # returns properties of each agent pool.
66
64
  #
67
65
  # @param resource_group_name [String] The name of the resource group.
68
- # @param managed_cluster_name [String] The name of the managed cluster
69
- # resource.
66
+ # @param resource_name [String] The name of the managed cluster resource.
70
67
  # @param [Hash{String => String}] A hash of custom headers that will be added
71
68
  # to the HTTP request.
72
69
  #
73
70
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
74
71
  #
75
- def list_async(resource_group_name, managed_cluster_name, custom_headers:nil)
72
+ def list_async(resource_group_name, resource_name, custom_headers:nil)
76
73
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
77
74
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
78
75
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
79
76
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
80
- fail ArgumentError, 'managed_cluster_name is nil' if managed_cluster_name.nil?
77
+ fail ArgumentError, 'resource_name is nil' if resource_name.nil?
78
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
79
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
80
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
81
81
 
82
82
 
83
83
  request_headers = {}
@@ -86,13 +86,13 @@ module Azure::ContainerService::Mgmt::V2019_04_01
86
86
  # Set Headers
87
87
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
88
88
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
89
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{managedClusterName}/agentPools'
89
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools'
90
90
 
91
91
  request_url = @base_url || @client.base_url
92
92
 
93
93
  options = {
94
94
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
95
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'managedClusterName' => managed_cluster_name},
95
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name},
96
96
  query_params: {'api-version' => @client.api_version},
97
97
  headers: request_headers.merge(custom_headers || {}),
98
98
  base_url: request_url
@@ -109,6 +109,8 @@ module Azure::ContainerService::Mgmt::V2019_04_01
109
109
  end
110
110
 
111
111
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
112
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
113
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
112
114
  # Deserialize Response
113
115
  if status_code == 200
114
116
  begin
@@ -132,16 +134,15 @@ module Azure::ContainerService::Mgmt::V2019_04_01
132
134
  # Gets the details of the agent pool by managed cluster and resource group.
133
135
  #
134
136
  # @param resource_group_name [String] The name of the resource group.
135
- # @param managed_cluster_name [String] The name of the managed cluster
136
- # resource.
137
+ # @param resource_name [String] The name of the managed cluster resource.
137
138
  # @param agent_pool_name [String] The name of the agent pool.
138
139
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
139
140
  # will be added to the HTTP request.
140
141
  #
141
142
  # @return [AgentPool] operation results.
142
143
  #
143
- def get(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
144
- response = get_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
144
+ def get(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
145
+ response = get_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
145
146
  response.body unless response.nil?
146
147
  end
147
148
 
@@ -151,16 +152,15 @@ module Azure::ContainerService::Mgmt::V2019_04_01
151
152
  # Gets the details of the agent pool by managed cluster and resource group.
152
153
  #
153
154
  # @param resource_group_name [String] The name of the resource group.
154
- # @param managed_cluster_name [String] The name of the managed cluster
155
- # resource.
155
+ # @param resource_name [String] The name of the managed cluster resource.
156
156
  # @param agent_pool_name [String] The name of the agent pool.
157
157
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
158
158
  # will be added to the HTTP request.
159
159
  #
160
160
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
161
161
  #
162
- def get_with_http_info(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
163
- get_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
162
+ def get_with_http_info(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
163
+ get_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
164
164
  end
165
165
 
166
166
  #
@@ -169,20 +169,22 @@ module Azure::ContainerService::Mgmt::V2019_04_01
169
169
  # Gets the details of the agent pool by managed cluster and resource group.
170
170
  #
171
171
  # @param resource_group_name [String] The name of the resource group.
172
- # @param managed_cluster_name [String] The name of the managed cluster
173
- # resource.
172
+ # @param resource_name [String] The name of the managed cluster resource.
174
173
  # @param agent_pool_name [String] The name of the agent pool.
175
174
  # @param [Hash{String => String}] A hash of custom headers that will be added
176
175
  # to the HTTP request.
177
176
  #
178
177
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
179
178
  #
180
- def get_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
179
+ def get_async(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
181
180
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
182
181
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
183
182
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
184
183
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
185
- fail ArgumentError, 'managed_cluster_name is nil' if managed_cluster_name.nil?
184
+ fail ArgumentError, 'resource_name is nil' if resource_name.nil?
185
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
186
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
187
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
186
188
  fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
187
189
 
188
190
 
@@ -192,13 +194,13 @@ module Azure::ContainerService::Mgmt::V2019_04_01
192
194
  # Set Headers
193
195
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
194
196
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
195
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{managedClusterName}/agentPools/{agentPoolName}'
197
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'
196
198
 
197
199
  request_url = @base_url || @client.base_url
198
200
 
199
201
  options = {
200
202
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
201
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'managedClusterName' => managed_cluster_name,'agentPoolName' => agent_pool_name},
203
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name,'agentPoolName' => agent_pool_name},
202
204
  query_params: {'api-version' => @client.api_version},
203
205
  headers: request_headers.merge(custom_headers || {}),
204
206
  base_url: request_url
@@ -215,6 +217,8 @@ module Azure::ContainerService::Mgmt::V2019_04_01
215
217
  end
216
218
 
217
219
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
220
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
221
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
218
222
  # Deserialize Response
219
223
  if status_code == 200
220
224
  begin
@@ -238,8 +242,7 @@ module Azure::ContainerService::Mgmt::V2019_04_01
238
242
  # Creates or updates an agent pool in the specified managed cluster.
239
243
  #
240
244
  # @param resource_group_name [String] The name of the resource group.
241
- # @param managed_cluster_name [String] The name of the managed cluster
242
- # resource.
245
+ # @param resource_name [String] The name of the managed cluster resource.
243
246
  # @param agent_pool_name [String] The name of the agent pool.
244
247
  # @param parameters [AgentPool] Parameters supplied to the Create or Update an
245
248
  # agent pool operation.
@@ -248,15 +251,14 @@ module Azure::ContainerService::Mgmt::V2019_04_01
248
251
  #
249
252
  # @return [AgentPool] operation results.
250
253
  #
251
- def create_or_update(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:nil)
252
- response = create_or_update_async(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
254
+ def create_or_update(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
255
+ response = create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
253
256
  response.body unless response.nil?
254
257
  end
255
258
 
256
259
  #
257
260
  # @param resource_group_name [String] The name of the resource group.
258
- # @param managed_cluster_name [String] The name of the managed cluster
259
- # resource.
261
+ # @param resource_name [String] The name of the managed cluster resource.
260
262
  # @param agent_pool_name [String] The name of the agent pool.
261
263
  # @param parameters [AgentPool] Parameters supplied to the Create or Update an
262
264
  # agent pool operation.
@@ -266,9 +268,9 @@ module Azure::ContainerService::Mgmt::V2019_04_01
266
268
  # @return [Concurrent::Promise] promise which provides async access to http
267
269
  # response.
268
270
  #
269
- def create_or_update_async(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:nil)
271
+ def create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
270
272
  # Send request
271
- promise = begin_create_or_update_async(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:custom_headers)
273
+ promise = begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers)
272
274
 
273
275
  promise = promise.then do |response|
274
276
  # Defining deserialization method.
@@ -290,21 +292,19 @@ module Azure::ContainerService::Mgmt::V2019_04_01
290
292
  # Deletes the agent pool in the specified managed cluster.
291
293
  #
292
294
  # @param resource_group_name [String] The name of the resource group.
293
- # @param managed_cluster_name [String] The name of the managed cluster
294
- # resource.
295
+ # @param resource_name [String] The name of the managed cluster resource.
295
296
  # @param agent_pool_name [String] The name of the agent pool.
296
297
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
297
298
  # will be added to the HTTP request.
298
299
  #
299
- def delete(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
300
- response = delete_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
300
+ def delete(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
301
+ response = delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
301
302
  nil
302
303
  end
303
304
 
304
305
  #
305
306
  # @param resource_group_name [String] The name of the resource group.
306
- # @param managed_cluster_name [String] The name of the managed cluster
307
- # resource.
307
+ # @param resource_name [String] The name of the managed cluster resource.
308
308
  # @param agent_pool_name [String] The name of the agent pool.
309
309
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
310
310
  # will be added to the HTTP request.
@@ -312,9 +312,9 @@ module Azure::ContainerService::Mgmt::V2019_04_01
312
312
  # @return [Concurrent::Promise] promise which provides async access to http
313
313
  # response.
314
314
  #
315
- def delete_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
315
+ def delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
316
316
  # Send request
317
- promise = begin_delete_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers)
317
+ promise = begin_delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers)
318
318
 
319
319
  promise = promise.then do |response|
320
320
  # Defining deserialization method.
@@ -334,8 +334,7 @@ module Azure::ContainerService::Mgmt::V2019_04_01
334
334
  # Creates or updates an agent pool in the specified managed cluster.
335
335
  #
336
336
  # @param resource_group_name [String] The name of the resource group.
337
- # @param managed_cluster_name [String] The name of the managed cluster
338
- # resource.
337
+ # @param resource_name [String] The name of the managed cluster resource.
339
338
  # @param agent_pool_name [String] The name of the agent pool.
340
339
  # @param parameters [AgentPool] Parameters supplied to the Create or Update an
341
340
  # agent pool operation.
@@ -344,8 +343,8 @@ module Azure::ContainerService::Mgmt::V2019_04_01
344
343
  #
345
344
  # @return [AgentPool] operation results.
346
345
  #
347
- def begin_create_or_update(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:nil)
348
- response = begin_create_or_update_async(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
346
+ def begin_create_or_update(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
347
+ response = begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
349
348
  response.body unless response.nil?
350
349
  end
351
350
 
@@ -355,8 +354,7 @@ module Azure::ContainerService::Mgmt::V2019_04_01
355
354
  # Creates or updates an agent pool in the specified managed cluster.
356
355
  #
357
356
  # @param resource_group_name [String] The name of the resource group.
358
- # @param managed_cluster_name [String] The name of the managed cluster
359
- # resource.
357
+ # @param resource_name [String] The name of the managed cluster resource.
360
358
  # @param agent_pool_name [String] The name of the agent pool.
361
359
  # @param parameters [AgentPool] Parameters supplied to the Create or Update an
362
360
  # agent pool operation.
@@ -365,8 +363,8 @@ module Azure::ContainerService::Mgmt::V2019_04_01
365
363
  #
366
364
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
367
365
  #
368
- def begin_create_or_update_with_http_info(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:nil)
369
- begin_create_or_update_async(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
366
+ def begin_create_or_update_with_http_info(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
367
+ begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
370
368
  end
371
369
 
372
370
  #
@@ -375,8 +373,7 @@ module Azure::ContainerService::Mgmt::V2019_04_01
375
373
  # Creates or updates an agent pool in the specified managed cluster.
376
374
  #
377
375
  # @param resource_group_name [String] The name of the resource group.
378
- # @param managed_cluster_name [String] The name of the managed cluster
379
- # resource.
376
+ # @param resource_name [String] The name of the managed cluster resource.
380
377
  # @param agent_pool_name [String] The name of the agent pool.
381
378
  # @param parameters [AgentPool] Parameters supplied to the Create or Update an
382
379
  # agent pool operation.
@@ -385,12 +382,15 @@ module Azure::ContainerService::Mgmt::V2019_04_01
385
382
  #
386
383
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
387
384
  #
388
- def begin_create_or_update_async(resource_group_name, managed_cluster_name, agent_pool_name, parameters, custom_headers:nil)
385
+ def begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
389
386
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
390
387
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
391
388
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
392
389
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
393
- fail ArgumentError, 'managed_cluster_name is nil' if managed_cluster_name.nil?
390
+ fail ArgumentError, 'resource_name is nil' if resource_name.nil?
391
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
392
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
393
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
394
394
  fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
395
395
  fail ArgumentError, 'parameters is nil' if parameters.nil?
396
396
 
@@ -407,13 +407,13 @@ module Azure::ContainerService::Mgmt::V2019_04_01
407
407
  request_content = @client.serialize(request_mapper, parameters)
408
408
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
409
409
 
410
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{managedClusterName}/agentPools/{agentPoolName}'
410
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'
411
411
 
412
412
  request_url = @base_url || @client.base_url
413
413
 
414
414
  options = {
415
415
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
416
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'managedClusterName' => managed_cluster_name,'agentPoolName' => agent_pool_name},
416
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name,'agentPoolName' => agent_pool_name},
417
417
  query_params: {'api-version' => @client.api_version},
418
418
  body: request_content,
419
419
  headers: request_headers.merge(custom_headers || {}),
@@ -431,6 +431,8 @@ module Azure::ContainerService::Mgmt::V2019_04_01
431
431
  end
432
432
 
433
433
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
434
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
435
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
434
436
  # Deserialize Response
435
437
  if status_code == 200
436
438
  begin
@@ -464,15 +466,14 @@ module Azure::ContainerService::Mgmt::V2019_04_01
464
466
  # Deletes the agent pool in the specified managed cluster.
465
467
  #
466
468
  # @param resource_group_name [String] The name of the resource group.
467
- # @param managed_cluster_name [String] The name of the managed cluster
468
- # resource.
469
+ # @param resource_name [String] The name of the managed cluster resource.
469
470
  # @param agent_pool_name [String] The name of the agent pool.
470
471
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
471
472
  # will be added to the HTTP request.
472
473
  #
473
474
  #
474
- def begin_delete(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
475
- response = begin_delete_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
475
+ def begin_delete(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
476
+ response = begin_delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
476
477
  nil
477
478
  end
478
479
 
@@ -482,16 +483,15 @@ module Azure::ContainerService::Mgmt::V2019_04_01
482
483
  # Deletes the agent pool in the specified managed cluster.
483
484
  #
484
485
  # @param resource_group_name [String] The name of the resource group.
485
- # @param managed_cluster_name [String] The name of the managed cluster
486
- # resource.
486
+ # @param resource_name [String] The name of the managed cluster resource.
487
487
  # @param agent_pool_name [String] The name of the agent pool.
488
488
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
489
489
  # will be added to the HTTP request.
490
490
  #
491
491
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
492
492
  #
493
- def begin_delete_with_http_info(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
494
- begin_delete_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
493
+ def begin_delete_with_http_info(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
494
+ begin_delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
495
495
  end
496
496
 
497
497
  #
@@ -500,20 +500,22 @@ module Azure::ContainerService::Mgmt::V2019_04_01
500
500
  # Deletes the agent pool in the specified managed cluster.
501
501
  #
502
502
  # @param resource_group_name [String] The name of the resource group.
503
- # @param managed_cluster_name [String] The name of the managed cluster
504
- # resource.
503
+ # @param resource_name [String] The name of the managed cluster resource.
505
504
  # @param agent_pool_name [String] The name of the agent pool.
506
505
  # @param [Hash{String => String}] A hash of custom headers that will be added
507
506
  # to the HTTP request.
508
507
  #
509
508
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
510
509
  #
511
- def begin_delete_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
510
+ def begin_delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
512
511
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
513
512
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
514
513
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
515
514
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
516
- fail ArgumentError, 'managed_cluster_name is nil' if managed_cluster_name.nil?
515
+ fail ArgumentError, 'resource_name is nil' if resource_name.nil?
516
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
517
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
518
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
517
519
  fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
518
520
 
519
521
 
@@ -523,13 +525,13 @@ module Azure::ContainerService::Mgmt::V2019_04_01
523
525
  # Set Headers
524
526
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
525
527
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
526
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{managedClusterName}/agentPools/{agentPoolName}'
528
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'
527
529
 
528
530
  request_url = @base_url || @client.base_url
529
531
 
530
532
  options = {
531
533
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
532
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'managedClusterName' => managed_cluster_name,'agentPoolName' => agent_pool_name},
534
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name,'agentPoolName' => agent_pool_name},
533
535
  query_params: {'api-version' => @client.api_version},
534
536
  headers: request_headers.merge(custom_headers || {}),
535
537
  base_url: request_url
@@ -546,6 +548,8 @@ module Azure::ContainerService::Mgmt::V2019_04_01
546
548
  end
547
549
 
548
550
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
551
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
552
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
549
553
 
550
554
  result
551
555
  end
@@ -633,6 +637,8 @@ module Azure::ContainerService::Mgmt::V2019_04_01
633
637
  end
634
638
 
635
639
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
640
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
641
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
636
642
  # Deserialize Response
637
643
  if status_code == 200
638
644
  begin
@@ -657,16 +663,15 @@ module Azure::ContainerService::Mgmt::V2019_04_01
657
663
  # returns properties of each agent pool.
658
664
  #
659
665
  # @param resource_group_name [String] The name of the resource group.
660
- # @param managed_cluster_name [String] The name of the managed cluster
661
- # resource.
666
+ # @param resource_name [String] The name of the managed cluster resource.
662
667
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
663
668
  # will be added to the HTTP request.
664
669
  #
665
670
  # @return [AgentPoolListResult] which provide lazy access to pages of the
666
671
  # response.
667
672
  #
668
- def list_as_lazy(resource_group_name, managed_cluster_name, custom_headers:nil)
669
- response = list_async(resource_group_name, managed_cluster_name, custom_headers:custom_headers).value!
673
+ def list_as_lazy(resource_group_name, resource_name, custom_headers:nil)
674
+ response = list_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
670
675
  unless response.nil?
671
676
  page = response.body
672
677
  page.next_method = Proc.new do |next_page_link|