azure_mgmt_api_management 0.18.1 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,1944 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ApiManagement::Mgmt::V2018_01_01
7
+ #
8
+ # ApiManagement Client
9
+ #
10
+ class ApiManagementService
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ApiManagementService class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [ApiManagementClient] reference to the ApiManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Restores a backup of an API Management service created using the
26
+ # ApiManagementService_Backup operation on the current service. This is a long
27
+ # running operation and could take several minutes to complete.
28
+ #
29
+ # @param resource_group_name [String] The name of the resource group.
30
+ # @param service_name [String] The name of the API Management service.
31
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
32
+ # supplied to the Restore API Management service from backup operation.
33
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
+ # will be added to the HTTP request.
35
+ #
36
+ # @return [ApiManagementServiceResource] operation results.
37
+ #
38
+ def restore(resource_group_name, service_name, parameters, custom_headers:nil)
39
+ response = restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
40
+ response.body unless response.nil?
41
+ end
42
+
43
+ #
44
+ # @param resource_group_name [String] The name of the resource group.
45
+ # @param service_name [String] The name of the API Management service.
46
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
47
+ # supplied to the Restore API Management service from backup operation.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [Concurrent::Promise] promise which provides async access to http
52
+ # response.
53
+ #
54
+ def restore_async(resource_group_name, service_name, parameters, custom_headers:nil)
55
+ # Send request
56
+ promise = begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
57
+
58
+ promise = promise.then do |response|
59
+ # Defining deserialization method.
60
+ deserialize_method = lambda do |parsed_response|
61
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
62
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
63
+ end
64
+
65
+ # Waiting for response.
66
+ @client.get_long_running_operation_result(response, deserialize_method)
67
+ end
68
+
69
+ promise
70
+ end
71
+
72
+ #
73
+ # Creates a backup of the API Management service to the given Azure Storage
74
+ # Account. This is long running operation and could take several minutes to
75
+ # complete.
76
+ #
77
+ # @param resource_group_name [String] The name of the resource group.
78
+ # @param service_name [String] The name of the API Management service.
79
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
80
+ # supplied to the ApiManagementService_Backup operation.
81
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
82
+ # will be added to the HTTP request.
83
+ #
84
+ # @return [ApiManagementServiceResource] operation results.
85
+ #
86
+ def backup(resource_group_name, service_name, parameters, custom_headers:nil)
87
+ response = backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
88
+ response.body unless response.nil?
89
+ end
90
+
91
+ #
92
+ # @param resource_group_name [String] The name of the resource group.
93
+ # @param service_name [String] The name of the API Management service.
94
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
95
+ # supplied to the ApiManagementService_Backup operation.
96
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
97
+ # will be added to the HTTP request.
98
+ #
99
+ # @return [Concurrent::Promise] promise which provides async access to http
100
+ # response.
101
+ #
102
+ def backup_async(resource_group_name, service_name, parameters, custom_headers:nil)
103
+ # Send request
104
+ promise = begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
105
+
106
+ promise = promise.then do |response|
107
+ # Defining deserialization method.
108
+ deserialize_method = lambda do |parsed_response|
109
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
110
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
111
+ end
112
+
113
+ # Waiting for response.
114
+ @client.get_long_running_operation_result(response, deserialize_method)
115
+ end
116
+
117
+ promise
118
+ end
119
+
120
+ #
121
+ # Creates or updates an API Management service. This is long running operation
122
+ # and could take several minutes to complete.
123
+ #
124
+ # @param resource_group_name [String] The name of the resource group.
125
+ # @param service_name [String] The name of the API Management service.
126
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
127
+ # CreateOrUpdate API Management service operation.
128
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
129
+ # will be added to the HTTP request.
130
+ #
131
+ # @return [ApiManagementServiceResource] operation results.
132
+ #
133
+ def create_or_update(resource_group_name, service_name, parameters, custom_headers:nil)
134
+ response = create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
135
+ response.body unless response.nil?
136
+ end
137
+
138
+ #
139
+ # @param resource_group_name [String] The name of the resource group.
140
+ # @param service_name [String] The name of the API Management service.
141
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
142
+ # CreateOrUpdate API Management service operation.
143
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
144
+ # will be added to the HTTP request.
145
+ #
146
+ # @return [Concurrent::Promise] promise which provides async access to http
147
+ # response.
148
+ #
149
+ def create_or_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
150
+ # Send request
151
+ promise = begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
152
+
153
+ promise = promise.then do |response|
154
+ # Defining deserialization method.
155
+ deserialize_method = lambda do |parsed_response|
156
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
157
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
158
+ end
159
+
160
+ # Waiting for response.
161
+ @client.get_long_running_operation_result(response, deserialize_method)
162
+ end
163
+
164
+ promise
165
+ end
166
+
167
+ #
168
+ # Updates an existing API Management service.
169
+ #
170
+ # @param resource_group_name [String] The name of the resource group.
171
+ # @param service_name [String] The name of the API Management service.
172
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
173
+ # to the CreateOrUpdate API Management service operation.
174
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
175
+ # will be added to the HTTP request.
176
+ #
177
+ # @return [ApiManagementServiceResource] operation results.
178
+ #
179
+ def update(resource_group_name, service_name, parameters, custom_headers:nil)
180
+ response = update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
181
+ response.body unless response.nil?
182
+ end
183
+
184
+ #
185
+ # @param resource_group_name [String] The name of the resource group.
186
+ # @param service_name [String] The name of the API Management service.
187
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
188
+ # to the CreateOrUpdate API Management service operation.
189
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
190
+ # will be added to the HTTP request.
191
+ #
192
+ # @return [Concurrent::Promise] promise which provides async access to http
193
+ # response.
194
+ #
195
+ def update_async(resource_group_name, service_name, parameters, custom_headers:nil)
196
+ # Send request
197
+ promise = begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
198
+
199
+ promise = promise.then do |response|
200
+ # Defining deserialization method.
201
+ deserialize_method = lambda do |parsed_response|
202
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
203
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
204
+ end
205
+
206
+ # Waiting for response.
207
+ @client.get_long_running_operation_result(response, deserialize_method)
208
+ end
209
+
210
+ promise
211
+ end
212
+
213
+ #
214
+ # Gets an API Management service resource description.
215
+ #
216
+ # @param resource_group_name [String] The name of the resource group.
217
+ # @param service_name [String] The name of the API Management service.
218
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
219
+ # will be added to the HTTP request.
220
+ #
221
+ # @return [ApiManagementServiceResource] operation results.
222
+ #
223
+ def get(resource_group_name, service_name, custom_headers:nil)
224
+ response = get_async(resource_group_name, service_name, custom_headers:custom_headers).value!
225
+ response.body unless response.nil?
226
+ end
227
+
228
+ #
229
+ # Gets an API Management service resource description.
230
+ #
231
+ # @param resource_group_name [String] The name of the resource group.
232
+ # @param service_name [String] The name of the API Management service.
233
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
234
+ # will be added to the HTTP request.
235
+ #
236
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
237
+ #
238
+ def get_with_http_info(resource_group_name, service_name, custom_headers:nil)
239
+ get_async(resource_group_name, service_name, custom_headers:custom_headers).value!
240
+ end
241
+
242
+ #
243
+ # Gets an API Management service resource description.
244
+ #
245
+ # @param resource_group_name [String] The name of the resource group.
246
+ # @param service_name [String] The name of the API Management service.
247
+ # @param [Hash{String => String}] A hash of custom headers that will be added
248
+ # to the HTTP request.
249
+ #
250
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
251
+ #
252
+ def get_async(resource_group_name, service_name, custom_headers:nil)
253
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
254
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
255
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
256
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
257
+ 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?
258
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
259
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
260
+
261
+
262
+ request_headers = {}
263
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
264
+
265
+ # Set Headers
266
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
267
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
268
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
269
+
270
+ request_url = @base_url || @client.base_url
271
+
272
+ options = {
273
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
274
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
275
+ query_params: {'api-version' => @client.api_version},
276
+ headers: request_headers.merge(custom_headers || {}),
277
+ base_url: request_url
278
+ }
279
+ promise = @client.make_request_async(:get, path_template, options)
280
+
281
+ promise = promise.then do |result|
282
+ http_response = result.response
283
+ status_code = http_response.status
284
+ response_content = http_response.body
285
+ unless status_code == 200
286
+ error_model = JSON.load(response_content)
287
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
288
+ end
289
+
290
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
291
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
292
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
293
+ # Deserialize Response
294
+ if status_code == 200
295
+ begin
296
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
297
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
298
+ result.body = @client.deserialize(result_mapper, parsed_response)
299
+ rescue Exception => e
300
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
301
+ end
302
+ end
303
+
304
+ result
305
+ end
306
+
307
+ promise.execute
308
+ end
309
+
310
+ #
311
+ # Deletes an existing API Management service.
312
+ #
313
+ # @param resource_group_name [String] The name of the resource group.
314
+ # @param service_name [String] The name of the API Management service.
315
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
316
+ # will be added to the HTTP request.
317
+ #
318
+ #
319
+ def delete(resource_group_name, service_name, custom_headers:nil)
320
+ response = delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
321
+ nil
322
+ end
323
+
324
+ #
325
+ # Deletes an existing API Management service.
326
+ #
327
+ # @param resource_group_name [String] The name of the resource group.
328
+ # @param service_name [String] The name of the API Management service.
329
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
330
+ # will be added to the HTTP request.
331
+ #
332
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
333
+ #
334
+ def delete_with_http_info(resource_group_name, service_name, custom_headers:nil)
335
+ delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
336
+ end
337
+
338
+ #
339
+ # Deletes an existing API Management service.
340
+ #
341
+ # @param resource_group_name [String] The name of the resource group.
342
+ # @param service_name [String] The name of the API Management service.
343
+ # @param [Hash{String => String}] A hash of custom headers that will be added
344
+ # to the HTTP request.
345
+ #
346
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
347
+ #
348
+ def delete_async(resource_group_name, service_name, custom_headers:nil)
349
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
350
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
351
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
352
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
353
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
354
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
355
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
356
+
357
+
358
+ request_headers = {}
359
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
360
+
361
+ # Set Headers
362
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
363
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
364
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
365
+
366
+ request_url = @base_url || @client.base_url
367
+
368
+ options = {
369
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
370
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
371
+ query_params: {'api-version' => @client.api_version},
372
+ headers: request_headers.merge(custom_headers || {}),
373
+ base_url: request_url
374
+ }
375
+ promise = @client.make_request_async(:delete, path_template, options)
376
+
377
+ promise = promise.then do |result|
378
+ http_response = result.response
379
+ status_code = http_response.status
380
+ response_content = http_response.body
381
+ unless status_code == 200 || status_code == 204
382
+ error_model = JSON.load(response_content)
383
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
384
+ end
385
+
386
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
387
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
388
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
389
+
390
+ result
391
+ end
392
+
393
+ promise.execute
394
+ end
395
+
396
+ #
397
+ # List all API Management services within a resource group.
398
+ #
399
+ # @param resource_group_name [String] The name of the resource group.
400
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
401
+ # will be added to the HTTP request.
402
+ #
403
+ # @return [Array<ApiManagementServiceResource>] operation results.
404
+ #
405
+ def list_by_resource_group(resource_group_name, custom_headers:nil)
406
+ first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
407
+ first_page.get_all_items
408
+ end
409
+
410
+ #
411
+ # List all API Management services within a resource group.
412
+ #
413
+ # @param resource_group_name [String] The name of the resource group.
414
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
415
+ # will be added to the HTTP request.
416
+ #
417
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
418
+ #
419
+ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
420
+ list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
421
+ end
422
+
423
+ #
424
+ # List all API Management services within a resource group.
425
+ #
426
+ # @param resource_group_name [String] The name of the resource group.
427
+ # @param [Hash{String => String}] A hash of custom headers that will be added
428
+ # to the HTTP request.
429
+ #
430
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
431
+ #
432
+ def list_by_resource_group_async(resource_group_name, custom_headers:nil)
433
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
434
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
435
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
436
+
437
+
438
+ request_headers = {}
439
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
440
+
441
+ # Set Headers
442
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
443
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
444
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service'
445
+
446
+ request_url = @base_url || @client.base_url
447
+
448
+ options = {
449
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
450
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
451
+ query_params: {'api-version' => @client.api_version},
452
+ headers: request_headers.merge(custom_headers || {}),
453
+ base_url: request_url
454
+ }
455
+ promise = @client.make_request_async(:get, path_template, options)
456
+
457
+ promise = promise.then do |result|
458
+ http_response = result.response
459
+ status_code = http_response.status
460
+ response_content = http_response.body
461
+ unless status_code == 200
462
+ error_model = JSON.load(response_content)
463
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
464
+ end
465
+
466
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
467
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
468
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
469
+ # Deserialize Response
470
+ if status_code == 200
471
+ begin
472
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
473
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
474
+ result.body = @client.deserialize(result_mapper, parsed_response)
475
+ rescue Exception => e
476
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
477
+ end
478
+ end
479
+
480
+ result
481
+ end
482
+
483
+ promise.execute
484
+ end
485
+
486
+ #
487
+ # Lists all API Management services within an Azure subscription.
488
+ #
489
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
490
+ # will be added to the HTTP request.
491
+ #
492
+ # @return [Array<ApiManagementServiceResource>] operation results.
493
+ #
494
+ def list(custom_headers:nil)
495
+ first_page = list_as_lazy(custom_headers:custom_headers)
496
+ first_page.get_all_items
497
+ end
498
+
499
+ #
500
+ # Lists all API Management services within an Azure subscription.
501
+ #
502
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
503
+ # will be added to the HTTP request.
504
+ #
505
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
506
+ #
507
+ def list_with_http_info(custom_headers:nil)
508
+ list_async(custom_headers:custom_headers).value!
509
+ end
510
+
511
+ #
512
+ # Lists all API Management services within an Azure subscription.
513
+ #
514
+ # @param [Hash{String => String}] A hash of custom headers that will be added
515
+ # to the HTTP request.
516
+ #
517
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
518
+ #
519
+ def list_async(custom_headers:nil)
520
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
521
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
522
+
523
+
524
+ request_headers = {}
525
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
526
+
527
+ # Set Headers
528
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
529
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
530
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service'
531
+
532
+ request_url = @base_url || @client.base_url
533
+
534
+ options = {
535
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
536
+ path_params: {'subscriptionId' => @client.subscription_id},
537
+ query_params: {'api-version' => @client.api_version},
538
+ headers: request_headers.merge(custom_headers || {}),
539
+ base_url: request_url
540
+ }
541
+ promise = @client.make_request_async(:get, path_template, options)
542
+
543
+ promise = promise.then do |result|
544
+ http_response = result.response
545
+ status_code = http_response.status
546
+ response_content = http_response.body
547
+ unless status_code == 200
548
+ error_model = JSON.load(response_content)
549
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
550
+ end
551
+
552
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
553
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
554
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
555
+ # Deserialize Response
556
+ if status_code == 200
557
+ begin
558
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
559
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
560
+ result.body = @client.deserialize(result_mapper, parsed_response)
561
+ rescue Exception => e
562
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
563
+ end
564
+ end
565
+
566
+ result
567
+ end
568
+
569
+ promise.execute
570
+ end
571
+
572
+ #
573
+ # Gets the Single-Sign-On token for the API Management Service which is valid
574
+ # for 5 Minutes.
575
+ #
576
+ # @param resource_group_name [String] The name of the resource group.
577
+ # @param service_name [String] The name of the API Management service.
578
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
579
+ # will be added to the HTTP request.
580
+ #
581
+ # @return [ApiManagementServiceGetSsoTokenResult] operation results.
582
+ #
583
+ def get_sso_token(resource_group_name, service_name, custom_headers:nil)
584
+ response = get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
585
+ response.body unless response.nil?
586
+ end
587
+
588
+ #
589
+ # Gets the Single-Sign-On token for the API Management Service which is valid
590
+ # for 5 Minutes.
591
+ #
592
+ # @param resource_group_name [String] The name of the resource group.
593
+ # @param service_name [String] The name of the API Management service.
594
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
595
+ # will be added to the HTTP request.
596
+ #
597
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
598
+ #
599
+ def get_sso_token_with_http_info(resource_group_name, service_name, custom_headers:nil)
600
+ get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
601
+ end
602
+
603
+ #
604
+ # Gets the Single-Sign-On token for the API Management Service which is valid
605
+ # for 5 Minutes.
606
+ #
607
+ # @param resource_group_name [String] The name of the resource group.
608
+ # @param service_name [String] The name of the API Management service.
609
+ # @param [Hash{String => String}] A hash of custom headers that will be added
610
+ # to the HTTP request.
611
+ #
612
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
613
+ #
614
+ def get_sso_token_async(resource_group_name, service_name, custom_headers:nil)
615
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
616
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
617
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
618
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
619
+ 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?
620
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
621
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
622
+
623
+
624
+ request_headers = {}
625
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
626
+
627
+ # Set Headers
628
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
629
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
630
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken'
631
+
632
+ request_url = @base_url || @client.base_url
633
+
634
+ options = {
635
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
636
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
637
+ query_params: {'api-version' => @client.api_version},
638
+ headers: request_headers.merge(custom_headers || {}),
639
+ base_url: request_url
640
+ }
641
+ promise = @client.make_request_async(:post, path_template, options)
642
+
643
+ promise = promise.then do |result|
644
+ http_response = result.response
645
+ status_code = http_response.status
646
+ response_content = http_response.body
647
+ unless status_code == 200
648
+ error_model = JSON.load(response_content)
649
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
650
+ end
651
+
652
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
653
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
654
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
655
+ # Deserialize Response
656
+ if status_code == 200
657
+ begin
658
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
659
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceGetSsoTokenResult.mapper()
660
+ result.body = @client.deserialize(result_mapper, parsed_response)
661
+ rescue Exception => e
662
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
663
+ end
664
+ end
665
+
666
+ result
667
+ end
668
+
669
+ promise.execute
670
+ end
671
+
672
+ #
673
+ # Checks availability and correctness of a name for an API Management service.
674
+ #
675
+ # @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
676
+ # Parameters supplied to the CheckNameAvailability operation.
677
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
678
+ # will be added to the HTTP request.
679
+ #
680
+ # @return [ApiManagementServiceNameAvailabilityResult] operation results.
681
+ #
682
+ def check_name_availability(parameters, custom_headers:nil)
683
+ response = check_name_availability_async(parameters, custom_headers:custom_headers).value!
684
+ response.body unless response.nil?
685
+ end
686
+
687
+ #
688
+ # Checks availability and correctness of a name for an API Management service.
689
+ #
690
+ # @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
691
+ # Parameters supplied to the CheckNameAvailability operation.
692
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
693
+ # will be added to the HTTP request.
694
+ #
695
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
696
+ #
697
+ def check_name_availability_with_http_info(parameters, custom_headers:nil)
698
+ check_name_availability_async(parameters, custom_headers:custom_headers).value!
699
+ end
700
+
701
+ #
702
+ # Checks availability and correctness of a name for an API Management service.
703
+ #
704
+ # @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
705
+ # Parameters supplied to the CheckNameAvailability operation.
706
+ # @param [Hash{String => String}] A hash of custom headers that will be added
707
+ # to the HTTP request.
708
+ #
709
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
710
+ #
711
+ def check_name_availability_async(parameters, custom_headers:nil)
712
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
713
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
714
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
715
+
716
+
717
+ request_headers = {}
718
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
719
+
720
+ # Set Headers
721
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
722
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
723
+
724
+ # Serialize Request
725
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceCheckNameAvailabilityParameters.mapper()
726
+ request_content = @client.serialize(request_mapper, parameters)
727
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
728
+
729
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability'
730
+
731
+ request_url = @base_url || @client.base_url
732
+
733
+ options = {
734
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
735
+ path_params: {'subscriptionId' => @client.subscription_id},
736
+ query_params: {'api-version' => @client.api_version},
737
+ body: request_content,
738
+ headers: request_headers.merge(custom_headers || {}),
739
+ base_url: request_url
740
+ }
741
+ promise = @client.make_request_async(:post, path_template, options)
742
+
743
+ promise = promise.then do |result|
744
+ http_response = result.response
745
+ status_code = http_response.status
746
+ response_content = http_response.body
747
+ unless status_code == 200
748
+ error_model = JSON.load(response_content)
749
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
750
+ end
751
+
752
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
753
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
754
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
755
+ # Deserialize Response
756
+ if status_code == 200
757
+ begin
758
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
759
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceNameAvailabilityResult.mapper()
760
+ result.body = @client.deserialize(result_mapper, parsed_response)
761
+ rescue Exception => e
762
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
763
+ end
764
+ end
765
+
766
+ result
767
+ end
768
+
769
+ promise.execute
770
+ end
771
+
772
+ #
773
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
774
+ # to pick the updated network settings.
775
+ #
776
+ # @param resource_group_name [String] The name of the resource group.
777
+ # @param service_name [String] The name of the API Management service.
778
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
779
+ # Parameters supplied to the Apply Network Configuration operation. If the
780
+ # parameters are empty, all the regions in which the Api Management service is
781
+ # deployed will be updated sequentially without incurring downtime in the
782
+ # region.
783
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
784
+ # will be added to the HTTP request.
785
+ #
786
+ # @return [ApiManagementServiceResource] operation results.
787
+ #
788
+ def apply_network_configuration_updates(resource_group_name, service_name, parameters:nil, custom_headers:nil)
789
+ response = apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
790
+ response.body unless response.nil?
791
+ end
792
+
793
+ #
794
+ # @param resource_group_name [String] The name of the resource group.
795
+ # @param service_name [String] The name of the API Management service.
796
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
797
+ # Parameters supplied to the Apply Network Configuration operation. If the
798
+ # parameters are empty, all the regions in which the Api Management service is
799
+ # deployed will be updated sequentially without incurring downtime in the
800
+ # region.
801
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
802
+ # will be added to the HTTP request.
803
+ #
804
+ # @return [Concurrent::Promise] promise which provides async access to http
805
+ # response.
806
+ #
807
+ def apply_network_configuration_updates_async(resource_group_name, service_name, parameters:nil, custom_headers:nil)
808
+ # Send request
809
+ promise = begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers)
810
+
811
+ promise = promise.then do |response|
812
+ # Defining deserialization method.
813
+ deserialize_method = lambda do |parsed_response|
814
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
815
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
816
+ end
817
+
818
+ # Waiting for response.
819
+ @client.get_long_running_operation_result(response, deserialize_method)
820
+ end
821
+
822
+ promise
823
+ end
824
+
825
+ #
826
+ # Upload Custom Domain SSL certificate for an API Management service. This
827
+ # operation will be deprecated in future releases.
828
+ #
829
+ # @param resource_group_name [String] The name of the resource group.
830
+ # @param service_name [String] The name of the API Management service.
831
+ # @param parameters [ApiManagementServiceUploadCertificateParameters]
832
+ # Parameters supplied to the Upload SSL certificate for an API Management
833
+ # service operation.
834
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
835
+ # will be added to the HTTP request.
836
+ #
837
+ # @return [CertificateInformation] operation results.
838
+ #
839
+ def upload_certificate(resource_group_name, service_name, parameters, custom_headers:nil)
840
+ response = upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
841
+ response.body unless response.nil?
842
+ end
843
+
844
+ #
845
+ # Upload Custom Domain SSL certificate for an API Management service. This
846
+ # operation will be deprecated in future releases.
847
+ #
848
+ # @param resource_group_name [String] The name of the resource group.
849
+ # @param service_name [String] The name of the API Management service.
850
+ # @param parameters [ApiManagementServiceUploadCertificateParameters]
851
+ # Parameters supplied to the Upload SSL certificate for an API Management
852
+ # service operation.
853
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
854
+ # will be added to the HTTP request.
855
+ #
856
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
857
+ #
858
+ def upload_certificate_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
859
+ upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
860
+ end
861
+
862
+ #
863
+ # Upload Custom Domain SSL certificate for an API Management service. This
864
+ # operation will be deprecated in future releases.
865
+ #
866
+ # @param resource_group_name [String] The name of the resource group.
867
+ # @param service_name [String] The name of the API Management service.
868
+ # @param parameters [ApiManagementServiceUploadCertificateParameters]
869
+ # Parameters supplied to the Upload SSL certificate for an API Management
870
+ # service operation.
871
+ # @param [Hash{String => String}] A hash of custom headers that will be added
872
+ # to the HTTP request.
873
+ #
874
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
875
+ #
876
+ def upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:nil)
877
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
878
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
879
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
880
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
881
+ 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?
882
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
883
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
884
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
885
+
886
+
887
+ request_headers = {}
888
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
889
+
890
+ # Set Headers
891
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
892
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
893
+
894
+ # Serialize Request
895
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceUploadCertificateParameters.mapper()
896
+ request_content = @client.serialize(request_mapper, parameters)
897
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
898
+
899
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatecertificate'
900
+
901
+ request_url = @base_url || @client.base_url
902
+
903
+ options = {
904
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
905
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
906
+ query_params: {'api-version' => @client.api_version},
907
+ body: request_content,
908
+ headers: request_headers.merge(custom_headers || {}),
909
+ base_url: request_url
910
+ }
911
+ promise = @client.make_request_async(:post, path_template, options)
912
+
913
+ promise = promise.then do |result|
914
+ http_response = result.response
915
+ status_code = http_response.status
916
+ response_content = http_response.body
917
+ unless status_code == 200
918
+ error_model = JSON.load(response_content)
919
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
920
+ end
921
+
922
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
923
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
924
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
925
+ # Deserialize Response
926
+ if status_code == 200
927
+ begin
928
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
929
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::CertificateInformation.mapper()
930
+ result.body = @client.deserialize(result_mapper, parsed_response)
931
+ rescue Exception => e
932
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
933
+ end
934
+ end
935
+
936
+ result
937
+ end
938
+
939
+ promise.execute
940
+ end
941
+
942
+ #
943
+ # Creates, updates, or deletes the custom hostnames for an API Management
944
+ # service. The custom hostname can be applied to the Proxy and Portal endpoint.
945
+ # This is a long running operation and could take several minutes to complete.
946
+ # This operation will be deprecated in the next version update.
947
+ #
948
+ # @param resource_group_name [String] The name of the resource group.
949
+ # @param service_name [String] The name of the API Management service.
950
+ # @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
951
+ # supplied to the UpdateHostname operation.
952
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
953
+ # will be added to the HTTP request.
954
+ #
955
+ # @return [ApiManagementServiceResource] operation results.
956
+ #
957
+ def update_hostname(resource_group_name, service_name, parameters, custom_headers:nil)
958
+ response = update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
959
+ response.body unless response.nil?
960
+ end
961
+
962
+ #
963
+ # @param resource_group_name [String] The name of the resource group.
964
+ # @param service_name [String] The name of the API Management service.
965
+ # @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
966
+ # supplied to the UpdateHostname operation.
967
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
968
+ # will be added to the HTTP request.
969
+ #
970
+ # @return [Concurrent::Promise] promise which provides async access to http
971
+ # response.
972
+ #
973
+ def update_hostname_async(resource_group_name, service_name, parameters, custom_headers:nil)
974
+ # Send request
975
+ promise = begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
976
+
977
+ promise = promise.then do |response|
978
+ # Defining deserialization method.
979
+ deserialize_method = lambda do |parsed_response|
980
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
981
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
982
+ end
983
+
984
+ # Waiting for response.
985
+ @client.get_long_running_operation_result(response, deserialize_method)
986
+ end
987
+
988
+ promise
989
+ end
990
+
991
+ #
992
+ # Restores a backup of an API Management service created using the
993
+ # ApiManagementService_Backup operation on the current service. This is a long
994
+ # running operation and could take several minutes to complete.
995
+ #
996
+ # @param resource_group_name [String] The name of the resource group.
997
+ # @param service_name [String] The name of the API Management service.
998
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
999
+ # supplied to the Restore API Management service from backup operation.
1000
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1001
+ # will be added to the HTTP request.
1002
+ #
1003
+ # @return [ApiManagementServiceResource] operation results.
1004
+ #
1005
+ def begin_restore(resource_group_name, service_name, parameters, custom_headers:nil)
1006
+ response = begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1007
+ response.body unless response.nil?
1008
+ end
1009
+
1010
+ #
1011
+ # Restores a backup of an API Management service created using the
1012
+ # ApiManagementService_Backup operation on the current service. This is a long
1013
+ # running operation and could take several minutes to complete.
1014
+ #
1015
+ # @param resource_group_name [String] The name of the resource group.
1016
+ # @param service_name [String] The name of the API Management service.
1017
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
1018
+ # supplied to the Restore API Management service from backup operation.
1019
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1020
+ # will be added to the HTTP request.
1021
+ #
1022
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1023
+ #
1024
+ def begin_restore_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
1025
+ begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1026
+ end
1027
+
1028
+ #
1029
+ # Restores a backup of an API Management service created using the
1030
+ # ApiManagementService_Backup operation on the current service. This is a long
1031
+ # running operation and could take several minutes to complete.
1032
+ #
1033
+ # @param resource_group_name [String] The name of the resource group.
1034
+ # @param service_name [String] The name of the API Management service.
1035
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
1036
+ # supplied to the Restore API Management service from backup operation.
1037
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1038
+ # to the HTTP request.
1039
+ #
1040
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1041
+ #
1042
+ def begin_restore_async(resource_group_name, service_name, parameters, custom_headers:nil)
1043
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1044
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1045
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1046
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1047
+ 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?
1048
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1049
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1050
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1051
+
1052
+
1053
+ request_headers = {}
1054
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1055
+
1056
+ # Set Headers
1057
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1058
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1059
+
1060
+ # Serialize Request
1061
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
1062
+ request_content = @client.serialize(request_mapper, parameters)
1063
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1064
+
1065
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore'
1066
+
1067
+ request_url = @base_url || @client.base_url
1068
+
1069
+ options = {
1070
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1071
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1072
+ query_params: {'api-version' => @client.api_version},
1073
+ body: request_content,
1074
+ headers: request_headers.merge(custom_headers || {}),
1075
+ base_url: request_url
1076
+ }
1077
+ promise = @client.make_request_async(:post, path_template, options)
1078
+
1079
+ promise = promise.then do |result|
1080
+ http_response = result.response
1081
+ status_code = http_response.status
1082
+ response_content = http_response.body
1083
+ unless status_code == 200 || status_code == 202
1084
+ error_model = JSON.load(response_content)
1085
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1086
+ end
1087
+
1088
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1089
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1090
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1091
+ # Deserialize Response
1092
+ if status_code == 200
1093
+ begin
1094
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1095
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1096
+ result.body = @client.deserialize(result_mapper, parsed_response)
1097
+ rescue Exception => e
1098
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1099
+ end
1100
+ end
1101
+
1102
+ result
1103
+ end
1104
+
1105
+ promise.execute
1106
+ end
1107
+
1108
+ #
1109
+ # Creates a backup of the API Management service to the given Azure Storage
1110
+ # Account. This is long running operation and could take several minutes to
1111
+ # complete.
1112
+ #
1113
+ # @param resource_group_name [String] The name of the resource group.
1114
+ # @param service_name [String] The name of the API Management service.
1115
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
1116
+ # supplied to the ApiManagementService_Backup operation.
1117
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1118
+ # will be added to the HTTP request.
1119
+ #
1120
+ # @return [ApiManagementServiceResource] operation results.
1121
+ #
1122
+ def begin_backup(resource_group_name, service_name, parameters, custom_headers:nil)
1123
+ response = begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1124
+ response.body unless response.nil?
1125
+ end
1126
+
1127
+ #
1128
+ # Creates a backup of the API Management service to the given Azure Storage
1129
+ # Account. This is long running operation and could take several minutes to
1130
+ # complete.
1131
+ #
1132
+ # @param resource_group_name [String] The name of the resource group.
1133
+ # @param service_name [String] The name of the API Management service.
1134
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
1135
+ # supplied to the ApiManagementService_Backup operation.
1136
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1137
+ # will be added to the HTTP request.
1138
+ #
1139
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1140
+ #
1141
+ def begin_backup_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
1142
+ begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1143
+ end
1144
+
1145
+ #
1146
+ # Creates a backup of the API Management service to the given Azure Storage
1147
+ # Account. This is long running operation and could take several minutes to
1148
+ # complete.
1149
+ #
1150
+ # @param resource_group_name [String] The name of the resource group.
1151
+ # @param service_name [String] The name of the API Management service.
1152
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
1153
+ # supplied to the ApiManagementService_Backup operation.
1154
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1155
+ # to the HTTP request.
1156
+ #
1157
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1158
+ #
1159
+ def begin_backup_async(resource_group_name, service_name, parameters, custom_headers:nil)
1160
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1161
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1162
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1163
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1164
+ 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?
1165
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1166
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1167
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1168
+
1169
+
1170
+ request_headers = {}
1171
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1172
+
1173
+ # Set Headers
1174
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1175
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1176
+
1177
+ # Serialize Request
1178
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
1179
+ request_content = @client.serialize(request_mapper, parameters)
1180
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1181
+
1182
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup'
1183
+
1184
+ request_url = @base_url || @client.base_url
1185
+
1186
+ options = {
1187
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1188
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1189
+ query_params: {'api-version' => @client.api_version},
1190
+ body: request_content,
1191
+ headers: request_headers.merge(custom_headers || {}),
1192
+ base_url: request_url
1193
+ }
1194
+ promise = @client.make_request_async(:post, path_template, options)
1195
+
1196
+ promise = promise.then do |result|
1197
+ http_response = result.response
1198
+ status_code = http_response.status
1199
+ response_content = http_response.body
1200
+ unless status_code == 200 || status_code == 202
1201
+ error_model = JSON.load(response_content)
1202
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1203
+ end
1204
+
1205
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1206
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1207
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1208
+ # Deserialize Response
1209
+ if status_code == 200
1210
+ begin
1211
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1212
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1213
+ result.body = @client.deserialize(result_mapper, parsed_response)
1214
+ rescue Exception => e
1215
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1216
+ end
1217
+ end
1218
+
1219
+ result
1220
+ end
1221
+
1222
+ promise.execute
1223
+ end
1224
+
1225
+ #
1226
+ # Creates or updates an API Management service. This is long running operation
1227
+ # and could take several minutes to complete.
1228
+ #
1229
+ # @param resource_group_name [String] The name of the resource group.
1230
+ # @param service_name [String] The name of the API Management service.
1231
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
1232
+ # CreateOrUpdate API Management service operation.
1233
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1234
+ # will be added to the HTTP request.
1235
+ #
1236
+ # @return [ApiManagementServiceResource] operation results.
1237
+ #
1238
+ def begin_create_or_update(resource_group_name, service_name, parameters, custom_headers:nil)
1239
+ response = begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1240
+ response.body unless response.nil?
1241
+ end
1242
+
1243
+ #
1244
+ # Creates or updates an API Management service. This is long running operation
1245
+ # and could take several minutes to complete.
1246
+ #
1247
+ # @param resource_group_name [String] The name of the resource group.
1248
+ # @param service_name [String] The name of the API Management service.
1249
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
1250
+ # CreateOrUpdate API Management service operation.
1251
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1252
+ # will be added to the HTTP request.
1253
+ #
1254
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1255
+ #
1256
+ def begin_create_or_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
1257
+ begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1258
+ end
1259
+
1260
+ #
1261
+ # Creates or updates an API Management service. This is long running operation
1262
+ # and could take several minutes to complete.
1263
+ #
1264
+ # @param resource_group_name [String] The name of the resource group.
1265
+ # @param service_name [String] The name of the API Management service.
1266
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
1267
+ # CreateOrUpdate API Management service operation.
1268
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1269
+ # to the HTTP request.
1270
+ #
1271
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1272
+ #
1273
+ def begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
1274
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1275
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1276
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1277
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1278
+ 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?
1279
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1280
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1281
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1282
+
1283
+
1284
+ request_headers = {}
1285
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1286
+
1287
+ # Set Headers
1288
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1289
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1290
+
1291
+ # Serialize Request
1292
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1293
+ request_content = @client.serialize(request_mapper, parameters)
1294
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1295
+
1296
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
1297
+
1298
+ request_url = @base_url || @client.base_url
1299
+
1300
+ options = {
1301
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1302
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1303
+ query_params: {'api-version' => @client.api_version},
1304
+ body: request_content,
1305
+ headers: request_headers.merge(custom_headers || {}),
1306
+ base_url: request_url
1307
+ }
1308
+ promise = @client.make_request_async(:put, path_template, options)
1309
+
1310
+ promise = promise.then do |result|
1311
+ http_response = result.response
1312
+ status_code = http_response.status
1313
+ response_content = http_response.body
1314
+ unless status_code == 200 || status_code == 201 || status_code == 202
1315
+ error_model = JSON.load(response_content)
1316
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1317
+ end
1318
+
1319
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1320
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1321
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1322
+ # Deserialize Response
1323
+ if status_code == 200
1324
+ begin
1325
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1326
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1327
+ result.body = @client.deserialize(result_mapper, parsed_response)
1328
+ rescue Exception => e
1329
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1330
+ end
1331
+ end
1332
+ # Deserialize Response
1333
+ if status_code == 201
1334
+ begin
1335
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1336
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1337
+ result.body = @client.deserialize(result_mapper, parsed_response)
1338
+ rescue Exception => e
1339
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1340
+ end
1341
+ end
1342
+ # Deserialize Response
1343
+ if status_code == 202
1344
+ begin
1345
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1346
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1347
+ result.body = @client.deserialize(result_mapper, parsed_response)
1348
+ rescue Exception => e
1349
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1350
+ end
1351
+ end
1352
+
1353
+ result
1354
+ end
1355
+
1356
+ promise.execute
1357
+ end
1358
+
1359
+ #
1360
+ # Updates an existing API Management service.
1361
+ #
1362
+ # @param resource_group_name [String] The name of the resource group.
1363
+ # @param service_name [String] The name of the API Management service.
1364
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
1365
+ # to the CreateOrUpdate API Management service operation.
1366
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1367
+ # will be added to the HTTP request.
1368
+ #
1369
+ # @return [ApiManagementServiceResource] operation results.
1370
+ #
1371
+ def begin_update(resource_group_name, service_name, parameters, custom_headers:nil)
1372
+ response = begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1373
+ response.body unless response.nil?
1374
+ end
1375
+
1376
+ #
1377
+ # Updates an existing API Management service.
1378
+ #
1379
+ # @param resource_group_name [String] The name of the resource group.
1380
+ # @param service_name [String] The name of the API Management service.
1381
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
1382
+ # to the CreateOrUpdate API Management service operation.
1383
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1384
+ # will be added to the HTTP request.
1385
+ #
1386
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1387
+ #
1388
+ def begin_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
1389
+ begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1390
+ end
1391
+
1392
+ #
1393
+ # Updates an existing API Management service.
1394
+ #
1395
+ # @param resource_group_name [String] The name of the resource group.
1396
+ # @param service_name [String] The name of the API Management service.
1397
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
1398
+ # to the CreateOrUpdate API Management service operation.
1399
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1400
+ # to the HTTP request.
1401
+ #
1402
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1403
+ #
1404
+ def begin_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
1405
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1406
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1407
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1408
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1409
+ 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?
1410
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1411
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1412
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1413
+
1414
+
1415
+ request_headers = {}
1416
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1417
+
1418
+ # Set Headers
1419
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1420
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1421
+
1422
+ # Serialize Request
1423
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceUpdateParameters.mapper()
1424
+ request_content = @client.serialize(request_mapper, parameters)
1425
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1426
+
1427
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
1428
+
1429
+ request_url = @base_url || @client.base_url
1430
+
1431
+ options = {
1432
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1433
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1434
+ query_params: {'api-version' => @client.api_version},
1435
+ body: request_content,
1436
+ headers: request_headers.merge(custom_headers || {}),
1437
+ base_url: request_url
1438
+ }
1439
+ promise = @client.make_request_async(:patch, path_template, options)
1440
+
1441
+ promise = promise.then do |result|
1442
+ http_response = result.response
1443
+ status_code = http_response.status
1444
+ response_content = http_response.body
1445
+ unless status_code == 200 || status_code == 202
1446
+ error_model = JSON.load(response_content)
1447
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1448
+ end
1449
+
1450
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1451
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1452
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1453
+ # Deserialize Response
1454
+ if status_code == 200
1455
+ begin
1456
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1457
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1458
+ result.body = @client.deserialize(result_mapper, parsed_response)
1459
+ rescue Exception => e
1460
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1461
+ end
1462
+ end
1463
+
1464
+ result
1465
+ end
1466
+
1467
+ promise.execute
1468
+ end
1469
+
1470
+ #
1471
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
1472
+ # to pick the updated network settings.
1473
+ #
1474
+ # @param resource_group_name [String] The name of the resource group.
1475
+ # @param service_name [String] The name of the API Management service.
1476
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
1477
+ # Parameters supplied to the Apply Network Configuration operation. If the
1478
+ # parameters are empty, all the regions in which the Api Management service is
1479
+ # deployed will be updated sequentially without incurring downtime in the
1480
+ # region.
1481
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1482
+ # will be added to the HTTP request.
1483
+ #
1484
+ # @return [ApiManagementServiceResource] operation results.
1485
+ #
1486
+ def begin_apply_network_configuration_updates(resource_group_name, service_name, parameters:nil, custom_headers:nil)
1487
+ response = begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
1488
+ response.body unless response.nil?
1489
+ end
1490
+
1491
+ #
1492
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
1493
+ # to pick the updated network settings.
1494
+ #
1495
+ # @param resource_group_name [String] The name of the resource group.
1496
+ # @param service_name [String] The name of the API Management service.
1497
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
1498
+ # Parameters supplied to the Apply Network Configuration operation. If the
1499
+ # parameters are empty, all the regions in which the Api Management service is
1500
+ # deployed will be updated sequentially without incurring downtime in the
1501
+ # region.
1502
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1503
+ # will be added to the HTTP request.
1504
+ #
1505
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1506
+ #
1507
+ def begin_apply_network_configuration_updates_with_http_info(resource_group_name, service_name, parameters:nil, custom_headers:nil)
1508
+ begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
1509
+ end
1510
+
1511
+ #
1512
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
1513
+ # to pick the updated network settings.
1514
+ #
1515
+ # @param resource_group_name [String] The name of the resource group.
1516
+ # @param service_name [String] The name of the API Management service.
1517
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
1518
+ # Parameters supplied to the Apply Network Configuration operation. If the
1519
+ # parameters are empty, all the regions in which the Api Management service is
1520
+ # deployed will be updated sequentially without incurring downtime in the
1521
+ # region.
1522
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1523
+ # to the HTTP request.
1524
+ #
1525
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1526
+ #
1527
+ def begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:nil, custom_headers:nil)
1528
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1529
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1530
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1531
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1532
+ 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?
1533
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1534
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1535
+
1536
+
1537
+ request_headers = {}
1538
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1539
+
1540
+ # Set Headers
1541
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1542
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1543
+
1544
+ # Serialize Request
1545
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceApplyNetworkConfigurationParameters.mapper()
1546
+ request_content = @client.serialize(request_mapper, parameters)
1547
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1548
+
1549
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates'
1550
+
1551
+ request_url = @base_url || @client.base_url
1552
+
1553
+ options = {
1554
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1555
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1556
+ query_params: {'api-version' => @client.api_version},
1557
+ body: request_content,
1558
+ headers: request_headers.merge(custom_headers || {}),
1559
+ base_url: request_url
1560
+ }
1561
+ promise = @client.make_request_async(:post, path_template, options)
1562
+
1563
+ promise = promise.then do |result|
1564
+ http_response = result.response
1565
+ status_code = http_response.status
1566
+ response_content = http_response.body
1567
+ unless status_code == 202 || status_code == 200
1568
+ error_model = JSON.load(response_content)
1569
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1570
+ end
1571
+
1572
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1573
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1574
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1575
+ # Deserialize Response
1576
+ if status_code == 200
1577
+ begin
1578
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1579
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1580
+ result.body = @client.deserialize(result_mapper, parsed_response)
1581
+ rescue Exception => e
1582
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1583
+ end
1584
+ end
1585
+
1586
+ result
1587
+ end
1588
+
1589
+ promise.execute
1590
+ end
1591
+
1592
+ #
1593
+ # Creates, updates, or deletes the custom hostnames for an API Management
1594
+ # service. The custom hostname can be applied to the Proxy and Portal endpoint.
1595
+ # This is a long running operation and could take several minutes to complete.
1596
+ # This operation will be deprecated in the next version update.
1597
+ #
1598
+ # @param resource_group_name [String] The name of the resource group.
1599
+ # @param service_name [String] The name of the API Management service.
1600
+ # @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
1601
+ # supplied to the UpdateHostname operation.
1602
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1603
+ # will be added to the HTTP request.
1604
+ #
1605
+ # @return [ApiManagementServiceResource] operation results.
1606
+ #
1607
+ def begin_update_hostname(resource_group_name, service_name, parameters, custom_headers:nil)
1608
+ response = begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1609
+ response.body unless response.nil?
1610
+ end
1611
+
1612
+ #
1613
+ # Creates, updates, or deletes the custom hostnames for an API Management
1614
+ # service. The custom hostname can be applied to the Proxy and Portal endpoint.
1615
+ # This is a long running operation and could take several minutes to complete.
1616
+ # This operation will be deprecated in the next version update.
1617
+ #
1618
+ # @param resource_group_name [String] The name of the resource group.
1619
+ # @param service_name [String] The name of the API Management service.
1620
+ # @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
1621
+ # supplied to the UpdateHostname operation.
1622
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1623
+ # will be added to the HTTP request.
1624
+ #
1625
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1626
+ #
1627
+ def begin_update_hostname_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
1628
+ begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1629
+ end
1630
+
1631
+ #
1632
+ # Creates, updates, or deletes the custom hostnames for an API Management
1633
+ # service. The custom hostname can be applied to the Proxy and Portal endpoint.
1634
+ # This is a long running operation and could take several minutes to complete.
1635
+ # This operation will be deprecated in the next version update.
1636
+ #
1637
+ # @param resource_group_name [String] The name of the resource group.
1638
+ # @param service_name [String] The name of the API Management service.
1639
+ # @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
1640
+ # supplied to the UpdateHostname operation.
1641
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1642
+ # to the HTTP request.
1643
+ #
1644
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1645
+ #
1646
+ def begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:nil)
1647
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1648
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1649
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1650
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1651
+ 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?
1652
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1653
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1654
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1655
+
1656
+
1657
+ request_headers = {}
1658
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1659
+
1660
+ # Set Headers
1661
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1662
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1663
+
1664
+ # Serialize Request
1665
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceUpdateHostnameParameters.mapper()
1666
+ request_content = @client.serialize(request_mapper, parameters)
1667
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1668
+
1669
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatehostname'
1670
+
1671
+ request_url = @base_url || @client.base_url
1672
+
1673
+ options = {
1674
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1675
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1676
+ query_params: {'api-version' => @client.api_version},
1677
+ body: request_content,
1678
+ headers: request_headers.merge(custom_headers || {}),
1679
+ base_url: request_url
1680
+ }
1681
+ promise = @client.make_request_async(:post, path_template, options)
1682
+
1683
+ promise = promise.then do |result|
1684
+ http_response = result.response
1685
+ status_code = http_response.status
1686
+ response_content = http_response.body
1687
+ unless status_code == 200 || status_code == 202
1688
+ error_model = JSON.load(response_content)
1689
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1690
+ end
1691
+
1692
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1693
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1694
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1695
+ # Deserialize Response
1696
+ if status_code == 200
1697
+ begin
1698
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1699
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1700
+ result.body = @client.deserialize(result_mapper, parsed_response)
1701
+ rescue Exception => e
1702
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1703
+ end
1704
+ end
1705
+ # Deserialize Response
1706
+ if status_code == 202
1707
+ begin
1708
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1709
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
1710
+ result.body = @client.deserialize(result_mapper, parsed_response)
1711
+ rescue Exception => e
1712
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1713
+ end
1714
+ end
1715
+
1716
+ result
1717
+ end
1718
+
1719
+ promise.execute
1720
+ end
1721
+
1722
+ #
1723
+ # List all API Management services within a resource group.
1724
+ #
1725
+ # @param next_page_link [String] The NextLink from the previous successful call
1726
+ # to List operation.
1727
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1728
+ # will be added to the HTTP request.
1729
+ #
1730
+ # @return [ApiManagementServiceListResult] operation results.
1731
+ #
1732
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
1733
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1734
+ response.body unless response.nil?
1735
+ end
1736
+
1737
+ #
1738
+ # List all API Management services within a resource group.
1739
+ #
1740
+ # @param next_page_link [String] The NextLink from the previous successful call
1741
+ # to List operation.
1742
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1743
+ # will be added to the HTTP request.
1744
+ #
1745
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1746
+ #
1747
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
1748
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1749
+ end
1750
+
1751
+ #
1752
+ # List all API Management services within a resource group.
1753
+ #
1754
+ # @param next_page_link [String] The NextLink from the previous successful call
1755
+ # to List operation.
1756
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1757
+ # to the HTTP request.
1758
+ #
1759
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1760
+ #
1761
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
1762
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1763
+
1764
+
1765
+ request_headers = {}
1766
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1767
+
1768
+ # Set Headers
1769
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1770
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1771
+ path_template = '{nextLink}'
1772
+
1773
+ request_url = @base_url || @client.base_url
1774
+
1775
+ options = {
1776
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1777
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1778
+ headers: request_headers.merge(custom_headers || {}),
1779
+ base_url: request_url
1780
+ }
1781
+ promise = @client.make_request_async(:get, path_template, options)
1782
+
1783
+ promise = promise.then do |result|
1784
+ http_response = result.response
1785
+ status_code = http_response.status
1786
+ response_content = http_response.body
1787
+ unless status_code == 200
1788
+ error_model = JSON.load(response_content)
1789
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1790
+ end
1791
+
1792
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1793
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1794
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1795
+ # Deserialize Response
1796
+ if status_code == 200
1797
+ begin
1798
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1799
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
1800
+ result.body = @client.deserialize(result_mapper, parsed_response)
1801
+ rescue Exception => e
1802
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1803
+ end
1804
+ end
1805
+
1806
+ result
1807
+ end
1808
+
1809
+ promise.execute
1810
+ end
1811
+
1812
+ #
1813
+ # Lists all API Management services within an Azure subscription.
1814
+ #
1815
+ # @param next_page_link [String] The NextLink from the previous successful call
1816
+ # to List operation.
1817
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1818
+ # will be added to the HTTP request.
1819
+ #
1820
+ # @return [ApiManagementServiceListResult] operation results.
1821
+ #
1822
+ def list_next(next_page_link, custom_headers:nil)
1823
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
1824
+ response.body unless response.nil?
1825
+ end
1826
+
1827
+ #
1828
+ # Lists all API Management services within an Azure subscription.
1829
+ #
1830
+ # @param next_page_link [String] The NextLink from the previous successful call
1831
+ # to List operation.
1832
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1833
+ # will be added to the HTTP request.
1834
+ #
1835
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1836
+ #
1837
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
1838
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
1839
+ end
1840
+
1841
+ #
1842
+ # Lists all API Management services within an Azure subscription.
1843
+ #
1844
+ # @param next_page_link [String] The NextLink from the previous successful call
1845
+ # to List operation.
1846
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1847
+ # to the HTTP request.
1848
+ #
1849
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1850
+ #
1851
+ def list_next_async(next_page_link, custom_headers:nil)
1852
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1853
+
1854
+
1855
+ request_headers = {}
1856
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1857
+
1858
+ # Set Headers
1859
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1860
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1861
+ path_template = '{nextLink}'
1862
+
1863
+ request_url = @base_url || @client.base_url
1864
+
1865
+ options = {
1866
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1867
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1868
+ headers: request_headers.merge(custom_headers || {}),
1869
+ base_url: request_url
1870
+ }
1871
+ promise = @client.make_request_async(:get, path_template, options)
1872
+
1873
+ promise = promise.then do |result|
1874
+ http_response = result.response
1875
+ status_code = http_response.status
1876
+ response_content = http_response.body
1877
+ unless status_code == 200
1878
+ error_model = JSON.load(response_content)
1879
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1880
+ end
1881
+
1882
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1883
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1884
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1885
+ # Deserialize Response
1886
+ if status_code == 200
1887
+ begin
1888
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1889
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
1890
+ result.body = @client.deserialize(result_mapper, parsed_response)
1891
+ rescue Exception => e
1892
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1893
+ end
1894
+ end
1895
+
1896
+ result
1897
+ end
1898
+
1899
+ promise.execute
1900
+ end
1901
+
1902
+ #
1903
+ # List all API Management services within a resource group.
1904
+ #
1905
+ # @param resource_group_name [String] The name of the resource group.
1906
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1907
+ # will be added to the HTTP request.
1908
+ #
1909
+ # @return [ApiManagementServiceListResult] which provide lazy access to pages
1910
+ # of the response.
1911
+ #
1912
+ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
1913
+ response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
1914
+ unless response.nil?
1915
+ page = response.body
1916
+ page.next_method = Proc.new do |next_page_link|
1917
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
1918
+ end
1919
+ page
1920
+ end
1921
+ end
1922
+
1923
+ #
1924
+ # Lists all API Management services within an Azure subscription.
1925
+ #
1926
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1927
+ # will be added to the HTTP request.
1928
+ #
1929
+ # @return [ApiManagementServiceListResult] which provide lazy access to pages
1930
+ # of the response.
1931
+ #
1932
+ def list_as_lazy(custom_headers:nil)
1933
+ response = list_async(custom_headers:custom_headers).value!
1934
+ unless response.nil?
1935
+ page = response.body
1936
+ page.next_method = Proc.new do |next_page_link|
1937
+ list_next_async(next_page_link, custom_headers:custom_headers)
1938
+ end
1939
+ page
1940
+ end
1941
+ end
1942
+
1943
+ end
1944
+ end