azure_mgmt_api_management 0.18.4 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (640) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  3. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_services.rb +30 -0
  4. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_operations.rb +12 -0
  5. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_products.rb +4 -0
  6. data/lib/2016-07-07/generated/azure_mgmt_api_management/apis.rb +14 -0
  7. data/lib/2016-07-07/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
  8. data/lib/2016-07-07/generated/azure_mgmt_api_management/backends.rb +12 -0
  9. data/lib/2016-07-07/generated/azure_mgmt_api_management/certificates.rb +10 -0
  10. data/lib/2016-07-07/generated/azure_mgmt_api_management/group_users.rb +8 -0
  11. data/lib/2016-07-07/generated/azure_mgmt_api_management/groups.rb +12 -0
  12. data/lib/2016-07-07/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
  13. data/lib/2016-07-07/generated/azure_mgmt_api_management/loggers.rb +12 -0
  14. data/lib/2016-07-07/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
  15. data/lib/2016-07-07/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  16. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_apis.rb +8 -0
  17. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_groups.rb +8 -0
  18. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  19. data/lib/2016-07-07/generated/azure_mgmt_api_management/products.rb +12 -0
  20. data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +12 -0
  21. data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  22. data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  23. data/lib/2016-07-07/generated/azure_mgmt_api_management/regions.rb +2 -0
  24. data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +4 -0
  25. data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
  26. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  27. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  28. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
  29. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
  30. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_groups.rb +4 -0
  31. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  32. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
  33. data/lib/2016-07-07/generated/azure_mgmt_api_management/users.rb +14 -0
  34. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_export.rb +2 -0
  35. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  36. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  37. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb +32 -0
  38. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations.rb +12 -0
  39. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations_policy.rb +6 -0
  40. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_policy.rb +6 -0
  41. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_products.rb +4 -0
  42. data/lib/2016-10-10/generated/azure_mgmt_api_management/apis.rb +12 -0
  43. data/lib/2016-10-10/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
  44. data/lib/2016-10-10/generated/azure_mgmt_api_management/backends.rb +12 -0
  45. data/lib/2016-10-10/generated/azure_mgmt_api_management/certificates.rb +10 -0
  46. data/lib/2016-10-10/generated/azure_mgmt_api_management/group_users.rb +8 -0
  47. data/lib/2016-10-10/generated/azure_mgmt_api_management/groups.rb +12 -0
  48. data/lib/2016-10-10/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
  49. data/lib/2016-10-10/generated/azure_mgmt_api_management/loggers.rb +12 -0
  50. data/lib/2016-10-10/generated/azure_mgmt_api_management/network_status.rb +2 -0
  51. data/lib/2016-10-10/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
  52. data/lib/2016-10-10/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  53. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_apis.rb +8 -0
  54. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_groups.rb +8 -0
  55. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_policy.rb +6 -0
  56. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  57. data/lib/2016-10-10/generated/azure_mgmt_api_management/products.rb +12 -0
  58. data/lib/2016-10-10/generated/azure_mgmt_api_management/properties.rb +4 -0
  59. data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +8 -0
  60. data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  61. data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  62. data/lib/2016-10-10/generated/azure_mgmt_api_management/regions.rb +2 -0
  63. data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +4 -0
  64. data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
  65. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  66. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  67. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
  68. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
  69. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb +6 -0
  70. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_groups.rb +4 -0
  71. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  72. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
  73. data/lib/2016-10-10/generated/azure_mgmt_api_management/users.rb +16 -0
  74. data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +18 -0
  75. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
  76. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -0
  77. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
  78. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +2 -0
  79. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +2 -0
  80. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +8 -0
  81. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +6 -0
  82. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +4 -0
  83. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +6 -0
  84. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +4 -0
  85. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +4 -0
  86. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  87. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  88. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +30 -0
  89. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
  90. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
  91. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  92. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
  93. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +12 -0
  94. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
  95. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
  96. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
  97. data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
  98. data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +16 -0
  99. data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
  100. data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
  101. data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
  102. data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -0
  103. data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
  104. data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +14 -0
  105. data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
  106. data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +12 -0
  107. data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +14 -0
  108. data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
  109. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +8 -0
  110. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
  111. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
  112. data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
  113. data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
  114. data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +8 -0
  115. data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  116. data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +14 -0
  117. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
  118. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
  119. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +8 -0
  120. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  121. data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +14 -0
  122. data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  123. data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  124. data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +2 -0
  125. data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +30 -0
  126. data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
  127. data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
  128. data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
  129. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +50 -0
  130. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +12 -0
  131. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
  132. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  133. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  134. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  135. data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +18 -0
  136. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
  137. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  138. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
  139. data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +18 -0
  140. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
  141. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -0
  142. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
  143. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +14 -0
  144. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +12 -0
  145. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +12 -0
  146. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  147. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  148. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +30 -0
  149. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +4 -0
  150. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
  151. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
  152. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  153. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
  154. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +14 -0
  155. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
  156. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
  157. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
  158. data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
  159. data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +16 -0
  160. data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
  161. data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
  162. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
  163. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -0
  164. data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
  165. data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +14 -0
  166. data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
  167. data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +14 -0
  168. data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +14 -0
  169. data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
  170. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +8 -0
  171. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
  172. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
  173. data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
  174. data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
  175. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +10 -0
  176. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  177. data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +14 -0
  178. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
  179. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
  180. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +10 -0
  181. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  182. data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +14 -0
  183. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  184. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  185. data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +4 -0
  186. data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +30 -0
  187. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
  188. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
  189. data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
  190. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +50 -0
  191. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +12 -0
  192. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
  193. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  194. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  195. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  196. data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +20 -0
  197. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
  198. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +4 -0
  199. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
  200. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +161 -144
  201. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +296 -207
  202. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +40 -18
  203. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +5 -3
  204. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +214 -62
  205. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +62 -45
  206. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +62 -45
  207. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +41 -25
  208. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  209. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +139 -56
  210. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  211. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +75 -29
  212. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +16 -6
  213. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  214. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +33 -21
  215. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +83 -58
  216. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +9 -5
  217. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +74 -18
  218. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +60 -94
  219. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +53 -35
  220. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +154 -130
  221. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/cache.rb +809 -0
  222. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +60 -48
  223. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +24 -9
  224. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +34 -12
  225. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +48 -10
  226. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +66 -52
  227. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +126 -128
  228. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +20 -6
  229. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/issue.rb +410 -0
  230. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +127 -94
  231. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +12 -0
  232. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +8 -0
  233. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +13 -1
  234. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +12 -0
  235. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
  236. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
  237. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +1 -1
  238. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
  239. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +8 -0
  240. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +12 -0
  241. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +27 -0
  242. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +1 -1
  243. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
  244. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  245. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  246. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  247. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  248. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +1 -2
  249. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +3 -0
  250. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
  251. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +15 -2
  252. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +1 -0
  253. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
  254. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +1 -1
  255. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +3 -2
  256. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +3 -2
  257. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -1
  258. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +12 -0
  259. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +12 -0
  260. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +12 -0
  261. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +27 -27
  262. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  263. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  264. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  265. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +1 -1
  266. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
  267. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
  268. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  269. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  270. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  271. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  272. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  273. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +1 -0
  274. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +22 -12
  275. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +21 -10
  276. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +20 -8
  277. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +0 -11
  278. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -1
  279. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -1
  280. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -1
  281. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -1
  282. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +4 -0
  283. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +13 -5
  284. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +10 -4
  285. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +52 -46
  286. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +55 -37
  287. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +76 -64
  288. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +29 -18
  289. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +3 -1
  290. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +366 -69
  291. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +64 -60
  292. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +54 -58
  293. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +29 -19
  294. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +86 -62
  295. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +65 -43
  296. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +6 -2
  297. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +6 -2
  298. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/{regions.rb → region.rb} +8 -4
  299. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +41 -11
  300. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +24 -9
  301. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +24 -9
  302. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +115 -77
  303. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +715 -716
  304. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +50 -34
  305. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +106 -114
  306. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +105 -10
  307. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  308. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  309. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +192 -174
  310. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_confirmation_password.rb +121 -0
  311. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +57 -49
  312. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +28 -24
  313. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +93 -77
  314. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  315. data/lib/2019-12-01/generated/azure_mgmt_api_management.rb +338 -0
  316. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api.rb +303 -226
  317. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_diagnostic.rb +50 -38
  318. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_export.rb +7 -5
  319. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue.rb +215 -81
  320. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_attachment.rb +68 -64
  321. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_comment.rb +68 -64
  322. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_client.rb +69 -49
  323. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_operations.rb +7 -3
  324. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_service.rb +120 -343
  325. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  326. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation.rb +74 -49
  327. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation_policy.rb +29 -18
  328. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_policy.rb +28 -12
  329. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_product.rb +27 -24
  330. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_release.rb +90 -79
  331. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/api_revisions.rb → 2019-12-01/generated/azure_mgmt_api_management/api_revision.rb} +46 -51
  332. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_schema.rb +183 -77
  333. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tag_description.rb → 2019-12-01/generated/azure_mgmt_api_management/api_tag_description.rb} +132 -124
  334. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_version_set.rb +66 -108
  335. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/authorization_server.rb +157 -43
  336. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/backend.rb +149 -139
  337. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/property.rb → 2019-12-01/generated/azure_mgmt_api_management/cache.rb} +153 -148
  338. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/certificate.rb +55 -55
  339. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/delegation_settings.rb +126 -14
  340. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/diagnostic.rb +50 -32
  341. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/email_template.rb +68 -23
  342. data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway.rb +1134 -0
  343. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic_logger.rb → 2019-12-01/generated/azure_mgmt_api_management/gateway_api.rb} +141 -155
  344. data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_hostname_configuration.rb +720 -0
  345. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group.rb +61 -64
  346. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group_user.rb +112 -133
  347. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/identity_provider.rb +138 -17
  348. data/lib/2019-12-01/generated/azure_mgmt_api_management/issue.rb +390 -0
  349. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/logger.rb +123 -102
  350. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_contract.rb +6 -5
  351. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +4 -6
  352. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/additional_location.rb +15 -1
  353. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
  354. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
  355. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract.rb +28 -6
  356. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract_properties.rb +23 -5
  357. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +35 -12
  358. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +1 -1
  359. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +13 -2
  360. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result.rb} +23 -25
  361. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb} +6 -6
  362. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +1 -1
  363. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +1 -1
  364. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +88 -6
  365. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +1 -1
  366. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +1 -1
  367. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +31 -5
  368. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
  369. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +1 -1
  370. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +88 -6
  371. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +4 -5
  372. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +88 -6
  373. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_collection.rb +2 -2
  374. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_contract.rb +2 -2
  375. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
  376. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_contract.rb +1 -1
  377. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +1 -1
  378. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +9 -2
  379. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_type.rb +1 -1
  380. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_update_contract.rb +13 -2
  381. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_constraint.rb +47 -0
  382. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
  383. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +1 -1
  384. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +12 -1
  385. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +1 -1
  386. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +1 -1
  387. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_identity_type.rb +18 -0
  388. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/apim_resource.rb +1 -1
  389. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/app_type.rb +15 -0
  390. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/association_contract.rb +75 -0
  391. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/async_operation_status.rb +1 -1
  392. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +14 -1
  393. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_method.rb +1 -1
  394. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
  395. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +14 -13
  396. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +1 -13
  397. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +14 -13
  398. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +1 -1
  399. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +1 -1
  400. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
  401. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_contract.rb +1 -1
  402. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +1 -1
  403. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_properties.rb +1 -1
  404. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_protocol.rb +1 -1
  405. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +1 -1
  406. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +2 -2
  407. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +2 -2
  408. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +1 -1
  409. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +1 -1
  410. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +1 -1
  411. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  412. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
  413. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  414. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  415. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  416. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
  417. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_configuration.rb +2 -3
  418. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_contract.rb +1 -1
  419. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +1 -1
  420. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_information.rb +1 -1
  421. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/client_authentication_method.rb +1 -1
  422. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_secret_contract.rb +47 -0
  423. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/confirmation.rb +1 -1
  424. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +1 -1
  425. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +1 -1
  426. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/content_format.rb +5 -1
  427. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +4 -4
  428. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
  429. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +160 -0
  430. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
  431. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_contract.rb +1 -1
  432. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +1 -1
  433. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +1 -1
  434. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_field_contract.rb +1 -1
  435. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response.rb +1 -1
  436. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response_body.rb +1 -1
  437. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/export_format.rb +3 -1
  438. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
  439. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_collection.rb +100 -0
  440. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_contract.rb +88 -0
  441. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_collection.rb +102 -0
  442. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_contract.rb +98 -0
  443. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_key_regeneration_request_contract.rb +48 -0
  444. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_keys_contract.rb +57 -0
  445. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_contract.rb +47 -0
  446. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_request_contract.rb +64 -0
  447. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +1 -1
  448. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/grant_type.rb +1 -1
  449. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
  450. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract.rb +2 -2
  451. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract_properties.rb +2 -2
  452. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_create_parameters.rb +4 -3
  453. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_type.rb +1 -1
  454. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_update_parameters.rb +4 -3
  455. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_configuration.rb +3 -5
  456. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_type.rb +2 -1
  457. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_correlation_protocol.rb +17 -0
  458. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
  459. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +25 -1
  460. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +28 -3
  461. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_create_contract.rb +216 -0
  462. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_list.rb +1 -1
  463. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_type.rb +1 -1
  464. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +25 -1
  465. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
  466. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +1 -1
  467. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
  468. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
  469. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +1 -1
  470. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_contract.rb +28 -28
  471. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  472. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  473. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/key_type.rb +1 -1
  474. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
  475. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_contract.rb +13 -1
  476. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_type.rb +1 -1
  477. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_update_contract.rb +1 -1
  478. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/name_availability_reason.rb +1 -1
  479. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_collection.rb +98 -0
  480. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_contract.rb +132 -0
  481. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_create_contract.rb} +13 -11
  482. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_entity_base_parameters.rb} +7 -7
  483. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_update_parameters.rb} +11 -11
  484. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract.rb +1 -1
  485. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +1 -1
  486. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
  487. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_contract.rb +1 -1
  488. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_name.rb +1 -1
  489. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +1 -1
  490. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  491. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
  492. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +1 -1
  493. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +1 -1
  494. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation.rb +1 -1
  495. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
  496. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_contract.rb +1 -1
  497. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_display.rb +1 -1
  498. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +1 -1
  499. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
  500. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_contract.rb +1 -1
  501. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +1 -1
  502. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +1 -1
  503. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_update_contract.rb +1 -1
  504. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/parameter_contract.rb +2 -2
  505. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
  506. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_collection.rb +1 -1
  507. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_content_format.rb +1 -1
  508. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_contract.rb +8 -8
  509. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_collection.rb +67 -0
  510. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/policy_description_contract.rb} +22 -19
  511. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
  512. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +1 -1
  513. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +1 -1
  514. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_setting_validation_key_contract.rb +47 -0
  515. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +1 -1
  516. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +1 -1
  517. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
  518. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_contract.rb +4 -4
  519. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +4 -4
  520. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_state.rb +1 -1
  521. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +1 -1
  522. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_update_parameters.rb +4 -4
  523. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/property_value_contract.rb +46 -0
  524. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/protocol.rb +1 -1
  525. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/provisioning_state.rb +15 -0
  526. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +1 -1
  527. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +1 -1
  528. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +1 -1
  529. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +1 -1
  530. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +1 -1
  531. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +1 -1
  532. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +1 -1
  533. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +1 -1
  534. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +1 -1
  535. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_contract.rb +1 -1
  536. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_list_result.rb +1 -1
  537. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +1 -1
  538. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
  539. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_record_contract.rb +4 -4
  540. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/representation_contract.rb +1 -1
  541. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_contract.rb +1 -1
  542. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_collection.rb +1 -1
  543. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +2 -2
  544. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/resource.rb +1 -1
  545. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_location_data_contract.rb +93 -0
  546. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  547. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  548. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  549. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  550. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  551. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/response_contract.rb +1 -1
  552. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
  553. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
  554. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +4 -4
  555. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
  556. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_contract.rb +19 -3
  557. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/sku_type.rb +2 -1
  558. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/soap_api_type.rb +1 -1
  559. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/state.rb +1 -1
  560. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
  561. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_contract.rb +31 -17
  562. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +22 -11
  563. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +1 -1
  564. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_keys_contract.rb +65 -0
  565. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_state.rb +1 -1
  566. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +21 -9
  567. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +1 -1
  568. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
  569. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_contract.rb +1 -1
  570. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +1 -1
  571. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
  572. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_contract.rb +12 -1
  573. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +1 -1
  574. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -12
  575. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +1 -1
  576. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +1 -1
  577. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/template_name.rb +1 -1
  578. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +1 -1
  579. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
  580. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +1 -1
  581. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
  582. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_contract.rb +1 -2
  583. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_create_parameters.rb +14 -2
  584. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +1 -2
  585. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_collection.rb +1 -1
  586. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_contract.rb +1 -1
  587. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_properties.rb +58 -0
  588. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_state.rb +1 -1
  589. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_parameters.rb +4 -4
  590. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_result.rb +1 -1
  591. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_update_parameters.rb +1 -2
  592. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/verbosity.rb +17 -0
  593. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/versioning_scheme.rb +1 -1
  594. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
  595. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_type.rb +1 -1
  596. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/x509certificate_name.rb +1 -1
  597. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/module_definition.rb +1 -1
  598. data/lib/2019-12-01/generated/azure_mgmt_api_management/named_value.rb +1030 -0
  599. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/network_status.rb +6 -2
  600. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification.rb +18 -10
  601. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_email.rb +12 -4
  602. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_user.rb +51 -46
  603. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/open_id_connect_provider.rb +158 -45
  604. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/operation_operations.rb +63 -71
  605. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/policy.rb +47 -30
  606. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb → 2019-12-01/generated/azure_mgmt_api_management/policy_description.rb} +12 -10
  607. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product.rb +345 -81
  608. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_api.rb +61 -73
  609. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_group.rb +44 -67
  610. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_policy.rb +42 -31
  611. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_subscriptions.rb +60 -65
  612. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +9 -5
  613. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_period_keys.rb +9 -5
  614. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/regions.rb → 2019-12-01/generated/azure_mgmt_api_management/region.rb} +11 -7
  615. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/reports.rb +548 -109
  616. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_in_settings.rb +29 -14
  617. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_up_settings.rb +29 -14
  618. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/subscription.rb +201 -85
  619. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag.rb +718 -761
  620. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag_resource.rb +85 -121
  621. data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access.rb +594 -0
  622. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access.rb → 2019-12-01/generated/azure_mgmt_api_management/tenant_access_git.rb} +60 -66
  623. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tenant_configuration.rb +22 -14
  624. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user.rb +176 -185
  625. data/lib/2019-12-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
  626. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_group.rb +51 -56
  627. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_identities.rb +30 -27
  628. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_subscription.rb +71 -80
  629. data/lib/azure_mgmt_api_management.rb +6 -0
  630. data/lib/profiles/latest/modules/apimanagement_profile_module.rb +735 -641
  631. data/lib/version.rb +1 -1
  632. metadata +334 -271
  633. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +0 -292
  634. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +0 -649
  635. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +0 -77
  636. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +0 -72
  637. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +0 -71
  638. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +0 -55
  639. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +0 -98
  640. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +0 -291
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ApiManagement::Mgmt::V2018_01_01_preview
6
+ module Azure::ApiManagement::Mgmt::V2019_12_01
7
7
  #
8
8
  # ApiManagement Client
9
9
  #
@@ -26,15 +26,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
26
26
  #
27
27
  # @param resource_group_name [String] The name of the resource group.
28
28
  # @param service_name [String] The name of the API Management service.
29
- # @param scope [PolicyScopeContract] Policy scope. Possible values include:
30
- # 'Tenant', 'Product', 'Api', 'Operation', 'All'
31
29
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
30
  # will be added to the HTTP request.
33
31
  #
34
32
  # @return [PolicyCollection] operation results.
35
33
  #
36
- def list_by_service(resource_group_name, service_name, scope:nil, custom_headers:nil)
37
- response = list_by_service_async(resource_group_name, service_name, scope:scope, custom_headers:custom_headers).value!
34
+ def list_by_service(resource_group_name, service_name, custom_headers:nil)
35
+ response = list_by_service_async(resource_group_name, service_name, custom_headers:custom_headers).value!
38
36
  response.body unless response.nil?
39
37
  end
40
38
 
@@ -43,15 +41,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
43
41
  #
44
42
  # @param resource_group_name [String] The name of the resource group.
45
43
  # @param service_name [String] The name of the API Management service.
46
- # @param scope [PolicyScopeContract] Policy scope. Possible values include:
47
- # 'Tenant', 'Product', 'Api', 'Operation', 'All'
48
44
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
45
  # will be added to the HTTP request.
50
46
  #
51
47
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
48
  #
53
- def list_by_service_with_http_info(resource_group_name, service_name, scope:nil, custom_headers:nil)
54
- list_by_service_async(resource_group_name, service_name, scope:scope, custom_headers:custom_headers).value!
49
+ def list_by_service_with_http_info(resource_group_name, service_name, custom_headers:nil)
50
+ list_by_service_async(resource_group_name, service_name, custom_headers:custom_headers).value!
55
51
  end
56
52
 
57
53
  #
@@ -59,14 +55,12 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
59
55
  #
60
56
  # @param resource_group_name [String] The name of the resource group.
61
57
  # @param service_name [String] The name of the API Management service.
62
- # @param scope [PolicyScopeContract] Policy scope. Possible values include:
63
- # 'Tenant', 'Product', 'Api', 'Operation', 'All'
64
58
  # @param [Hash{String => String}] A hash of custom headers that will be added
65
59
  # to the HTTP request.
66
60
  #
67
61
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
62
  #
69
- def list_by_service_async(resource_group_name, service_name, scope:nil, custom_headers:nil)
63
+ def list_by_service_async(resource_group_name, service_name, custom_headers:nil)
70
64
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
65
  fail ArgumentError, 'service_name is nil' if service_name.nil?
72
66
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -89,7 +83,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
89
83
  options = {
90
84
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
91
85
  path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
92
- query_params: {'scope' => scope,'api-version' => @client.api_version},
86
+ query_params: {'api-version' => @client.api_version},
93
87
  headers: request_headers.merge(custom_headers || {}),
94
88
  base_url: request_url
95
89
  }
@@ -101,15 +95,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
101
95
  response_content = http_response.body
102
96
  unless status_code == 200
103
97
  error_model = JSON.load(response_content)
104
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
98
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
105
99
  end
106
100
 
107
101
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
102
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
103
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
108
104
  # Deserialize Response
109
105
  if status_code == 200
110
106
  begin
111
107
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
112
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyCollection.mapper()
108
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::PolicyCollection.mapper()
113
109
  result.body = @client.deserialize(result_mapper, parsed_response)
114
110
  rescue Exception => e
115
111
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -203,6 +199,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
203
199
  end
204
200
 
205
201
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
202
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
203
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
206
204
 
207
205
  result
208
206
  end
@@ -215,13 +213,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
215
213
  #
216
214
  # @param resource_group_name [String] The name of the resource group.
217
215
  # @param service_name [String] The name of the API Management service.
216
+ # @param format [PolicyExportFormat] Policy Export Format. Possible values
217
+ # include: 'xml', 'rawxml'
218
218
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
219
219
  # will be added to the HTTP request.
220
220
  #
221
221
  # @return [PolicyContract] operation results.
222
222
  #
223
- def get(resource_group_name, service_name, custom_headers:nil)
224
- response = get_async(resource_group_name, service_name, custom_headers:custom_headers).value!
223
+ def get(resource_group_name, service_name, format:nil, custom_headers:nil)
224
+ response = get_async(resource_group_name, service_name, format:format, custom_headers:custom_headers).value!
225
225
  response.body unless response.nil?
226
226
  end
227
227
 
@@ -230,13 +230,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
230
230
  #
231
231
  # @param resource_group_name [String] The name of the resource group.
232
232
  # @param service_name [String] The name of the API Management service.
233
+ # @param format [PolicyExportFormat] Policy Export Format. Possible values
234
+ # include: 'xml', 'rawxml'
233
235
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
234
236
  # will be added to the HTTP request.
235
237
  #
236
238
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
237
239
  #
238
- def get_with_http_info(resource_group_name, service_name, custom_headers:nil)
239
- get_async(resource_group_name, service_name, custom_headers:custom_headers).value!
240
+ def get_with_http_info(resource_group_name, service_name, format:nil, custom_headers:nil)
241
+ get_async(resource_group_name, service_name, format:format, custom_headers:custom_headers).value!
240
242
  end
241
243
 
242
244
  #
@@ -244,12 +246,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
244
246
  #
245
247
  # @param resource_group_name [String] The name of the resource group.
246
248
  # @param service_name [String] The name of the API Management service.
249
+ # @param format [PolicyExportFormat] Policy Export Format. Possible values
250
+ # include: 'xml', 'rawxml'
247
251
  # @param [Hash{String => String}] A hash of custom headers that will be added
248
252
  # to the HTTP request.
249
253
  #
250
254
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
251
255
  #
252
- def get_async(resource_group_name, service_name, custom_headers:nil)
256
+ def get_async(resource_group_name, service_name, format:nil, custom_headers:nil)
253
257
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
254
258
  fail ArgumentError, 'service_name is nil' if service_name.nil?
255
259
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -273,7 +277,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
273
277
  options = {
274
278
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
275
279
  path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'policyId' => policy_id,'subscriptionId' => @client.subscription_id},
276
- query_params: {'api-version' => @client.api_version},
280
+ query_params: {'format' => format,'api-version' => @client.api_version},
277
281
  headers: request_headers.merge(custom_headers || {}),
278
282
  base_url: request_url
279
283
  }
@@ -289,11 +293,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
289
293
  end
290
294
 
291
295
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
296
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
297
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
292
298
  # Deserialize Response
293
299
  if status_code == 200
294
300
  begin
295
301
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
296
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContract.mapper()
302
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::PolicyContract.mapper()
297
303
  result.body = @client.deserialize(result_mapper, parsed_response)
298
304
  rescue Exception => e
299
305
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -313,13 +319,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
313
319
  # @param resource_group_name [String] The name of the resource group.
314
320
  # @param service_name [String] The name of the API Management service.
315
321
  # @param parameters [PolicyContract] The policy contents to apply.
322
+ # @param if_match [String] ETag of the Entity. Not required when creating an
323
+ # entity, but required when updating an entity.
316
324
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
317
325
  # will be added to the HTTP request.
318
326
  #
319
327
  # @return [PolicyContract] operation results.
320
328
  #
321
- def create_or_update(resource_group_name, service_name, parameters, custom_headers:nil)
322
- response = create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
329
+ def create_or_update(resource_group_name, service_name, parameters, if_match:nil, custom_headers:nil)
330
+ response = create_or_update_async(resource_group_name, service_name, parameters, if_match:if_match, custom_headers:custom_headers).value!
323
331
  response.body unless response.nil?
324
332
  end
325
333
 
@@ -330,13 +338,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
330
338
  # @param resource_group_name [String] The name of the resource group.
331
339
  # @param service_name [String] The name of the API Management service.
332
340
  # @param parameters [PolicyContract] The policy contents to apply.
341
+ # @param if_match [String] ETag of the Entity. Not required when creating an
342
+ # entity, but required when updating an entity.
333
343
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
334
344
  # will be added to the HTTP request.
335
345
  #
336
346
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
337
347
  #
338
- def create_or_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
339
- create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
348
+ def create_or_update_with_http_info(resource_group_name, service_name, parameters, if_match:nil, custom_headers:nil)
349
+ create_or_update_async(resource_group_name, service_name, parameters, if_match:if_match, custom_headers:custom_headers).value!
340
350
  end
341
351
 
342
352
  #
@@ -346,12 +356,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
346
356
  # @param resource_group_name [String] The name of the resource group.
347
357
  # @param service_name [String] The name of the API Management service.
348
358
  # @param parameters [PolicyContract] The policy contents to apply.
359
+ # @param if_match [String] ETag of the Entity. Not required when creating an
360
+ # entity, but required when updating an entity.
349
361
  # @param [Hash{String => String}] A hash of custom headers that will be added
350
362
  # to the HTTP request.
351
363
  #
352
364
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
353
365
  #
354
- def create_or_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
366
+ def create_or_update_async(resource_group_name, service_name, parameters, if_match:nil, custom_headers:nil)
355
367
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
356
368
  fail ArgumentError, 'service_name is nil' if service_name.nil?
357
369
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -368,10 +380,11 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
368
380
 
369
381
  # Set Headers
370
382
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
383
+ request_headers['If-Match'] = if_match unless if_match.nil?
371
384
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
372
385
 
373
386
  # Serialize Request
374
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContract.mapper()
387
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::PolicyContract.mapper()
375
388
  request_content = @client.serialize(request_mapper, parameters)
376
389
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
377
390
 
@@ -399,11 +412,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
399
412
  end
400
413
 
401
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?
402
417
  # Deserialize Response
403
418
  if status_code == 201
404
419
  begin
405
420
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
406
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContract.mapper()
421
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::PolicyContract.mapper()
407
422
  result.body = @client.deserialize(result_mapper, parsed_response)
408
423
  rescue Exception => e
409
424
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -413,7 +428,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
413
428
  if status_code == 200
414
429
  begin
415
430
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
416
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContract.mapper()
431
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::PolicyContract.mapper()
417
432
  result.body = @client.deserialize(result_mapper, parsed_response)
418
433
  rescue Exception => e
419
434
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -515,6 +530,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
515
530
  end
516
531
 
517
532
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
533
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
534
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
518
535
 
519
536
  result
520
537
  end
@@ -3,15 +3,15 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ApiManagement::Mgmt::V2018_01_01_preview
6
+ module Azure::ApiManagement::Mgmt::V2019_12_01
7
7
  #
8
8
  # ApiManagement Client
9
9
  #
10
- class PolicySnippets
10
+ class PolicyDescription
11
11
  include MsRestAzure
12
12
 
13
13
  #
14
- # Creates and initializes a new instance of the PolicySnippets class.
14
+ # Creates and initializes a new instance of the PolicyDescription class.
15
15
  # @param client service class for accessing basic functionality.
16
16
  #
17
17
  def initialize(client)
@@ -22,7 +22,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
22
22
  attr_reader :client
23
23
 
24
24
  #
25
- # Lists all policy snippets.
25
+ # Lists all policy descriptions.
26
26
  #
27
27
  # @param resource_group_name [String] The name of the resource group.
28
28
  # @param service_name [String] The name of the API Management service.
@@ -31,7 +31,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
31
31
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
32
  # will be added to the HTTP request.
33
33
  #
34
- # @return [PolicySnippetsCollection] operation results.
34
+ # @return [PolicyDescriptionCollection] operation results.
35
35
  #
36
36
  def list_by_service(resource_group_name, service_name, scope:nil, custom_headers:nil)
37
37
  response = list_by_service_async(resource_group_name, service_name, scope:scope, custom_headers:custom_headers).value!
@@ -39,7 +39,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
39
39
  end
40
40
 
41
41
  #
42
- # Lists all policy snippets.
42
+ # Lists all policy descriptions.
43
43
  #
44
44
  # @param resource_group_name [String] The name of the resource group.
45
45
  # @param service_name [String] The name of the API Management service.
@@ -55,7 +55,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
55
55
  end
56
56
 
57
57
  #
58
- # Lists all policy snippets.
58
+ # Lists all policy descriptions.
59
59
  #
60
60
  # @param resource_group_name [String] The name of the resource group.
61
61
  # @param service_name [String] The name of the API Management service.
@@ -82,7 +82,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
82
82
  # Set Headers
83
83
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
84
84
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
85
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policySnippets'
85
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policyDescriptions'
86
86
 
87
87
  request_url = @base_url || @client.base_url
88
88
 
@@ -101,15 +101,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
101
101
  response_content = http_response.body
102
102
  unless status_code == 200
103
103
  error_model = JSON.load(response_content)
104
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
104
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
105
105
  end
106
106
 
107
107
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
108
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
109
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
108
110
  # Deserialize Response
109
111
  if status_code == 200
110
112
  begin
111
113
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
112
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicySnippetsCollection.mapper()
114
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::PolicyDescriptionCollection.mapper()
113
115
  result.body = @client.deserialize(result_mapper, parsed_response)
114
116
  rescue Exception => e
115
117
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ApiManagement::Mgmt::V2018_01_01_preview
6
+ module Azure::ApiManagement::Mgmt::V2019_12_01
7
7
  #
8
8
  # ApiManagement Client
9
9
  #
@@ -26,30 +26,28 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
26
26
  #
27
27
  # @param resource_group_name [String] The name of the resource group.
28
28
  # @param service_name [String] The name of the API Management service.
29
- # @param filter [String] | Field | Supported operators | Supported
30
- # functions |
31
- # |-------------|------------------------|---------------------------------------------|
32
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
33
- # endswith |
34
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
35
- # endswith |
36
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
37
- # endswith |
38
- # | terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
39
- # endswith |
40
- # | state | eq |
41
- # |
29
+ # @param filter [String] | Field | Usage | Supported
30
+ # operators | Supported functions
31
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
32
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
33
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
34
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
35
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
36
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
37
+ # | </br>| state | filter | eq | | </br>| groups | expand | | |
38
+ # </br>
42
39
  # @param top [Integer] Number of records to return.
43
40
  # @param skip [Integer] Number of records to skip.
44
41
  # @param expand_groups [Boolean] When set to true, the response contains an
45
42
  # array of groups that have visibility to the product. The default is false.
43
+ # @param tags [String] Products which are part of a specific tag.
46
44
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
45
  # will be added to the HTTP request.
48
46
  #
49
47
  # @return [Array<ProductContract>] operation results.
50
48
  #
51
- def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
52
- first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, custom_headers:custom_headers)
49
+ def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, tags:nil, custom_headers:nil)
50
+ first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, tags:tags, custom_headers:custom_headers)
53
51
  first_page.get_all_items
54
52
  end
55
53
 
@@ -58,30 +56,28 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
58
56
  #
59
57
  # @param resource_group_name [String] The name of the resource group.
60
58
  # @param service_name [String] The name of the API Management service.
61
- # @param filter [String] | Field | Supported operators | Supported
62
- # functions |
63
- # |-------------|------------------------|---------------------------------------------|
64
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
65
- # endswith |
66
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
67
- # endswith |
68
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
69
- # endswith |
70
- # | terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
71
- # endswith |
72
- # | state | eq |
73
- # |
59
+ # @param filter [String] | Field | Usage | Supported
60
+ # operators | Supported functions
61
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
62
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
63
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
64
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
65
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
66
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
67
+ # | </br>| state | filter | eq | | </br>| groups | expand | | |
68
+ # </br>
74
69
  # @param top [Integer] Number of records to return.
75
70
  # @param skip [Integer] Number of records to skip.
76
71
  # @param expand_groups [Boolean] When set to true, the response contains an
77
72
  # array of groups that have visibility to the product. The default is false.
73
+ # @param tags [String] Products which are part of a specific tag.
78
74
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
79
75
  # will be added to the HTTP request.
80
76
  #
81
77
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
82
78
  #
83
- def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
84
- list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, custom_headers:custom_headers).value!
79
+ def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, tags:nil, custom_headers:nil)
80
+ list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, tags:tags, custom_headers:custom_headers).value!
85
81
  end
86
82
 
87
83
  #
@@ -89,29 +85,27 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
89
85
  #
90
86
  # @param resource_group_name [String] The name of the resource group.
91
87
  # @param service_name [String] The name of the API Management service.
92
- # @param filter [String] | Field | Supported operators | Supported
93
- # functions |
94
- # |-------------|------------------------|---------------------------------------------|
95
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
96
- # endswith |
97
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
98
- # endswith |
99
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
100
- # endswith |
101
- # | terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
102
- # endswith |
103
- # | state | eq |
104
- # |
88
+ # @param filter [String] | Field | Usage | Supported
89
+ # operators | Supported functions
90
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
91
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
92
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
93
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
94
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
95
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
96
+ # | </br>| state | filter | eq | | </br>| groups | expand | | |
97
+ # </br>
105
98
  # @param top [Integer] Number of records to return.
106
99
  # @param skip [Integer] Number of records to skip.
107
100
  # @param expand_groups [Boolean] When set to true, the response contains an
108
101
  # array of groups that have visibility to the product. The default is false.
102
+ # @param tags [String] Products which are part of a specific tag.
109
103
  # @param [Hash{String => String}] A hash of custom headers that will be added
110
104
  # to the HTTP request.
111
105
  #
112
106
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
113
107
  #
114
- def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
108
+ def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, tags:nil, custom_headers:nil)
115
109
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
116
110
  fail ArgumentError, 'service_name is nil' if service_name.nil?
117
111
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -136,7 +130,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
136
130
  options = {
137
131
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
138
132
  path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
139
- query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'expandGroups' => expand_groups,'api-version' => @client.api_version},
133
+ query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'expandGroups' => expand_groups,'tags' => tags,'api-version' => @client.api_version},
140
134
  headers: request_headers.merge(custom_headers || {}),
141
135
  base_url: request_url
142
136
  }
@@ -152,11 +146,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
152
146
  end
153
147
 
154
148
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
149
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
150
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
155
151
  # Deserialize Response
156
152
  if status_code == 200
157
153
  begin
158
154
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
159
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ProductCollection.mapper()
155
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ProductCollection.mapper()
160
156
  result.body = @client.deserialize(result_mapper, parsed_response)
161
157
  rescue Exception => e
162
158
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -223,9 +219,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
223
219
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
224
220
  fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
225
221
  fail ArgumentError, 'product_id is nil' if product_id.nil?
226
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
222
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
227
223
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
228
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
229
224
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
230
225
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
231
226
 
@@ -259,6 +254,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
259
254
  end
260
255
 
261
256
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
257
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
258
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
262
259
 
263
260
  result
264
261
  end
@@ -318,9 +315,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
318
315
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
319
316
  fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
320
317
  fail ArgumentError, 'product_id is nil' if product_id.nil?
321
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
318
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
322
319
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
323
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
324
320
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
325
321
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
326
322
 
@@ -354,11 +350,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
354
350
  end
355
351
 
356
352
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
353
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
354
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
357
355
  # Deserialize Response
358
356
  if status_code == 200
359
357
  begin
360
358
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
361
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ProductContract.mapper()
359
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ProductContract.mapper()
362
360
  result.body = @client.deserialize(result_mapper, parsed_response)
363
361
  rescue Exception => e
364
362
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -432,9 +430,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
432
430
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
433
431
  fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
434
432
  fail ArgumentError, 'product_id is nil' if product_id.nil?
435
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
433
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
436
434
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
437
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
438
435
  fail ArgumentError, 'parameters is nil' if parameters.nil?
439
436
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
440
437
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -449,7 +446,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
449
446
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
450
447
 
451
448
  # Serialize Request
452
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ProductContract.mapper()
449
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ProductContract.mapper()
453
450
  request_content = @client.serialize(request_mapper, parameters)
454
451
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
455
452
 
@@ -477,11 +474,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
477
474
  end
478
475
 
479
476
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
477
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
478
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
480
479
  # Deserialize Response
481
480
  if status_code == 201
482
481
  begin
483
482
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
484
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ProductContract.mapper()
483
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ProductContract.mapper()
485
484
  result.body = @client.deserialize(result_mapper, parsed_response)
486
485
  rescue Exception => e
487
486
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -491,7 +490,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
491
490
  if status_code == 200
492
491
  begin
493
492
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
494
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ProductContract.mapper()
493
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ProductContract.mapper()
495
494
  result.body = @client.deserialize(result_mapper, parsed_response)
496
495
  rescue Exception => e
497
496
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -505,7 +504,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
505
504
  end
506
505
 
507
506
  #
508
- # Update product.
507
+ # Update existing product details.
509
508
  #
510
509
  # @param resource_group_name [String] The name of the resource group.
511
510
  # @param service_name [String] The name of the API Management service.
@@ -525,7 +524,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
525
524
  end
526
525
 
527
526
  #
528
- # Update product.
527
+ # Update existing product details.
529
528
  #
530
529
  # @param resource_group_name [String] The name of the resource group.
531
530
  # @param service_name [String] The name of the API Management service.
@@ -545,7 +544,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
545
544
  end
546
545
 
547
546
  #
548
- # Update product.
547
+ # Update existing product details.
549
548
  #
550
549
  # @param resource_group_name [String] The name of the resource group.
551
550
  # @param service_name [String] The name of the API Management service.
@@ -567,9 +566,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
567
566
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
568
567
  fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
569
568
  fail ArgumentError, 'product_id is nil' if product_id.nil?
570
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
569
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
571
570
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
572
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
573
571
  fail ArgumentError, 'parameters is nil' if parameters.nil?
574
572
  fail ArgumentError, 'if_match is nil' if if_match.nil?
575
573
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -585,7 +583,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
585
583
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
586
584
 
587
585
  # Serialize Request
588
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ProductUpdateParameters.mapper()
586
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ProductUpdateParameters.mapper()
589
587
  request_content = @client.serialize(request_mapper, parameters)
590
588
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
591
589
 
@@ -613,6 +611,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
613
611
  end
614
612
 
615
613
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
614
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
615
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
616
616
 
617
617
  result
618
618
  end
@@ -686,9 +686,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
686
686
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
687
687
  fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
688
688
  fail ArgumentError, 'product_id is nil' if product_id.nil?
689
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
689
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
690
690
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
691
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
692
691
  fail ArgumentError, 'if_match is nil' if if_match.nil?
693
692
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
694
693
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -724,6 +723,146 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
724
723
  end
725
724
 
726
725
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
726
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
727
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
728
+
729
+ result
730
+ end
731
+
732
+ promise.execute
733
+ end
734
+
735
+ #
736
+ # Lists a collection of products associated with tags.
737
+ #
738
+ # @param resource_group_name [String] The name of the resource group.
739
+ # @param service_name [String] The name of the API Management service.
740
+ # @param filter [String] | Field | Usage | Supported
741
+ # operators | Supported functions
742
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
743
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
744
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
745
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
746
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
747
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
748
+ # | </br>| state | filter | eq | substringof, contains, startswith, endswith |
749
+ # </br>
750
+ # @param top [Integer] Number of records to return.
751
+ # @param skip [Integer] Number of records to skip.
752
+ # @param include_not_tagged_products [Boolean] Include not tagged Products.
753
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
754
+ # will be added to the HTTP request.
755
+ #
756
+ # @return [Array<TagResourceContract>] operation results.
757
+ #
758
+ def list_by_tags(resource_group_name, service_name, filter:nil, top:nil, skip:nil, include_not_tagged_products:nil, custom_headers:nil)
759
+ first_page = list_by_tags_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, include_not_tagged_products:include_not_tagged_products, custom_headers:custom_headers)
760
+ first_page.get_all_items
761
+ end
762
+
763
+ #
764
+ # Lists a collection of products associated with tags.
765
+ #
766
+ # @param resource_group_name [String] The name of the resource group.
767
+ # @param service_name [String] The name of the API Management service.
768
+ # @param filter [String] | Field | Usage | Supported
769
+ # operators | Supported functions
770
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
771
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
772
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
773
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
774
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
775
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
776
+ # | </br>| state | filter | eq | substringof, contains, startswith, endswith |
777
+ # </br>
778
+ # @param top [Integer] Number of records to return.
779
+ # @param skip [Integer] Number of records to skip.
780
+ # @param include_not_tagged_products [Boolean] Include not tagged Products.
781
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
782
+ # will be added to the HTTP request.
783
+ #
784
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
785
+ #
786
+ def list_by_tags_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, include_not_tagged_products:nil, custom_headers:nil)
787
+ list_by_tags_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, include_not_tagged_products:include_not_tagged_products, custom_headers:custom_headers).value!
788
+ end
789
+
790
+ #
791
+ # Lists a collection of products associated with tags.
792
+ #
793
+ # @param resource_group_name [String] The name of the resource group.
794
+ # @param service_name [String] The name of the API Management service.
795
+ # @param filter [String] | Field | Usage | Supported
796
+ # operators | Supported functions
797
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
798
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
799
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
800
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
801
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
802
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
803
+ # | </br>| state | filter | eq | substringof, contains, startswith, endswith |
804
+ # </br>
805
+ # @param top [Integer] Number of records to return.
806
+ # @param skip [Integer] Number of records to skip.
807
+ # @param include_not_tagged_products [Boolean] Include not tagged Products.
808
+ # @param [Hash{String => String}] A hash of custom headers that will be added
809
+ # to the HTTP request.
810
+ #
811
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
812
+ #
813
+ def list_by_tags_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, include_not_tagged_products:nil, custom_headers:nil)
814
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
815
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
816
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
817
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
818
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
819
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
820
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
821
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
822
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
823
+
824
+
825
+ request_headers = {}
826
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
827
+
828
+ # Set Headers
829
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
830
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
831
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/productsByTags'
832
+
833
+ request_url = @base_url || @client.base_url
834
+
835
+ options = {
836
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
837
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
838
+ query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'includeNotTaggedProducts' => include_not_tagged_products,'api-version' => @client.api_version},
839
+ headers: request_headers.merge(custom_headers || {}),
840
+ base_url: request_url
841
+ }
842
+ promise = @client.make_request_async(:get, path_template, options)
843
+
844
+ promise = promise.then do |result|
845
+ http_response = result.response
846
+ status_code = http_response.status
847
+ response_content = http_response.body
848
+ unless status_code == 200
849
+ error_model = JSON.load(response_content)
850
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
851
+ end
852
+
853
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
854
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
855
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
856
+ # Deserialize Response
857
+ if status_code == 200
858
+ begin
859
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
860
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::TagResourceCollection.mapper()
861
+ result.body = @client.deserialize(result_mapper, parsed_response)
862
+ rescue Exception => e
863
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
864
+ end
865
+ end
727
866
 
728
867
  result
729
868
  end
@@ -802,11 +941,103 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
802
941
  end
803
942
 
804
943
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
944
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
945
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
946
+ # Deserialize Response
947
+ if status_code == 200
948
+ begin
949
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
950
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ProductCollection.mapper()
951
+ result.body = @client.deserialize(result_mapper, parsed_response)
952
+ rescue Exception => e
953
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
954
+ end
955
+ end
956
+
957
+ result
958
+ end
959
+
960
+ promise.execute
961
+ end
962
+
963
+ #
964
+ # Lists a collection of products associated with tags.
965
+ #
966
+ # @param next_page_link [String] The NextLink from the previous successful call
967
+ # to List operation.
968
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
969
+ # will be added to the HTTP request.
970
+ #
971
+ # @return [TagResourceCollection] operation results.
972
+ #
973
+ def list_by_tags_next(next_page_link, custom_headers:nil)
974
+ response = list_by_tags_next_async(next_page_link, custom_headers:custom_headers).value!
975
+ response.body unless response.nil?
976
+ end
977
+
978
+ #
979
+ # Lists a collection of products associated with tags.
980
+ #
981
+ # @param next_page_link [String] The NextLink from the previous successful call
982
+ # to List operation.
983
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
984
+ # will be added to the HTTP request.
985
+ #
986
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
987
+ #
988
+ def list_by_tags_next_with_http_info(next_page_link, custom_headers:nil)
989
+ list_by_tags_next_async(next_page_link, custom_headers:custom_headers).value!
990
+ end
991
+
992
+ #
993
+ # Lists a collection of products associated with tags.
994
+ #
995
+ # @param next_page_link [String] The NextLink from the previous successful call
996
+ # to List operation.
997
+ # @param [Hash{String => String}] A hash of custom headers that will be added
998
+ # to the HTTP request.
999
+ #
1000
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1001
+ #
1002
+ def list_by_tags_next_async(next_page_link, custom_headers:nil)
1003
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1004
+
1005
+
1006
+ request_headers = {}
1007
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1008
+
1009
+ # Set Headers
1010
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1011
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1012
+ path_template = '{nextLink}'
1013
+
1014
+ request_url = @base_url || @client.base_url
1015
+
1016
+ options = {
1017
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1018
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1019
+ headers: request_headers.merge(custom_headers || {}),
1020
+ base_url: request_url
1021
+ }
1022
+ promise = @client.make_request_async(:get, path_template, options)
1023
+
1024
+ promise = promise.then do |result|
1025
+ http_response = result.response
1026
+ status_code = http_response.status
1027
+ response_content = http_response.body
1028
+ unless status_code == 200
1029
+ error_model = JSON.load(response_content)
1030
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1031
+ end
1032
+
1033
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1034
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1035
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
805
1036
  # Deserialize Response
806
1037
  if status_code == 200
807
1038
  begin
808
1039
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
809
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ProductCollection.mapper()
1040
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::TagResourceCollection.mapper()
810
1041
  result.body = @client.deserialize(result_mapper, parsed_response)
811
1042
  rescue Exception => e
812
1043
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -824,31 +1055,29 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
824
1055
  #
825
1056
  # @param resource_group_name [String] The name of the resource group.
826
1057
  # @param service_name [String] The name of the API Management service.
827
- # @param filter [String] | Field | Supported operators | Supported
828
- # functions |
829
- # |-------------|------------------------|---------------------------------------------|
830
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
831
- # endswith |
832
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
833
- # endswith |
834
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
835
- # endswith |
836
- # | terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
837
- # endswith |
838
- # | state | eq |
839
- # |
1058
+ # @param filter [String] | Field | Usage | Supported
1059
+ # operators | Supported functions
1060
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
1061
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
1062
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
1063
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
1064
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
1065
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
1066
+ # | </br>| state | filter | eq | | </br>| groups | expand | | |
1067
+ # </br>
840
1068
  # @param top [Integer] Number of records to return.
841
1069
  # @param skip [Integer] Number of records to skip.
842
1070
  # @param expand_groups [Boolean] When set to true, the response contains an
843
1071
  # array of groups that have visibility to the product. The default is false.
1072
+ # @param tags [String] Products which are part of a specific tag.
844
1073
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
845
1074
  # will be added to the HTTP request.
846
1075
  #
847
1076
  # @return [ProductCollection] which provide lazy access to pages of the
848
1077
  # response.
849
1078
  #
850
- def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
851
- response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, custom_headers:custom_headers).value!
1079
+ def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, tags:nil, custom_headers:nil)
1080
+ response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, tags:tags, custom_headers:custom_headers).value!
852
1081
  unless response.nil?
853
1082
  page = response.body
854
1083
  page.next_method = Proc.new do |next_page_link|
@@ -858,5 +1087,40 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
858
1087
  end
859
1088
  end
860
1089
 
1090
+ #
1091
+ # Lists a collection of products associated with tags.
1092
+ #
1093
+ # @param resource_group_name [String] The name of the resource group.
1094
+ # @param service_name [String] The name of the API Management service.
1095
+ # @param filter [String] | Field | Usage | Supported
1096
+ # operators | Supported functions
1097
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
1098
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
1099
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
1100
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
1101
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| terms |
1102
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
1103
+ # | </br>| state | filter | eq | substringof, contains, startswith, endswith |
1104
+ # </br>
1105
+ # @param top [Integer] Number of records to return.
1106
+ # @param skip [Integer] Number of records to skip.
1107
+ # @param include_not_tagged_products [Boolean] Include not tagged Products.
1108
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1109
+ # will be added to the HTTP request.
1110
+ #
1111
+ # @return [TagResourceCollection] which provide lazy access to pages of the
1112
+ # response.
1113
+ #
1114
+ def list_by_tags_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, include_not_tagged_products:nil, custom_headers:nil)
1115
+ response = list_by_tags_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, include_not_tagged_products:include_not_tagged_products, custom_headers:custom_headers).value!
1116
+ unless response.nil?
1117
+ page = response.body
1118
+ page.next_method = Proc.new do |next_page_link|
1119
+ list_by_tags_next_async(next_page_link, custom_headers:custom_headers)
1120
+ end
1121
+ page
1122
+ end
1123
+ end
1124
+
861
1125
  end
862
1126
  end