azure_mgmt_api_management 0.18.1 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1515) hide show
  1. checksums.yaml +5 -5
  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/models/api_collection.rb +1 -1
  15. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb +1 -1
  16. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
  17. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
  18. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
  19. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
  20. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
  21. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
  22. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
  23. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
  24. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
  25. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
  26. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
  27. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
  28. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
  29. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb +2 -2
  30. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb +2 -2
  31. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
  32. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
  33. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
  34. data/lib/2016-07-07/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
  35. data/lib/2016-07-07/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  36. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_apis.rb +8 -0
  37. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_groups.rb +8 -0
  38. data/lib/2016-07-07/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  39. data/lib/2016-07-07/generated/azure_mgmt_api_management/products.rb +12 -0
  40. data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +15 -3
  41. data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  42. data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  43. data/lib/2016-07-07/generated/azure_mgmt_api_management/regions.rb +2 -0
  44. data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +8 -4
  45. data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +19 -3
  46. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  47. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  48. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
  49. data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
  50. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_groups.rb +4 -0
  51. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  52. data/lib/2016-07-07/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
  53. data/lib/2016-07-07/generated/azure_mgmt_api_management/users.rb +14 -0
  54. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_export.rb +2 -0
  55. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  56. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  57. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb +32 -0
  58. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations.rb +12 -0
  59. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations_policy.rb +6 -0
  60. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_policy.rb +6 -0
  61. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_products.rb +4 -0
  62. data/lib/2016-10-10/generated/azure_mgmt_api_management/apis.rb +12 -0
  63. data/lib/2016-10-10/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
  64. data/lib/2016-10-10/generated/azure_mgmt_api_management/backends.rb +12 -0
  65. data/lib/2016-10-10/generated/azure_mgmt_api_management/certificates.rb +10 -0
  66. data/lib/2016-10-10/generated/azure_mgmt_api_management/group_users.rb +8 -0
  67. data/lib/2016-10-10/generated/azure_mgmt_api_management/groups.rb +12 -0
  68. data/lib/2016-10-10/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
  69. data/lib/2016-10-10/generated/azure_mgmt_api_management/loggers.rb +12 -0
  70. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
  71. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
  72. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
  73. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
  74. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
  75. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
  76. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
  77. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
  78. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
  79. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
  80. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
  81. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
  82. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
  83. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
  84. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
  85. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
  86. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
  87. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
  88. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
  89. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
  90. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
  91. data/lib/2016-10-10/generated/azure_mgmt_api_management/network_status.rb +2 -0
  92. data/lib/2016-10-10/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
  93. data/lib/2016-10-10/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  94. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_apis.rb +8 -0
  95. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_groups.rb +8 -0
  96. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_policy.rb +6 -0
  97. data/lib/2016-10-10/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  98. data/lib/2016-10-10/generated/azure_mgmt_api_management/products.rb +12 -0
  99. data/lib/2016-10-10/generated/azure_mgmt_api_management/properties.rb +4 -0
  100. data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +11 -3
  101. data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  102. data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  103. data/lib/2016-10-10/generated/azure_mgmt_api_management/regions.rb +2 -0
  104. data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +8 -4
  105. data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +19 -3
  106. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  107. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  108. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
  109. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
  110. data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb +6 -0
  111. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_groups.rb +4 -0
  112. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  113. data/lib/2016-10-10/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
  114. data/lib/2016-10-10/generated/azure_mgmt_api_management/users.rb +16 -0
  115. data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +18 -0
  116. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
  117. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +20 -10
  118. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
  119. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +2 -0
  120. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +2 -0
  121. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +8 -0
  122. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +6 -0
  123. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +11 -7
  124. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +6 -0
  125. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +11 -7
  126. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +11 -7
  127. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  128. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  129. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +41 -1
  130. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
  131. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
  132. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  133. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
  134. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +12 -0
  135. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
  136. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
  137. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
  138. data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
  139. data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +16 -0
  140. data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
  141. data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
  142. data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
  143. data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +20 -10
  144. data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
  145. data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +14 -0
  146. data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
  147. data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +12 -0
  148. data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +14 -0
  149. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
  150. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
  151. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
  152. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
  153. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
  154. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +1 -1
  155. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
  156. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
  157. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
  158. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
  159. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
  160. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
  161. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
  162. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
  163. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
  164. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
  165. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
  166. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
  167. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
  168. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_sampling_contract.rb +1 -1
  169. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
  170. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
  171. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
  172. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
  173. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
  174. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
  175. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
  176. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
  177. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
  178. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
  179. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
  180. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
  181. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
  182. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
  183. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -1
  184. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
  185. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
  186. data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
  187. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +8 -0
  188. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
  189. data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
  190. data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
  191. data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
  192. data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +8 -0
  193. data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
  194. data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +14 -0
  195. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
  196. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
  197. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +8 -0
  198. data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
  199. data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +17 -3
  200. data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  201. data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  202. data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +2 -0
  203. data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +41 -11
  204. data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
  205. data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
  206. data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +21 -3
  207. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +50 -0
  208. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +15 -3
  209. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
  210. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
  211. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  212. data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  213. data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +18 -0
  214. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
  215. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +2 -0
  216. data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
  217. data/lib/2018-01-01/generated/azure_mgmt_api_management.rb +303 -0
  218. data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +1162 -0
  219. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +888 -0
  220. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +659 -0
  221. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
  222. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +901 -0
  223. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +826 -0
  224. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +823 -0
  225. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +369 -0
  226. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
  227. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1944 -0
  228. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  229. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +919 -0
  230. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +649 -0
  231. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +599 -0
  232. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +276 -0
  233. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +907 -0
  234. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +284 -0
  235. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +750 -0
  236. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +878 -0
  237. data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +833 -0
  238. data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +947 -0
  239. data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +742 -0
  240. data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +424 -0
  241. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +826 -0
  242. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +624 -0
  243. data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +910 -0
  244. data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +853 -0
  245. data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +667 -0
  246. data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +810 -0
  247. data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +833 -0
  248. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
  249. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
  250. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
  251. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
  252. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +288 -0
  253. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +222 -0
  254. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +313 -0
  255. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
  256. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +179 -0
  257. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
  258. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
  259. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
  260. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +322 -0
  261. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
  262. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
  263. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
  264. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
  265. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
  266. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +442 -0
  267. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
  268. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
  269. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +431 -0
  270. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
  271. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
  272. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
  273. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
  274. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
  275. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
  276. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +221 -0
  277. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
  278. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +249 -0
  279. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
  280. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
  281. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +96 -0
  282. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
  283. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
  284. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
  285. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
  286. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
  287. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
  288. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
  289. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
  290. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
  291. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
  292. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
  293. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
  294. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
  295. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
  296. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
  297. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
  298. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
  299. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
  300. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
  301. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
  302. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
  303. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
  304. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
  305. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  306. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
  307. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
  308. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
  309. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
  310. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
  311. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
  312. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
  313. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
  314. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
  315. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
  316. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
  317. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
  318. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
  319. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +74 -0
  320. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
  321. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
  322. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
  323. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
  324. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
  325. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
  326. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
  327. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/export_format.rb +17 -0
  328. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
  329. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
  330. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
  331. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
  332. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
  333. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
  334. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
  335. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
  336. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +138 -0
  337. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
  338. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
  339. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
  340. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
  341. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
  342. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
  343. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
  344. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
  345. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
  346. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
  347. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
  348. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
  349. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
  350. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  351. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  352. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
  353. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
  354. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +121 -0
  355. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
  356. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
  357. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
  358. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
  359. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
  360. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
  361. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
  362. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
  363. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
  364. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  365. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
  366. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
  367. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
  368. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
  369. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
  370. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
  371. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
  372. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
  373. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
  374. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
  375. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
  376. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
  377. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
  378. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
  379. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
  380. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
  381. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
  382. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
  383. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
  384. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
  385. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
  386. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
  387. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
  388. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
  389. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
  390. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
  391. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
  392. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
  393. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
  394. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
  395. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
  396. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
  397. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
  398. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
  399. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
  400. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
  401. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
  402. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
  403. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
  404. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
  405. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
  406. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
  407. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
  408. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
  409. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
  410. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
  411. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
  412. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
  413. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
  414. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
  415. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
  416. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
  417. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
  418. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  419. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +85 -0
  420. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  421. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  422. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  423. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
  424. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
  425. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
  426. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
  427. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
  428. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
  429. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
  430. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
  431. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
  432. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
  433. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
  434. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
  435. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
  436. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
  437. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
  438. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
  439. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
  440. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
  441. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
  442. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
  443. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +109 -0
  444. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
  445. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
  446. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
  447. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
  448. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
  449. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
  450. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
  451. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
  452. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
  453. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
  454. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
  455. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
  456. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
  457. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
  458. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
  459. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
  460. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
  461. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
  462. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
  463. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
  464. data/lib/2018-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
  465. data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
  466. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +477 -0
  467. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
  468. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +503 -0
  469. data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +821 -0
  470. data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +320 -0
  471. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +536 -0
  472. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +128 -0
  473. data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +876 -0
  474. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +664 -0
  475. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +653 -0
  476. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +581 -0
  477. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +316 -0
  478. data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +818 -0
  479. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
  480. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
  481. data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +234 -0
  482. data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +1720 -0
  483. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +424 -0
  484. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +424 -0
  485. data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +1088 -0
  486. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +3131 -0
  487. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +799 -0
  488. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +360 -0
  489. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +409 -0
  490. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +297 -0
  491. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
  492. data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +1214 -0
  493. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +291 -0
  494. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +246 -0
  495. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +316 -0
  496. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +161 -144
  497. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +296 -207
  498. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +40 -18
  499. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +5 -3
  500. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +214 -62
  501. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +62 -45
  502. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +62 -45
  503. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +41 -25
  504. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  505. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +139 -56
  506. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  507. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +75 -29
  508. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +16 -6
  509. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  510. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +33 -21
  511. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +83 -58
  512. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +9 -5
  513. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +74 -18
  514. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +60 -94
  515. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +53 -35
  516. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +154 -130
  517. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/cache.rb +809 -0
  518. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +60 -48
  519. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +24 -9
  520. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +34 -12
  521. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +48 -10
  522. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +66 -52
  523. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +126 -128
  524. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +20 -6
  525. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/issue.rb +410 -0
  526. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +127 -94
  527. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
  528. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +12 -0
  529. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +8 -0
  530. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +13 -1
  531. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +12 -0
  532. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
  533. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
  534. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
  535. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +1 -1
  536. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
  537. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +1 -1
  538. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
  539. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +8 -0
  540. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +12 -0
  541. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
  542. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +27 -0
  543. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
  544. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
  545. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +1 -1
  546. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
  547. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  548. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  549. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  550. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  551. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
  552. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +1 -2
  553. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +3 -0
  554. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
  555. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
  556. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +15 -2
  557. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
  558. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +1 -0
  559. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
  560. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
  561. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +1 -1
  562. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +3 -2
  563. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +3 -2
  564. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -1
  565. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +12 -0
  566. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +12 -0
  567. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +1 -1
  568. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +12 -0
  569. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
  570. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
  571. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
  572. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +27 -27
  573. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  574. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  575. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
  576. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
  577. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  578. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
  579. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
  580. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
  581. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +1 -1
  582. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
  583. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
  584. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +1 -1
  585. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
  586. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
  587. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
  588. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  589. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  590. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  591. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  592. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  593. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
  594. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +1 -0
  595. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
  596. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +22 -12
  597. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +21 -10
  598. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +20 -8
  599. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
  600. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
  601. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -12
  602. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
  603. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -1
  604. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -1
  605. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -1
  606. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +1 -1
  607. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -1
  608. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +4 -0
  609. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +13 -5
  610. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +10 -4
  611. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +52 -46
  612. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +55 -37
  613. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +76 -64
  614. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +29 -18
  615. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +3 -1
  616. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +366 -69
  617. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +64 -60
  618. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +54 -58
  619. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +29 -19
  620. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +86 -62
  621. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +65 -43
  622. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +6 -2
  623. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +6 -2
  624. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/region.rb +234 -0
  625. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +41 -11
  626. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +24 -9
  627. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +24 -9
  628. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +115 -77
  629. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +715 -716
  630. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +50 -34
  631. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +106 -114
  632. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +105 -10
  633. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  634. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  635. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +192 -174
  636. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_confirmation_password.rb +121 -0
  637. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +57 -49
  638. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +28 -24
  639. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +93 -77
  640. data/lib/2019-01-01/generated/azure_mgmt_api_management.rb +313 -0
  641. data/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb +1221 -0
  642. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +886 -0
  643. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
  644. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb +896 -0
  645. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +818 -0
  646. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +815 -0
  647. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +373 -0
  648. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
  649. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1691 -0
  650. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  651. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation.rb +930 -0
  652. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +650 -0
  653. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_policy.rb +605 -0
  654. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_product.rb +275 -0
  655. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_release.rb +904 -0
  656. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_revision.rb +275 -0
  657. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_schema.rb +789 -0
  658. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_tag_description.rb +795 -0
  659. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_version_set.rb +822 -0
  660. data/lib/2019-01-01/generated/azure_mgmt_api_management/authorization_server.rb +829 -0
  661. data/lib/2019-01-01/generated/azure_mgmt_api_management/backend.rb +941 -0
  662. data/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb +809 -0
  663. data/lib/2019-01-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
  664. data/lib/2019-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +431 -0
  665. data/lib/2019-01-01/generated/azure_mgmt_api_management/diagnostic.rb +830 -0
  666. data/lib/2019-01-01/generated/azure_mgmt_api_management/email_template.rb +941 -0
  667. data/lib/2019-01-01/generated/azure_mgmt_api_management/group.rb +836 -0
  668. data/lib/2019-01-01/generated/azure_mgmt_api_management/group_user.rb +636 -0
  669. data/lib/2019-01-01/generated/azure_mgmt_api_management/identity_provider.rb +810 -0
  670. data/lib/2019-01-01/generated/azure_mgmt_api_management/issue.rb +390 -0
  671. data/lib/2019-01-01/generated/azure_mgmt_api_management/logger.rb +840 -0
  672. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +79 -0
  673. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
  674. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
  675. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
  676. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
  677. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
  678. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
  679. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +335 -0
  680. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
  681. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
  682. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
  683. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
  684. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
  685. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
  686. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +361 -0
  687. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
  688. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
  689. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
  690. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
  691. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
  692. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +481 -0
  693. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
  694. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +470 -0
  695. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
  696. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
  697. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
  698. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
  699. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
  700. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
  701. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
  702. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
  703. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
  704. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
  705. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
  706. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
  707. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
  708. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
  709. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
  710. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
  711. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
  712. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
  713. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
  714. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
  715. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
  716. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
  717. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
  718. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
  719. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
  720. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
  721. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
  722. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
  723. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
  724. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
  725. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
  726. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
  727. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
  728. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
  729. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  730. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
  731. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  732. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  733. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  734. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
  735. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
  736. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
  737. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
  738. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
  739. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
  740. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
  741. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
  742. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
  743. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/content_format.rb +23 -0
  744. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
  745. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
  746. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +136 -0
  747. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
  748. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
  749. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
  750. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
  751. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
  752. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
  753. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
  754. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_format.rb +18 -0
  755. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
  756. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
  757. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
  758. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
  759. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
  760. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
  761. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
  762. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
  763. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
  764. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
  765. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
  766. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
  767. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +143 -0
  768. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +203 -0
  769. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
  770. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
  771. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +176 -0
  772. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
  773. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
  774. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
  775. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
  776. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
  777. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
  778. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  779. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  780. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
  781. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
  782. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
  783. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
  784. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
  785. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
  786. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
  787. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
  788. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
  789. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
  790. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
  791. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
  792. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  793. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
  794. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
  795. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
  796. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
  797. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
  798. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
  799. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
  800. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
  801. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
  802. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
  803. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
  804. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
  805. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
  806. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
  807. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
  808. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
  809. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
  810. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
  811. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
  812. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
  813. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
  814. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
  815. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
  816. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
  817. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
  818. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
  819. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
  820. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
  821. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
  822. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
  823. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
  824. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
  825. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
  826. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
  827. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
  828. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
  829. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
  830. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
  831. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
  832. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
  833. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
  834. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
  835. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
  836. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
  837. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
  838. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
  839. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
  840. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
  841. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
  842. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
  843. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
  844. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
  845. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
  846. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
  847. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
  848. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  849. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  850. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  851. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  852. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  853. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
  854. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
  855. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
  856. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
  857. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
  858. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +90 -0
  859. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_create_or_update_contract.rb +91 -0
  860. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
  861. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
  862. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
  863. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
  864. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +254 -0
  865. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
  866. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
  867. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
  868. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
  869. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
  870. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
  871. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
  872. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
  873. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
  874. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
  875. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
  876. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
  877. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
  878. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
  879. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
  880. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
  881. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
  882. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
  883. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
  884. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
  885. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
  886. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
  887. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
  888. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
  889. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
  890. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
  891. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
  892. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
  893. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
  894. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
  895. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
  896. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
  897. data/lib/2019-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
  898. data/lib/2019-01-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
  899. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification.rb +477 -0
  900. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
  901. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +500 -0
  902. data/lib/2019-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +817 -0
  903. data/lib/2019-01-01/generated/azure_mgmt_api_management/operation_operations.rb +308 -0
  904. data/lib/2019-01-01/generated/azure_mgmt_api_management/policy.rb +543 -0
  905. data/lib/2019-01-01/generated/azure_mgmt_api_management/policy_snippet.rb +128 -0
  906. data/lib/2019-01-01/generated/azure_mgmt_api_management/product.rb +1126 -0
  907. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_api.rb +642 -0
  908. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_group.rb +620 -0
  909. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_policy.rb +582 -0
  910. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +307 -0
  911. data/lib/2019-01-01/generated/azure_mgmt_api_management/property.rb +814 -0
  912. data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
  913. data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
  914. data/lib/2019-01-01/generated/azure_mgmt_api_management/region.rb +234 -0
  915. data/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb +2129 -0
  916. data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +431 -0
  917. data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +431 -0
  918. data/lib/2019-01-01/generated/azure_mgmt_api_management/subscription.rb +1080 -0
  919. data/lib/2019-01-01/generated/azure_mgmt_api_management/tag.rb +3038 -0
  920. data/lib/2019-01-01/generated/azure_mgmt_api_management/tag_resource.rb +320 -0
  921. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access.rb +496 -0
  922. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +297 -0
  923. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
  924. data/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb +1090 -0
  925. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
  926. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_group.rb +282 -0
  927. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_identities.rb +245 -0
  928. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_subscription.rb +303 -0
  929. data/lib/2019-12-01/generated/azure_mgmt_api_management.rb +338 -0
  930. data/lib/2019-12-01/generated/azure_mgmt_api_management/api.rb +1221 -0
  931. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_diagnostic.rb +886 -0
  932. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
  933. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue.rb +896 -0
  934. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +818 -0
  935. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue_comment.rb +815 -0
  936. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_client.rb +385 -0
  937. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
  938. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service.rb +1691 -0
  939. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
  940. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_operation.rb +930 -0
  941. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_operation_policy.rb +650 -0
  942. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_policy.rb +605 -0
  943. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_product.rb +275 -0
  944. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_release.rb +904 -0
  945. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_revision.rb +275 -0
  946. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_schema.rb +844 -0
  947. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_tag_description.rb +795 -0
  948. data/lib/2019-12-01/generated/azure_mgmt_api_management/api_version_set.rb +822 -0
  949. data/lib/2019-12-01/generated/azure_mgmt_api_management/authorization_server.rb +933 -0
  950. data/lib/2019-12-01/generated/azure_mgmt_api_management/backend.rb +941 -0
  951. data/lib/2019-12-01/generated/azure_mgmt_api_management/cache.rb +809 -0
  952. data/lib/2019-12-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
  953. data/lib/2019-12-01/generated/azure_mgmt_api_management/delegation_settings.rb +528 -0
  954. data/lib/2019-12-01/generated/azure_mgmt_api_management/diagnostic.rb +830 -0
  955. data/lib/2019-12-01/generated/azure_mgmt_api_management/email_template.rb +941 -0
  956. data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway.rb +1134 -0
  957. data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_api.rb +600 -0
  958. data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_hostname_configuration.rb +720 -0
  959. data/lib/2019-12-01/generated/azure_mgmt_api_management/group.rb +836 -0
  960. data/lib/2019-12-01/generated/azure_mgmt_api_management/group_user.rb +636 -0
  961. data/lib/2019-12-01/generated/azure_mgmt_api_management/identity_provider.rb +917 -0
  962. data/lib/2019-12-01/generated/azure_mgmt_api_management/issue.rb +390 -0
  963. data/lib/2019-12-01/generated/azure_mgmt_api_management/logger.rb +840 -0
  964. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +81 -0
  965. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
  966. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb +145 -0
  967. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
  968. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
  969. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
  970. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
  971. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +336 -0
  972. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
  973. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
  974. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
  975. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
  976. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
  977. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
  978. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +404 -0
  979. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
  980. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
  981. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +99 -0
  982. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
  983. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
  984. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +524 -0
  985. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
  986. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +513 -0
  987. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
  988. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
  989. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
  990. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
  991. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
  992. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
  993. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
  994. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
  995. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_constraint.rb +47 -0
  996. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
  997. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
  998. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
  999. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
  1000. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
  1001. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_identity_type.rb +18 -0
  1002. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
  1003. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/app_type.rb +15 -0
  1004. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/association_contract.rb +75 -0
  1005. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
  1006. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +61 -0
  1007. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
  1008. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
  1009. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +310 -0
  1010. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +199 -0
  1011. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +310 -0
  1012. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
  1013. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
  1014. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
  1015. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
  1016. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
  1017. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
  1018. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
  1019. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
  1020. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
  1021. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
  1022. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
  1023. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
  1024. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
  1025. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  1026. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
  1027. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  1028. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  1029. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  1030. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
  1031. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
  1032. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
  1033. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
  1034. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
  1035. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
  1036. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_secret_contract.rb +47 -0
  1037. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
  1038. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
  1039. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
  1040. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/content_format.rb +24 -0
  1041. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
  1042. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
  1043. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +160 -0
  1044. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
  1045. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
  1046. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
  1047. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
  1048. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
  1049. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
  1050. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
  1051. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_format.rb +19 -0
  1052. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
  1053. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_collection.rb +100 -0
  1054. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_contract.rb +88 -0
  1055. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_collection.rb +102 -0
  1056. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_contract.rb +98 -0
  1057. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_key_regeneration_request_contract.rb +48 -0
  1058. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_keys_contract.rb +57 -0
  1059. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_contract.rb +47 -0
  1060. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_request_contract.rb +64 -0
  1061. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
  1062. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
  1063. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
  1064. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
  1065. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
  1066. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
  1067. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
  1068. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
  1069. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
  1070. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
  1071. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_correlation_protocol.rb +17 -0
  1072. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
  1073. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +155 -0
  1074. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +216 -0
  1075. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_create_contract.rb +216 -0
  1076. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
  1077. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
  1078. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +188 -0
  1079. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
  1080. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
  1081. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
  1082. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
  1083. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
  1084. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
  1085. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  1086. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  1087. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
  1088. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
  1089. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
  1090. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
  1091. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
  1092. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
  1093. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_collection.rb +98 -0
  1094. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_contract.rb +132 -0
  1095. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_create_contract.rb +132 -0
  1096. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_entity_base_parameters.rb +70 -0
  1097. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_update_parameters.rb +103 -0
  1098. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
  1099. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
  1100. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
  1101. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
  1102. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
  1103. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
  1104. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  1105. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
  1106. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
  1107. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
  1108. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
  1109. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
  1110. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
  1111. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
  1112. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
  1113. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
  1114. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
  1115. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
  1116. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
  1117. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
  1118. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
  1119. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
  1120. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
  1121. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
  1122. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
  1123. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_collection.rb +67 -0
  1124. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_contract.rb +86 -0
  1125. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
  1126. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
  1127. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
  1128. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_setting_validation_key_contract.rb +47 -0
  1129. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
  1130. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
  1131. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
  1132. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
  1133. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
  1134. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
  1135. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
  1136. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
  1137. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/property_value_contract.rb +46 -0
  1138. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
  1139. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/provisioning_state.rb +15 -0
  1140. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
  1141. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
  1142. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
  1143. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
  1144. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
  1145. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
  1146. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
  1147. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
  1148. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
  1149. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
  1150. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
  1151. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
  1152. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
  1153. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
  1154. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
  1155. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
  1156. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
  1157. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
  1158. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
  1159. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_location_data_contract.rb +93 -0
  1160. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  1161. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  1162. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  1163. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  1164. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  1165. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
  1166. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
  1167. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
  1168. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
  1169. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
  1170. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/schema_contract.rb +103 -0
  1171. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
  1172. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
  1173. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
  1174. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
  1175. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +258 -0
  1176. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
  1177. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
  1178. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_keys_contract.rb +65 -0
  1179. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
  1180. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
  1181. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
  1182. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
  1183. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
  1184. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
  1185. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
  1186. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +125 -0
  1187. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
  1188. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
  1189. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
  1190. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
  1191. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
  1192. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
  1193. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
  1194. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
  1195. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
  1196. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
  1197. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +166 -0
  1198. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
  1199. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
  1200. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
  1201. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_properties.rb +58 -0
  1202. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
  1203. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
  1204. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
  1205. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
  1206. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/verbosity.rb +17 -0
  1207. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
  1208. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
  1209. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
  1210. data/lib/2019-12-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
  1211. data/lib/2019-12-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
  1212. data/lib/2019-12-01/generated/azure_mgmt_api_management/named_value.rb +1030 -0
  1213. data/lib/2019-12-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
  1214. data/lib/2019-12-01/generated/azure_mgmt_api_management/notification.rb +477 -0
  1215. data/lib/2019-12-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
  1216. data/lib/2019-12-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +500 -0
  1217. data/lib/2019-12-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +920 -0
  1218. data/lib/2019-12-01/generated/azure_mgmt_api_management/operation_operations.rb +308 -0
  1219. data/lib/2019-12-01/generated/azure_mgmt_api_management/policy.rb +543 -0
  1220. data/lib/2019-12-01/generated/azure_mgmt_api_management/policy_description.rb +128 -0
  1221. data/lib/2019-12-01/generated/azure_mgmt_api_management/product.rb +1126 -0
  1222. data/lib/2019-12-01/generated/azure_mgmt_api_management/product_api.rb +642 -0
  1223. data/lib/2019-12-01/generated/azure_mgmt_api_management/product_group.rb +620 -0
  1224. data/lib/2019-12-01/generated/azure_mgmt_api_management/product_policy.rb +582 -0
  1225. data/lib/2019-12-01/generated/azure_mgmt_api_management/product_subscriptions.rb +307 -0
  1226. data/lib/2019-12-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
  1227. data/lib/2019-12-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
  1228. data/lib/2019-12-01/generated/azure_mgmt_api_management/region.rb +234 -0
  1229. data/lib/2019-12-01/generated/azure_mgmt_api_management/reports.rb +2129 -0
  1230. data/lib/2019-12-01/generated/azure_mgmt_api_management/sign_in_settings.rb +431 -0
  1231. data/lib/2019-12-01/generated/azure_mgmt_api_management/sign_up_settings.rb +431 -0
  1232. data/lib/2019-12-01/generated/azure_mgmt_api_management/subscription.rb +1186 -0
  1233. data/lib/2019-12-01/generated/azure_mgmt_api_management/tag.rb +3038 -0
  1234. data/lib/2019-12-01/generated/azure_mgmt_api_management/tag_resource.rb +320 -0
  1235. data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access.rb +594 -0
  1236. data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access_git.rb +395 -0
  1237. data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
  1238. data/lib/2019-12-01/generated/azure_mgmt_api_management/user.rb +1090 -0
  1239. data/lib/2019-12-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
  1240. data/lib/2019-12-01/generated/azure_mgmt_api_management/user_group.rb +282 -0
  1241. data/lib/2019-12-01/generated/azure_mgmt_api_management/user_identities.rb +245 -0
  1242. data/lib/2019-12-01/generated/azure_mgmt_api_management/user_subscription.rb +303 -0
  1243. data/lib/azure_mgmt_api_management.rb +4 -2
  1244. data/lib/profiles/latest/modules/apimanagement_profile_module.rb +806 -652
  1245. data/lib/version.rb +1 -1
  1246. metadata +905 -274
  1247. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +0 -292
  1248. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api.rb +0 -1144
  1249. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +0 -874
  1250. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +0 -649
  1251. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_export.rb +0 -147
  1252. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue.rb +0 -762
  1253. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +0 -814
  1254. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +0 -811
  1255. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +0 -365
  1256. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +0 -222
  1257. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +0 -1914
  1258. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_operation.rb +0 -905
  1259. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +0 -639
  1260. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_policy.rb +0 -589
  1261. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_product.rb +0 -272
  1262. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_release.rb +0 -893
  1263. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +0 -280
  1264. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_schema.rb +0 -738
  1265. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +0 -864
  1266. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +0 -819
  1267. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/backend.rb +0 -931
  1268. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/certificate.rb +0 -730
  1269. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +0 -416
  1270. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +0 -812
  1271. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic_logger.rb +0 -614
  1272. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/email_template.rb +0 -896
  1273. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/group.rb +0 -839
  1274. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/group_user.rb +0 -657
  1275. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +0 -796
  1276. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/logger.rb +0 -819
  1277. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/access_information_contract.rb +0 -80
  1278. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +0 -48
  1279. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb +0 -131
  1280. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +0 -100
  1281. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +0 -288
  1282. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +0 -222
  1283. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +0 -313
  1284. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +0 -57
  1285. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +0 -179
  1286. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb +0 -47
  1287. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +0 -49
  1288. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +0 -84
  1289. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +0 -322
  1290. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +0 -47
  1291. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +0 -47
  1292. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +0 -73
  1293. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +0 -100
  1294. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +0 -81
  1295. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +0 -442
  1296. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +0 -60
  1297. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +0 -77
  1298. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +0 -431
  1299. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +0 -72
  1300. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +0 -100
  1301. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_contract.rb +0 -110
  1302. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +0 -100
  1303. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_contract.rb +0 -145
  1304. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +0 -88
  1305. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +0 -221
  1306. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_type.rb +0 -16
  1307. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +0 -249
  1308. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +0 -98
  1309. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +0 -133
  1310. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +0 -96
  1311. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +0 -78
  1312. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +0 -106
  1313. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/apim_resource.rb +0 -91
  1314. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/async_operation_status.rb +0 -18
  1315. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +0 -48
  1316. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_method.rb +0 -22
  1317. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +0 -109
  1318. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +0 -309
  1319. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +0 -211
  1320. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +0 -309
  1321. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +0 -65
  1322. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +0 -131
  1323. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +0 -98
  1324. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_contract.rb +0 -185
  1325. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +0 -124
  1326. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_properties.rb +0 -48
  1327. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_protocol.rb +0 -16
  1328. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +0 -74
  1329. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +0 -74
  1330. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +0 -119
  1331. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +0 -63
  1332. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +0 -158
  1333. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +0 -16
  1334. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +0 -98
  1335. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +0 -85
  1336. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_contract.rb +0 -98
  1337. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +0 -58
  1338. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_information.rb +0 -70
  1339. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/client_authentication_method.rb +0 -16
  1340. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/confirmation.rb +0 -16
  1341. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +0 -107
  1342. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +0 -17
  1343. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +0 -20
  1344. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +0 -59
  1345. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +0 -98
  1346. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +0 -74
  1347. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +0 -98
  1348. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_contract.rb +0 -147
  1349. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +0 -83
  1350. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +0 -107
  1351. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_field_contract.rb +0 -68
  1352. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response.rb +0 -79
  1353. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb +0 -79
  1354. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +0 -17
  1355. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +0 -46
  1356. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/grant_type.rb +0 -18
  1357. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +0 -98
  1358. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +0 -131
  1359. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +0 -104
  1360. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +0 -88
  1361. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_type.rb +0 -17
  1362. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +0 -88
  1363. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -139
  1364. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +0 -71
  1365. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_type.rb +0 -18
  1366. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +0 -131
  1367. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +0 -191
  1368. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +0 -99
  1369. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_type.rb +0 -20
  1370. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +0 -164
  1371. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +0 -100
  1372. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +0 -97
  1373. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +0 -100
  1374. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +0 -100
  1375. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +0 -96
  1376. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +0 -130
  1377. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/key_type.rb +0 -16
  1378. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +0 -109
  1379. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_contract.rb +0 -121
  1380. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_type.rb +0 -16
  1381. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_update_contract.rb +0 -89
  1382. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/name_availability_reason.rb +0 -17
  1383. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/network_status_contract.rb +0 -75
  1384. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +0 -61
  1385. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +0 -98
  1386. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_contract.rb +0 -100
  1387. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_name.rb +0 -21
  1388. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +0 -57
  1389. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +0 -98
  1390. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +0 -122
  1391. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +0 -95
  1392. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation.rb +0 -80
  1393. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +0 -100
  1394. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_contract.rb +0 -185
  1395. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_display.rb +0 -80
  1396. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +0 -114
  1397. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +0 -101
  1398. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb +0 -134
  1399. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +0 -69
  1400. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +0 -134
  1401. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_update_contract.rb +0 -158
  1402. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/parameter_contract.rb +0 -109
  1403. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_collection.rb +0 -66
  1404. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb +0 -18
  1405. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb +0 -87
  1406. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +0 -19
  1407. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +0 -83
  1408. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +0 -55
  1409. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +0 -111
  1410. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +0 -73
  1411. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +0 -86
  1412. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +0 -98
  1413. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_contract.rb +0 -167
  1414. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +0 -125
  1415. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_state.rb +0 -16
  1416. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +0 -115
  1417. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_update_parameters.rb +0 -140
  1418. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +0 -98
  1419. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb +0 -130
  1420. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +0 -70
  1421. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb +0 -103
  1422. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/protocol.rb +0 -16
  1423. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +0 -77
  1424. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +0 -104
  1425. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +0 -57
  1426. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +0 -57
  1427. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +0 -66
  1428. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +0 -73
  1429. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +0 -66
  1430. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +0 -73
  1431. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +0 -73
  1432. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/region_contract.rb +0 -69
  1433. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +0 -109
  1434. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +0 -46
  1435. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +0 -109
  1436. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +0 -338
  1437. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/representation_contract.rb +0 -106
  1438. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_contract.rb +0 -109
  1439. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_report_collection.rb +0 -66
  1440. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +0 -245
  1441. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/resource.rb +0 -80
  1442. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/response_contract.rb +0 -99
  1443. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +0 -60
  1444. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +0 -100
  1445. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_contract.rb +0 -87
  1446. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +0 -18
  1447. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/soap_api_type.rb +0 -16
  1448. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/state.rb +0 -19
  1449. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +0 -98
  1450. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +0 -244
  1451. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +0 -128
  1452. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +0 -57
  1453. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_state.rb +0 -20
  1454. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +0 -146
  1455. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +0 -47
  1456. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +0 -98
  1457. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_contract.rb +0 -77
  1458. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +0 -50
  1459. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +0 -98
  1460. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_contract.rb +0 -114
  1461. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +0 -72
  1462. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +0 -109
  1463. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +0 -86
  1464. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +0 -61
  1465. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/template_name.rb +0 -28
  1466. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +0 -121
  1467. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +0 -68
  1468. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +0 -57
  1469. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +0 -98
  1470. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -179
  1471. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -154
  1472. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -83
  1473. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +0 -109
  1474. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_identity_contract.rb +0 -57
  1475. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_state.rb +0 -18
  1476. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_token_parameters.rb +0 -64
  1477. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_token_result.rb +0 -46
  1478. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -140
  1479. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/versioning_scheme.rb +0 -17
  1480. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +0 -76
  1481. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/virtual_network_type.rb +0 -17
  1482. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/x509certificate_name.rb +0 -57
  1483. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/module_definition.rb +0 -9
  1484. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/network_status.rb +0 -254
  1485. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification.rb +0 -469
  1486. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +0 -474
  1487. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +0 -495
  1488. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +0 -807
  1489. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +0 -316
  1490. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/policy.rb +0 -526
  1491. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +0 -126
  1492. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product.rb +0 -862
  1493. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_api.rb +0 -654
  1494. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_group.rb +0 -643
  1495. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_policy.rb +0 -571
  1496. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +0 -312
  1497. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/property.rb +0 -804
  1498. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +0 -262
  1499. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +0 -261
  1500. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/regions.rb +0 -230
  1501. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/reports.rb +0 -1690
  1502. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +0 -416
  1503. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +0 -416
  1504. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/subscription.rb +0 -1070
  1505. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag.rb +0 -3081
  1506. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag_description.rb +0 -787
  1507. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +0 -356
  1508. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +0 -401
  1509. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +0 -291
  1510. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +0 -607
  1511. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user.rb +0 -1099
  1512. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_group.rb +0 -287
  1513. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_identities.rb +0 -242
  1514. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +0 -312
  1515. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/regions.rb +0 -230
@@ -22,17 +22,23 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
22
22
  attr_reader :client
23
23
 
24
24
  #
25
- # Lists a collection of tags defined within a service instance.
25
+ # Lists all Tags associated with the Operation.
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 api_id [String] API revision identifier. Must be unique in the current
30
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
31
+ # where n is the revision number.
32
+ # @param operation_id [String] Operation identifier within an API. Must be
33
+ # unique in the current API Management service instance.
29
34
  # @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 |
35
+ # functions |
36
+ # |-------------|------------------------|-----------------------------------|
37
+ #
38
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
39
+ # endswith|
40
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
41
+ #
36
42
  # @param top [Integer] Number of records to return.
37
43
  # @param skip [Integer] Number of records to skip.
38
44
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -40,23 +46,29 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
40
46
  #
41
47
  # @return [Array<TagContract>] operation results.
42
48
  #
43
- def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
44
- first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
49
+ def list_by_operation(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
50
+ first_page = list_by_operation_as_lazy(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
45
51
  first_page.get_all_items
46
52
  end
47
53
 
48
54
  #
49
- # Lists a collection of tags defined within a service instance.
55
+ # Lists all Tags associated with the Operation.
50
56
  #
51
57
  # @param resource_group_name [String] The name of the resource group.
52
58
  # @param service_name [String] The name of the API Management service.
59
+ # @param api_id [String] API revision identifier. Must be unique in the current
60
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
61
+ # where n is the revision number.
62
+ # @param operation_id [String] Operation identifier within an API. Must be
63
+ # unique in the current API Management service instance.
53
64
  # @param filter [String] | Field | Supported operators | Supported
54
- # functions |
55
- # |-------------|------------------------|---------------------------------------------|
56
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
57
- # endswith |
58
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
59
- # endswith |
65
+ # functions |
66
+ # |-------------|------------------------|-----------------------------------|
67
+ #
68
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
69
+ # endswith|
70
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
71
+ #
60
72
  # @param top [Integer] Number of records to return.
61
73
  # @param skip [Integer] Number of records to skip.
62
74
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -64,22 +76,28 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
64
76
  #
65
77
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
66
78
  #
67
- def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
68
- list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
79
+ def list_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
80
+ list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
69
81
  end
70
82
 
71
83
  #
72
- # Lists a collection of tags defined within a service instance.
84
+ # Lists all Tags associated with the Operation.
73
85
  #
74
86
  # @param resource_group_name [String] The name of the resource group.
75
87
  # @param service_name [String] The name of the API Management service.
88
+ # @param api_id [String] API revision identifier. Must be unique in the current
89
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
90
+ # where n is the revision number.
91
+ # @param operation_id [String] Operation identifier within an API. Must be
92
+ # unique in the current API Management service instance.
76
93
  # @param filter [String] | Field | Supported operators | Supported
77
- # functions |
78
- # |-------------|------------------------|---------------------------------------------|
79
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
80
- # endswith |
81
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
82
- # endswith |
94
+ # functions |
95
+ # |-------------|------------------------|-----------------------------------|
96
+ #
97
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
98
+ # endswith|
99
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
100
+ #
83
101
  # @param top [Integer] Number of records to return.
84
102
  # @param skip [Integer] Number of records to skip.
85
103
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -87,12 +105,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
87
105
  #
88
106
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
89
107
  #
90
- def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
108
+ def list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
91
109
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
92
110
  fail ArgumentError, 'service_name is nil' if service_name.nil?
93
111
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
94
112
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
95
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?
114
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
115
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
116
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
117
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
118
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
119
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
120
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
121
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
96
122
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
97
123
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
98
124
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -105,13 +131,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
105
131
  # Set Headers
106
132
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
107
133
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
108
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags'
134
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags'
109
135
 
110
136
  request_url = @base_url || @client.base_url
111
137
 
112
138
  options = {
113
139
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
114
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
140
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'subscriptionId' => @client.subscription_id},
115
141
  query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
116
142
  headers: request_headers.merge(custom_headers || {}),
117
143
  base_url: request_url
@@ -124,10 +150,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
124
150
  response_content = http_response.body
125
151
  unless status_code == 200
126
152
  error_model = JSON.load(response_content)
127
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
153
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
128
154
  end
129
155
 
130
156
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
157
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
158
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
131
159
  # Deserialize Response
132
160
  if status_code == 200
133
161
  begin
@@ -150,14 +178,19 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
150
178
  #
151
179
  # @param resource_group_name [String] The name of the resource group.
152
180
  # @param service_name [String] The name of the API Management service.
181
+ # @param api_id [String] API revision identifier. Must be unique in the current
182
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
183
+ # where n is the revision number.
184
+ # @param operation_id [String] Operation identifier within an API. Must be
185
+ # unique in the current API Management service instance.
153
186
  # @param tag_id [String] Tag identifier. Must be unique in the current API
154
187
  # Management service instance.
155
188
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
156
189
  # will be added to the HTTP request.
157
190
  #
158
191
  #
159
- def get_entity_state(resource_group_name, service_name, tag_id, custom_headers:nil)
160
- response = get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
192
+ def get_entity_state_by_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
193
+ response = get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
161
194
  nil
162
195
  end
163
196
 
@@ -166,6 +199,11 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
166
199
  #
167
200
  # @param resource_group_name [String] The name of the resource group.
168
201
  # @param service_name [String] The name of the API Management service.
202
+ # @param api_id [String] API revision identifier. Must be unique in the current
203
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
204
+ # where n is the revision number.
205
+ # @param operation_id [String] Operation identifier within an API. Must be
206
+ # unique in the current API Management service instance.
169
207
  # @param tag_id [String] Tag identifier. Must be unique in the current API
170
208
  # Management service instance.
171
209
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -173,8 +211,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
173
211
  #
174
212
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
175
213
  #
176
- def get_entity_state_with_http_info(resource_group_name, service_name, tag_id, custom_headers:nil)
177
- get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
214
+ def get_entity_state_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
215
+ get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
178
216
  end
179
217
 
180
218
  #
@@ -182,6 +220,11 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
182
220
  #
183
221
  # @param resource_group_name [String] The name of the resource group.
184
222
  # @param service_name [String] The name of the API Management service.
223
+ # @param api_id [String] API revision identifier. Must be unique in the current
224
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
225
+ # where n is the revision number.
226
+ # @param operation_id [String] Operation identifier within an API. Must be
227
+ # unique in the current API Management service instance.
185
228
  # @param tag_id [String] Tag identifier. Must be unique in the current API
186
229
  # Management service instance.
187
230
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -189,16 +232,24 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
189
232
  #
190
233
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
191
234
  #
192
- def get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:nil)
235
+ def get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
193
236
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
194
237
  fail ArgumentError, 'service_name is nil' if service_name.nil?
195
238
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
196
239
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
197
240
  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?
241
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
242
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
243
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
244
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
245
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
246
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
247
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
248
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
198
249
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
199
250
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
200
251
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
201
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
252
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
202
253
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
203
254
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
204
255
 
@@ -209,13 +260,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
209
260
  # Set Headers
210
261
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
211
262
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
212
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
263
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
213
264
 
214
265
  request_url = @base_url || @client.base_url
215
266
 
216
267
  options = {
217
268
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
218
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
269
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
219
270
  query_params: {'api-version' => @client.api_version},
220
271
  headers: request_headers.merge(custom_headers || {}),
221
272
  base_url: request_url
@@ -232,6 +283,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
232
283
  end
233
284
 
234
285
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
286
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
287
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
235
288
 
236
289
  result
237
290
  end
@@ -240,10 +293,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
240
293
  end
241
294
 
242
295
  #
243
- # Gets the details of the tag specified by its identifier.
296
+ # Get tag associated with the Operation.
244
297
  #
245
298
  # @param resource_group_name [String] The name of the resource group.
246
299
  # @param service_name [String] The name of the API Management service.
300
+ # @param api_id [String] API revision identifier. Must be unique in the current
301
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
302
+ # where n is the revision number.
303
+ # @param operation_id [String] Operation identifier within an API. Must be
304
+ # unique in the current API Management service instance.
247
305
  # @param tag_id [String] Tag identifier. Must be unique in the current API
248
306
  # Management service instance.
249
307
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -251,16 +309,21 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
251
309
  #
252
310
  # @return [TagContract] operation results.
253
311
  #
254
- def get(resource_group_name, service_name, tag_id, custom_headers:nil)
255
- response = get_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
312
+ def get_by_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
313
+ response = get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
256
314
  response.body unless response.nil?
257
315
  end
258
316
 
259
317
  #
260
- # Gets the details of the tag specified by its identifier.
318
+ # Get tag associated with the Operation.
261
319
  #
262
320
  # @param resource_group_name [String] The name of the resource group.
263
321
  # @param service_name [String] The name of the API Management service.
322
+ # @param api_id [String] API revision identifier. Must be unique in the current
323
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
324
+ # where n is the revision number.
325
+ # @param operation_id [String] Operation identifier within an API. Must be
326
+ # unique in the current API Management service instance.
264
327
  # @param tag_id [String] Tag identifier. Must be unique in the current API
265
328
  # Management service instance.
266
329
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -268,15 +331,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
268
331
  #
269
332
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
270
333
  #
271
- def get_with_http_info(resource_group_name, service_name, tag_id, custom_headers:nil)
272
- get_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
334
+ def get_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
335
+ get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
273
336
  end
274
337
 
275
338
  #
276
- # Gets the details of the tag specified by its identifier.
339
+ # Get tag associated with the Operation.
277
340
  #
278
341
  # @param resource_group_name [String] The name of the resource group.
279
342
  # @param service_name [String] The name of the API Management service.
343
+ # @param api_id [String] API revision identifier. Must be unique in the current
344
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
345
+ # where n is the revision number.
346
+ # @param operation_id [String] Operation identifier within an API. Must be
347
+ # unique in the current API Management service instance.
280
348
  # @param tag_id [String] Tag identifier. Must be unique in the current API
281
349
  # Management service instance.
282
350
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -284,16 +352,24 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
284
352
  #
285
353
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
286
354
  #
287
- def get_async(resource_group_name, service_name, tag_id, custom_headers:nil)
355
+ def get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
288
356
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
289
357
  fail ArgumentError, 'service_name is nil' if service_name.nil?
290
358
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
291
359
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
292
360
  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?
361
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
362
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
363
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
364
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
365
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
366
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
367
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
368
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
293
369
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
294
370
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
295
371
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
296
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
372
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
297
373
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
298
374
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
299
375
 
@@ -304,13 +380,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
304
380
  # Set Headers
305
381
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
306
382
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
307
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
383
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
308
384
 
309
385
  request_url = @base_url || @client.base_url
310
386
 
311
387
  options = {
312
388
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
313
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
389
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
314
390
  query_params: {'api-version' => @client.api_version},
315
391
  headers: request_headers.merge(custom_headers || {}),
316
392
  base_url: request_url
@@ -327,6 +403,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
327
403
  end
328
404
 
329
405
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
406
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
407
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
330
408
  # Deserialize Response
331
409
  if status_code == 200
332
410
  begin
@@ -345,64 +423,83 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
345
423
  end
346
424
 
347
425
  #
348
- # Creates a tag.
426
+ # Assign tag to the Operation.
349
427
  #
350
428
  # @param resource_group_name [String] The name of the resource group.
351
429
  # @param service_name [String] The name of the API Management service.
430
+ # @param api_id [String] API revision identifier. Must be unique in the current
431
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
432
+ # where n is the revision number.
433
+ # @param operation_id [String] Operation identifier within an API. Must be
434
+ # unique in the current API Management service instance.
352
435
  # @param tag_id [String] Tag identifier. Must be unique in the current API
353
436
  # Management service instance.
354
- # @param parameters [TagCreateUpdateParameters] Create parameters.
355
437
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
356
438
  # will be added to the HTTP request.
357
439
  #
358
440
  # @return [TagContract] operation results.
359
441
  #
360
- def create_or_update(resource_group_name, service_name, tag_id, parameters, custom_headers:nil)
361
- response = create_or_update_async(resource_group_name, service_name, tag_id, parameters, custom_headers:custom_headers).value!
442
+ def assign_to_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
443
+ response = assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
362
444
  response.body unless response.nil?
363
445
  end
364
446
 
365
447
  #
366
- # Creates a tag.
448
+ # Assign tag to the Operation.
367
449
  #
368
450
  # @param resource_group_name [String] The name of the resource group.
369
451
  # @param service_name [String] The name of the API Management service.
452
+ # @param api_id [String] API revision identifier. Must be unique in the current
453
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
454
+ # where n is the revision number.
455
+ # @param operation_id [String] Operation identifier within an API. Must be
456
+ # unique in the current API Management service instance.
370
457
  # @param tag_id [String] Tag identifier. Must be unique in the current API
371
458
  # Management service instance.
372
- # @param parameters [TagCreateUpdateParameters] Create parameters.
373
459
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
374
460
  # will be added to the HTTP request.
375
461
  #
376
462
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
377
463
  #
378
- def create_or_update_with_http_info(resource_group_name, service_name, tag_id, parameters, custom_headers:nil)
379
- create_or_update_async(resource_group_name, service_name, tag_id, parameters, custom_headers:custom_headers).value!
464
+ def assign_to_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
465
+ assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
380
466
  end
381
467
 
382
468
  #
383
- # Creates a tag.
469
+ # Assign tag to the Operation.
384
470
  #
385
471
  # @param resource_group_name [String] The name of the resource group.
386
472
  # @param service_name [String] The name of the API Management service.
473
+ # @param api_id [String] API revision identifier. Must be unique in the current
474
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
475
+ # where n is the revision number.
476
+ # @param operation_id [String] Operation identifier within an API. Must be
477
+ # unique in the current API Management service instance.
387
478
  # @param tag_id [String] Tag identifier. Must be unique in the current API
388
479
  # Management service instance.
389
- # @param parameters [TagCreateUpdateParameters] Create parameters.
390
480
  # @param [Hash{String => String}] A hash of custom headers that will be added
391
481
  # to the HTTP request.
392
482
  #
393
483
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
394
484
  #
395
- def create_or_update_async(resource_group_name, service_name, tag_id, parameters, custom_headers:nil)
485
+ def assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
396
486
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
397
487
  fail ArgumentError, 'service_name is nil' if service_name.nil?
398
488
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
399
489
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
400
490
  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?
491
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
492
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
493
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
494
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
495
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
496
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
497
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
498
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
401
499
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
402
500
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
403
501
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
404
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
405
- fail ArgumentError, 'parameters is nil' if parameters.nil?
502
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
406
503
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
407
504
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
408
505
 
@@ -413,21 +510,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
413
510
  # Set Headers
414
511
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
415
512
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
416
-
417
- # Serialize Request
418
- request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
419
- request_content = @client.serialize(request_mapper, parameters)
420
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
421
-
422
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
513
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
423
514
 
424
515
  request_url = @base_url || @client.base_url
425
516
 
426
517
  options = {
427
518
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
428
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
519
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
429
520
  query_params: {'api-version' => @client.api_version},
430
- body: request_content,
431
521
  headers: request_headers.merge(custom_headers || {}),
432
522
  base_url: request_url
433
523
  }
@@ -443,6 +533,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
443
533
  end
444
534
 
445
535
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
536
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
537
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
446
538
  # Deserialize Response
447
539
  if status_code == 201
448
540
  begin
@@ -471,73 +563,82 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
471
563
  end
472
564
 
473
565
  #
474
- # Updates the details of the tag specified by its identifier.
566
+ # Detach the tag from the Operation.
475
567
  #
476
568
  # @param resource_group_name [String] The name of the resource group.
477
569
  # @param service_name [String] The name of the API Management service.
570
+ # @param api_id [String] API revision identifier. Must be unique in the current
571
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
572
+ # where n is the revision number.
573
+ # @param operation_id [String] Operation identifier within an API. Must be
574
+ # unique in the current API Management service instance.
478
575
  # @param tag_id [String] Tag identifier. Must be unique in the current API
479
576
  # Management service instance.
480
- # @param parameters [TagCreateUpdateParameters] Update parameters.
481
- # @param if_match [String] ETag of the Entity. ETag should match the current
482
- # entity state from the header response of the GET request or it should be *
483
- # for unconditional update.
484
577
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
485
578
  # will be added to the HTTP request.
486
579
  #
487
580
  #
488
- def update(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
489
- response = update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:custom_headers).value!
581
+ def detach_from_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
582
+ response = detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
490
583
  nil
491
584
  end
492
585
 
493
586
  #
494
- # Updates the details of the tag specified by its identifier.
587
+ # Detach the tag from the Operation.
495
588
  #
496
589
  # @param resource_group_name [String] The name of the resource group.
497
590
  # @param service_name [String] The name of the API Management service.
591
+ # @param api_id [String] API revision identifier. Must be unique in the current
592
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
593
+ # where n is the revision number.
594
+ # @param operation_id [String] Operation identifier within an API. Must be
595
+ # unique in the current API Management service instance.
498
596
  # @param tag_id [String] Tag identifier. Must be unique in the current API
499
597
  # Management service instance.
500
- # @param parameters [TagCreateUpdateParameters] Update parameters.
501
- # @param if_match [String] ETag of the Entity. ETag should match the current
502
- # entity state from the header response of the GET request or it should be *
503
- # for unconditional update.
504
598
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
505
599
  # will be added to the HTTP request.
506
600
  #
507
601
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
508
602
  #
509
- def update_with_http_info(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
510
- update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:custom_headers).value!
603
+ def detach_from_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
604
+ detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
511
605
  end
512
606
 
513
607
  #
514
- # Updates the details of the tag specified by its identifier.
608
+ # Detach the tag from the Operation.
515
609
  #
516
610
  # @param resource_group_name [String] The name of the resource group.
517
611
  # @param service_name [String] The name of the API Management service.
612
+ # @param api_id [String] API revision identifier. Must be unique in the current
613
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
614
+ # where n is the revision number.
615
+ # @param operation_id [String] Operation identifier within an API. Must be
616
+ # unique in the current API Management service instance.
518
617
  # @param tag_id [String] Tag identifier. Must be unique in the current API
519
618
  # Management service instance.
520
- # @param parameters [TagCreateUpdateParameters] Update parameters.
521
- # @param if_match [String] ETag of the Entity. ETag should match the current
522
- # entity state from the header response of the GET request or it should be *
523
- # for unconditional update.
524
619
  # @param [Hash{String => String}] A hash of custom headers that will be added
525
620
  # to the HTTP request.
526
621
  #
527
622
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
528
623
  #
529
- def update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
624
+ def detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
530
625
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
531
626
  fail ArgumentError, 'service_name is nil' if service_name.nil?
532
627
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
533
628
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
534
629
  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?
630
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
631
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
632
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
633
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
634
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
635
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
636
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
637
+ fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
535
638
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
536
639
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
537
640
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
538
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
539
- fail ArgumentError, 'parameters is nil' if parameters.nil?
540
- fail ArgumentError, 'if_match is nil' if if_match.nil?
641
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
541
642
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
542
643
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
543
644
 
@@ -547,38 +648,32 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
547
648
 
548
649
  # Set Headers
549
650
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
550
- request_headers['If-Match'] = if_match unless if_match.nil?
551
651
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
552
-
553
- # Serialize Request
554
- request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
555
- request_content = @client.serialize(request_mapper, parameters)
556
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
557
-
558
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
652
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
559
653
 
560
654
  request_url = @base_url || @client.base_url
561
655
 
562
656
  options = {
563
657
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
564
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
658
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
565
659
  query_params: {'api-version' => @client.api_version},
566
- body: request_content,
567
660
  headers: request_headers.merge(custom_headers || {}),
568
661
  base_url: request_url
569
662
  }
570
- promise = @client.make_request_async(:patch, path_template, options)
663
+ promise = @client.make_request_async(:delete, path_template, options)
571
664
 
572
665
  promise = promise.then do |result|
573
666
  http_response = result.response
574
667
  status_code = http_response.status
575
668
  response_content = http_response.body
576
- unless status_code == 204
669
+ unless status_code == 200 || status_code == 204
577
670
  error_model = JSON.load(response_content)
578
671
  fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
579
672
  end
580
673
 
581
674
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
675
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
676
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
582
677
 
583
678
  result
584
679
  end
@@ -587,112 +682,35 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
587
682
  end
588
683
 
589
684
  #
590
- # Deletes specific tag of the API Management service instance.
685
+ # Lists all Tags associated with the API.
591
686
  #
592
687
  # @param resource_group_name [String] The name of the resource group.
593
688
  # @param service_name [String] The name of the API Management service.
594
- # @param tag_id [String] Tag identifier. Must be unique in the current API
595
- # Management service instance.
596
- # @param if_match [String] ETag of the Entity. ETag should match the current
597
- # entity state from the header response of the GET request or it should be *
598
- # for unconditional update.
689
+ # @param api_id [String] API revision identifier. Must be unique in the current
690
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
691
+ # where n is the revision number.
692
+ # @param filter [String] | Field | Supported operators | Supported
693
+ # functions |
694
+ # |-------------|------------------------|-----------------------------------|
695
+ #
696
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
697
+ # endswith|
698
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
699
+ #
700
+ # @param top [Integer] Number of records to return.
701
+ # @param skip [Integer] Number of records to skip.
599
702
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
600
703
  # will be added to the HTTP request.
601
704
  #
705
+ # @return [Array<TagContract>] operation results.
602
706
  #
603
- def delete(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
604
- response = delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:custom_headers).value!
605
- nil
707
+ def list_by_api(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
708
+ first_page = list_by_api_as_lazy(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
709
+ first_page.get_all_items
606
710
  end
607
711
 
608
712
  #
609
- # Deletes specific tag of the API Management service instance.
610
- #
611
- # @param resource_group_name [String] The name of the resource group.
612
- # @param service_name [String] The name of the API Management service.
613
- # @param tag_id [String] Tag identifier. Must be unique in the current API
614
- # Management service instance.
615
- # @param if_match [String] ETag of the Entity. ETag should match the current
616
- # entity state from the header response of the GET request or it should be *
617
- # for unconditional update.
618
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
619
- # will be added to the HTTP request.
620
- #
621
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
622
- #
623
- def delete_with_http_info(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
624
- delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:custom_headers).value!
625
- end
626
-
627
- #
628
- # Deletes specific tag of the API Management service instance.
629
- #
630
- # @param resource_group_name [String] The name of the resource group.
631
- # @param service_name [String] The name of the API Management service.
632
- # @param tag_id [String] Tag identifier. Must be unique in the current API
633
- # Management service instance.
634
- # @param if_match [String] ETag of the Entity. ETag should match the current
635
- # entity state from the header response of the GET request or it should be *
636
- # for unconditional update.
637
- # @param [Hash{String => String}] A hash of custom headers that will be added
638
- # to the HTTP request.
639
- #
640
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
641
- #
642
- def delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
643
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
644
- fail ArgumentError, 'service_name is nil' if service_name.nil?
645
- fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
646
- fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
647
- 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?
648
- fail ArgumentError, 'tag_id is nil' if tag_id.nil?
649
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
650
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
651
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
652
- fail ArgumentError, 'if_match is nil' if if_match.nil?
653
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
654
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
655
-
656
-
657
- request_headers = {}
658
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
659
-
660
- # Set Headers
661
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
662
- request_headers['If-Match'] = if_match unless if_match.nil?
663
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
664
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
665
-
666
- request_url = @base_url || @client.base_url
667
-
668
- options = {
669
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
670
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
671
- query_params: {'api-version' => @client.api_version},
672
- headers: request_headers.merge(custom_headers || {}),
673
- base_url: request_url
674
- }
675
- promise = @client.make_request_async(:delete, path_template, options)
676
-
677
- promise = promise.then do |result|
678
- http_response = result.response
679
- status_code = http_response.status
680
- response_content = http_response.body
681
- unless status_code == 200 || status_code == 204
682
- error_model = JSON.load(response_content)
683
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
684
- end
685
-
686
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
687
-
688
- result
689
- end
690
-
691
- promise.execute
692
- end
693
-
694
- #
695
- # Lists all Tags associated with the API.
713
+ # Lists all Tags associated with the API.
696
714
  #
697
715
  # @param resource_group_name [String] The name of the resource group.
698
716
  # @param service_name [String] The name of the API Management service.
@@ -700,39 +718,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
700
718
  # API Management service instance. Non-current revision has ;rev=n as a suffix
701
719
  # where n is the revision number.
702
720
  # @param filter [String] | Field | Supported operators | Supported
703
- # functions |
704
- # |-------------|------------------------|---------------------------------------------|
705
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
706
- # endswith |
707
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
708
- # endswith |
709
- # @param top [Integer] Number of records to return.
710
- # @param skip [Integer] Number of records to skip.
711
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
712
- # will be added to the HTTP request.
713
- #
714
- # @return [Array<TagContract>] operation results.
715
- #
716
- def list_by_api(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
717
- first_page = list_by_api_as_lazy(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
718
- first_page.get_all_items
719
- end
720
-
721
+ # functions |
722
+ # |-------------|------------------------|-----------------------------------|
721
723
  #
722
- # Lists all Tags associated with the API.
724
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
725
+ # endswith|
726
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
723
727
  #
724
- # @param resource_group_name [String] The name of the resource group.
725
- # @param service_name [String] The name of the API Management service.
726
- # @param api_id [String] API revision identifier. Must be unique in the current
727
- # API Management service instance. Non-current revision has ;rev=n as a suffix
728
- # where n is the revision number.
729
- # @param filter [String] | Field | Supported operators | Supported
730
- # functions |
731
- # |-------------|------------------------|---------------------------------------------|
732
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
733
- # endswith |
734
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
735
- # endswith |
736
728
  # @param top [Integer] Number of records to return.
737
729
  # @param skip [Integer] Number of records to skip.
738
730
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -753,12 +745,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
753
745
  # API Management service instance. Non-current revision has ;rev=n as a suffix
754
746
  # where n is the revision number.
755
747
  # @param filter [String] | Field | Supported operators | Supported
756
- # functions |
757
- # |-------------|------------------------|---------------------------------------------|
758
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
759
- # endswith |
760
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
761
- # endswith |
748
+ # functions |
749
+ # |-------------|------------------------|-----------------------------------|
750
+ #
751
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
752
+ # endswith|
753
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
754
+ #
762
755
  # @param top [Integer] Number of records to return.
763
756
  # @param skip [Integer] Number of records to skip.
764
757
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -811,6 +804,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
811
804
  end
812
805
 
813
806
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
807
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
808
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
814
809
  # Deserialize Response
815
810
  if status_code == 200
816
811
  begin
@@ -894,7 +889,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
894
889
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
895
890
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
896
891
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
897
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
892
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
898
893
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
899
894
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
900
895
 
@@ -928,6 +923,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
928
923
  end
929
924
 
930
925
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
926
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
927
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
931
928
 
932
929
  result
933
930
  end
@@ -1002,7 +999,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1002
999
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1003
1000
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1004
1001
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
1005
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1002
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1006
1003
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1007
1004
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1008
1005
 
@@ -1036,6 +1033,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1036
1033
  end
1037
1034
 
1038
1035
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1036
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1037
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1039
1038
  # Deserialize Response
1040
1039
  if status_code == 200
1041
1040
  begin
@@ -1063,15 +1062,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1063
1062
  # where n is the revision number.
1064
1063
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1065
1064
  # Management service instance.
1066
- # @param if_match [String] ETag of the Entity. Not required when creating an
1067
- # entity, but required when updating an entity.
1068
1065
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1069
1066
  # will be added to the HTTP request.
1070
1067
  #
1071
1068
  # @return [TagContract] operation results.
1072
1069
  #
1073
- def assign_to_api(resource_group_name, service_name, api_id, tag_id, if_match:nil, custom_headers:nil)
1074
- response = assign_to_api_async(resource_group_name, service_name, api_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
1070
+ def assign_to_api(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
1071
+ response = assign_to_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
1075
1072
  response.body unless response.nil?
1076
1073
  end
1077
1074
 
@@ -1085,15 +1082,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1085
1082
  # where n is the revision number.
1086
1083
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1087
1084
  # Management service instance.
1088
- # @param if_match [String] ETag of the Entity. Not required when creating an
1089
- # entity, but required when updating an entity.
1090
1085
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1091
1086
  # will be added to the HTTP request.
1092
1087
  #
1093
1088
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1094
1089
  #
1095
- def assign_to_api_with_http_info(resource_group_name, service_name, api_id, tag_id, if_match:nil, custom_headers:nil)
1096
- assign_to_api_async(resource_group_name, service_name, api_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
1090
+ def assign_to_api_with_http_info(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
1091
+ assign_to_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
1097
1092
  end
1098
1093
 
1099
1094
  #
@@ -1106,14 +1101,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1106
1101
  # where n is the revision number.
1107
1102
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1108
1103
  # Management service instance.
1109
- # @param if_match [String] ETag of the Entity. Not required when creating an
1110
- # entity, but required when updating an entity.
1111
1104
  # @param [Hash{String => String}] A hash of custom headers that will be added
1112
1105
  # to the HTTP request.
1113
1106
  #
1114
1107
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1115
1108
  #
1116
- def assign_to_api_async(resource_group_name, service_name, api_id, tag_id, if_match:nil, custom_headers:nil)
1109
+ def assign_to_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
1117
1110
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1118
1111
  fail ArgumentError, 'service_name is nil' if service_name.nil?
1119
1112
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -1126,7 +1119,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1126
1119
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1127
1120
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1128
1121
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
1129
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1122
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1130
1123
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1131
1124
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1132
1125
 
@@ -1136,7 +1129,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1136
1129
 
1137
1130
  # Set Headers
1138
1131
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1139
- request_headers['If-Match'] = if_match unless if_match.nil?
1140
1132
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1141
1133
  path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}'
1142
1134
 
@@ -1161,6 +1153,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1161
1153
  end
1162
1154
 
1163
1155
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1156
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1157
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1164
1158
  # Deserialize Response
1165
1159
  if status_code == 201
1166
1160
  begin
@@ -1198,15 +1192,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1198
1192
  # where n is the revision number.
1199
1193
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1200
1194
  # Management service instance.
1201
- # @param if_match [String] ETag of the Entity. ETag should match the current
1202
- # entity state from the header response of the GET request or it should be *
1203
- # for unconditional update.
1204
1195
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1205
1196
  # will be added to the HTTP request.
1206
1197
  #
1207
1198
  #
1208
- def detach_from_api(resource_group_name, service_name, api_id, tag_id, if_match, custom_headers:nil)
1209
- response = detach_from_api_async(resource_group_name, service_name, api_id, tag_id, if_match, custom_headers:custom_headers).value!
1199
+ def detach_from_api(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
1200
+ response = detach_from_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
1210
1201
  nil
1211
1202
  end
1212
1203
 
@@ -1220,16 +1211,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1220
1211
  # where n is the revision number.
1221
1212
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1222
1213
  # Management service instance.
1223
- # @param if_match [String] ETag of the Entity. ETag should match the current
1224
- # entity state from the header response of the GET request or it should be *
1225
- # for unconditional update.
1226
1214
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1227
1215
  # will be added to the HTTP request.
1228
1216
  #
1229
1217
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1230
1218
  #
1231
- def detach_from_api_with_http_info(resource_group_name, service_name, api_id, tag_id, if_match, custom_headers:nil)
1232
- detach_from_api_async(resource_group_name, service_name, api_id, tag_id, if_match, custom_headers:custom_headers).value!
1219
+ def detach_from_api_with_http_info(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
1220
+ detach_from_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
1233
1221
  end
1234
1222
 
1235
1223
  #
@@ -1242,15 +1230,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1242
1230
  # where n is the revision number.
1243
1231
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1244
1232
  # Management service instance.
1245
- # @param if_match [String] ETag of the Entity. ETag should match the current
1246
- # entity state from the header response of the GET request or it should be *
1247
- # for unconditional update.
1248
1233
  # @param [Hash{String => String}] A hash of custom headers that will be added
1249
1234
  # to the HTTP request.
1250
1235
  #
1251
1236
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1252
1237
  #
1253
- def detach_from_api_async(resource_group_name, service_name, api_id, tag_id, if_match, custom_headers:nil)
1238
+ def detach_from_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
1254
1239
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1255
1240
  fail ArgumentError, 'service_name is nil' if service_name.nil?
1256
1241
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
@@ -1263,8 +1248,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1263
1248
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1264
1249
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1265
1250
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
1266
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1267
- fail ArgumentError, 'if_match is nil' if if_match.nil?
1251
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1268
1252
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1269
1253
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1270
1254
 
@@ -1274,7 +1258,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1274
1258
 
1275
1259
  # Set Headers
1276
1260
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1277
- request_headers['If-Match'] = if_match unless if_match.nil?
1278
1261
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1279
1262
  path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}'
1280
1263
 
@@ -1299,6 +1282,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1299
1282
  end
1300
1283
 
1301
1284
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1285
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1286
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1302
1287
 
1303
1288
  result
1304
1289
  end
@@ -1307,28 +1292,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1307
1292
  end
1308
1293
 
1309
1294
  #
1310
- # Lists all Tags associated with the Operation.
1295
+ # Lists all Tags associated with the Product.
1311
1296
  #
1312
1297
  # @param resource_group_name [String] The name of the resource group.
1313
1298
  # @param service_name [String] The name of the API Management service.
1314
- # @param api_id [String] API revision identifier. Must be unique in the current
1315
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1316
- # where n is the revision number.
1317
- # @param operation_id [String] Operation identifier within an API. Must be
1318
- # unique in the current API Management service instance.
1299
+ # @param product_id [String] Product identifier. Must be unique in the current
1300
+ # API Management service instance.
1319
1301
  # @param filter [String] | Field | Supported operators | Supported
1320
- # functions |
1321
- # |-------------|------------------------|---------------------------------------------|
1322
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1323
- # endswith |
1324
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1325
- # endswith |
1326
- # | method | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1327
- # endswith |
1328
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1329
- # endswith |
1330
- # | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1331
- # endswith |
1302
+ # functions |
1303
+ # |-------------|------------------------|-----------------------------------|
1304
+ #
1305
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1306
+ # endswith|
1307
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
1308
+ #
1332
1309
  # @param top [Integer] Number of records to return.
1333
1310
  # @param skip [Integer] Number of records to skip.
1334
1311
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -1336,34 +1313,26 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1336
1313
  #
1337
1314
  # @return [Array<TagContract>] operation results.
1338
1315
  #
1339
- def list_by_operation(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
1340
- first_page = list_by_operation_as_lazy(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
1316
+ def list_by_product(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
1317
+ first_page = list_by_product_as_lazy(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
1341
1318
  first_page.get_all_items
1342
1319
  end
1343
1320
 
1344
1321
  #
1345
- # Lists all Tags associated with the Operation.
1322
+ # Lists all Tags associated with the Product.
1346
1323
  #
1347
1324
  # @param resource_group_name [String] The name of the resource group.
1348
1325
  # @param service_name [String] The name of the API Management service.
1349
- # @param api_id [String] API revision identifier. Must be unique in the current
1350
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1351
- # where n is the revision number.
1352
- # @param operation_id [String] Operation identifier within an API. Must be
1353
- # unique in the current API Management service instance.
1326
+ # @param product_id [String] Product identifier. Must be unique in the current
1327
+ # API Management service instance.
1354
1328
  # @param filter [String] | Field | Supported operators | Supported
1355
- # functions |
1356
- # |-------------|------------------------|---------------------------------------------|
1357
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1358
- # endswith |
1359
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1360
- # endswith |
1361
- # | method | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1362
- # endswith |
1363
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1364
- # endswith |
1365
- # | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1366
- # endswith |
1329
+ # functions |
1330
+ # |-------------|------------------------|-----------------------------------|
1331
+ #
1332
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1333
+ # endswith|
1334
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
1335
+ #
1367
1336
  # @param top [Integer] Number of records to return.
1368
1337
  # @param skip [Integer] Number of records to skip.
1369
1338
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -1371,33 +1340,25 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1371
1340
  #
1372
1341
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1373
1342
  #
1374
- def list_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
1375
- list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
1343
+ def list_by_product_with_http_info(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
1344
+ list_by_product_async(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
1376
1345
  end
1377
1346
 
1378
1347
  #
1379
- # Lists all Tags associated with the Operation.
1348
+ # Lists all Tags associated with the Product.
1380
1349
  #
1381
1350
  # @param resource_group_name [String] The name of the resource group.
1382
1351
  # @param service_name [String] The name of the API Management service.
1383
- # @param api_id [String] API revision identifier. Must be unique in the current
1384
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1385
- # where n is the revision number.
1386
- # @param operation_id [String] Operation identifier within an API. Must be
1387
- # unique in the current API Management service instance.
1352
+ # @param product_id [String] Product identifier. Must be unique in the current
1353
+ # API Management service instance.
1388
1354
  # @param filter [String] | Field | Supported operators | Supported
1389
- # functions |
1390
- # |-------------|------------------------|---------------------------------------------|
1391
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1392
- # endswith |
1393
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1394
- # endswith |
1395
- # | method | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1396
- # endswith |
1397
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1398
- # endswith |
1399
- # | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1400
- # endswith |
1355
+ # functions |
1356
+ # |-------------|------------------------|-----------------------------------|
1357
+ #
1358
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1359
+ # endswith|
1360
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
1361
+ #
1401
1362
  # @param top [Integer] Number of records to return.
1402
1363
  # @param skip [Integer] Number of records to skip.
1403
1364
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -1405,20 +1366,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1405
1366
  #
1406
1367
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1407
1368
  #
1408
- def list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
1369
+ def list_by_product_async(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
1409
1370
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1410
1371
  fail ArgumentError, 'service_name is nil' if service_name.nil?
1411
1372
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1412
1373
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1413
1374
  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?
1414
- fail ArgumentError, 'api_id is nil' if api_id.nil?
1415
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
1416
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
1417
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1418
- fail ArgumentError, 'operation_id is nil' if operation_id.nil?
1419
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
1420
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
1421
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1375
+ fail ArgumentError, 'product_id is nil' if product_id.nil?
1376
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1377
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1378
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1422
1379
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
1423
1380
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
1424
1381
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1431,13 +1388,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1431
1388
  # Set Headers
1432
1389
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1433
1390
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1434
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags'
1391
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags'
1435
1392
 
1436
1393
  request_url = @base_url || @client.base_url
1437
1394
 
1438
1395
  options = {
1439
1396
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1440
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'subscriptionId' => @client.subscription_id},
1397
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'subscriptionId' => @client.subscription_id},
1441
1398
  query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
1442
1399
  headers: request_headers.merge(custom_headers || {}),
1443
1400
  base_url: request_url
@@ -1454,6 +1411,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1454
1411
  end
1455
1412
 
1456
1413
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1414
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1415
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1457
1416
  # Deserialize Response
1458
1417
  if status_code == 200
1459
1418
  begin
@@ -1476,19 +1435,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1476
1435
  #
1477
1436
  # @param resource_group_name [String] The name of the resource group.
1478
1437
  # @param service_name [String] The name of the API Management service.
1479
- # @param api_id [String] API revision identifier. Must be unique in the current
1480
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1481
- # where n is the revision number.
1482
- # @param operation_id [String] Operation identifier within an API. Must be
1483
- # unique in the current API Management service instance.
1438
+ # @param product_id [String] Product identifier. Must be unique in the current
1439
+ # API Management service instance.
1484
1440
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1485
1441
  # Management service instance.
1486
1442
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1487
1443
  # will be added to the HTTP request.
1488
1444
  #
1489
1445
  #
1490
- def get_entity_state_by_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
1491
- response = get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
1446
+ def get_entity_state_by_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1447
+ response = get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1492
1448
  nil
1493
1449
  end
1494
1450
 
@@ -1497,11 +1453,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1497
1453
  #
1498
1454
  # @param resource_group_name [String] The name of the resource group.
1499
1455
  # @param service_name [String] The name of the API Management service.
1500
- # @param api_id [String] API revision identifier. Must be unique in the current
1501
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1502
- # where n is the revision number.
1503
- # @param operation_id [String] Operation identifier within an API. Must be
1504
- # unique in the current API Management service instance.
1456
+ # @param product_id [String] Product identifier. Must be unique in the current
1457
+ # API Management service instance.
1505
1458
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1506
1459
  # Management service instance.
1507
1460
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -1509,8 +1462,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1509
1462
  #
1510
1463
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1511
1464
  #
1512
- def get_entity_state_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
1513
- get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
1465
+ def get_entity_state_by_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1466
+ get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1514
1467
  end
1515
1468
 
1516
1469
  #
@@ -1518,11 +1471,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1518
1471
  #
1519
1472
  # @param resource_group_name [String] The name of the resource group.
1520
1473
  # @param service_name [String] The name of the API Management service.
1521
- # @param api_id [String] API revision identifier. Must be unique in the current
1522
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1523
- # where n is the revision number.
1524
- # @param operation_id [String] Operation identifier within an API. Must be
1525
- # unique in the current API Management service instance.
1474
+ # @param product_id [String] Product identifier. Must be unique in the current
1475
+ # API Management service instance.
1526
1476
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1527
1477
  # Management service instance.
1528
1478
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -1530,24 +1480,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1530
1480
  #
1531
1481
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1532
1482
  #
1533
- def get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
1483
+ def get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1534
1484
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1535
1485
  fail ArgumentError, 'service_name is nil' if service_name.nil?
1536
1486
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1537
1487
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1538
1488
  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?
1539
- fail ArgumentError, 'api_id is nil' if api_id.nil?
1540
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
1541
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
1542
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1543
- fail ArgumentError, 'operation_id is nil' if operation_id.nil?
1544
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
1545
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
1546
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1489
+ fail ArgumentError, 'product_id is nil' if product_id.nil?
1490
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1491
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1492
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1547
1493
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1548
1494
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1549
1495
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
1550
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1496
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1551
1497
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1552
1498
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1553
1499
 
@@ -1558,13 +1504,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1558
1504
  # Set Headers
1559
1505
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1560
1506
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1561
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
1507
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
1562
1508
 
1563
1509
  request_url = @base_url || @client.base_url
1564
1510
 
1565
1511
  options = {
1566
1512
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1567
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1513
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1568
1514
  query_params: {'api-version' => @client.api_version},
1569
1515
  headers: request_headers.merge(custom_headers || {}),
1570
1516
  base_url: request_url
@@ -1581,6 +1527,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1581
1527
  end
1582
1528
 
1583
1529
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1530
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1531
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1584
1532
 
1585
1533
  result
1586
1534
  end
@@ -1589,15 +1537,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1589
1537
  end
1590
1538
 
1591
1539
  #
1592
- # Get tag associated with the Operation.
1540
+ # Get tag associated with the Product.
1593
1541
  #
1594
1542
  # @param resource_group_name [String] The name of the resource group.
1595
1543
  # @param service_name [String] The name of the API Management service.
1596
- # @param api_id [String] API revision identifier. Must be unique in the current
1597
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1598
- # where n is the revision number.
1599
- # @param operation_id [String] Operation identifier within an API. Must be
1600
- # unique in the current API Management service instance.
1544
+ # @param product_id [String] Product identifier. Must be unique in the current
1545
+ # API Management service instance.
1601
1546
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1602
1547
  # Management service instance.
1603
1548
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -1605,21 +1550,18 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1605
1550
  #
1606
1551
  # @return [TagContract] operation results.
1607
1552
  #
1608
- def get_by_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
1609
- response = get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
1553
+ def get_by_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1554
+ response = get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1610
1555
  response.body unless response.nil?
1611
1556
  end
1612
1557
 
1613
1558
  #
1614
- # Get tag associated with the Operation.
1559
+ # Get tag associated with the Product.
1615
1560
  #
1616
1561
  # @param resource_group_name [String] The name of the resource group.
1617
1562
  # @param service_name [String] The name of the API Management service.
1618
- # @param api_id [String] API revision identifier. Must be unique in the current
1619
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1620
- # where n is the revision number.
1621
- # @param operation_id [String] Operation identifier within an API. Must be
1622
- # unique in the current API Management service instance.
1563
+ # @param product_id [String] Product identifier. Must be unique in the current
1564
+ # API Management service instance.
1623
1565
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1624
1566
  # Management service instance.
1625
1567
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -1627,20 +1569,17 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1627
1569
  #
1628
1570
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1629
1571
  #
1630
- def get_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
1631
- get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
1572
+ def get_by_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1573
+ get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1632
1574
  end
1633
1575
 
1634
1576
  #
1635
- # Get tag associated with the Operation.
1577
+ # Get tag associated with the Product.
1636
1578
  #
1637
1579
  # @param resource_group_name [String] The name of the resource group.
1638
1580
  # @param service_name [String] The name of the API Management service.
1639
- # @param api_id [String] API revision identifier. Must be unique in the current
1640
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1641
- # where n is the revision number.
1642
- # @param operation_id [String] Operation identifier within an API. Must be
1643
- # unique in the current API Management service instance.
1581
+ # @param product_id [String] Product identifier. Must be unique in the current
1582
+ # API Management service instance.
1644
1583
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1645
1584
  # Management service instance.
1646
1585
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -1648,24 +1587,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1648
1587
  #
1649
1588
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1650
1589
  #
1651
- def get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
1590
+ def get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1652
1591
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1653
1592
  fail ArgumentError, 'service_name is nil' if service_name.nil?
1654
1593
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1655
1594
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1656
1595
  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?
1657
- fail ArgumentError, 'api_id is nil' if api_id.nil?
1658
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
1659
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
1660
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1661
- fail ArgumentError, 'operation_id is nil' if operation_id.nil?
1662
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
1663
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
1664
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1596
+ fail ArgumentError, 'product_id is nil' if product_id.nil?
1597
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1598
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1599
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1665
1600
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1666
1601
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1667
1602
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
1668
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1603
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1669
1604
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1670
1605
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1671
1606
 
@@ -1676,13 +1611,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1676
1611
  # Set Headers
1677
1612
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1678
1613
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1679
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
1614
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
1680
1615
 
1681
1616
  request_url = @base_url || @client.base_url
1682
1617
 
1683
1618
  options = {
1684
1619
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1685
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1620
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1686
1621
  query_params: {'api-version' => @client.api_version},
1687
1622
  headers: request_headers.merge(custom_headers || {}),
1688
1623
  base_url: request_url
@@ -1699,6 +1634,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1699
1634
  end
1700
1635
 
1701
1636
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1637
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1638
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1702
1639
  # Deserialize Response
1703
1640
  if status_code == 200
1704
1641
  begin
@@ -1717,89 +1654,70 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1717
1654
  end
1718
1655
 
1719
1656
  #
1720
- # Assign tag to the Operation.
1657
+ # Assign tag to the Product.
1721
1658
  #
1722
1659
  # @param resource_group_name [String] The name of the resource group.
1723
1660
  # @param service_name [String] The name of the API Management service.
1724
- # @param api_id [String] API revision identifier. Must be unique in the current
1725
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1726
- # where n is the revision number.
1727
- # @param operation_id [String] Operation identifier within an API. Must be
1728
- # unique in the current API Management service instance.
1661
+ # @param product_id [String] Product identifier. Must be unique in the current
1662
+ # API Management service instance.
1729
1663
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1730
1664
  # Management service instance.
1731
- # @param if_match [String] ETag of the Entity. Not required when creating an
1732
- # entity, but required when updating an entity.
1733
1665
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1734
1666
  # will be added to the HTTP request.
1735
1667
  #
1736
1668
  # @return [TagContract] operation results.
1737
1669
  #
1738
- def assign_to_operation(resource_group_name, service_name, api_id, operation_id, tag_id, if_match:nil, custom_headers:nil)
1739
- response = assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
1670
+ def assign_to_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1671
+ response = assign_to_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1740
1672
  response.body unless response.nil?
1741
1673
  end
1742
1674
 
1743
1675
  #
1744
- # Assign tag to the Operation.
1676
+ # Assign tag to the Product.
1745
1677
  #
1746
1678
  # @param resource_group_name [String] The name of the resource group.
1747
1679
  # @param service_name [String] The name of the API Management service.
1748
- # @param api_id [String] API revision identifier. Must be unique in the current
1749
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1750
- # where n is the revision number.
1751
- # @param operation_id [String] Operation identifier within an API. Must be
1752
- # unique in the current API Management service instance.
1680
+ # @param product_id [String] Product identifier. Must be unique in the current
1681
+ # API Management service instance.
1753
1682
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1754
1683
  # Management service instance.
1755
- # @param if_match [String] ETag of the Entity. Not required when creating an
1756
- # entity, but required when updating an entity.
1757
1684
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1758
1685
  # will be added to the HTTP request.
1759
1686
  #
1760
1687
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1761
1688
  #
1762
- def assign_to_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, if_match:nil, custom_headers:nil)
1763
- assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
1689
+ def assign_to_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1690
+ assign_to_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1764
1691
  end
1765
1692
 
1766
1693
  #
1767
- # Assign tag to the Operation.
1694
+ # Assign tag to the Product.
1768
1695
  #
1769
1696
  # @param resource_group_name [String] The name of the resource group.
1770
1697
  # @param service_name [String] The name of the API Management service.
1771
- # @param api_id [String] API revision identifier. Must be unique in the current
1772
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1773
- # where n is the revision number.
1774
- # @param operation_id [String] Operation identifier within an API. Must be
1775
- # unique in the current API Management service instance.
1698
+ # @param product_id [String] Product identifier. Must be unique in the current
1699
+ # API Management service instance.
1776
1700
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1777
1701
  # Management service instance.
1778
- # @param if_match [String] ETag of the Entity. Not required when creating an
1779
- # entity, but required when updating an entity.
1780
1702
  # @param [Hash{String => String}] A hash of custom headers that will be added
1781
1703
  # to the HTTP request.
1782
1704
  #
1783
1705
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1784
1706
  #
1785
- def assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, if_match:nil, custom_headers:nil)
1707
+ def assign_to_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1786
1708
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1787
1709
  fail ArgumentError, 'service_name is nil' if service_name.nil?
1788
1710
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1789
1711
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1790
1712
  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?
1791
- fail ArgumentError, 'api_id is nil' if api_id.nil?
1792
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
1793
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
1794
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1795
- fail ArgumentError, 'operation_id is nil' if operation_id.nil?
1796
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
1797
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
1798
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1713
+ fail ArgumentError, 'product_id is nil' if product_id.nil?
1714
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1715
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1716
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1799
1717
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1800
1718
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1801
1719
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
1802
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1720
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1803
1721
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1804
1722
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1805
1723
 
@@ -1809,15 +1727,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1809
1727
 
1810
1728
  # Set Headers
1811
1729
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1812
- request_headers['If-Match'] = if_match unless if_match.nil?
1813
1730
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1814
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
1731
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
1815
1732
 
1816
1733
  request_url = @base_url || @client.base_url
1817
1734
 
1818
1735
  options = {
1819
1736
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1820
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1737
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1821
1738
  query_params: {'api-version' => @client.api_version},
1822
1739
  headers: request_headers.merge(custom_headers || {}),
1823
1740
  base_url: request_url
@@ -1834,6 +1751,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1834
1751
  end
1835
1752
 
1836
1753
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1754
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1755
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1837
1756
  # Deserialize Response
1838
1757
  if status_code == 201
1839
1758
  begin
@@ -1862,92 +1781,69 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1862
1781
  end
1863
1782
 
1864
1783
  #
1865
- # Detach the tag from the Operation.
1784
+ # Detach the tag from the Product.
1866
1785
  #
1867
1786
  # @param resource_group_name [String] The name of the resource group.
1868
1787
  # @param service_name [String] The name of the API Management service.
1869
- # @param api_id [String] API revision identifier. Must be unique in the current
1870
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1871
- # where n is the revision number.
1872
- # @param operation_id [String] Operation identifier within an API. Must be
1873
- # unique in the current API Management service instance.
1788
+ # @param product_id [String] Product identifier. Must be unique in the current
1789
+ # API Management service instance.
1874
1790
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1875
1791
  # Management service instance.
1876
- # @param if_match [String] ETag of the Entity. ETag should match the current
1877
- # entity state from the header response of the GET request or it should be *
1878
- # for unconditional update.
1879
1792
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1880
1793
  # will be added to the HTTP request.
1881
1794
  #
1882
1795
  #
1883
- def detach_from_operation(resource_group_name, service_name, api_id, operation_id, tag_id, if_match, custom_headers:nil)
1884
- response = detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, if_match, custom_headers:custom_headers).value!
1796
+ def detach_from_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1797
+ response = detach_from_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1885
1798
  nil
1886
1799
  end
1887
1800
 
1888
1801
  #
1889
- # Detach the tag from the Operation.
1802
+ # Detach the tag from the Product.
1890
1803
  #
1891
1804
  # @param resource_group_name [String] The name of the resource group.
1892
1805
  # @param service_name [String] The name of the API Management service.
1893
- # @param api_id [String] API revision identifier. Must be unique in the current
1894
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1895
- # where n is the revision number.
1896
- # @param operation_id [String] Operation identifier within an API. Must be
1897
- # unique in the current API Management service instance.
1806
+ # @param product_id [String] Product identifier. Must be unique in the current
1807
+ # API Management service instance.
1898
1808
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1899
1809
  # Management service instance.
1900
- # @param if_match [String] ETag of the Entity. ETag should match the current
1901
- # entity state from the header response of the GET request or it should be *
1902
- # for unconditional update.
1903
1810
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1904
1811
  # will be added to the HTTP request.
1905
1812
  #
1906
1813
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1907
1814
  #
1908
- def detach_from_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, if_match, custom_headers:nil)
1909
- detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, if_match, custom_headers:custom_headers).value!
1815
+ def detach_from_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1816
+ detach_from_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
1910
1817
  end
1911
1818
 
1912
1819
  #
1913
- # Detach the tag from the Operation.
1820
+ # Detach the tag from the Product.
1914
1821
  #
1915
1822
  # @param resource_group_name [String] The name of the resource group.
1916
1823
  # @param service_name [String] The name of the API Management service.
1917
- # @param api_id [String] API revision identifier. Must be unique in the current
1918
- # API Management service instance. Non-current revision has ;rev=n as a suffix
1919
- # where n is the revision number.
1920
- # @param operation_id [String] Operation identifier within an API. Must be
1921
- # unique in the current API Management service instance.
1824
+ # @param product_id [String] Product identifier. Must be unique in the current
1825
+ # API Management service instance.
1922
1826
  # @param tag_id [String] Tag identifier. Must be unique in the current API
1923
1827
  # Management service instance.
1924
- # @param if_match [String] ETag of the Entity. ETag should match the current
1925
- # entity state from the header response of the GET request or it should be *
1926
- # for unconditional update.
1927
1828
  # @param [Hash{String => String}] A hash of custom headers that will be added
1928
1829
  # to the HTTP request.
1929
1830
  #
1930
1831
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1931
1832
  #
1932
- def detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, if_match, custom_headers:nil)
1833
+ def detach_from_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
1933
1834
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1934
1835
  fail ArgumentError, 'service_name is nil' if service_name.nil?
1935
1836
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1936
1837
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1937
1838
  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?
1938
- fail ArgumentError, 'api_id is nil' if api_id.nil?
1939
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
1940
- fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
1941
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1942
- fail ArgumentError, 'operation_id is nil' if operation_id.nil?
1943
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
1944
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
1945
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1839
+ fail ArgumentError, 'product_id is nil' if product_id.nil?
1840
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1841
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1842
+ fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1946
1843
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1947
1844
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1948
1845
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
1949
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
1950
- fail ArgumentError, 'if_match is nil' if if_match.nil?
1846
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1951
1847
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1952
1848
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1953
1849
 
@@ -1957,15 +1853,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1957
1853
 
1958
1854
  # Set Headers
1959
1855
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1960
- request_headers['If-Match'] = if_match unless if_match.nil?
1961
1856
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1962
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
1857
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
1963
1858
 
1964
1859
  request_url = @base_url || @client.base_url
1965
1860
 
1966
1861
  options = {
1967
1862
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1968
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1863
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
1969
1864
  query_params: {'api-version' => @client.api_version},
1970
1865
  headers: request_headers.merge(custom_headers || {}),
1971
1866
  base_url: request_url
@@ -1982,6 +1877,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1982
1877
  end
1983
1878
 
1984
1879
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1880
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1881
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1985
1882
 
1986
1883
  result
1987
1884
  end
@@ -1990,87 +1887,83 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
1990
1887
  end
1991
1888
 
1992
1889
  #
1993
- # Lists all Tags associated with the Product.
1890
+ # Lists a collection of tags defined within a service instance.
1994
1891
  #
1995
1892
  # @param resource_group_name [String] The name of the resource group.
1996
1893
  # @param service_name [String] The name of the API Management service.
1997
- # @param product_id [String] Product identifier. Must be unique in the current
1998
- # API Management service instance.
1999
1894
  # @param filter [String] | Field | Supported operators | Supported
2000
- # functions |
2001
- # |-------------|------------------------|---------------------------------------------|
2002
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2003
- # endswith |
2004
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2005
- # endswith |
1895
+ # functions |
1896
+ # |-------------|------------------------|-----------------------------------|
1897
+ #
1898
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
1899
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1900
+ # endswith|
1901
+ #
2006
1902
  # @param top [Integer] Number of records to return.
2007
1903
  # @param skip [Integer] Number of records to skip.
1904
+ # @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
2008
1905
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2009
1906
  # will be added to the HTTP request.
2010
1907
  #
2011
1908
  # @return [Array<TagContract>] operation results.
2012
1909
  #
2013
- def list_by_product(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
2014
- first_page = list_by_product_as_lazy(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
1910
+ def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
1911
+ first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, scope:scope, custom_headers:custom_headers)
2015
1912
  first_page.get_all_items
2016
1913
  end
2017
1914
 
2018
1915
  #
2019
- # Lists all Tags associated with the Product.
1916
+ # Lists a collection of tags defined within a service instance.
2020
1917
  #
2021
1918
  # @param resource_group_name [String] The name of the resource group.
2022
1919
  # @param service_name [String] The name of the API Management service.
2023
- # @param product_id [String] Product identifier. Must be unique in the current
2024
- # API Management service instance.
2025
1920
  # @param filter [String] | Field | Supported operators | Supported
2026
- # functions |
2027
- # |-------------|------------------------|---------------------------------------------|
2028
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2029
- # endswith |
2030
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2031
- # endswith |
1921
+ # functions |
1922
+ # |-------------|------------------------|-----------------------------------|
1923
+ #
1924
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
1925
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1926
+ # endswith|
1927
+ #
2032
1928
  # @param top [Integer] Number of records to return.
2033
1929
  # @param skip [Integer] Number of records to skip.
1930
+ # @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
2034
1931
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2035
1932
  # will be added to the HTTP request.
2036
1933
  #
2037
1934
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2038
1935
  #
2039
- def list_by_product_with_http_info(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
2040
- list_by_product_async(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
1936
+ def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
1937
+ list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, scope:scope, custom_headers:custom_headers).value!
2041
1938
  end
2042
1939
 
2043
1940
  #
2044
- # Lists all Tags associated with the Product.
1941
+ # Lists a collection of tags defined within a service instance.
2045
1942
  #
2046
1943
  # @param resource_group_name [String] The name of the resource group.
2047
1944
  # @param service_name [String] The name of the API Management service.
2048
- # @param product_id [String] Product identifier. Must be unique in the current
2049
- # API Management service instance.
2050
1945
  # @param filter [String] | Field | Supported operators | Supported
2051
- # functions |
2052
- # |-------------|------------------------|---------------------------------------------|
2053
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2054
- # endswith |
2055
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2056
- # endswith |
1946
+ # functions |
1947
+ # |-------------|------------------------|-----------------------------------|
1948
+ #
1949
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
1950
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1951
+ # endswith|
1952
+ #
2057
1953
  # @param top [Integer] Number of records to return.
2058
1954
  # @param skip [Integer] Number of records to skip.
1955
+ # @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
2059
1956
  # @param [Hash{String => String}] A hash of custom headers that will be added
2060
1957
  # to the HTTP request.
2061
1958
  #
2062
1959
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2063
1960
  #
2064
- def list_by_product_async(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
1961
+ def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
2065
1962
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2066
1963
  fail ArgumentError, 'service_name is nil' if service_name.nil?
2067
1964
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
2068
1965
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
2069
1966
  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?
2070
- fail ArgumentError, 'product_id is nil' if product_id.nil?
2071
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
2072
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
2073
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2074
1967
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
2075
1968
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
2076
1969
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -2083,14 +1976,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2083
1976
  # Set Headers
2084
1977
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2085
1978
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2086
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags'
1979
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags'
2087
1980
 
2088
1981
  request_url = @base_url || @client.base_url
2089
1982
 
2090
1983
  options = {
2091
1984
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2092
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'subscriptionId' => @client.subscription_id},
2093
- query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
1985
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1986
+ query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'scope' => scope,'api-version' => @client.api_version},
2094
1987
  headers: request_headers.merge(custom_headers || {}),
2095
1988
  base_url: request_url
2096
1989
  }
@@ -2106,6 +1999,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2106
1999
  end
2107
2000
 
2108
2001
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2002
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2003
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2109
2004
  # Deserialize Response
2110
2005
  if status_code == 200
2111
2006
  begin
@@ -2128,16 +2023,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2128
2023
  #
2129
2024
  # @param resource_group_name [String] The name of the resource group.
2130
2025
  # @param service_name [String] The name of the API Management service.
2131
- # @param product_id [String] Product identifier. Must be unique in the current
2132
- # API Management service instance.
2133
2026
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2134
2027
  # Management service instance.
2135
2028
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2136
2029
  # will be added to the HTTP request.
2137
2030
  #
2138
2031
  #
2139
- def get_entity_state_by_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
2140
- response = get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
2032
+ def get_entity_state(resource_group_name, service_name, tag_id, custom_headers:nil)
2033
+ response = get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
2141
2034
  nil
2142
2035
  end
2143
2036
 
@@ -2146,8 +2039,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2146
2039
  #
2147
2040
  # @param resource_group_name [String] The name of the resource group.
2148
2041
  # @param service_name [String] The name of the API Management service.
2149
- # @param product_id [String] Product identifier. Must be unique in the current
2150
- # API Management service instance.
2151
2042
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2152
2043
  # Management service instance.
2153
2044
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -2155,8 +2046,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2155
2046
  #
2156
2047
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2157
2048
  #
2158
- def get_entity_state_by_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
2159
- get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
2049
+ def get_entity_state_with_http_info(resource_group_name, service_name, tag_id, custom_headers:nil)
2050
+ get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
2160
2051
  end
2161
2052
 
2162
2053
  #
@@ -2164,8 +2055,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2164
2055
  #
2165
2056
  # @param resource_group_name [String] The name of the resource group.
2166
2057
  # @param service_name [String] The name of the API Management service.
2167
- # @param product_id [String] Product identifier. Must be unique in the current
2168
- # API Management service instance.
2169
2058
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2170
2059
  # Management service instance.
2171
2060
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -2173,20 +2062,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2173
2062
  #
2174
2063
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2175
2064
  #
2176
- def get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
2065
+ def get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:nil)
2177
2066
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2178
2067
  fail ArgumentError, 'service_name is nil' if service_name.nil?
2179
2068
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
2180
2069
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
2181
2070
  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?
2182
- fail ArgumentError, 'product_id is nil' if product_id.nil?
2183
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
2184
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
2185
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2186
2071
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
2187
2072
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
2188
2073
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
2189
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2074
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
2190
2075
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2191
2076
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2192
2077
 
@@ -2197,13 +2082,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2197
2082
  # Set Headers
2198
2083
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2199
2084
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2200
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
2085
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
2201
2086
 
2202
2087
  request_url = @base_url || @client.base_url
2203
2088
 
2204
2089
  options = {
2205
2090
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2206
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2091
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2207
2092
  query_params: {'api-version' => @client.api_version},
2208
2093
  headers: request_headers.merge(custom_headers || {}),
2209
2094
  base_url: request_url
@@ -2220,6 +2105,115 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2220
2105
  end
2221
2106
 
2222
2107
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2108
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2109
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2110
+
2111
+ result
2112
+ end
2113
+
2114
+ promise.execute
2115
+ end
2116
+
2117
+ #
2118
+ # Gets the details of the tag specified by its identifier.
2119
+ #
2120
+ # @param resource_group_name [String] The name of the resource group.
2121
+ # @param service_name [String] The name of the API Management service.
2122
+ # @param tag_id [String] Tag identifier. Must be unique in the current API
2123
+ # Management service instance.
2124
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2125
+ # will be added to the HTTP request.
2126
+ #
2127
+ # @return [TagContract] operation results.
2128
+ #
2129
+ def get(resource_group_name, service_name, tag_id, custom_headers:nil)
2130
+ response = get_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
2131
+ response.body unless response.nil?
2132
+ end
2133
+
2134
+ #
2135
+ # Gets the details of the tag specified by its identifier.
2136
+ #
2137
+ # @param resource_group_name [String] The name of the resource group.
2138
+ # @param service_name [String] The name of the API Management service.
2139
+ # @param tag_id [String] Tag identifier. Must be unique in the current API
2140
+ # Management service instance.
2141
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2142
+ # will be added to the HTTP request.
2143
+ #
2144
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2145
+ #
2146
+ def get_with_http_info(resource_group_name, service_name, tag_id, custom_headers:nil)
2147
+ get_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
2148
+ end
2149
+
2150
+ #
2151
+ # Gets the details of the tag specified by its identifier.
2152
+ #
2153
+ # @param resource_group_name [String] The name of the resource group.
2154
+ # @param service_name [String] The name of the API Management service.
2155
+ # @param tag_id [String] Tag identifier. Must be unique in the current API
2156
+ # Management service instance.
2157
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2158
+ # to the HTTP request.
2159
+ #
2160
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2161
+ #
2162
+ def get_async(resource_group_name, service_name, tag_id, custom_headers:nil)
2163
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2164
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
2165
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
2166
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
2167
+ 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?
2168
+ fail ArgumentError, 'tag_id is nil' if tag_id.nil?
2169
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
2170
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
2171
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
2172
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2173
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2174
+
2175
+
2176
+ request_headers = {}
2177
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2178
+
2179
+ # Set Headers
2180
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2181
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2182
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
2183
+
2184
+ request_url = @base_url || @client.base_url
2185
+
2186
+ options = {
2187
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2188
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2189
+ query_params: {'api-version' => @client.api_version},
2190
+ headers: request_headers.merge(custom_headers || {}),
2191
+ base_url: request_url
2192
+ }
2193
+ promise = @client.make_request_async(:get, path_template, options)
2194
+
2195
+ promise = promise.then do |result|
2196
+ http_response = result.response
2197
+ status_code = http_response.status
2198
+ response_content = http_response.body
2199
+ unless status_code == 200
2200
+ error_model = JSON.load(response_content)
2201
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
2202
+ end
2203
+
2204
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2205
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2206
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2207
+ # Deserialize Response
2208
+ if status_code == 200
2209
+ begin
2210
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2211
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
2212
+ result.body = @client.deserialize(result_mapper, parsed_response)
2213
+ rescue Exception => e
2214
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2215
+ end
2216
+ end
2223
2217
 
2224
2218
  result
2225
2219
  end
@@ -2228,70 +2222,70 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2228
2222
  end
2229
2223
 
2230
2224
  #
2231
- # Get tag associated with the Product.
2225
+ # Creates a tag.
2232
2226
  #
2233
2227
  # @param resource_group_name [String] The name of the resource group.
2234
2228
  # @param service_name [String] The name of the API Management service.
2235
- # @param product_id [String] Product identifier. Must be unique in the current
2236
- # API Management service instance.
2237
2229
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2238
2230
  # Management service instance.
2231
+ # @param parameters [TagCreateUpdateParameters] Create parameters.
2232
+ # @param if_match [String] ETag of the Entity. Not required when creating an
2233
+ # entity, but required when updating an entity.
2239
2234
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2240
2235
  # will be added to the HTTP request.
2241
2236
  #
2242
2237
  # @return [TagContract] operation results.
2243
2238
  #
2244
- def get_by_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
2245
- response = get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
2239
+ def create_or_update(resource_group_name, service_name, tag_id, parameters, if_match:nil, custom_headers:nil)
2240
+ response = create_or_update_async(resource_group_name, service_name, tag_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
2246
2241
  response.body unless response.nil?
2247
2242
  end
2248
2243
 
2249
2244
  #
2250
- # Get tag associated with the Product.
2245
+ # Creates a tag.
2251
2246
  #
2252
2247
  # @param resource_group_name [String] The name of the resource group.
2253
2248
  # @param service_name [String] The name of the API Management service.
2254
- # @param product_id [String] Product identifier. Must be unique in the current
2255
- # API Management service instance.
2256
2249
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2257
2250
  # Management service instance.
2251
+ # @param parameters [TagCreateUpdateParameters] Create parameters.
2252
+ # @param if_match [String] ETag of the Entity. Not required when creating an
2253
+ # entity, but required when updating an entity.
2258
2254
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2259
2255
  # will be added to the HTTP request.
2260
2256
  #
2261
2257
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2262
2258
  #
2263
- def get_by_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
2264
- get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
2259
+ def create_or_update_with_http_info(resource_group_name, service_name, tag_id, parameters, if_match:nil, custom_headers:nil)
2260
+ create_or_update_async(resource_group_name, service_name, tag_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
2265
2261
  end
2266
2262
 
2267
2263
  #
2268
- # Get tag associated with the Product.
2264
+ # Creates a tag.
2269
2265
  #
2270
2266
  # @param resource_group_name [String] The name of the resource group.
2271
2267
  # @param service_name [String] The name of the API Management service.
2272
- # @param product_id [String] Product identifier. Must be unique in the current
2273
- # API Management service instance.
2274
2268
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2275
2269
  # Management service instance.
2270
+ # @param parameters [TagCreateUpdateParameters] Create parameters.
2271
+ # @param if_match [String] ETag of the Entity. Not required when creating an
2272
+ # entity, but required when updating an entity.
2276
2273
  # @param [Hash{String => String}] A hash of custom headers that will be added
2277
2274
  # to the HTTP request.
2278
2275
  #
2279
2276
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2280
2277
  #
2281
- def get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
2278
+ def create_or_update_async(resource_group_name, service_name, tag_id, parameters, if_match:nil, custom_headers:nil)
2282
2279
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2283
2280
  fail ArgumentError, 'service_name is nil' if service_name.nil?
2284
2281
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
2285
2282
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
2286
2283
  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?
2287
- fail ArgumentError, 'product_id is nil' if product_id.nil?
2288
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
2289
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
2290
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2291
2284
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
2292
2285
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
2293
2286
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
2294
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2287
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
2288
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2295
2289
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2296
2290
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2297
2291
 
@@ -2301,30 +2295,50 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2301
2295
 
2302
2296
  # Set Headers
2303
2297
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2298
+ request_headers['If-Match'] = if_match unless if_match.nil?
2304
2299
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2305
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
2300
+
2301
+ # Serialize Request
2302
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
2303
+ request_content = @client.serialize(request_mapper, parameters)
2304
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2305
+
2306
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
2306
2307
 
2307
2308
  request_url = @base_url || @client.base_url
2308
2309
 
2309
2310
  options = {
2310
2311
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2311
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2312
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2312
2313
  query_params: {'api-version' => @client.api_version},
2314
+ body: request_content,
2313
2315
  headers: request_headers.merge(custom_headers || {}),
2314
2316
  base_url: request_url
2315
2317
  }
2316
- promise = @client.make_request_async(:get, path_template, options)
2318
+ promise = @client.make_request_async(:put, path_template, options)
2317
2319
 
2318
2320
  promise = promise.then do |result|
2319
2321
  http_response = result.response
2320
2322
  status_code = http_response.status
2321
2323
  response_content = http_response.body
2322
- unless status_code == 200
2324
+ unless status_code == 201 || status_code == 200
2323
2325
  error_model = JSON.load(response_content)
2324
2326
  fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
2325
2327
  end
2326
2328
 
2327
2329
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2330
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2331
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2332
+ # Deserialize Response
2333
+ if status_code == 201
2334
+ begin
2335
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2336
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
2337
+ result.body = @client.deserialize(result_mapper, parsed_response)
2338
+ rescue Exception => e
2339
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2340
+ end
2341
+ end
2328
2342
  # Deserialize Response
2329
2343
  if status_code == 200
2330
2344
  begin
@@ -2343,76 +2357,73 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2343
2357
  end
2344
2358
 
2345
2359
  #
2346
- # Assign tag to the Product.
2360
+ # Updates the details of the tag specified by its identifier.
2347
2361
  #
2348
2362
  # @param resource_group_name [String] The name of the resource group.
2349
2363
  # @param service_name [String] The name of the API Management service.
2350
- # @param product_id [String] Product identifier. Must be unique in the current
2351
- # API Management service instance.
2352
2364
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2353
2365
  # Management service instance.
2354
- # @param if_match [String] ETag of the Entity. Not required when creating an
2355
- # entity, but required when updating an entity.
2366
+ # @param parameters [TagCreateUpdateParameters] Update parameters.
2367
+ # @param if_match [String] ETag of the Entity. ETag should match the current
2368
+ # entity state from the header response of the GET request or it should be *
2369
+ # for unconditional update.
2356
2370
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2357
2371
  # will be added to the HTTP request.
2358
2372
  #
2359
- # @return [TagContract] operation results.
2360
2373
  #
2361
- def assign_to_product(resource_group_name, service_name, product_id, tag_id, if_match:nil, custom_headers:nil)
2362
- response = assign_to_product_async(resource_group_name, service_name, product_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
2363
- response.body unless response.nil?
2374
+ def update(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
2375
+ response = update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:custom_headers).value!
2376
+ nil
2364
2377
  end
2365
2378
 
2366
2379
  #
2367
- # Assign tag to the Product.
2380
+ # Updates the details of the tag specified by its identifier.
2368
2381
  #
2369
2382
  # @param resource_group_name [String] The name of the resource group.
2370
2383
  # @param service_name [String] The name of the API Management service.
2371
- # @param product_id [String] Product identifier. Must be unique in the current
2372
- # API Management service instance.
2373
2384
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2374
2385
  # Management service instance.
2375
- # @param if_match [String] ETag of the Entity. Not required when creating an
2376
- # entity, but required when updating an entity.
2386
+ # @param parameters [TagCreateUpdateParameters] Update parameters.
2387
+ # @param if_match [String] ETag of the Entity. ETag should match the current
2388
+ # entity state from the header response of the GET request or it should be *
2389
+ # for unconditional update.
2377
2390
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2378
2391
  # will be added to the HTTP request.
2379
2392
  #
2380
2393
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2381
2394
  #
2382
- def assign_to_product_with_http_info(resource_group_name, service_name, product_id, tag_id, if_match:nil, custom_headers:nil)
2383
- assign_to_product_async(resource_group_name, service_name, product_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
2395
+ def update_with_http_info(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
2396
+ update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:custom_headers).value!
2384
2397
  end
2385
2398
 
2386
2399
  #
2387
- # Assign tag to the Product.
2400
+ # Updates the details of the tag specified by its identifier.
2388
2401
  #
2389
2402
  # @param resource_group_name [String] The name of the resource group.
2390
2403
  # @param service_name [String] The name of the API Management service.
2391
- # @param product_id [String] Product identifier. Must be unique in the current
2392
- # API Management service instance.
2393
2404
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2394
2405
  # Management service instance.
2395
- # @param if_match [String] ETag of the Entity. Not required when creating an
2396
- # entity, but required when updating an entity.
2406
+ # @param parameters [TagCreateUpdateParameters] Update parameters.
2407
+ # @param if_match [String] ETag of the Entity. ETag should match the current
2408
+ # entity state from the header response of the GET request or it should be *
2409
+ # for unconditional update.
2397
2410
  # @param [Hash{String => String}] A hash of custom headers that will be added
2398
2411
  # to the HTTP request.
2399
2412
  #
2400
2413
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2401
2414
  #
2402
- def assign_to_product_async(resource_group_name, service_name, product_id, tag_id, if_match:nil, custom_headers:nil)
2415
+ def update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
2403
2416
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2404
2417
  fail ArgumentError, 'service_name is nil' if service_name.nil?
2405
2418
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
2406
2419
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
2407
2420
  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?
2408
- fail ArgumentError, 'product_id is nil' if product_id.nil?
2409
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
2410
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
2411
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2412
2421
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
2413
2422
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
2414
2423
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
2415
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2424
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
2425
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2426
+ fail ArgumentError, 'if_match is nil' if if_match.nil?
2416
2427
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2417
2428
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2418
2429
 
@@ -2424,49 +2435,38 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2424
2435
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2425
2436
  request_headers['If-Match'] = if_match unless if_match.nil?
2426
2437
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2427
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
2438
+
2439
+ # Serialize Request
2440
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
2441
+ request_content = @client.serialize(request_mapper, parameters)
2442
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2443
+
2444
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
2428
2445
 
2429
2446
  request_url = @base_url || @client.base_url
2430
2447
 
2431
2448
  options = {
2432
2449
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2433
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2450
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2434
2451
  query_params: {'api-version' => @client.api_version},
2452
+ body: request_content,
2435
2453
  headers: request_headers.merge(custom_headers || {}),
2436
2454
  base_url: request_url
2437
2455
  }
2438
- promise = @client.make_request_async(:put, path_template, options)
2456
+ promise = @client.make_request_async(:patch, path_template, options)
2439
2457
 
2440
2458
  promise = promise.then do |result|
2441
2459
  http_response = result.response
2442
2460
  status_code = http_response.status
2443
2461
  response_content = http_response.body
2444
- unless status_code == 201 || status_code == 200
2462
+ unless status_code == 204
2445
2463
  error_model = JSON.load(response_content)
2446
2464
  fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
2447
2465
  end
2448
2466
 
2449
2467
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2450
- # Deserialize Response
2451
- if status_code == 201
2452
- begin
2453
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2454
- result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
2455
- result.body = @client.deserialize(result_mapper, parsed_response)
2456
- rescue Exception => e
2457
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2458
- end
2459
- end
2460
- # Deserialize Response
2461
- if status_code == 200
2462
- begin
2463
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2464
- result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
2465
- result.body = @client.deserialize(result_mapper, parsed_response)
2466
- rescue Exception => e
2467
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2468
- end
2469
- end
2468
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2469
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2470
2470
 
2471
2471
  result
2472
2472
  end
@@ -2475,12 +2475,10 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2475
2475
  end
2476
2476
 
2477
2477
  #
2478
- # Detach the tag from the Product.
2478
+ # Deletes specific tag of the API Management service instance.
2479
2479
  #
2480
2480
  # @param resource_group_name [String] The name of the resource group.
2481
2481
  # @param service_name [String] The name of the API Management service.
2482
- # @param product_id [String] Product identifier. Must be unique in the current
2483
- # API Management service instance.
2484
2482
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2485
2483
  # Management service instance.
2486
2484
  # @param if_match [String] ETag of the Entity. ETag should match the current
@@ -2490,18 +2488,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2490
2488
  # will be added to the HTTP request.
2491
2489
  #
2492
2490
  #
2493
- def detach_from_product(resource_group_name, service_name, product_id, tag_id, if_match, custom_headers:nil)
2494
- response = detach_from_product_async(resource_group_name, service_name, product_id, tag_id, if_match, custom_headers:custom_headers).value!
2491
+ def delete(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
2492
+ response = delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:custom_headers).value!
2495
2493
  nil
2496
2494
  end
2497
2495
 
2498
2496
  #
2499
- # Detach the tag from the Product.
2497
+ # Deletes specific tag of the API Management service instance.
2500
2498
  #
2501
2499
  # @param resource_group_name [String] The name of the resource group.
2502
2500
  # @param service_name [String] The name of the API Management service.
2503
- # @param product_id [String] Product identifier. Must be unique in the current
2504
- # API Management service instance.
2505
2501
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2506
2502
  # Management service instance.
2507
2503
  # @param if_match [String] ETag of the Entity. ETag should match the current
@@ -2512,17 +2508,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2512
2508
  #
2513
2509
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2514
2510
  #
2515
- def detach_from_product_with_http_info(resource_group_name, service_name, product_id, tag_id, if_match, custom_headers:nil)
2516
- detach_from_product_async(resource_group_name, service_name, product_id, tag_id, if_match, custom_headers:custom_headers).value!
2511
+ def delete_with_http_info(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
2512
+ delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:custom_headers).value!
2517
2513
  end
2518
2514
 
2519
2515
  #
2520
- # Detach the tag from the Product.
2516
+ # Deletes specific tag of the API Management service instance.
2521
2517
  #
2522
2518
  # @param resource_group_name [String] The name of the resource group.
2523
2519
  # @param service_name [String] The name of the API Management service.
2524
- # @param product_id [String] Product identifier. Must be unique in the current
2525
- # API Management service instance.
2526
2520
  # @param tag_id [String] Tag identifier. Must be unique in the current API
2527
2521
  # Management service instance.
2528
2522
  # @param if_match [String] ETag of the Entity. ETag should match the current
@@ -2533,20 +2527,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2533
2527
  #
2534
2528
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2535
2529
  #
2536
- def detach_from_product_async(resource_group_name, service_name, product_id, tag_id, if_match, custom_headers:nil)
2530
+ def delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
2537
2531
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2538
2532
  fail ArgumentError, 'service_name is nil' if service_name.nil?
2539
2533
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
2540
2534
  fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
2541
2535
  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?
2542
- fail ArgumentError, 'product_id is nil' if product_id.nil?
2543
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
2544
- fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
2545
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2546
2536
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
2547
2537
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
2548
2538
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
2549
- fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
2539
+ fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
2550
2540
  fail ArgumentError, 'if_match is nil' if if_match.nil?
2551
2541
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2552
2542
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -2559,13 +2549,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2559
2549
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2560
2550
  request_headers['If-Match'] = if_match unless if_match.nil?
2561
2551
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2562
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
2552
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
2563
2553
 
2564
2554
  request_url = @base_url || @client.base_url
2565
2555
 
2566
2556
  options = {
2567
2557
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2568
- path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2558
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
2569
2559
  query_params: {'api-version' => @client.api_version},
2570
2560
  headers: request_headers.merge(custom_headers || {}),
2571
2561
  base_url: request_url
@@ -2582,6 +2572,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2582
2572
  end
2583
2573
 
2584
2574
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2575
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2576
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2585
2577
 
2586
2578
  result
2587
2579
  end
@@ -2590,7 +2582,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2590
2582
  end
2591
2583
 
2592
2584
  #
2593
- # Lists a collection of tags defined within a service instance.
2585
+ # Lists all Tags associated with the Operation.
2594
2586
  #
2595
2587
  # @param next_page_link [String] The NextLink from the previous successful call
2596
2588
  # to List operation.
@@ -2599,13 +2591,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2599
2591
  #
2600
2592
  # @return [TagCollection] operation results.
2601
2593
  #
2602
- def list_by_service_next(next_page_link, custom_headers:nil)
2603
- response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
2594
+ def list_by_operation_next(next_page_link, custom_headers:nil)
2595
+ response = list_by_operation_next_async(next_page_link, custom_headers:custom_headers).value!
2604
2596
  response.body unless response.nil?
2605
2597
  end
2606
2598
 
2607
2599
  #
2608
- # Lists a collection of tags defined within a service instance.
2600
+ # Lists all Tags associated with the Operation.
2609
2601
  #
2610
2602
  # @param next_page_link [String] The NextLink from the previous successful call
2611
2603
  # to List operation.
@@ -2614,12 +2606,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2614
2606
  #
2615
2607
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2616
2608
  #
2617
- def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
2618
- list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
2609
+ def list_by_operation_next_with_http_info(next_page_link, custom_headers:nil)
2610
+ list_by_operation_next_async(next_page_link, custom_headers:custom_headers).value!
2619
2611
  end
2620
2612
 
2621
2613
  #
2622
- # Lists a collection of tags defined within a service instance.
2614
+ # Lists all Tags associated with the Operation.
2623
2615
  #
2624
2616
  # @param next_page_link [String] The NextLink from the previous successful call
2625
2617
  # to List operation.
@@ -2628,7 +2620,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2628
2620
  #
2629
2621
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2630
2622
  #
2631
- def list_by_service_next_async(next_page_link, custom_headers:nil)
2623
+ def list_by_operation_next_async(next_page_link, custom_headers:nil)
2632
2624
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2633
2625
 
2634
2626
 
@@ -2656,10 +2648,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2656
2648
  response_content = http_response.body
2657
2649
  unless status_code == 200
2658
2650
  error_model = JSON.load(response_content)
2659
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2651
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
2660
2652
  end
2661
2653
 
2662
2654
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2655
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2656
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2663
2657
  # Deserialize Response
2664
2658
  if status_code == 200
2665
2659
  begin
@@ -2748,6 +2742,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2748
2742
  end
2749
2743
 
2750
2744
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2745
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2746
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2751
2747
  # Deserialize Response
2752
2748
  if status_code == 200
2753
2749
  begin
@@ -2766,7 +2762,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2766
2762
  end
2767
2763
 
2768
2764
  #
2769
- # Lists all Tags associated with the Operation.
2765
+ # Lists all Tags associated with the Product.
2770
2766
  #
2771
2767
  # @param next_page_link [String] The NextLink from the previous successful call
2772
2768
  # to List operation.
@@ -2775,13 +2771,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2775
2771
  #
2776
2772
  # @return [TagCollection] operation results.
2777
2773
  #
2778
- def list_by_operation_next(next_page_link, custom_headers:nil)
2779
- response = list_by_operation_next_async(next_page_link, custom_headers:custom_headers).value!
2774
+ def list_by_product_next(next_page_link, custom_headers:nil)
2775
+ response = list_by_product_next_async(next_page_link, custom_headers:custom_headers).value!
2780
2776
  response.body unless response.nil?
2781
2777
  end
2782
2778
 
2783
2779
  #
2784
- # Lists all Tags associated with the Operation.
2780
+ # Lists all Tags associated with the Product.
2785
2781
  #
2786
2782
  # @param next_page_link [String] The NextLink from the previous successful call
2787
2783
  # to List operation.
@@ -2790,12 +2786,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2790
2786
  #
2791
2787
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2792
2788
  #
2793
- def list_by_operation_next_with_http_info(next_page_link, custom_headers:nil)
2794
- list_by_operation_next_async(next_page_link, custom_headers:custom_headers).value!
2789
+ def list_by_product_next_with_http_info(next_page_link, custom_headers:nil)
2790
+ list_by_product_next_async(next_page_link, custom_headers:custom_headers).value!
2795
2791
  end
2796
2792
 
2797
2793
  #
2798
- # Lists all Tags associated with the Operation.
2794
+ # Lists all Tags associated with the Product.
2799
2795
  #
2800
2796
  # @param next_page_link [String] The NextLink from the previous successful call
2801
2797
  # to List operation.
@@ -2804,7 +2800,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2804
2800
  #
2805
2801
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2806
2802
  #
2807
- def list_by_operation_next_async(next_page_link, custom_headers:nil)
2803
+ def list_by_product_next_async(next_page_link, custom_headers:nil)
2808
2804
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2809
2805
 
2810
2806
 
@@ -2836,6 +2832,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2836
2832
  end
2837
2833
 
2838
2834
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2835
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2836
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2839
2837
  # Deserialize Response
2840
2838
  if status_code == 200
2841
2839
  begin
@@ -2854,7 +2852,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2854
2852
  end
2855
2853
 
2856
2854
  #
2857
- # Lists all Tags associated with the Product.
2855
+ # Lists a collection of tags defined within a service instance.
2858
2856
  #
2859
2857
  # @param next_page_link [String] The NextLink from the previous successful call
2860
2858
  # to List operation.
@@ -2863,13 +2861,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2863
2861
  #
2864
2862
  # @return [TagCollection] operation results.
2865
2863
  #
2866
- def list_by_product_next(next_page_link, custom_headers:nil)
2867
- response = list_by_product_next_async(next_page_link, custom_headers:custom_headers).value!
2864
+ def list_by_service_next(next_page_link, custom_headers:nil)
2865
+ response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
2868
2866
  response.body unless response.nil?
2869
2867
  end
2870
2868
 
2871
2869
  #
2872
- # Lists all Tags associated with the Product.
2870
+ # Lists a collection of tags defined within a service instance.
2873
2871
  #
2874
2872
  # @param next_page_link [String] The NextLink from the previous successful call
2875
2873
  # to List operation.
@@ -2878,12 +2876,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2878
2876
  #
2879
2877
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2880
2878
  #
2881
- def list_by_product_next_with_http_info(next_page_link, custom_headers:nil)
2882
- list_by_product_next_async(next_page_link, custom_headers:custom_headers).value!
2879
+ def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
2880
+ list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
2883
2881
  end
2884
2882
 
2885
2883
  #
2886
- # Lists all Tags associated with the Product.
2884
+ # Lists a collection of tags defined within a service instance.
2887
2885
  #
2888
2886
  # @param next_page_link [String] The NextLink from the previous successful call
2889
2887
  # to List operation.
@@ -2892,7 +2890,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2892
2890
  #
2893
2891
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2894
2892
  #
2895
- def list_by_product_next_async(next_page_link, custom_headers:nil)
2893
+ def list_by_service_next_async(next_page_link, custom_headers:nil)
2896
2894
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2897
2895
 
2898
2896
 
@@ -2924,6 +2922,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2924
2922
  end
2925
2923
 
2926
2924
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2925
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2926
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2927
2927
  # Deserialize Response
2928
2928
  if status_code == 200
2929
2929
  begin
@@ -2942,17 +2942,23 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2942
2942
  end
2943
2943
 
2944
2944
  #
2945
- # Lists a collection of tags defined within a service instance.
2945
+ # Lists all Tags associated with the Operation.
2946
2946
  #
2947
2947
  # @param resource_group_name [String] The name of the resource group.
2948
2948
  # @param service_name [String] The name of the API Management service.
2949
+ # @param api_id [String] API revision identifier. Must be unique in the current
2950
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
2951
+ # where n is the revision number.
2952
+ # @param operation_id [String] Operation identifier within an API. Must be
2953
+ # unique in the current API Management service instance.
2949
2954
  # @param filter [String] | Field | Supported operators | Supported
2950
- # functions |
2951
- # |-------------|------------------------|---------------------------------------------|
2952
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2953
- # endswith |
2954
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2955
- # endswith |
2955
+ # functions |
2956
+ # |-------------|------------------------|-----------------------------------|
2957
+ #
2958
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2959
+ # endswith|
2960
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
2961
+ #
2956
2962
  # @param top [Integer] Number of records to return.
2957
2963
  # @param skip [Integer] Number of records to skip.
2958
2964
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -2960,12 +2966,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2960
2966
  #
2961
2967
  # @return [TagCollection] which provide lazy access to pages of the response.
2962
2968
  #
2963
- def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
2964
- response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
2969
+ def list_by_operation_as_lazy(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
2970
+ response = list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
2965
2971
  unless response.nil?
2966
2972
  page = response.body
2967
2973
  page.next_method = Proc.new do |next_page_link|
2968
- list_by_service_next_async(next_page_link, custom_headers:custom_headers)
2974
+ list_by_operation_next_async(next_page_link, custom_headers:custom_headers)
2969
2975
  end
2970
2976
  page
2971
2977
  end
@@ -2980,12 +2986,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
2980
2986
  # API Management service instance. Non-current revision has ;rev=n as a suffix
2981
2987
  # where n is the revision number.
2982
2988
  # @param filter [String] | Field | Supported operators | Supported
2983
- # functions |
2984
- # |-------------|------------------------|---------------------------------------------|
2985
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2986
- # endswith |
2987
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2988
- # endswith |
2989
+ # functions |
2990
+ # |-------------|------------------------|-----------------------------------|
2991
+ #
2992
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
2993
+ # endswith|
2994
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
2995
+ #
2989
2996
  # @param top [Integer] Number of records to return.
2990
2997
  # @param skip [Integer] Number of records to skip.
2991
2998
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -3005,28 +3012,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
3005
3012
  end
3006
3013
 
3007
3014
  #
3008
- # Lists all Tags associated with the Operation.
3015
+ # Lists all Tags associated with the Product.
3009
3016
  #
3010
3017
  # @param resource_group_name [String] The name of the resource group.
3011
3018
  # @param service_name [String] The name of the API Management service.
3012
- # @param api_id [String] API revision identifier. Must be unique in the current
3013
- # API Management service instance. Non-current revision has ;rev=n as a suffix
3014
- # where n is the revision number.
3015
- # @param operation_id [String] Operation identifier within an API. Must be
3016
- # unique in the current API Management service instance.
3019
+ # @param product_id [String] Product identifier. Must be unique in the current
3020
+ # API Management service instance.
3017
3021
  # @param filter [String] | Field | Supported operators | Supported
3018
- # functions |
3019
- # |-------------|------------------------|---------------------------------------------|
3020
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3021
- # endswith |
3022
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3023
- # endswith |
3024
- # | method | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3025
- # endswith |
3026
- # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3027
- # endswith |
3028
- # | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3029
- # endswith |
3022
+ # functions |
3023
+ # |-------------|------------------------|-----------------------------------|
3024
+ #
3025
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3026
+ # endswith|
3027
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
3028
+ #
3030
3029
  # @param top [Integer] Number of records to return.
3031
3030
  # @param skip [Integer] Number of records to skip.
3032
3031
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -3034,44 +3033,44 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
3034
3033
  #
3035
3034
  # @return [TagCollection] which provide lazy access to pages of the response.
3036
3035
  #
3037
- def list_by_operation_as_lazy(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
3038
- response = list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
3036
+ def list_by_product_as_lazy(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
3037
+ response = list_by_product_async(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
3039
3038
  unless response.nil?
3040
3039
  page = response.body
3041
3040
  page.next_method = Proc.new do |next_page_link|
3042
- list_by_operation_next_async(next_page_link, custom_headers:custom_headers)
3041
+ list_by_product_next_async(next_page_link, custom_headers:custom_headers)
3043
3042
  end
3044
3043
  page
3045
3044
  end
3046
3045
  end
3047
3046
 
3048
3047
  #
3049
- # Lists all Tags associated with the Product.
3048
+ # Lists a collection of tags defined within a service instance.
3050
3049
  #
3051
3050
  # @param resource_group_name [String] The name of the resource group.
3052
3051
  # @param service_name [String] The name of the API Management service.
3053
- # @param product_id [String] Product identifier. Must be unique in the current
3054
- # API Management service instance.
3055
3052
  # @param filter [String] | Field | Supported operators | Supported
3056
- # functions |
3057
- # |-------------|------------------------|---------------------------------------------|
3058
- # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3059
- # endswith |
3060
- # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3061
- # endswith |
3053
+ # functions |
3054
+ # |-------------|------------------------|-----------------------------------|
3055
+ #
3056
+ # |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
3057
+ # |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
3058
+ # endswith|
3059
+ #
3062
3060
  # @param top [Integer] Number of records to return.
3063
3061
  # @param skip [Integer] Number of records to skip.
3062
+ # @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
3064
3063
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
3065
3064
  # will be added to the HTTP request.
3066
3065
  #
3067
3066
  # @return [TagCollection] which provide lazy access to pages of the response.
3068
3067
  #
3069
- def list_by_product_as_lazy(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
3070
- response = list_by_product_async(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
3068
+ def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
3069
+ response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, scope:scope, custom_headers:custom_headers).value!
3071
3070
  unless response.nil?
3072
3071
  page = response.body
3073
3072
  page.next_method = Proc.new do |next_page_link|
3074
- list_by_product_next_async(next_page_link, custom_headers:custom_headers)
3073
+ list_by_service_next_async(next_page_link, custom_headers:custom_headers)
3075
3074
  end
3076
3075
  page
3077
3076
  end