azure_mgmt_api_management 0.18.4 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (640) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  3. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_services.rb +30 -0
  4. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_operations.rb +12 -0
  5. data/lib/2016-07-07/generated/azure_mgmt_api_management/api_products.rb +4 -0
  6. data/lib/2016-07-07/generated/azure_mgmt_api_management/apis.rb +14 -0
  7. data/lib/2016-07-07/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
  8. data/lib/2016-07-07/generated/azure_mgmt_api_management/backends.rb +12 -0
  9. data/lib/2016-07-07/generated/azure_mgmt_api_management/certificates.rb +10 -0
  10. data/lib/2016-07-07/generated/azure_mgmt_api_management/group_users.rb +8 -0
  11. data/lib/2016-07-07/generated/azure_mgmt_api_management/groups.rb +12 -0
  12. data/lib/2016-07-07/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
  13. data/lib/2016-07-07/generated/azure_mgmt_api_management/loggers.rb +12 -0
  14. data/lib/2016-07-07/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
  15. data/lib/2016-07-07/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  16. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_apis.rb +8 -0
  17. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_groups.rb +8 -0
  18. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  19. data/lib/2016-07-07/generated/azure_mgmt_api_management/products.rb +12 -0
  20. data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +12 -0
  21. data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  22. data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  23. data/lib/2016-07-07/generated/azure_mgmt_api_management/regions.rb +2 -0
  24. data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +4 -0
  25. data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
  26. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  27. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  28. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
  29. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
  30. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_groups.rb +4 -0
  31. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  32. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
  33. data/lib/2016-07-07/generated/azure_mgmt_api_management/users.rb +14 -0
  34. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_export.rb +2 -0
  35. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  36. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  37. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb +32 -0
  38. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations.rb +12 -0
  39. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations_policy.rb +6 -0
  40. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_policy.rb +6 -0
  41. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_products.rb +4 -0
  42. data/lib/2016-10-10/generated/azure_mgmt_api_management/apis.rb +12 -0
  43. data/lib/2016-10-10/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
  44. data/lib/2016-10-10/generated/azure_mgmt_api_management/backends.rb +12 -0
  45. data/lib/2016-10-10/generated/azure_mgmt_api_management/certificates.rb +10 -0
  46. data/lib/2016-10-10/generated/azure_mgmt_api_management/group_users.rb +8 -0
  47. data/lib/2016-10-10/generated/azure_mgmt_api_management/groups.rb +12 -0
  48. data/lib/2016-10-10/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
  49. data/lib/2016-10-10/generated/azure_mgmt_api_management/loggers.rb +12 -0
  50. data/lib/2016-10-10/generated/azure_mgmt_api_management/network_status.rb +2 -0
  51. data/lib/2016-10-10/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
  52. data/lib/2016-10-10/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  53. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_apis.rb +8 -0
  54. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_groups.rb +8 -0
  55. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_policy.rb +6 -0
  56. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  57. data/lib/2016-10-10/generated/azure_mgmt_api_management/products.rb +12 -0
  58. data/lib/2016-10-10/generated/azure_mgmt_api_management/properties.rb +4 -0
  59. data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +8 -0
  60. data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  61. data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  62. data/lib/2016-10-10/generated/azure_mgmt_api_management/regions.rb +2 -0
  63. data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +4 -0
  64. data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
  65. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  66. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  67. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
  68. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
  69. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb +6 -0
  70. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_groups.rb +4 -0
  71. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  72. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
  73. data/lib/2016-10-10/generated/azure_mgmt_api_management/users.rb +16 -0
  74. data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +18 -0
  75. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
  76. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -0
  77. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
  78. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +2 -0
  79. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +2 -0
  80. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +8 -0
  81. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +6 -0
  82. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +4 -0
  83. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +6 -0
  84. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +4 -0
  85. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +4 -0
  86. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  87. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  88. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +30 -0
  89. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
  90. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
  91. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  92. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
  93. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +12 -0
  94. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
  95. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
  96. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
  97. data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
  98. data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +16 -0
  99. data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
  100. data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
  101. data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
  102. data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -0
  103. data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
  104. data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +14 -0
  105. data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
  106. data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +12 -0
  107. data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +14 -0
  108. data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
  109. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +8 -0
  110. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
  111. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
  112. data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
  113. data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
  114. data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +8 -0
  115. data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  116. data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +14 -0
  117. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
  118. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
  119. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +8 -0
  120. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  121. data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +14 -0
  122. data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  123. data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  124. data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +2 -0
  125. data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +30 -0
  126. data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
  127. data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
  128. data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
  129. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +50 -0
  130. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +12 -0
  131. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
  132. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  133. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  134. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  135. data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +18 -0
  136. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
  137. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  138. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
  139. data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +18 -0
  140. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
  141. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -0
  142. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
  143. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +14 -0
  144. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +12 -0
  145. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +12 -0
  146. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  147. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  148. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +30 -0
  149. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +4 -0
  150. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
  151. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
  152. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  153. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
  154. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +14 -0
  155. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
  156. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
  157. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
  158. data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
  159. data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +16 -0
  160. data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
  161. data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
  162. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
  163. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -0
  164. data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
  165. data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +14 -0
  166. data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
  167. data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +14 -0
  168. data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +14 -0
  169. data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
  170. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +8 -0
  171. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
  172. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
  173. data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
  174. data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
  175. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +10 -0
  176. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  177. data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +14 -0
  178. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
  179. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
  180. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +10 -0
  181. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  182. data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +14 -0
  183. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  184. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  185. data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +4 -0
  186. data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +30 -0
  187. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
  188. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
  189. data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
  190. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +50 -0
  191. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +12 -0
  192. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
  193. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  194. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  195. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  196. data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +20 -0
  197. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
  198. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +4 -0
  199. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
  200. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +161 -144
  201. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +296 -207
  202. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +40 -18
  203. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +5 -3
  204. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +214 -62
  205. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +62 -45
  206. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +62 -45
  207. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +41 -25
  208. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  209. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +139 -56
  210. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  211. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +75 -29
  212. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +16 -6
  213. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  214. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +33 -21
  215. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +83 -58
  216. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +9 -5
  217. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +74 -18
  218. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +60 -94
  219. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +53 -35
  220. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +154 -130
  221. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/cache.rb +809 -0
  222. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +60 -48
  223. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +24 -9
  224. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +34 -12
  225. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +48 -10
  226. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +66 -52
  227. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +126 -128
  228. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +20 -6
  229. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/issue.rb +410 -0
  230. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +127 -94
  231. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +12 -0
  232. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +8 -0
  233. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +13 -1
  234. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +12 -0
  235. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
  236. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
  237. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +1 -1
  238. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
  239. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +8 -0
  240. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +12 -0
  241. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +27 -0
  242. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +1 -1
  243. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
  244. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  245. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  246. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  247. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  248. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +1 -2
  249. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +3 -0
  250. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
  251. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +15 -2
  252. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +1 -0
  253. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
  254. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +1 -1
  255. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +3 -2
  256. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +3 -2
  257. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -1
  258. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +12 -0
  259. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +12 -0
  260. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +12 -0
  261. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +27 -27
  262. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  263. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  264. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  265. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +1 -1
  266. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
  267. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
  268. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  269. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  270. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  271. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  272. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  273. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +1 -0
  274. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +22 -12
  275. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +21 -10
  276. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +20 -8
  277. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +0 -11
  278. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -1
  279. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -1
  280. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -1
  281. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -1
  282. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +4 -0
  283. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +13 -5
  284. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +10 -4
  285. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +52 -46
  286. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +55 -37
  287. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +76 -64
  288. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +29 -18
  289. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +3 -1
  290. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +366 -69
  291. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +64 -60
  292. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +54 -58
  293. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +29 -19
  294. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +86 -62
  295. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +65 -43
  296. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +6 -2
  297. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +6 -2
  298. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/{regions.rb → region.rb} +8 -4
  299. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +41 -11
  300. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +24 -9
  301. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +24 -9
  302. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +115 -77
  303. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +715 -716
  304. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +50 -34
  305. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +106 -114
  306. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +105 -10
  307. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  308. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  309. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +192 -174
  310. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_confirmation_password.rb +121 -0
  311. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +57 -49
  312. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +28 -24
  313. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +93 -77
  314. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  315. data/lib/2019-12-01/generated/azure_mgmt_api_management.rb +338 -0
  316. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api.rb +303 -226
  317. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_diagnostic.rb +50 -38
  318. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_export.rb +7 -5
  319. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue.rb +215 -81
  320. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_attachment.rb +68 -64
  321. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_comment.rb +68 -64
  322. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_client.rb +69 -49
  323. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_operations.rb +7 -3
  324. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_service.rb +120 -343
  325. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  326. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation.rb +74 -49
  327. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation_policy.rb +29 -18
  328. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_policy.rb +28 -12
  329. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_product.rb +27 -24
  330. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_release.rb +90 -79
  331. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/api_revisions.rb → 2019-12-01/generated/azure_mgmt_api_management/api_revision.rb} +46 -51
  332. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_schema.rb +183 -77
  333. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tag_description.rb → 2019-12-01/generated/azure_mgmt_api_management/api_tag_description.rb} +132 -124
  334. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_version_set.rb +66 -108
  335. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/authorization_server.rb +157 -43
  336. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/backend.rb +149 -139
  337. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/property.rb → 2019-12-01/generated/azure_mgmt_api_management/cache.rb} +153 -148
  338. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/certificate.rb +55 -55
  339. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/delegation_settings.rb +126 -14
  340. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/diagnostic.rb +50 -32
  341. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/email_template.rb +68 -23
  342. data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway.rb +1134 -0
  343. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic_logger.rb → 2019-12-01/generated/azure_mgmt_api_management/gateway_api.rb} +141 -155
  344. data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_hostname_configuration.rb +720 -0
  345. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group.rb +61 -64
  346. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group_user.rb +112 -133
  347. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/identity_provider.rb +138 -17
  348. data/lib/2019-12-01/generated/azure_mgmt_api_management/issue.rb +390 -0
  349. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/logger.rb +123 -102
  350. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_contract.rb +6 -5
  351. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +4 -6
  352. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/additional_location.rb +15 -1
  353. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
  354. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
  355. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract.rb +28 -6
  356. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract_properties.rb +23 -5
  357. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +35 -12
  358. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +1 -1
  359. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +13 -2
  360. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result.rb} +23 -25
  361. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb} +6 -6
  362. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +1 -1
  363. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +1 -1
  364. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +88 -6
  365. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +1 -1
  366. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +1 -1
  367. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +31 -5
  368. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
  369. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +1 -1
  370. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +88 -6
  371. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +4 -5
  372. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +88 -6
  373. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_collection.rb +2 -2
  374. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_contract.rb +2 -2
  375. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
  376. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_contract.rb +1 -1
  377. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +1 -1
  378. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +9 -2
  379. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_type.rb +1 -1
  380. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_update_contract.rb +13 -2
  381. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_constraint.rb +47 -0
  382. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
  383. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +1 -1
  384. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +12 -1
  385. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +1 -1
  386. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +1 -1
  387. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_identity_type.rb +18 -0
  388. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/apim_resource.rb +1 -1
  389. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/app_type.rb +15 -0
  390. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/association_contract.rb +75 -0
  391. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/async_operation_status.rb +1 -1
  392. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +14 -1
  393. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_method.rb +1 -1
  394. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
  395. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +14 -13
  396. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +1 -13
  397. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +14 -13
  398. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +1 -1
  399. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +1 -1
  400. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
  401. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_contract.rb +1 -1
  402. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +1 -1
  403. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_properties.rb +1 -1
  404. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_protocol.rb +1 -1
  405. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +1 -1
  406. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +2 -2
  407. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +2 -2
  408. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +1 -1
  409. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +1 -1
  410. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +1 -1
  411. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  412. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
  413. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  414. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  415. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  416. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
  417. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_configuration.rb +2 -3
  418. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_contract.rb +1 -1
  419. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +1 -1
  420. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_information.rb +1 -1
  421. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/client_authentication_method.rb +1 -1
  422. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_secret_contract.rb +47 -0
  423. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/confirmation.rb +1 -1
  424. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +1 -1
  425. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +1 -1
  426. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/content_format.rb +5 -1
  427. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +4 -4
  428. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
  429. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +160 -0
  430. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
  431. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_contract.rb +1 -1
  432. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +1 -1
  433. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +1 -1
  434. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_field_contract.rb +1 -1
  435. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response.rb +1 -1
  436. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response_body.rb +1 -1
  437. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/export_format.rb +3 -1
  438. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
  439. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_collection.rb +100 -0
  440. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_contract.rb +88 -0
  441. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_collection.rb +102 -0
  442. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_contract.rb +98 -0
  443. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_key_regeneration_request_contract.rb +48 -0
  444. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_keys_contract.rb +57 -0
  445. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_contract.rb +47 -0
  446. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_request_contract.rb +64 -0
  447. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +1 -1
  448. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/grant_type.rb +1 -1
  449. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
  450. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract.rb +2 -2
  451. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract_properties.rb +2 -2
  452. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_create_parameters.rb +4 -3
  453. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_type.rb +1 -1
  454. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_update_parameters.rb +4 -3
  455. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_configuration.rb +3 -5
  456. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_type.rb +2 -1
  457. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_correlation_protocol.rb +17 -0
  458. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
  459. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +25 -1
  460. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +28 -3
  461. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_create_contract.rb +216 -0
  462. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_list.rb +1 -1
  463. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_type.rb +1 -1
  464. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +25 -1
  465. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
  466. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +1 -1
  467. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
  468. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
  469. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +1 -1
  470. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_contract.rb +28 -28
  471. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  472. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  473. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/key_type.rb +1 -1
  474. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
  475. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_contract.rb +13 -1
  476. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_type.rb +1 -1
  477. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_update_contract.rb +1 -1
  478. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/name_availability_reason.rb +1 -1
  479. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_collection.rb +98 -0
  480. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_contract.rb +132 -0
  481. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_create_contract.rb} +13 -11
  482. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_entity_base_parameters.rb} +7 -7
  483. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_update_parameters.rb} +11 -11
  484. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract.rb +1 -1
  485. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +1 -1
  486. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
  487. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_contract.rb +1 -1
  488. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_name.rb +1 -1
  489. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +1 -1
  490. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  491. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
  492. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +1 -1
  493. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +1 -1
  494. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation.rb +1 -1
  495. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
  496. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_contract.rb +1 -1
  497. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_display.rb +1 -1
  498. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +1 -1
  499. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
  500. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_contract.rb +1 -1
  501. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +1 -1
  502. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +1 -1
  503. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_update_contract.rb +1 -1
  504. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/parameter_contract.rb +2 -2
  505. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
  506. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_collection.rb +1 -1
  507. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_content_format.rb +1 -1
  508. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_contract.rb +8 -8
  509. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_collection.rb +67 -0
  510. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/policy_description_contract.rb} +22 -19
  511. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
  512. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +1 -1
  513. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +1 -1
  514. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_setting_validation_key_contract.rb +47 -0
  515. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +1 -1
  516. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +1 -1
  517. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
  518. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_contract.rb +4 -4
  519. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +4 -4
  520. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_state.rb +1 -1
  521. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +1 -1
  522. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_update_parameters.rb +4 -4
  523. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/property_value_contract.rb +46 -0
  524. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/protocol.rb +1 -1
  525. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/provisioning_state.rb +15 -0
  526. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +1 -1
  527. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +1 -1
  528. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +1 -1
  529. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +1 -1
  530. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +1 -1
  531. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +1 -1
  532. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +1 -1
  533. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +1 -1
  534. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +1 -1
  535. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_contract.rb +1 -1
  536. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_list_result.rb +1 -1
  537. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +1 -1
  538. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
  539. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_record_contract.rb +4 -4
  540. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/representation_contract.rb +1 -1
  541. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_contract.rb +1 -1
  542. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_collection.rb +1 -1
  543. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +2 -2
  544. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/resource.rb +1 -1
  545. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_location_data_contract.rb +93 -0
  546. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  547. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  548. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  549. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  550. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  551. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/response_contract.rb +1 -1
  552. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
  553. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
  554. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +4 -4
  555. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
  556. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_contract.rb +19 -3
  557. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/sku_type.rb +2 -1
  558. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/soap_api_type.rb +1 -1
  559. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/state.rb +1 -1
  560. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
  561. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_contract.rb +31 -17
  562. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +22 -11
  563. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +1 -1
  564. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_keys_contract.rb +65 -0
  565. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_state.rb +1 -1
  566. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +21 -9
  567. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +1 -1
  568. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
  569. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_contract.rb +1 -1
  570. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +1 -1
  571. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
  572. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_contract.rb +12 -1
  573. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +1 -1
  574. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -12
  575. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +1 -1
  576. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +1 -1
  577. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/template_name.rb +1 -1
  578. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +1 -1
  579. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
  580. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +1 -1
  581. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
  582. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_contract.rb +1 -2
  583. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_create_parameters.rb +14 -2
  584. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +1 -2
  585. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_collection.rb +1 -1
  586. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_contract.rb +1 -1
  587. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_properties.rb +58 -0
  588. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_state.rb +1 -1
  589. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_parameters.rb +4 -4
  590. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_result.rb +1 -1
  591. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_update_parameters.rb +1 -2
  592. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/verbosity.rb +17 -0
  593. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/versioning_scheme.rb +1 -1
  594. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
  595. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_type.rb +1 -1
  596. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/x509certificate_name.rb +1 -1
  597. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/module_definition.rb +1 -1
  598. data/lib/2019-12-01/generated/azure_mgmt_api_management/named_value.rb +1030 -0
  599. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/network_status.rb +6 -2
  600. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification.rb +18 -10
  601. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_email.rb +12 -4
  602. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_user.rb +51 -46
  603. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/open_id_connect_provider.rb +158 -45
  604. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/operation_operations.rb +63 -71
  605. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/policy.rb +47 -30
  606. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb → 2019-12-01/generated/azure_mgmt_api_management/policy_description.rb} +12 -10
  607. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product.rb +345 -81
  608. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_api.rb +61 -73
  609. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_group.rb +44 -67
  610. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_policy.rb +42 -31
  611. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_subscriptions.rb +60 -65
  612. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +9 -5
  613. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_period_keys.rb +9 -5
  614. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/regions.rb → 2019-12-01/generated/azure_mgmt_api_management/region.rb} +11 -7
  615. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/reports.rb +548 -109
  616. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_in_settings.rb +29 -14
  617. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_up_settings.rb +29 -14
  618. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/subscription.rb +201 -85
  619. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag.rb +718 -761
  620. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag_resource.rb +85 -121
  621. data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access.rb +594 -0
  622. data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access.rb → 2019-12-01/generated/azure_mgmt_api_management/tenant_access_git.rb} +60 -66
  623. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tenant_configuration.rb +22 -14
  624. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user.rb +176 -185
  625. data/lib/2019-12-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
  626. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_group.rb +51 -56
  627. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_identities.rb +30 -27
  628. data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_subscription.rb +71 -80
  629. data/lib/azure_mgmt_api_management.rb +6 -0
  630. data/lib/profiles/latest/modules/apimanagement_profile_module.rb +735 -641
  631. data/lib/version.rb +1 -1
  632. metadata +334 -271
  633. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +0 -292
  634. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +0 -649
  635. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +0 -77
  636. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +0 -72
  637. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +0 -71
  638. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +0 -55
  639. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +0 -98
  640. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +0 -291
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ApiManagement::Mgmt::V2018_01_01_preview
6
+ module Azure::ApiManagement::Mgmt::V2019_12_01
7
7
  #
8
8
  # ApiManagement Client
9
9
  #
@@ -26,17 +26,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
26
26
  #
27
27
  # @param resource_group_name [String] The name of the resource group.
28
28
  # @param service_name [String] The name of the API Management service.
29
- # @param filter [String] | Field | Supported operators | Supported
30
- # functions |
31
- # |-------------|------------------------|---------------------------------------------|
32
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
33
- # endswith |
34
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
35
- # endswith |
36
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
37
- # endswith |
38
- # | type | eq, ne | N/A
39
- # |
29
+ # @param filter [String] | Field | Usage | Supported
30
+ # operators | Supported functions
31
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
32
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
33
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
34
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
35
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| aadObjectId
36
+ # | filter | eq | | </br>
40
37
  # @param top [Integer] Number of records to return.
41
38
  # @param skip [Integer] Number of records to skip.
42
39
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -54,17 +51,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
54
51
  #
55
52
  # @param resource_group_name [String] The name of the resource group.
56
53
  # @param service_name [String] The name of the API Management service.
57
- # @param filter [String] | Field | Supported operators | Supported
58
- # functions |
59
- # |-------------|------------------------|---------------------------------------------|
60
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
61
- # endswith |
62
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
63
- # endswith |
64
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
65
- # endswith |
66
- # | type | eq, ne | N/A
67
- # |
54
+ # @param filter [String] | Field | Usage | Supported
55
+ # operators | Supported functions
56
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
57
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
58
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
59
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
60
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| aadObjectId
61
+ # | filter | eq | | </br>
68
62
  # @param top [Integer] Number of records to return.
69
63
  # @param skip [Integer] Number of records to skip.
70
64
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -81,17 +75,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
81
75
  #
82
76
  # @param resource_group_name [String] The name of the resource group.
83
77
  # @param service_name [String] The name of the API Management service.
84
- # @param filter [String] | Field | Supported operators | Supported
85
- # functions |
86
- # |-------------|------------------------|---------------------------------------------|
87
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
88
- # endswith |
89
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
90
- # endswith |
91
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
92
- # endswith |
93
- # | type | eq, ne | N/A
94
- # |
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>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
83
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
84
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| aadObjectId
85
+ # | filter | eq | | </br>
95
86
  # @param top [Integer] Number of records to return.
96
87
  # @param skip [Integer] Number of records to skip.
97
88
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -136,15 +127,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
136
127
  response_content = http_response.body
137
128
  unless status_code == 200
138
129
  error_model = JSON.load(response_content)
139
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
130
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
140
131
  end
141
132
 
142
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?
143
136
  # Deserialize Response
144
137
  if status_code == 200
145
138
  begin
146
139
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
147
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GroupCollection.mapper()
140
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::GroupCollection.mapper()
148
141
  result.body = @client.deserialize(result_mapper, parsed_response)
149
142
  rescue Exception => e
150
143
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -211,9 +204,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
211
204
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
212
205
  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?
213
206
  fail ArgumentError, 'group_id is nil' if group_id.nil?
214
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
207
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
215
208
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
216
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
217
209
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
218
210
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
219
211
 
@@ -247,6 +239,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
247
239
  end
248
240
 
249
241
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
242
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
243
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
250
244
 
251
245
  result
252
246
  end
@@ -306,9 +300,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
306
300
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
307
301
  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?
308
302
  fail ArgumentError, 'group_id is nil' if group_id.nil?
309
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
303
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
310
304
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
311
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
312
305
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
313
306
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
314
307
 
@@ -342,11 +335,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
342
335
  end
343
336
 
344
337
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
338
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
339
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
345
340
  # Deserialize Response
346
341
  if status_code == 200
347
342
  begin
348
343
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
349
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GroupContract.mapper()
344
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::GroupContract.mapper()
350
345
  result.body = @client.deserialize(result_mapper, parsed_response)
351
346
  rescue Exception => e
352
347
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -420,9 +415,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
420
415
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
421
416
  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?
422
417
  fail ArgumentError, 'group_id is nil' if group_id.nil?
423
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
418
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
424
419
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
425
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
426
420
  fail ArgumentError, 'parameters is nil' if parameters.nil?
427
421
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
428
422
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -437,7 +431,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
437
431
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
438
432
 
439
433
  # Serialize Request
440
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GroupCreateParameters.mapper()
434
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::GroupCreateParameters.mapper()
441
435
  request_content = @client.serialize(request_mapper, parameters)
442
436
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
443
437
 
@@ -465,11 +459,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
465
459
  end
466
460
 
467
461
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
462
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
463
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
468
464
  # Deserialize Response
469
465
  if status_code == 201
470
466
  begin
471
467
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
472
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GroupContract.mapper()
468
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::GroupContract.mapper()
473
469
  result.body = @client.deserialize(result_mapper, parsed_response)
474
470
  rescue Exception => e
475
471
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -479,7 +475,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
479
475
  if status_code == 200
480
476
  begin
481
477
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
482
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GroupContract.mapper()
478
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::GroupContract.mapper()
483
479
  result.body = @client.deserialize(result_mapper, parsed_response)
484
480
  rescue Exception => e
485
481
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -555,9 +551,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
555
551
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
556
552
  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?
557
553
  fail ArgumentError, 'group_id is nil' if group_id.nil?
558
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
554
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
559
555
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
560
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
561
556
  fail ArgumentError, 'parameters is nil' if parameters.nil?
562
557
  fail ArgumentError, 'if_match is nil' if if_match.nil?
563
558
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -573,7 +568,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
573
568
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
574
569
 
575
570
  # Serialize Request
576
- request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GroupUpdateParameters.mapper()
571
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::GroupUpdateParameters.mapper()
577
572
  request_content = @client.serialize(request_mapper, parameters)
578
573
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
579
574
 
@@ -601,6 +596,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
601
596
  end
602
597
 
603
598
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
599
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
600
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
604
601
 
605
602
  result
606
603
  end
@@ -668,9 +665,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
668
665
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
669
666
  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?
670
667
  fail ArgumentError, 'group_id is nil' if group_id.nil?
671
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
668
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
672
669
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
673
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
674
670
  fail ArgumentError, 'if_match is nil' if if_match.nil?
675
671
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
676
672
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -706,6 +702,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
706
702
  end
707
703
 
708
704
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
705
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
706
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
709
707
 
710
708
  result
711
709
  end
@@ -780,15 +778,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
780
778
  response_content = http_response.body
781
779
  unless status_code == 200
782
780
  error_model = JSON.load(response_content)
783
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
781
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
784
782
  end
785
783
 
786
784
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
785
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
786
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
787
787
  # Deserialize Response
788
788
  if status_code == 200
789
789
  begin
790
790
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
791
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GroupCollection.mapper()
791
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::GroupCollection.mapper()
792
792
  result.body = @client.deserialize(result_mapper, parsed_response)
793
793
  rescue Exception => e
794
794
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -806,17 +806,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
806
806
  #
807
807
  # @param resource_group_name [String] The name of the resource group.
808
808
  # @param service_name [String] The name of the API Management service.
809
- # @param filter [String] | Field | Supported operators | Supported
810
- # functions |
811
- # |-------------|------------------------|---------------------------------------------|
812
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
813
- # endswith |
814
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
815
- # endswith |
816
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
817
- # endswith |
818
- # | type | eq, ne | N/A
819
- # |
809
+ # @param filter [String] | Field | Usage | Supported
810
+ # operators | Supported functions
811
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
812
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
813
+ # | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof,
814
+ # contains, startswith, endswith | </br>| description | filter | ge, le, eq,
815
+ # ne, gt, lt | substringof, contains, startswith, endswith | </br>| aadObjectId
816
+ # | filter | eq | | </br>
820
817
  # @param top [Integer] Number of records to return.
821
818
  # @param skip [Integer] Number of records to skip.
822
819
  # @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
  #
@@ -22,29 +22,23 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
22
22
  attr_reader :client
23
23
 
24
24
  #
25
- # Lists a collection of the members of the group, specified by its identifier.
25
+ # Lists a collection of user entities associated with the group.
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 group_id [String] Group identifier. Must be unique in the current API
30
30
  # Management service instance.
31
- # @param filter [String] | Field | Supported operators |
32
- # Supported functions |
33
- # |------------------|------------------------|-----------------------------------|
34
- # | id | ge, le, eq, ne, gt, lt | substringof, contains,
35
- # startswith, endswith |
36
- # | firstName | ge, le, eq, ne, gt, lt | substringof, contains,
37
- # startswith, endswith |
38
- # | lastName | ge, le, eq, ne, gt, lt | substringof, contains,
39
- # startswith, endswith |
40
- # | email | ge, le, eq, ne, gt, lt | substringof, contains,
41
- # startswith, endswith |
42
- # | state | eq | N/A
43
- # |
44
- # | registrationDate | ge, le, eq, ne, gt, lt | N/A
45
- # |
46
- # | note | ge, le, eq, ne, gt, lt | substringof, contains,
47
- # 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>| firstName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
36
+ # startswith, endswith | </br>| lastName | filter | ge, le, eq, ne, gt, lt |
37
+ # substringof, contains, startswith, endswith | </br>| email | filter | ge, le,
38
+ # eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
39
+ # registrationDate | filter | ge, le, eq, ne, gt, lt | | </br>| note |
40
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
41
+ # | </br>
48
42
  # @param top [Integer] Number of records to return.
49
43
  # @param skip [Integer] Number of records to skip.
50
44
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -58,29 +52,23 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
58
52
  end
59
53
 
60
54
  #
61
- # Lists a collection of the members of the group, specified by its identifier.
55
+ # Lists a collection of user entities associated with the group.
62
56
  #
63
57
  # @param resource_group_name [String] The name of the resource group.
64
58
  # @param service_name [String] The name of the API Management service.
65
59
  # @param group_id [String] Group identifier. Must be unique in the current API
66
60
  # Management service instance.
67
- # @param filter [String] | Field | Supported operators |
68
- # Supported functions |
69
- # |------------------|------------------------|-----------------------------------|
70
- # | id | ge, le, eq, ne, gt, lt | substringof, contains,
71
- # startswith, endswith |
72
- # | firstName | ge, le, eq, ne, gt, lt | substringof, contains,
73
- # startswith, endswith |
74
- # | lastName | ge, le, eq, ne, gt, lt | substringof, contains,
75
- # startswith, endswith |
76
- # | email | ge, le, eq, ne, gt, lt | substringof, contains,
77
- # startswith, endswith |
78
- # | state | eq | N/A
79
- # |
80
- # | registrationDate | ge, le, eq, ne, gt, lt | N/A
81
- # |
82
- # | note | ge, le, eq, ne, gt, lt | substringof, contains,
83
- # startswith, endswith |
61
+ # @param filter [String] | Field | Usage | Supported
62
+ # operators | Supported functions
63
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
64
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
65
+ # | </br>| firstName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
66
+ # startswith, endswith | </br>| lastName | filter | ge, le, eq, ne, gt, lt |
67
+ # substringof, contains, startswith, endswith | </br>| email | filter | ge, le,
68
+ # eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
69
+ # registrationDate | filter | ge, le, eq, ne, gt, lt | | </br>| note |
70
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
71
+ # | </br>
84
72
  # @param top [Integer] Number of records to return.
85
73
  # @param skip [Integer] Number of records to skip.
86
74
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -93,29 +81,23 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
93
81
  end
94
82
 
95
83
  #
96
- # Lists a collection of the members of the group, specified by its identifier.
84
+ # Lists a collection of user entities associated with the group.
97
85
  #
98
86
  # @param resource_group_name [String] The name of the resource group.
99
87
  # @param service_name [String] The name of the API Management service.
100
88
  # @param group_id [String] Group identifier. Must be unique in the current API
101
89
  # Management service instance.
102
- # @param filter [String] | Field | Supported operators |
103
- # Supported functions |
104
- # |------------------|------------------------|-----------------------------------|
105
- # | id | ge, le, eq, ne, gt, lt | substringof, contains,
106
- # startswith, endswith |
107
- # | firstName | ge, le, eq, ne, gt, lt | substringof, contains,
108
- # startswith, endswith |
109
- # | lastName | ge, le, eq, ne, gt, lt | substringof, contains,
110
- # startswith, endswith |
111
- # | email | ge, le, eq, ne, gt, lt | substringof, contains,
112
- # startswith, endswith |
113
- # | state | eq | N/A
114
- # |
115
- # | registrationDate | ge, le, eq, ne, gt, lt | N/A
116
- # |
117
- # | note | ge, le, eq, ne, gt, lt | substringof, contains,
118
- # startswith, endswith |
90
+ # @param filter [String] | Field | Usage | Supported
91
+ # operators | Supported functions
92
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
93
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
94
+ # | </br>| firstName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
95
+ # startswith, endswith | </br>| lastName | filter | ge, le, eq, ne, gt, lt |
96
+ # substringof, contains, startswith, endswith | </br>| email | filter | ge, le,
97
+ # eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
98
+ # registrationDate | filter | ge, le, eq, ne, gt, lt | | </br>| note |
99
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
100
+ # | </br>
119
101
  # @param top [Integer] Number of records to return.
120
102
  # @param skip [Integer] Number of records to skip.
121
103
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -130,9 +112,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
130
112
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
131
113
  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?
132
114
  fail ArgumentError, 'group_id is nil' if group_id.nil?
133
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
115
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
134
116
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
135
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
136
117
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
137
118
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
138
119
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -168,11 +149,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
168
149
  end
169
150
 
170
151
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
152
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
153
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
171
154
  # Deserialize Response
172
155
  if status_code == 200
173
156
  begin
174
157
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
175
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserCollection.mapper()
158
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::UserCollection.mapper()
176
159
  result.body = @client.deserialize(result_mapper, parsed_response)
177
160
  rescue Exception => e
178
161
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -193,15 +176,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
193
176
  # @param service_name [String] The name of the API Management service.
194
177
  # @param group_id [String] Group identifier. Must be unique in the current API
195
178
  # Management service instance.
196
- # @param uid [String] User identifier. Must be unique in the current API
179
+ # @param user_id [String] User identifier. Must be unique in the current API
197
180
  # Management service instance.
198
181
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
199
182
  # will be added to the HTTP request.
200
183
  #
201
184
  # @return [Boolean] operation results.
202
185
  #
203
- def check_entity_exists(resource_group_name, service_name, group_id, uid, custom_headers:nil)
204
- response = check_entity_exists_async(resource_group_name, service_name, group_id, uid, custom_headers:custom_headers).value!
186
+ def check_entity_exists(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
187
+ response = check_entity_exists_async(resource_group_name, service_name, group_id, user_id, custom_headers:custom_headers).value!
205
188
  response.body unless response.nil?
206
189
  end
207
190
 
@@ -213,15 +196,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
213
196
  # @param service_name [String] The name of the API Management service.
214
197
  # @param group_id [String] Group identifier. Must be unique in the current API
215
198
  # Management service instance.
216
- # @param uid [String] User identifier. Must be unique in the current API
199
+ # @param user_id [String] User identifier. Must be unique in the current API
217
200
  # Management service instance.
218
201
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
219
202
  # will be added to the HTTP request.
220
203
  #
221
204
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
222
205
  #
223
- def check_entity_exists_with_http_info(resource_group_name, service_name, group_id, uid, custom_headers:nil)
224
- check_entity_exists_async(resource_group_name, service_name, group_id, uid, custom_headers:custom_headers).value!
206
+ def check_entity_exists_with_http_info(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
207
+ check_entity_exists_async(resource_group_name, service_name, group_id, user_id, custom_headers:custom_headers).value!
225
208
  end
226
209
 
227
210
  #
@@ -232,27 +215,25 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
232
215
  # @param service_name [String] The name of the API Management service.
233
216
  # @param group_id [String] Group identifier. Must be unique in the current API
234
217
  # Management service instance.
235
- # @param uid [String] User identifier. Must be unique in the current API
218
+ # @param user_id [String] User identifier. Must be unique in the current API
236
219
  # Management service instance.
237
220
  # @param [Hash{String => String}] A hash of custom headers that will be added
238
221
  # to the HTTP request.
239
222
  #
240
223
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
241
224
  #
242
- def check_entity_exists_async(resource_group_name, service_name, group_id, uid, custom_headers:nil)
225
+ def check_entity_exists_async(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
243
226
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
244
227
  fail ArgumentError, 'service_name is nil' if service_name.nil?
245
228
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
246
229
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
247
230
  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?
248
231
  fail ArgumentError, 'group_id is nil' if group_id.nil?
249
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
232
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
250
233
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
251
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
252
- fail ArgumentError, 'uid is nil' if uid.nil?
253
- fail ArgumentError, "'uid' should satisfy the constraint - 'MaxLength': '80'" if !uid.nil? && uid.length > 80
254
- fail ArgumentError, "'uid' should satisfy the constraint - 'MinLength': '1'" if !uid.nil? && uid.length < 1
255
- fail ArgumentError, "'uid' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !uid.nil? && uid.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
234
+ fail ArgumentError, 'user_id is nil' if user_id.nil?
235
+ fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
236
+ fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
256
237
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
257
238
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
258
239
 
@@ -263,13 +244,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
263
244
  # Set Headers
264
245
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
265
246
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
266
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}'
247
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{userId}'
267
248
 
268
249
  request_url = @base_url || @client.base_url
269
250
 
270
251
  options = {
271
252
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
272
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'groupId' => group_id,'uid' => uid,'subscriptionId' => @client.subscription_id},
253
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'groupId' => group_id,'userId' => user_id,'subscriptionId' => @client.subscription_id},
273
254
  query_params: {'api-version' => @client.api_version},
274
255
  headers: request_headers.merge(custom_headers || {}),
275
256
  base_url: request_url
@@ -287,6 +268,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
287
268
 
288
269
  result.body = (status_code == 204)
289
270
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
271
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
272
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
290
273
 
291
274
  result
292
275
  end
@@ -295,70 +278,68 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
295
278
  end
296
279
 
297
280
  #
298
- # Adds a user to the specified group.
281
+ # Add existing user to existing group
299
282
  #
300
283
  # @param resource_group_name [String] The name of the resource group.
301
284
  # @param service_name [String] The name of the API Management service.
302
285
  # @param group_id [String] Group identifier. Must be unique in the current API
303
286
  # Management service instance.
304
- # @param uid [String] User identifier. Must be unique in the current API
287
+ # @param user_id [String] User identifier. Must be unique in the current API
305
288
  # Management service instance.
306
289
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
307
290
  # will be added to the HTTP request.
308
291
  #
309
292
  # @return [UserContract] operation results.
310
293
  #
311
- def create(resource_group_name, service_name, group_id, uid, custom_headers:nil)
312
- response = create_async(resource_group_name, service_name, group_id, uid, custom_headers:custom_headers).value!
294
+ def create(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
295
+ response = create_async(resource_group_name, service_name, group_id, user_id, custom_headers:custom_headers).value!
313
296
  response.body unless response.nil?
314
297
  end
315
298
 
316
299
  #
317
- # Adds a user to the specified group.
300
+ # Add existing user to existing group
318
301
  #
319
302
  # @param resource_group_name [String] The name of the resource group.
320
303
  # @param service_name [String] The name of the API Management service.
321
304
  # @param group_id [String] Group identifier. Must be unique in the current API
322
305
  # Management service instance.
323
- # @param uid [String] User identifier. Must be unique in the current API
306
+ # @param user_id [String] User identifier. Must be unique in the current API
324
307
  # Management service instance.
325
308
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
326
309
  # will be added to the HTTP request.
327
310
  #
328
311
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
329
312
  #
330
- def create_with_http_info(resource_group_name, service_name, group_id, uid, custom_headers:nil)
331
- create_async(resource_group_name, service_name, group_id, uid, custom_headers:custom_headers).value!
313
+ def create_with_http_info(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
314
+ create_async(resource_group_name, service_name, group_id, user_id, custom_headers:custom_headers).value!
332
315
  end
333
316
 
334
317
  #
335
- # Adds a user to the specified group.
318
+ # Add existing user to existing group
336
319
  #
337
320
  # @param resource_group_name [String] The name of the resource group.
338
321
  # @param service_name [String] The name of the API Management service.
339
322
  # @param group_id [String] Group identifier. Must be unique in the current API
340
323
  # Management service instance.
341
- # @param uid [String] User identifier. Must be unique in the current API
324
+ # @param user_id [String] User identifier. Must be unique in the current API
342
325
  # Management service instance.
343
326
  # @param [Hash{String => String}] A hash of custom headers that will be added
344
327
  # to the HTTP request.
345
328
  #
346
329
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
347
330
  #
348
- def create_async(resource_group_name, service_name, group_id, uid, custom_headers:nil)
331
+ def create_async(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
349
332
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
350
333
  fail ArgumentError, 'service_name is nil' if service_name.nil?
351
334
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
352
335
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
353
336
  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?
354
337
  fail ArgumentError, 'group_id is nil' if group_id.nil?
355
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
338
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
356
339
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
357
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
358
- fail ArgumentError, 'uid is nil' if uid.nil?
359
- fail ArgumentError, "'uid' should satisfy the constraint - 'MaxLength': '80'" if !uid.nil? && uid.length > 80
360
- fail ArgumentError, "'uid' should satisfy the constraint - 'MinLength': '1'" if !uid.nil? && uid.length < 1
361
- fail ArgumentError, "'uid' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !uid.nil? && uid.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
340
+ fail ArgumentError, 'user_id is nil' if user_id.nil?
341
+ fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
342
+ fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
362
343
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
363
344
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
364
345
 
@@ -369,13 +350,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
369
350
  # Set Headers
370
351
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
371
352
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
372
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}'
353
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{userId}'
373
354
 
374
355
  request_url = @base_url || @client.base_url
375
356
 
376
357
  options = {
377
358
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
378
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'groupId' => group_id,'uid' => uid,'subscriptionId' => @client.subscription_id},
359
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'groupId' => group_id,'userId' => user_id,'subscriptionId' => @client.subscription_id},
379
360
  query_params: {'api-version' => @client.api_version},
380
361
  headers: request_headers.merge(custom_headers || {}),
381
362
  base_url: request_url
@@ -392,11 +373,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
392
373
  end
393
374
 
394
375
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
376
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
377
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
395
378
  # Deserialize Response
396
379
  if status_code == 201
397
380
  begin
398
381
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
399
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserContract.mapper()
382
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::UserContract.mapper()
400
383
  result.body = @client.deserialize(result_mapper, parsed_response)
401
384
  rescue Exception => e
402
385
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -406,7 +389,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
406
389
  if status_code == 200
407
390
  begin
408
391
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
409
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserContract.mapper()
392
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::UserContract.mapper()
410
393
  result.body = @client.deserialize(result_mapper, parsed_response)
411
394
  rescue Exception => e
412
395
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -426,14 +409,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
426
409
  # @param service_name [String] The name of the API Management service.
427
410
  # @param group_id [String] Group identifier. Must be unique in the current API
428
411
  # Management service instance.
429
- # @param uid [String] User identifier. Must be unique in the current API
412
+ # @param user_id [String] User identifier. Must be unique in the current API
430
413
  # Management service instance.
431
414
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
432
415
  # will be added to the HTTP request.
433
416
  #
434
417
  #
435
- def delete(resource_group_name, service_name, group_id, uid, custom_headers:nil)
436
- response = delete_async(resource_group_name, service_name, group_id, uid, custom_headers:custom_headers).value!
418
+ def delete(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
419
+ response = delete_async(resource_group_name, service_name, group_id, user_id, custom_headers:custom_headers).value!
437
420
  nil
438
421
  end
439
422
 
@@ -444,15 +427,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
444
427
  # @param service_name [String] The name of the API Management service.
445
428
  # @param group_id [String] Group identifier. Must be unique in the current API
446
429
  # Management service instance.
447
- # @param uid [String] User identifier. Must be unique in the current API
430
+ # @param user_id [String] User identifier. Must be unique in the current API
448
431
  # Management service instance.
449
432
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
450
433
  # will be added to the HTTP request.
451
434
  #
452
435
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
453
436
  #
454
- def delete_with_http_info(resource_group_name, service_name, group_id, uid, custom_headers:nil)
455
- delete_async(resource_group_name, service_name, group_id, uid, custom_headers:custom_headers).value!
437
+ def delete_with_http_info(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
438
+ delete_async(resource_group_name, service_name, group_id, user_id, custom_headers:custom_headers).value!
456
439
  end
457
440
 
458
441
  #
@@ -462,27 +445,25 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
462
445
  # @param service_name [String] The name of the API Management service.
463
446
  # @param group_id [String] Group identifier. Must be unique in the current API
464
447
  # Management service instance.
465
- # @param uid [String] User identifier. Must be unique in the current API
448
+ # @param user_id [String] User identifier. Must be unique in the current API
466
449
  # Management service instance.
467
450
  # @param [Hash{String => String}] A hash of custom headers that will be added
468
451
  # to the HTTP request.
469
452
  #
470
453
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
471
454
  #
472
- def delete_async(resource_group_name, service_name, group_id, uid, custom_headers:nil)
455
+ def delete_async(resource_group_name, service_name, group_id, user_id, custom_headers:nil)
473
456
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
474
457
  fail ArgumentError, 'service_name is nil' if service_name.nil?
475
458
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
476
459
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
477
460
  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?
478
461
  fail ArgumentError, 'group_id is nil' if group_id.nil?
479
- fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '80'" if !group_id.nil? && group_id.length > 80
462
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
480
463
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
481
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !group_id.nil? && group_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
482
- fail ArgumentError, 'uid is nil' if uid.nil?
483
- fail ArgumentError, "'uid' should satisfy the constraint - 'MaxLength': '80'" if !uid.nil? && uid.length > 80
484
- fail ArgumentError, "'uid' should satisfy the constraint - 'MinLength': '1'" if !uid.nil? && uid.length < 1
485
- fail ArgumentError, "'uid' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !uid.nil? && uid.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
464
+ fail ArgumentError, 'user_id is nil' if user_id.nil?
465
+ fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
466
+ fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
486
467
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
487
468
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
488
469
 
@@ -493,13 +474,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
493
474
  # Set Headers
494
475
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
495
476
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
496
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}'
477
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{userId}'
497
478
 
498
479
  request_url = @base_url || @client.base_url
499
480
 
500
481
  options = {
501
482
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
502
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'groupId' => group_id,'uid' => uid,'subscriptionId' => @client.subscription_id},
483
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'groupId' => group_id,'userId' => user_id,'subscriptionId' => @client.subscription_id},
503
484
  query_params: {'api-version' => @client.api_version},
504
485
  headers: request_headers.merge(custom_headers || {}),
505
486
  base_url: request_url
@@ -516,6 +497,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
516
497
  end
517
498
 
518
499
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
500
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
501
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
519
502
 
520
503
  result
521
504
  end
@@ -524,7 +507,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
524
507
  end
525
508
 
526
509
  #
527
- # Lists a collection of the members of the group, specified by its identifier.
510
+ # Lists a collection of user entities associated with the group.
528
511
  #
529
512
  # @param next_page_link [String] The NextLink from the previous successful call
530
513
  # to List operation.
@@ -539,7 +522,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
539
522
  end
540
523
 
541
524
  #
542
- # Lists a collection of the members of the group, specified by its identifier.
525
+ # Lists a collection of user entities associated with the group.
543
526
  #
544
527
  # @param next_page_link [String] The NextLink from the previous successful call
545
528
  # to List operation.
@@ -553,7 +536,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
553
536
  end
554
537
 
555
538
  #
556
- # Lists a collection of the members of the group, specified by its identifier.
539
+ # Lists a collection of user entities associated with the group.
557
540
  #
558
541
  # @param next_page_link [String] The NextLink from the previous successful call
559
542
  # to List operation.
@@ -594,11 +577,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
594
577
  end
595
578
 
596
579
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
580
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
581
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
597
582
  # Deserialize Response
598
583
  if status_code == 200
599
584
  begin
600
585
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
601
- result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserCollection.mapper()
586
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::UserCollection.mapper()
602
587
  result.body = @client.deserialize(result_mapper, parsed_response)
603
588
  rescue Exception => e
604
589
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -612,29 +597,23 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
612
597
  end
613
598
 
614
599
  #
615
- # Lists a collection of the members of the group, specified by its identifier.
600
+ # Lists a collection of user entities associated with the group.
616
601
  #
617
602
  # @param resource_group_name [String] The name of the resource group.
618
603
  # @param service_name [String] The name of the API Management service.
619
604
  # @param group_id [String] Group identifier. Must be unique in the current API
620
605
  # Management service instance.
621
- # @param filter [String] | Field | Supported operators |
622
- # Supported functions |
623
- # |------------------|------------------------|-----------------------------------|
624
- # | id | ge, le, eq, ne, gt, lt | substringof, contains,
625
- # startswith, endswith |
626
- # | firstName | ge, le, eq, ne, gt, lt | substringof, contains,
627
- # startswith, endswith |
628
- # | lastName | ge, le, eq, ne, gt, lt | substringof, contains,
629
- # startswith, endswith |
630
- # | email | ge, le, eq, ne, gt, lt | substringof, contains,
631
- # startswith, endswith |
632
- # | state | eq | N/A
633
- # |
634
- # | registrationDate | ge, le, eq, ne, gt, lt | N/A
635
- # |
636
- # | note | ge, le, eq, ne, gt, lt | substringof, contains,
637
- # startswith, endswith |
606
+ # @param filter [String] | Field | Usage | Supported
607
+ # operators | Supported functions
608
+ # |</br>|-------------|-------------|-------------|-------------|</br>| name |
609
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
610
+ # | </br>| firstName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
611
+ # startswith, endswith | </br>| lastName | filter | ge, le, eq, ne, gt, lt |
612
+ # substringof, contains, startswith, endswith | </br>| email | filter | ge, le,
613
+ # eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
614
+ # registrationDate | filter | ge, le, eq, ne, gt, lt | | </br>| note |
615
+ # filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
616
+ # | </br>
638
617
  # @param top [Integer] Number of records to return.
639
618
  # @param skip [Integer] Number of records to skip.
640
619
  # @param custom_headers [Hash{String => String}] A hash of custom headers that