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
  #
@@ -28,10 +28,11 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
28
28
  # @param service_name [String] The name of the API Management service.
29
29
  # @param api_id [String] API identifier. Must be unique in the current API
30
30
  # Management service instance.
31
- # @param filter [String] | Field | Supported operators | Supported
32
- # functions |
33
- # |-------------|------------------------|-----------------------------------|
34
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
31
+ # @param filter [String] | Field | Usage | Supported
32
+ # operators | Supported functions
33
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
34
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
35
+ # | </br>
35
36
  # @param top [Integer] Number of records to return.
36
37
  # @param skip [Integer] Number of records to skip.
37
38
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -51,10 +52,11 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
51
52
  # @param service_name [String] The name of the API Management service.
52
53
  # @param api_id [String] API identifier. Must be unique in the current API
53
54
  # Management service instance.
54
- # @param filter [String] | Field | Supported operators | Supported
55
- # functions |
56
- # |-------------|------------------------|-----------------------------------|
57
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
55
+ # @param filter [String] | Field | Usage | Supported
56
+ # operators | Supported functions
57
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
58
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
59
+ # | </br>
58
60
  # @param top [Integer] Number of records to return.
59
61
  # @param skip [Integer] Number of records to skip.
60
62
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -73,10 +75,11 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
73
75
  # @param service_name [String] The name of the API Management service.
74
76
  # @param api_id [String] API identifier. Must be unique in the current API
75
77
  # Management service instance.
76
- # @param filter [String] | Field | Supported operators | Supported
77
- # functions |
78
- # |-------------|------------------------|-----------------------------------|
79
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
78
+ # @param filter [String] | Field | Usage | Supported
79
+ # operators | Supported functions
80
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
81
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
82
+ # | </br>
80
83
  # @param top [Integer] Number of records to return.
81
84
  # @param skip [Integer] Number of records to skip.
82
85
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -93,11 +96,10 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
93
96
  fail ArgumentError, 'api_id is nil' if api_id.nil?
94
97
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
95
98
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
96
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
97
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
98
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
99
99
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
100
100
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
101
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
102
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
101
103
 
102
104
 
103
105
  request_headers = {}
@@ -113,7 +115,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
113
115
  options = {
114
116
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
115
117
  path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
116
- query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$skip' => skip},
118
+ query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
117
119
  headers: request_headers.merge(custom_headers || {}),
118
120
  base_url: request_url
119
121
  }
@@ -129,11 +131,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
129
131
  end
130
132
 
131
133
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
134
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
135
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
132
136
  # Deserialize Response
133
137
  if status_code == 200
134
138
  begin
135
139
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
136
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticCollection.mapper()
140
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticCollection.mapper()
137
141
  result.body = @client.deserialize(result_mapper, parsed_response)
138
142
  rescue Exception => e
139
143
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -208,11 +212,10 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
208
212
  fail ArgumentError, 'api_id is nil' if api_id.nil?
209
213
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
210
214
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
211
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
212
215
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
213
216
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
214
217
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
215
- fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
218
+ fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
216
219
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
217
220
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
218
221
 
@@ -246,6 +249,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
246
249
  end
247
250
 
248
251
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
252
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
253
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
249
254
 
250
255
  result
251
256
  end
@@ -313,11 +318,10 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
313
318
  fail ArgumentError, 'api_id is nil' if api_id.nil?
314
319
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
315
320
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
316
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
317
321
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
318
322
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
319
323
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
320
- fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
324
+ fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
321
325
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
322
326
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
323
327
 
@@ -351,11 +355,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
351
355
  end
352
356
 
353
357
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
358
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
359
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
354
360
  # Deserialize Response
355
361
  if status_code == 200
356
362
  begin
357
363
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
358
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticContract.mapper()
364
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticContract.mapper()
359
365
  result.body = @client.deserialize(result_mapper, parsed_response)
360
366
  rescue Exception => e
361
367
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -437,11 +443,10 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
437
443
  fail ArgumentError, 'api_id is nil' if api_id.nil?
438
444
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
439
445
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
440
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
441
446
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
442
447
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
443
448
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
444
- fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
449
+ fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
445
450
  fail ArgumentError, 'parameters is nil' if parameters.nil?
446
451
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
447
452
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -456,7 +461,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
456
461
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
457
462
 
458
463
  # Serialize Request
459
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticContract.mapper()
464
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticContract.mapper()
460
465
  request_content = @client.serialize(request_mapper, parameters)
461
466
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
462
467
 
@@ -484,11 +489,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
484
489
  end
485
490
 
486
491
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
492
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
493
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
487
494
  # Deserialize Response
488
495
  if status_code == 201
489
496
  begin
490
497
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
491
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticContract.mapper()
498
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticContract.mapper()
492
499
  result.body = @client.deserialize(result_mapper, parsed_response)
493
500
  rescue Exception => e
494
501
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -498,7 +505,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
498
505
  if status_code == 200
499
506
  begin
500
507
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
501
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticContract.mapper()
508
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticContract.mapper()
502
509
  result.body = @client.deserialize(result_mapper, parsed_response)
503
510
  rescue Exception => e
504
511
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -582,11 +589,10 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
582
589
  fail ArgumentError, 'api_id is nil' if api_id.nil?
583
590
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
584
591
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
585
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
586
592
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
587
593
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
588
594
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
589
- fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
595
+ fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
590
596
  fail ArgumentError, 'parameters is nil' if parameters.nil?
591
597
  fail ArgumentError, 'if_match is nil' if if_match.nil?
592
598
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -602,7 +608,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
602
608
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
603
609
 
604
610
  # Serialize Request
605
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticContract.mapper()
611
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticContract.mapper()
606
612
  request_content = @client.serialize(request_mapper, parameters)
607
613
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
608
614
 
@@ -630,6 +636,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
630
636
  end
631
637
 
632
638
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
639
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
640
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
633
641
 
634
642
  result
635
643
  end
@@ -705,11 +713,10 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
705
713
  fail ArgumentError, 'api_id is nil' if api_id.nil?
706
714
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
707
715
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
708
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
709
716
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
710
717
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
711
718
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
712
- fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
719
+ fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !diagnostic_id.nil? && diagnostic_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
713
720
  fail ArgumentError, 'if_match is nil' if if_match.nil?
714
721
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
715
722
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -745,6 +752,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
745
752
  end
746
753
 
747
754
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
755
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
756
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
748
757
 
749
758
  result
750
759
  end
@@ -823,11 +832,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
823
832
  end
824
833
 
825
834
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
835
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
836
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
826
837
  # Deserialize Response
827
838
  if status_code == 200
828
839
  begin
829
840
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
830
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticCollection.mapper()
841
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticCollection.mapper()
831
842
  result.body = @client.deserialize(result_mapper, parsed_response)
832
843
  rescue Exception => e
833
844
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -847,10 +858,11 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
847
858
  # @param service_name [String] The name of the API Management service.
848
859
  # @param api_id [String] API identifier. Must be unique in the current API
849
860
  # Management service instance.
850
- # @param filter [String] | Field | Supported operators | Supported
851
- # functions |
852
- # |-------------|------------------------|-----------------------------------|
853
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
861
+ # @param filter [String] | Field | Usage | Supported
862
+ # operators | Supported functions
863
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
864
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
865
+ # | </br>
854
866
  # @param top [Integer] Number of records to return.
855
867
  # @param skip [Integer] Number of records to skip.
856
868
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -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
  #
@@ -32,7 +32,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
32
32
  # where n is the revision number.
33
33
  # @param format [ExportFormat] Format in which to export the Api Details to the
34
34
  # Storage Blob with Sas Key valid for 5 minutes. Possible values include:
35
- # 'Swagger', 'Wsdl', 'Wadl'
35
+ # 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson'
36
36
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
37
  # will be added to the HTTP request.
38
38
  #
@@ -54,7 +54,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
54
54
  # where n is the revision number.
55
55
  # @param format [ExportFormat] Format in which to export the Api Details to the
56
56
  # Storage Blob with Sas Key valid for 5 minutes. Possible values include:
57
- # 'Swagger', 'Wsdl', 'Wadl'
57
+ # 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson'
58
58
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
59
59
  # will be added to the HTTP request.
60
60
  #
@@ -75,7 +75,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
75
75
  # where n is the revision number.
76
76
  # @param format [ExportFormat] Format in which to export the Api Details to the
77
77
  # Storage Blob with Sas Key valid for 5 minutes. Possible values include:
78
- # 'Swagger', 'Wsdl', 'Wadl'
78
+ # 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson'
79
79
  # @param [Hash{String => String}] A hash of custom headers that will be added
80
80
  # to the HTTP request.
81
81
  #
@@ -126,11 +126,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
126
126
  end
127
127
 
128
128
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
129
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
130
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
129
131
  # Deserialize Response
130
132
  if status_code == 200
131
133
  begin
132
134
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
133
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiExportResult.mapper()
135
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiExportResult.mapper()
134
136
  result.body = @client.deserialize(result_mapper, parsed_response)
135
137
  rescue Exception => e
136
138
  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
  #
@@ -22,19 +22,19 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
22
22
  attr_reader :client
23
23
 
24
24
  #
25
- # Lists all issues assosiated with the specified API.
25
+ # Lists all issues associated with the specified API.
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
29
  # @param api_id [String] API identifier. Must be unique in the current API
30
30
  # Management service instance.
31
- # @param filter [String] | Field | Supported operators | Supported
32
- # functions |
33
- # |-------------|------------------------|-----------------------------------|
34
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
35
- # | state | eq | |
36
- # | userId | ge, le, eq, ne, gt, lt | substringof, startswith,
37
- # endswith |
31
+ # @param filter [String] | Field | Usage | Supported
32
+ # operators | Supported functions
33
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
34
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
35
+ # | </br>| userId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
36
+ # startswith, endswith | </br>| state | filter | eq | | </br>
37
+ # @param expand_comments_attachments [Boolean] Expand the comment attachments.
38
38
  # @param top [Integer] Number of records to return.
39
39
  # @param skip [Integer] Number of records to skip.
40
40
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -42,25 +42,25 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
42
42
  #
43
43
  # @return [Array<IssueContract>] operation results.
44
44
  #
45
- def list_by_service(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
46
- first_page = list_by_service_as_lazy(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
45
+ def list_by_service(resource_group_name, service_name, api_id, filter:nil, expand_comments_attachments:nil, top:nil, skip:nil, custom_headers:nil)
46
+ first_page = list_by_service_as_lazy(resource_group_name, service_name, api_id, filter:filter, expand_comments_attachments:expand_comments_attachments, top:top, skip:skip, custom_headers:custom_headers)
47
47
  first_page.get_all_items
48
48
  end
49
49
 
50
50
  #
51
- # Lists all issues assosiated with the specified API.
51
+ # Lists all issues associated with the specified API.
52
52
  #
53
53
  # @param resource_group_name [String] The name of the resource group.
54
54
  # @param service_name [String] The name of the API Management service.
55
55
  # @param api_id [String] API identifier. Must be unique in the current API
56
56
  # Management service instance.
57
- # @param filter [String] | Field | Supported operators | Supported
58
- # functions |
59
- # |-------------|------------------------|-----------------------------------|
60
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
61
- # | state | eq | |
62
- # | userId | ge, le, eq, ne, gt, lt | substringof, startswith,
63
- # endswith |
57
+ # @param filter [String] | Field | Usage | Supported
58
+ # operators | Supported functions
59
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
60
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
61
+ # | </br>| userId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
62
+ # startswith, endswith | </br>| state | filter | eq | | </br>
63
+ # @param expand_comments_attachments [Boolean] Expand the comment attachments.
64
64
  # @param top [Integer] Number of records to return.
65
65
  # @param skip [Integer] Number of records to skip.
66
66
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -68,24 +68,24 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
68
68
  #
69
69
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
70
70
  #
71
- def list_by_service_with_http_info(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
72
- list_by_service_async(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
71
+ def list_by_service_with_http_info(resource_group_name, service_name, api_id, filter:nil, expand_comments_attachments:nil, top:nil, skip:nil, custom_headers:nil)
72
+ list_by_service_async(resource_group_name, service_name, api_id, filter:filter, expand_comments_attachments:expand_comments_attachments, top:top, skip:skip, custom_headers:custom_headers).value!
73
73
  end
74
74
 
75
75
  #
76
- # Lists all issues assosiated with the specified API.
76
+ # Lists all issues associated with the specified API.
77
77
  #
78
78
  # @param resource_group_name [String] The name of the resource group.
79
79
  # @param service_name [String] The name of the API Management service.
80
80
  # @param api_id [String] API identifier. Must be unique in the current API
81
81
  # Management service instance.
82
- # @param filter [String] | Field | Supported operators | Supported
83
- # functions |
84
- # |-------------|------------------------|-----------------------------------|
85
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
86
- # | state | eq | |
87
- # | userId | ge, le, eq, ne, gt, lt | substringof, startswith,
88
- # endswith |
82
+ # @param filter [String] | Field | Usage | Supported
83
+ # operators | Supported functions
84
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
85
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
86
+ # | </br>| userId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
87
+ # startswith, endswith | </br>| state | filter | eq | | </br>
88
+ # @param expand_comments_attachments [Boolean] Expand the comment attachments.
89
89
  # @param top [Integer] Number of records to return.
90
90
  # @param skip [Integer] Number of records to skip.
91
91
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -93,7 +93,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
93
93
  #
94
94
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
95
95
  #
96
- def list_by_service_async(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
96
+ def list_by_service_async(resource_group_name, service_name, api_id, filter:nil, expand_comments_attachments:nil, top:nil, skip:nil, custom_headers:nil)
97
97
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
98
98
  fail ArgumentError, 'service_name is nil' if service_name.nil?
99
99
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -102,11 +102,10 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
102
102
  fail ArgumentError, 'api_id is nil' if api_id.nil?
103
103
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
104
104
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
105
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
106
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
107
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
108
105
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
109
106
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
107
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
108
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
110
109
 
111
110
 
112
111
  request_headers = {}
@@ -122,7 +121,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
122
121
  options = {
123
122
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
124
123
  path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
125
- query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$skip' => skip},
124
+ query_params: {'$filter' => filter,'expandCommentsAttachments' => expand_comments_attachments,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
126
125
  headers: request_headers.merge(custom_headers || {}),
127
126
  base_url: request_url
128
127
  }
@@ -138,11 +137,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
138
137
  end
139
138
 
140
139
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
140
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
141
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
141
142
  # Deserialize Response
142
143
  if status_code == 200
143
144
  begin
144
145
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
145
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IssueCollection.mapper()
146
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueCollection.mapper()
146
147
  result.body = @client.deserialize(result_mapper, parsed_response)
147
148
  rescue Exception => e
148
149
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -217,7 +218,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
217
218
  fail ArgumentError, 'api_id is nil' if api_id.nil?
218
219
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
219
220
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
220
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
221
221
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
222
222
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
223
223
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -255,6 +255,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
255
255
  end
256
256
 
257
257
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
258
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
259
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
258
260
 
259
261
  result
260
262
  end
@@ -271,13 +273,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
271
273
  # Management service instance.
272
274
  # @param issue_id [String] Issue identifier. Must be unique in the current API
273
275
  # Management service instance.
276
+ # @param expand_comments_attachments [Boolean] Expand the comment attachments.
274
277
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
275
278
  # will be added to the HTTP request.
276
279
  #
277
280
  # @return [IssueContract] operation results.
278
281
  #
279
- def get(resource_group_name, service_name, api_id, issue_id, custom_headers:nil)
280
- response = get_async(resource_group_name, service_name, api_id, issue_id, custom_headers:custom_headers).value!
282
+ def get(resource_group_name, service_name, api_id, issue_id, expand_comments_attachments:nil, custom_headers:nil)
283
+ response = get_async(resource_group_name, service_name, api_id, issue_id, expand_comments_attachments:expand_comments_attachments, custom_headers:custom_headers).value!
281
284
  response.body unless response.nil?
282
285
  end
283
286
 
@@ -290,13 +293,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
290
293
  # Management service instance.
291
294
  # @param issue_id [String] Issue identifier. Must be unique in the current API
292
295
  # Management service instance.
296
+ # @param expand_comments_attachments [Boolean] Expand the comment attachments.
293
297
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
294
298
  # will be added to the HTTP request.
295
299
  #
296
300
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
297
301
  #
298
- def get_with_http_info(resource_group_name, service_name, api_id, issue_id, custom_headers:nil)
299
- get_async(resource_group_name, service_name, api_id, issue_id, custom_headers:custom_headers).value!
302
+ def get_with_http_info(resource_group_name, service_name, api_id, issue_id, expand_comments_attachments:nil, custom_headers:nil)
303
+ get_async(resource_group_name, service_name, api_id, issue_id, expand_comments_attachments:expand_comments_attachments, custom_headers:custom_headers).value!
300
304
  end
301
305
 
302
306
  #
@@ -308,12 +312,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
308
312
  # Management service instance.
309
313
  # @param issue_id [String] Issue identifier. Must be unique in the current API
310
314
  # Management service instance.
315
+ # @param expand_comments_attachments [Boolean] Expand the comment attachments.
311
316
  # @param [Hash{String => String}] A hash of custom headers that will be added
312
317
  # to the HTTP request.
313
318
  #
314
319
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
315
320
  #
316
- def get_async(resource_group_name, service_name, api_id, issue_id, custom_headers:nil)
321
+ def get_async(resource_group_name, service_name, api_id, issue_id, expand_comments_attachments:nil, custom_headers:nil)
317
322
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
318
323
  fail ArgumentError, 'service_name is nil' if service_name.nil?
319
324
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -322,7 +327,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
322
327
  fail ArgumentError, 'api_id is nil' if api_id.nil?
323
328
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
324
329
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
325
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
326
330
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
327
331
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
328
332
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -344,7 +348,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
344
348
  options = {
345
349
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
346
350
  path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'issueId' => issue_id,'subscriptionId' => @client.subscription_id},
347
- query_params: {'api-version' => @client.api_version},
351
+ query_params: {'expandCommentsAttachments' => expand_comments_attachments,'api-version' => @client.api_version},
348
352
  headers: request_headers.merge(custom_headers || {}),
349
353
  base_url: request_url
350
354
  }
@@ -360,11 +364,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
360
364
  end
361
365
 
362
366
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
367
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
368
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
363
369
  # Deserialize Response
364
370
  if status_code == 200
365
371
  begin
366
372
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
367
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IssueContract.mapper()
373
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueContract.mapper()
368
374
  result.body = @client.deserialize(result_mapper, parsed_response)
369
375
  rescue Exception => e
370
376
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -387,9 +393,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
387
393
  # @param issue_id [String] Issue identifier. Must be unique in the current API
388
394
  # Management service instance.
389
395
  # @param parameters [IssueContract] Create parameters.
390
- # @param if_match [String] ETag of the Issue Entity. ETag should match the
391
- # current entity state from the header response of the GET request or it should
392
- # be * for unconditional update.
396
+ # @param if_match [String] ETag of the Entity. Not required when creating an
397
+ # entity, but required when updating an entity.
393
398
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
394
399
  # will be added to the HTTP request.
395
400
  #
@@ -410,9 +415,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
410
415
  # @param issue_id [String] Issue identifier. Must be unique in the current API
411
416
  # Management service instance.
412
417
  # @param parameters [IssueContract] Create parameters.
413
- # @param if_match [String] ETag of the Issue Entity. ETag should match the
414
- # current entity state from the header response of the GET request or it should
415
- # be * for unconditional update.
418
+ # @param if_match [String] ETag of the Entity. Not required when creating an
419
+ # entity, but required when updating an entity.
416
420
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
417
421
  # will be added to the HTTP request.
418
422
  #
@@ -432,9 +436,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
432
436
  # @param issue_id [String] Issue identifier. Must be unique in the current API
433
437
  # Management service instance.
434
438
  # @param parameters [IssueContract] Create parameters.
435
- # @param if_match [String] ETag of the Issue Entity. ETag should match the
436
- # current entity state from the header response of the GET request or it should
437
- # be * for unconditional update.
439
+ # @param if_match [String] ETag of the Entity. Not required when creating an
440
+ # entity, but required when updating an entity.
438
441
  # @param [Hash{String => String}] A hash of custom headers that will be added
439
442
  # to the HTTP request.
440
443
  #
@@ -449,7 +452,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
449
452
  fail ArgumentError, 'api_id is nil' if api_id.nil?
450
453
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
451
454
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
452
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
453
455
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
454
456
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
455
457
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -468,7 +470,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
468
470
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
469
471
 
470
472
  # Serialize Request
471
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IssueContract.mapper()
473
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueContract.mapper()
472
474
  request_content = @client.serialize(request_mapper, parameters)
473
475
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
474
476
 
@@ -496,11 +498,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
496
498
  end
497
499
 
498
500
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
501
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
502
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
499
503
  # Deserialize Response
500
504
  if status_code == 201
501
505
  begin
502
506
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
503
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IssueContract.mapper()
507
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueContract.mapper()
504
508
  result.body = @client.deserialize(result_mapper, parsed_response)
505
509
  rescue Exception => e
506
510
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -510,7 +514,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
510
514
  if status_code == 200
511
515
  begin
512
516
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
513
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IssueContract.mapper()
517
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueContract.mapper()
514
518
  result.body = @client.deserialize(result_mapper, parsed_response)
515
519
  rescue Exception => e
516
520
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -523,6 +527,133 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
523
527
  promise.execute
524
528
  end
525
529
 
530
+ #
531
+ # Updates an existing issue for an API.
532
+ #
533
+ # @param resource_group_name [String] The name of the resource group.
534
+ # @param service_name [String] The name of the API Management service.
535
+ # @param api_id [String] API identifier. Must be unique in the current API
536
+ # Management service instance.
537
+ # @param issue_id [String] Issue identifier. Must be unique in the current API
538
+ # Management service instance.
539
+ # @param parameters [IssueUpdateContract] Update parameters.
540
+ # @param if_match [String] ETag of the Entity. ETag should match the current
541
+ # entity state from the header response of the GET request or it should be *
542
+ # for unconditional update.
543
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
544
+ # will be added to the HTTP request.
545
+ #
546
+ #
547
+ def update(resource_group_name, service_name, api_id, issue_id, parameters, if_match, custom_headers:nil)
548
+ response = update_async(resource_group_name, service_name, api_id, issue_id, parameters, if_match, custom_headers:custom_headers).value!
549
+ nil
550
+ end
551
+
552
+ #
553
+ # Updates an existing issue for an API.
554
+ #
555
+ # @param resource_group_name [String] The name of the resource group.
556
+ # @param service_name [String] The name of the API Management service.
557
+ # @param api_id [String] API identifier. Must be unique in the current API
558
+ # Management service instance.
559
+ # @param issue_id [String] Issue identifier. Must be unique in the current API
560
+ # Management service instance.
561
+ # @param parameters [IssueUpdateContract] Update parameters.
562
+ # @param if_match [String] ETag of the Entity. ETag should match the current
563
+ # entity state from the header response of the GET request or it should be *
564
+ # for unconditional update.
565
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
566
+ # will be added to the HTTP request.
567
+ #
568
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
569
+ #
570
+ def update_with_http_info(resource_group_name, service_name, api_id, issue_id, parameters, if_match, custom_headers:nil)
571
+ update_async(resource_group_name, service_name, api_id, issue_id, parameters, if_match, custom_headers:custom_headers).value!
572
+ end
573
+
574
+ #
575
+ # Updates an existing issue for an API.
576
+ #
577
+ # @param resource_group_name [String] The name of the resource group.
578
+ # @param service_name [String] The name of the API Management service.
579
+ # @param api_id [String] API identifier. Must be unique in the current API
580
+ # Management service instance.
581
+ # @param issue_id [String] Issue identifier. Must be unique in the current API
582
+ # Management service instance.
583
+ # @param parameters [IssueUpdateContract] Update parameters.
584
+ # @param if_match [String] ETag of the Entity. ETag should match the current
585
+ # entity state from the header response of the GET request or it should be *
586
+ # for unconditional update.
587
+ # @param [Hash{String => String}] A hash of custom headers that will be added
588
+ # to the HTTP request.
589
+ #
590
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
591
+ #
592
+ def update_async(resource_group_name, service_name, api_id, issue_id, parameters, if_match, custom_headers:nil)
593
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
594
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
595
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
596
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
597
+ 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?
598
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
599
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
600
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
601
+ fail ArgumentError, 'issue_id is nil' if issue_id.nil?
602
+ fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
603
+ fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
604
+ fail ArgumentError, "'issue_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !issue_id.nil? && issue_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
605
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
606
+ fail ArgumentError, 'if_match is nil' if if_match.nil?
607
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
608
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
609
+
610
+
611
+ request_headers = {}
612
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
613
+
614
+ # Set Headers
615
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
616
+ request_headers['If-Match'] = if_match unless if_match.nil?
617
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
618
+
619
+ # Serialize Request
620
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueUpdateContract.mapper()
621
+ request_content = @client.serialize(request_mapper, parameters)
622
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
623
+
624
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}'
625
+
626
+ request_url = @base_url || @client.base_url
627
+
628
+ options = {
629
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
630
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'issueId' => issue_id,'subscriptionId' => @client.subscription_id},
631
+ query_params: {'api-version' => @client.api_version},
632
+ body: request_content,
633
+ headers: request_headers.merge(custom_headers || {}),
634
+ base_url: request_url
635
+ }
636
+ promise = @client.make_request_async(:patch, path_template, options)
637
+
638
+ promise = promise.then do |result|
639
+ http_response = result.response
640
+ status_code = http_response.status
641
+ response_content = http_response.body
642
+ unless status_code == 204
643
+ error_model = JSON.load(response_content)
644
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
645
+ end
646
+
647
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
648
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
649
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
650
+
651
+ result
652
+ end
653
+
654
+ promise.execute
655
+ end
656
+
526
657
  #
527
658
  # Deletes the specified Issue from an API.
528
659
  #
@@ -532,9 +663,9 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
532
663
  # Management service instance.
533
664
  # @param issue_id [String] Issue identifier. Must be unique in the current API
534
665
  # Management service instance.
535
- # @param if_match [String] ETag of the Issue Entity. ETag should match the
536
- # current entity state from the header response of the GET request or it should
537
- # be * for unconditional update.
666
+ # @param if_match [String] ETag of the Entity. ETag should match the current
667
+ # entity state from the header response of the GET request or it should be *
668
+ # for unconditional update.
538
669
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
539
670
  # will be added to the HTTP request.
540
671
  #
@@ -553,9 +684,9 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
553
684
  # Management service instance.
554
685
  # @param issue_id [String] Issue identifier. Must be unique in the current API
555
686
  # Management service instance.
556
- # @param if_match [String] ETag of the Issue Entity. ETag should match the
557
- # current entity state from the header response of the GET request or it should
558
- # be * for unconditional update.
687
+ # @param if_match [String] ETag of the Entity. ETag should match the current
688
+ # entity state from the header response of the GET request or it should be *
689
+ # for unconditional update.
559
690
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
560
691
  # will be added to the HTTP request.
561
692
  #
@@ -574,9 +705,9 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
574
705
  # Management service instance.
575
706
  # @param issue_id [String] Issue identifier. Must be unique in the current API
576
707
  # Management service instance.
577
- # @param if_match [String] ETag of the Issue Entity. ETag should match the
578
- # current entity state from the header response of the GET request or it should
579
- # be * for unconditional update.
708
+ # @param if_match [String] ETag of the Entity. ETag should match the current
709
+ # entity state from the header response of the GET request or it should be *
710
+ # for unconditional update.
580
711
  # @param [Hash{String => String}] A hash of custom headers that will be added
581
712
  # to the HTTP request.
582
713
  #
@@ -591,7 +722,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
591
722
  fail ArgumentError, 'api_id is nil' if api_id.nil?
592
723
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
593
724
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
594
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !api_id.nil? && api_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
595
725
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
596
726
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
597
727
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -631,6 +761,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
631
761
  end
632
762
 
633
763
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
764
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
765
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
634
766
 
635
767
  result
636
768
  end
@@ -639,7 +771,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
639
771
  end
640
772
 
641
773
  #
642
- # Lists all issues assosiated with the specified API.
774
+ # Lists all issues associated with the specified API.
643
775
  #
644
776
  # @param next_page_link [String] The NextLink from the previous successful call
645
777
  # to List operation.
@@ -654,7 +786,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
654
786
  end
655
787
 
656
788
  #
657
- # Lists all issues assosiated with the specified API.
789
+ # Lists all issues associated with the specified API.
658
790
  #
659
791
  # @param next_page_link [String] The NextLink from the previous successful call
660
792
  # to List operation.
@@ -668,7 +800,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
668
800
  end
669
801
 
670
802
  #
671
- # Lists all issues assosiated with the specified API.
803
+ # Lists all issues associated with the specified API.
672
804
  #
673
805
  # @param next_page_link [String] The NextLink from the previous successful call
674
806
  # to List operation.
@@ -709,11 +841,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
709
841
  end
710
842
 
711
843
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
844
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
845
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
712
846
  # Deserialize Response
713
847
  if status_code == 200
714
848
  begin
715
849
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
716
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IssueCollection.mapper()
850
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueCollection.mapper()
717
851
  result.body = @client.deserialize(result_mapper, parsed_response)
718
852
  rescue Exception => e
719
853
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -727,19 +861,19 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
727
861
  end
728
862
 
729
863
  #
730
- # Lists all issues assosiated with the specified API.
864
+ # Lists all issues associated with the specified API.
731
865
  #
732
866
  # @param resource_group_name [String] The name of the resource group.
733
867
  # @param service_name [String] The name of the API Management service.
734
868
  # @param api_id [String] API identifier. Must be unique in the current API
735
869
  # Management service instance.
736
- # @param filter [String] | Field | Supported operators | Supported
737
- # functions |
738
- # |-------------|------------------------|-----------------------------------|
739
- # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
740
- # | state | eq | |
741
- # | userId | ge, le, eq, ne, gt, lt | substringof, startswith,
742
- # endswith |
870
+ # @param filter [String] | Field | Usage | Supported
871
+ # operators | Supported functions
872
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
873
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
874
+ # | </br>| userId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
875
+ # startswith, endswith | </br>| state | filter | eq | | </br>
876
+ # @param expand_comments_attachments [Boolean] Expand the comment attachments.
743
877
  # @param top [Integer] Number of records to return.
744
878
  # @param skip [Integer] Number of records to skip.
745
879
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -747,8 +881,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
747
881
  #
748
882
  # @return [IssueCollection] which provide lazy access to pages of the response.
749
883
  #
750
- def list_by_service_as_lazy(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
751
- response = list_by_service_async(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
884
+ def list_by_service_as_lazy(resource_group_name, service_name, api_id, filter:nil, expand_comments_attachments:nil, top:nil, skip:nil, custom_headers:nil)
885
+ response = list_by_service_async(resource_group_name, service_name, api_id, filter:filter, expand_comments_attachments:expand_comments_attachments, top:top, skip:skip, custom_headers:custom_headers).value!
752
886
  unless response.nil?
753
887
  page = response.body
754
888
  page.next_method = Proc.new do |next_page_link|