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,1691 @@
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::V2019_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::V2019_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, FinalStateVia::LOCATION)
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::V2019_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, FinalStateVia::LOCATION)
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::V2019_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::V2019_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::V2019_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
+ # @return [ApiManagementServiceResource] operation results.
319
+ #
320
+ def delete(resource_group_name, service_name, custom_headers:nil)
321
+ response = delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
322
+ response.body unless response.nil?
323
+ end
324
+
325
+ #
326
+ # @param resource_group_name [String] The name of the resource group.
327
+ # @param service_name [String] The name of the API Management service.
328
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
329
+ # will be added to the HTTP request.
330
+ #
331
+ # @return [Concurrent::Promise] promise which provides async access to http
332
+ # response.
333
+ #
334
+ def delete_async(resource_group_name, service_name, custom_headers:nil)
335
+ # Send request
336
+ promise = begin_delete_async(resource_group_name, service_name, custom_headers:custom_headers)
337
+
338
+ promise = promise.then do |response|
339
+ # Defining deserialization method.
340
+ deserialize_method = lambda do |parsed_response|
341
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
342
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
343
+ end
344
+
345
+ # Waiting for response.
346
+ @client.get_long_running_operation_result(response, deserialize_method)
347
+ end
348
+
349
+ promise
350
+ end
351
+
352
+ #
353
+ # List all API Management services within a resource group.
354
+ #
355
+ # @param resource_group_name [String] The name of the resource group.
356
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
357
+ # will be added to the HTTP request.
358
+ #
359
+ # @return [Array<ApiManagementServiceResource>] operation results.
360
+ #
361
+ def list_by_resource_group(resource_group_name, custom_headers:nil)
362
+ first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
363
+ first_page.get_all_items
364
+ end
365
+
366
+ #
367
+ # List all API Management services within a resource group.
368
+ #
369
+ # @param resource_group_name [String] The name of the resource group.
370
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
371
+ # will be added to the HTTP request.
372
+ #
373
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
374
+ #
375
+ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
376
+ list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
377
+ end
378
+
379
+ #
380
+ # List all API Management services within a resource group.
381
+ #
382
+ # @param resource_group_name [String] The name of the resource group.
383
+ # @param [Hash{String => String}] A hash of custom headers that will be added
384
+ # to the HTTP request.
385
+ #
386
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
387
+ #
388
+ def list_by_resource_group_async(resource_group_name, custom_headers:nil)
389
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
390
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
391
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
392
+
393
+
394
+ request_headers = {}
395
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
396
+
397
+ # Set Headers
398
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
399
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
400
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service'
401
+
402
+ request_url = @base_url || @client.base_url
403
+
404
+ options = {
405
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
406
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
407
+ query_params: {'api-version' => @client.api_version},
408
+ headers: request_headers.merge(custom_headers || {}),
409
+ base_url: request_url
410
+ }
411
+ promise = @client.make_request_async(:get, path_template, options)
412
+
413
+ promise = promise.then do |result|
414
+ http_response = result.response
415
+ status_code = http_response.status
416
+ response_content = http_response.body
417
+ unless status_code == 200
418
+ error_model = JSON.load(response_content)
419
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
420
+ end
421
+
422
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
423
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
424
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
425
+ # Deserialize Response
426
+ if status_code == 200
427
+ begin
428
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
429
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceListResult.mapper()
430
+ result.body = @client.deserialize(result_mapper, parsed_response)
431
+ rescue Exception => e
432
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
433
+ end
434
+ end
435
+
436
+ result
437
+ end
438
+
439
+ promise.execute
440
+ end
441
+
442
+ #
443
+ # Lists all API Management services within an Azure subscription.
444
+ #
445
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
446
+ # will be added to the HTTP request.
447
+ #
448
+ # @return [Array<ApiManagementServiceResource>] operation results.
449
+ #
450
+ def list(custom_headers:nil)
451
+ first_page = list_as_lazy(custom_headers:custom_headers)
452
+ first_page.get_all_items
453
+ end
454
+
455
+ #
456
+ # Lists all API Management services within an Azure subscription.
457
+ #
458
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
459
+ # will be added to the HTTP request.
460
+ #
461
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
462
+ #
463
+ def list_with_http_info(custom_headers:nil)
464
+ list_async(custom_headers:custom_headers).value!
465
+ end
466
+
467
+ #
468
+ # Lists all API Management services within an Azure subscription.
469
+ #
470
+ # @param [Hash{String => String}] A hash of custom headers that will be added
471
+ # to the HTTP request.
472
+ #
473
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
474
+ #
475
+ def list_async(custom_headers:nil)
476
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
477
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
478
+
479
+
480
+ request_headers = {}
481
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
482
+
483
+ # Set Headers
484
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
485
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
486
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service'
487
+
488
+ request_url = @base_url || @client.base_url
489
+
490
+ options = {
491
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
492
+ path_params: {'subscriptionId' => @client.subscription_id},
493
+ query_params: {'api-version' => @client.api_version},
494
+ headers: request_headers.merge(custom_headers || {}),
495
+ base_url: request_url
496
+ }
497
+ promise = @client.make_request_async(:get, path_template, options)
498
+
499
+ promise = promise.then do |result|
500
+ http_response = result.response
501
+ status_code = http_response.status
502
+ response_content = http_response.body
503
+ unless status_code == 200
504
+ error_model = JSON.load(response_content)
505
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
506
+ end
507
+
508
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
509
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
510
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
511
+ # Deserialize Response
512
+ if status_code == 200
513
+ begin
514
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
515
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceListResult.mapper()
516
+ result.body = @client.deserialize(result_mapper, parsed_response)
517
+ rescue Exception => e
518
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
519
+ end
520
+ end
521
+
522
+ result
523
+ end
524
+
525
+ promise.execute
526
+ end
527
+
528
+ #
529
+ # Gets the Single-Sign-On token for the API Management Service which is valid
530
+ # for 5 Minutes.
531
+ #
532
+ # @param resource_group_name [String] The name of the resource group.
533
+ # @param service_name [String] The name of the API Management service.
534
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
535
+ # will be added to the HTTP request.
536
+ #
537
+ # @return [ApiManagementServiceGetSsoTokenResult] operation results.
538
+ #
539
+ def get_sso_token(resource_group_name, service_name, custom_headers:nil)
540
+ response = get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
541
+ response.body unless response.nil?
542
+ end
543
+
544
+ #
545
+ # Gets the Single-Sign-On token for the API Management Service which is valid
546
+ # for 5 Minutes.
547
+ #
548
+ # @param resource_group_name [String] The name of the resource group.
549
+ # @param service_name [String] The name of the API Management service.
550
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
551
+ # will be added to the HTTP request.
552
+ #
553
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
554
+ #
555
+ def get_sso_token_with_http_info(resource_group_name, service_name, custom_headers:nil)
556
+ get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
557
+ end
558
+
559
+ #
560
+ # Gets the Single-Sign-On token for the API Management Service which is valid
561
+ # for 5 Minutes.
562
+ #
563
+ # @param resource_group_name [String] The name of the resource group.
564
+ # @param service_name [String] The name of the API Management service.
565
+ # @param [Hash{String => String}] A hash of custom headers that will be added
566
+ # to the HTTP request.
567
+ #
568
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
569
+ #
570
+ def get_sso_token_async(resource_group_name, service_name, custom_headers:nil)
571
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
572
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
573
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
574
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
575
+ 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?
576
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
577
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
578
+
579
+
580
+ request_headers = {}
581
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
582
+
583
+ # Set Headers
584
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
585
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
586
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken'
587
+
588
+ request_url = @base_url || @client.base_url
589
+
590
+ options = {
591
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
592
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
593
+ query_params: {'api-version' => @client.api_version},
594
+ headers: request_headers.merge(custom_headers || {}),
595
+ base_url: request_url
596
+ }
597
+ promise = @client.make_request_async(:post, path_template, options)
598
+
599
+ promise = promise.then do |result|
600
+ http_response = result.response
601
+ status_code = http_response.status
602
+ response_content = http_response.body
603
+ unless status_code == 200
604
+ error_model = JSON.load(response_content)
605
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
606
+ end
607
+
608
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
609
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
610
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
611
+ # Deserialize Response
612
+ if status_code == 200
613
+ begin
614
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
615
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceGetSsoTokenResult.mapper()
616
+ result.body = @client.deserialize(result_mapper, parsed_response)
617
+ rescue Exception => e
618
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
619
+ end
620
+ end
621
+
622
+ result
623
+ end
624
+
625
+ promise.execute
626
+ end
627
+
628
+ #
629
+ # Checks availability and correctness of a name for an API Management service.
630
+ #
631
+ # @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
632
+ # Parameters supplied to the CheckNameAvailability operation.
633
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
634
+ # will be added to the HTTP request.
635
+ #
636
+ # @return [ApiManagementServiceNameAvailabilityResult] operation results.
637
+ #
638
+ def check_name_availability(parameters, custom_headers:nil)
639
+ response = check_name_availability_async(parameters, custom_headers:custom_headers).value!
640
+ response.body unless response.nil?
641
+ end
642
+
643
+ #
644
+ # Checks availability and correctness of a name for an API Management service.
645
+ #
646
+ # @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
647
+ # Parameters supplied to the CheckNameAvailability operation.
648
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
649
+ # will be added to the HTTP request.
650
+ #
651
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
652
+ #
653
+ def check_name_availability_with_http_info(parameters, custom_headers:nil)
654
+ check_name_availability_async(parameters, custom_headers:custom_headers).value!
655
+ end
656
+
657
+ #
658
+ # Checks availability and correctness of a name for an API Management service.
659
+ #
660
+ # @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
661
+ # Parameters supplied to the CheckNameAvailability operation.
662
+ # @param [Hash{String => String}] A hash of custom headers that will be added
663
+ # to the HTTP request.
664
+ #
665
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
666
+ #
667
+ def check_name_availability_async(parameters, custom_headers:nil)
668
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
669
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
670
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
671
+
672
+
673
+ request_headers = {}
674
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
675
+
676
+ # Set Headers
677
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
678
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
679
+
680
+ # Serialize Request
681
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceCheckNameAvailabilityParameters.mapper()
682
+ request_content = @client.serialize(request_mapper, parameters)
683
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
684
+
685
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability'
686
+
687
+ request_url = @base_url || @client.base_url
688
+
689
+ options = {
690
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
691
+ path_params: {'subscriptionId' => @client.subscription_id},
692
+ query_params: {'api-version' => @client.api_version},
693
+ body: request_content,
694
+ headers: request_headers.merge(custom_headers || {}),
695
+ base_url: request_url
696
+ }
697
+ promise = @client.make_request_async(:post, path_template, options)
698
+
699
+ promise = promise.then do |result|
700
+ http_response = result.response
701
+ status_code = http_response.status
702
+ response_content = http_response.body
703
+ unless status_code == 200
704
+ error_model = JSON.load(response_content)
705
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
706
+ end
707
+
708
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
709
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
710
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
711
+ # Deserialize Response
712
+ if status_code == 200
713
+ begin
714
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
715
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceNameAvailabilityResult.mapper()
716
+ result.body = @client.deserialize(result_mapper, parsed_response)
717
+ rescue Exception => e
718
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
719
+ end
720
+ end
721
+
722
+ result
723
+ end
724
+
725
+ promise.execute
726
+ end
727
+
728
+ #
729
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
730
+ # to pick the updated network settings.
731
+ #
732
+ # @param resource_group_name [String] The name of the resource group.
733
+ # @param service_name [String] The name of the API Management service.
734
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
735
+ # Parameters supplied to the Apply Network Configuration operation. If the
736
+ # parameters are empty, all the regions in which the Api Management service is
737
+ # deployed will be updated sequentially without incurring downtime in the
738
+ # region.
739
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
740
+ # will be added to the HTTP request.
741
+ #
742
+ # @return [ApiManagementServiceResource] operation results.
743
+ #
744
+ def apply_network_configuration_updates(resource_group_name, service_name, parameters:nil, custom_headers:nil)
745
+ response = apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
746
+ response.body unless response.nil?
747
+ end
748
+
749
+ #
750
+ # @param resource_group_name [String] The name of the resource group.
751
+ # @param service_name [String] The name of the API Management service.
752
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
753
+ # Parameters supplied to the Apply Network Configuration operation. If the
754
+ # parameters are empty, all the regions in which the Api Management service is
755
+ # deployed will be updated sequentially without incurring downtime in the
756
+ # region.
757
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
758
+ # will be added to the HTTP request.
759
+ #
760
+ # @return [Concurrent::Promise] promise which provides async access to http
761
+ # response.
762
+ #
763
+ def apply_network_configuration_updates_async(resource_group_name, service_name, parameters:nil, custom_headers:nil)
764
+ # Send request
765
+ promise = begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers)
766
+
767
+ promise = promise.then do |response|
768
+ # Defining deserialization method.
769
+ deserialize_method = lambda do |parsed_response|
770
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
771
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
772
+ end
773
+
774
+ # Waiting for response.
775
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
776
+ end
777
+
778
+ promise
779
+ end
780
+
781
+ #
782
+ # Restores a backup of an API Management service created using the
783
+ # ApiManagementService_Backup operation on the current service. This is a long
784
+ # running operation and could take several minutes to complete.
785
+ #
786
+ # @param resource_group_name [String] The name of the resource group.
787
+ # @param service_name [String] The name of the API Management service.
788
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
789
+ # supplied to the Restore API Management service from backup operation.
790
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
791
+ # will be added to the HTTP request.
792
+ #
793
+ # @return [ApiManagementServiceResource] operation results.
794
+ #
795
+ def begin_restore(resource_group_name, service_name, parameters, custom_headers:nil)
796
+ response = begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
797
+ response.body unless response.nil?
798
+ end
799
+
800
+ #
801
+ # Restores a backup of an API Management service created using the
802
+ # ApiManagementService_Backup operation on the current service. This is a long
803
+ # running operation and could take several minutes to complete.
804
+ #
805
+ # @param resource_group_name [String] The name of the resource group.
806
+ # @param service_name [String] The name of the API Management service.
807
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
808
+ # supplied to the Restore API Management service from backup operation.
809
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
810
+ # will be added to the HTTP request.
811
+ #
812
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
813
+ #
814
+ def begin_restore_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
815
+ begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
816
+ end
817
+
818
+ #
819
+ # Restores a backup of an API Management service created using the
820
+ # ApiManagementService_Backup operation on the current service. This is a long
821
+ # running operation and could take several minutes to complete.
822
+ #
823
+ # @param resource_group_name [String] The name of the resource group.
824
+ # @param service_name [String] The name of the API Management service.
825
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
826
+ # supplied to the Restore API Management service from backup operation.
827
+ # @param [Hash{String => String}] A hash of custom headers that will be added
828
+ # to the HTTP request.
829
+ #
830
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
831
+ #
832
+ def begin_restore_async(resource_group_name, service_name, parameters, custom_headers:nil)
833
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
834
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
835
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
836
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
837
+ 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?
838
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
839
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
840
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
841
+
842
+
843
+ request_headers = {}
844
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
845
+
846
+ # Set Headers
847
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
848
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
849
+
850
+ # Serialize Request
851
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
852
+ request_content = @client.serialize(request_mapper, parameters)
853
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
854
+
855
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore'
856
+
857
+ request_url = @base_url || @client.base_url
858
+
859
+ options = {
860
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
861
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
862
+ query_params: {'api-version' => @client.api_version},
863
+ body: request_content,
864
+ headers: request_headers.merge(custom_headers || {}),
865
+ base_url: request_url
866
+ }
867
+ promise = @client.make_request_async(:post, path_template, options)
868
+
869
+ promise = promise.then do |result|
870
+ http_response = result.response
871
+ status_code = http_response.status
872
+ response_content = http_response.body
873
+ unless status_code == 200 || status_code == 202
874
+ error_model = JSON.load(response_content)
875
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
876
+ end
877
+
878
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
879
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
880
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
881
+ # Deserialize Response
882
+ if status_code == 200
883
+ begin
884
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
885
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
886
+ result.body = @client.deserialize(result_mapper, parsed_response)
887
+ rescue Exception => e
888
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
889
+ end
890
+ end
891
+
892
+ result
893
+ end
894
+
895
+ promise.execute
896
+ end
897
+
898
+ #
899
+ # Creates a backup of the API Management service to the given Azure Storage
900
+ # Account. This is long running operation and could take several minutes to
901
+ # complete.
902
+ #
903
+ # @param resource_group_name [String] The name of the resource group.
904
+ # @param service_name [String] The name of the API Management service.
905
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
906
+ # supplied to the ApiManagementService_Backup operation.
907
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
908
+ # will be added to the HTTP request.
909
+ #
910
+ # @return [ApiManagementServiceResource] operation results.
911
+ #
912
+ def begin_backup(resource_group_name, service_name, parameters, custom_headers:nil)
913
+ response = begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
914
+ response.body unless response.nil?
915
+ end
916
+
917
+ #
918
+ # Creates a backup of the API Management service to the given Azure Storage
919
+ # Account. This is long running operation and could take several minutes to
920
+ # complete.
921
+ #
922
+ # @param resource_group_name [String] The name of the resource group.
923
+ # @param service_name [String] The name of the API Management service.
924
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
925
+ # supplied to the ApiManagementService_Backup operation.
926
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
927
+ # will be added to the HTTP request.
928
+ #
929
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
930
+ #
931
+ def begin_backup_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
932
+ begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
933
+ end
934
+
935
+ #
936
+ # Creates a backup of the API Management service to the given Azure Storage
937
+ # Account. This is long running operation and could take several minutes to
938
+ # complete.
939
+ #
940
+ # @param resource_group_name [String] The name of the resource group.
941
+ # @param service_name [String] The name of the API Management service.
942
+ # @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
943
+ # supplied to the ApiManagementService_Backup operation.
944
+ # @param [Hash{String => String}] A hash of custom headers that will be added
945
+ # to the HTTP request.
946
+ #
947
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
948
+ #
949
+ def begin_backup_async(resource_group_name, service_name, parameters, custom_headers:nil)
950
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
951
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
952
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
953
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
954
+ 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?
955
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
956
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
957
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
958
+
959
+
960
+ request_headers = {}
961
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
962
+
963
+ # Set Headers
964
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
965
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
966
+
967
+ # Serialize Request
968
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
969
+ request_content = @client.serialize(request_mapper, parameters)
970
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
971
+
972
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup'
973
+
974
+ request_url = @base_url || @client.base_url
975
+
976
+ options = {
977
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
978
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
979
+ query_params: {'api-version' => @client.api_version},
980
+ body: request_content,
981
+ headers: request_headers.merge(custom_headers || {}),
982
+ base_url: request_url
983
+ }
984
+ promise = @client.make_request_async(:post, path_template, options)
985
+
986
+ promise = promise.then do |result|
987
+ http_response = result.response
988
+ status_code = http_response.status
989
+ response_content = http_response.body
990
+ unless status_code == 200 || status_code == 202
991
+ error_model = JSON.load(response_content)
992
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
993
+ end
994
+
995
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
996
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
997
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
998
+ # Deserialize Response
999
+ if status_code == 200
1000
+ begin
1001
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1002
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
1003
+ result.body = @client.deserialize(result_mapper, parsed_response)
1004
+ rescue Exception => e
1005
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1006
+ end
1007
+ end
1008
+
1009
+ result
1010
+ end
1011
+
1012
+ promise.execute
1013
+ end
1014
+
1015
+ #
1016
+ # Creates or updates an API Management service. This is long running operation
1017
+ # and could take several minutes to complete.
1018
+ #
1019
+ # @param resource_group_name [String] The name of the resource group.
1020
+ # @param service_name [String] The name of the API Management service.
1021
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
1022
+ # CreateOrUpdate API Management service operation.
1023
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1024
+ # will be added to the HTTP request.
1025
+ #
1026
+ # @return [ApiManagementServiceResource] operation results.
1027
+ #
1028
+ def begin_create_or_update(resource_group_name, service_name, parameters, custom_headers:nil)
1029
+ response = begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1030
+ response.body unless response.nil?
1031
+ end
1032
+
1033
+ #
1034
+ # Creates or updates an API Management service. This is long running operation
1035
+ # and could take several minutes to complete.
1036
+ #
1037
+ # @param resource_group_name [String] The name of the resource group.
1038
+ # @param service_name [String] The name of the API Management service.
1039
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
1040
+ # CreateOrUpdate API Management service operation.
1041
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1042
+ # will be added to the HTTP request.
1043
+ #
1044
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1045
+ #
1046
+ def begin_create_or_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
1047
+ begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1048
+ end
1049
+
1050
+ #
1051
+ # Creates or updates an API Management service. This is long running operation
1052
+ # and could take several minutes to complete.
1053
+ #
1054
+ # @param resource_group_name [String] The name of the resource group.
1055
+ # @param service_name [String] The name of the API Management service.
1056
+ # @param parameters [ApiManagementServiceResource] Parameters supplied to the
1057
+ # CreateOrUpdate API Management service operation.
1058
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1059
+ # to the HTTP request.
1060
+ #
1061
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1062
+ #
1063
+ def begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
1064
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1065
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1066
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1067
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1068
+ 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?
1069
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1070
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1071
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1072
+
1073
+
1074
+ request_headers = {}
1075
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1076
+
1077
+ # Set Headers
1078
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1079
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1080
+
1081
+ # Serialize Request
1082
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
1083
+ request_content = @client.serialize(request_mapper, parameters)
1084
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1085
+
1086
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
1087
+
1088
+ request_url = @base_url || @client.base_url
1089
+
1090
+ options = {
1091
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1092
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1093
+ query_params: {'api-version' => @client.api_version},
1094
+ body: request_content,
1095
+ headers: request_headers.merge(custom_headers || {}),
1096
+ base_url: request_url
1097
+ }
1098
+ promise = @client.make_request_async(:put, path_template, options)
1099
+
1100
+ promise = promise.then do |result|
1101
+ http_response = result.response
1102
+ status_code = http_response.status
1103
+ response_content = http_response.body
1104
+ unless status_code == 200 || status_code == 201 || status_code == 202
1105
+ error_model = JSON.load(response_content)
1106
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1107
+ end
1108
+
1109
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1110
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1111
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1112
+ # Deserialize Response
1113
+ if status_code == 200
1114
+ begin
1115
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1116
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
1117
+ result.body = @client.deserialize(result_mapper, parsed_response)
1118
+ rescue Exception => e
1119
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1120
+ end
1121
+ end
1122
+ # Deserialize Response
1123
+ if status_code == 201
1124
+ begin
1125
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1126
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
1127
+ result.body = @client.deserialize(result_mapper, parsed_response)
1128
+ rescue Exception => e
1129
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1130
+ end
1131
+ end
1132
+
1133
+ result
1134
+ end
1135
+
1136
+ promise.execute
1137
+ end
1138
+
1139
+ #
1140
+ # Updates an existing API Management service.
1141
+ #
1142
+ # @param resource_group_name [String] The name of the resource group.
1143
+ # @param service_name [String] The name of the API Management service.
1144
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
1145
+ # to the CreateOrUpdate API Management service operation.
1146
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1147
+ # will be added to the HTTP request.
1148
+ #
1149
+ # @return [ApiManagementServiceResource] operation results.
1150
+ #
1151
+ def begin_update(resource_group_name, service_name, parameters, custom_headers:nil)
1152
+ response = begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1153
+ response.body unless response.nil?
1154
+ end
1155
+
1156
+ #
1157
+ # Updates an existing API Management service.
1158
+ #
1159
+ # @param resource_group_name [String] The name of the resource group.
1160
+ # @param service_name [String] The name of the API Management service.
1161
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
1162
+ # to the CreateOrUpdate API Management service operation.
1163
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1164
+ # will be added to the HTTP request.
1165
+ #
1166
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1167
+ #
1168
+ def begin_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
1169
+ begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
1170
+ end
1171
+
1172
+ #
1173
+ # Updates an existing API Management service.
1174
+ #
1175
+ # @param resource_group_name [String] The name of the resource group.
1176
+ # @param service_name [String] The name of the API Management service.
1177
+ # @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
1178
+ # to the CreateOrUpdate API Management service operation.
1179
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1180
+ # to the HTTP request.
1181
+ #
1182
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1183
+ #
1184
+ def begin_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
1185
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1186
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1187
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1188
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1189
+ 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?
1190
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1191
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1192
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1193
+
1194
+
1195
+ request_headers = {}
1196
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1197
+
1198
+ # Set Headers
1199
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1200
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1201
+
1202
+ # Serialize Request
1203
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceUpdateParameters.mapper()
1204
+ request_content = @client.serialize(request_mapper, parameters)
1205
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1206
+
1207
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
1208
+
1209
+ request_url = @base_url || @client.base_url
1210
+
1211
+ options = {
1212
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1213
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1214
+ query_params: {'api-version' => @client.api_version},
1215
+ body: request_content,
1216
+ headers: request_headers.merge(custom_headers || {}),
1217
+ base_url: request_url
1218
+ }
1219
+ promise = @client.make_request_async(:patch, path_template, options)
1220
+
1221
+ promise = promise.then do |result|
1222
+ http_response = result.response
1223
+ status_code = http_response.status
1224
+ response_content = http_response.body
1225
+ unless status_code == 200 || status_code == 202
1226
+ error_model = JSON.load(response_content)
1227
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1228
+ end
1229
+
1230
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1231
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1232
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1233
+ # Deserialize Response
1234
+ if status_code == 200
1235
+ begin
1236
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1237
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
1238
+ result.body = @client.deserialize(result_mapper, parsed_response)
1239
+ rescue Exception => e
1240
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1241
+ end
1242
+ end
1243
+
1244
+ result
1245
+ end
1246
+
1247
+ promise.execute
1248
+ end
1249
+
1250
+ #
1251
+ # Deletes an existing API Management service.
1252
+ #
1253
+ # @param resource_group_name [String] The name of the resource group.
1254
+ # @param service_name [String] The name of the API Management service.
1255
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1256
+ # will be added to the HTTP request.
1257
+ #
1258
+ # @return [ApiManagementServiceResource] operation results.
1259
+ #
1260
+ def begin_delete(resource_group_name, service_name, custom_headers:nil)
1261
+ response = begin_delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
1262
+ response.body unless response.nil?
1263
+ end
1264
+
1265
+ #
1266
+ # Deletes an existing API Management service.
1267
+ #
1268
+ # @param resource_group_name [String] The name of the resource group.
1269
+ # @param service_name [String] The name of the API Management service.
1270
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1271
+ # will be added to the HTTP request.
1272
+ #
1273
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1274
+ #
1275
+ def begin_delete_with_http_info(resource_group_name, service_name, custom_headers:nil)
1276
+ begin_delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
1277
+ end
1278
+
1279
+ #
1280
+ # Deletes an existing API Management service.
1281
+ #
1282
+ # @param resource_group_name [String] The name of the resource group.
1283
+ # @param service_name [String] The name of the API Management service.
1284
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1285
+ # to the HTTP request.
1286
+ #
1287
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1288
+ #
1289
+ def begin_delete_async(resource_group_name, service_name, custom_headers:nil)
1290
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1291
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
1292
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
1293
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
1294
+ 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?
1295
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1296
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1297
+
1298
+
1299
+ request_headers = {}
1300
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1301
+
1302
+ # Set Headers
1303
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1304
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1305
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
1306
+
1307
+ request_url = @base_url || @client.base_url
1308
+
1309
+ options = {
1310
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1311
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1312
+ query_params: {'api-version' => @client.api_version},
1313
+ headers: request_headers.merge(custom_headers || {}),
1314
+ base_url: request_url
1315
+ }
1316
+ promise = @client.make_request_async(:delete, path_template, options)
1317
+
1318
+ promise = promise.then do |result|
1319
+ http_response = result.response
1320
+ status_code = http_response.status
1321
+ response_content = http_response.body
1322
+ unless status_code == 200 || status_code == 202 || status_code == 204
1323
+ error_model = JSON.load(response_content)
1324
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1325
+ end
1326
+
1327
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1328
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1329
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1330
+ # Deserialize Response
1331
+ if status_code == 202
1332
+ begin
1333
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1334
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
1335
+ result.body = @client.deserialize(result_mapper, parsed_response)
1336
+ rescue Exception => e
1337
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1338
+ end
1339
+ end
1340
+
1341
+ result
1342
+ end
1343
+
1344
+ promise.execute
1345
+ end
1346
+
1347
+ #
1348
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
1349
+ # to pick the updated network settings.
1350
+ #
1351
+ # @param resource_group_name [String] The name of the resource group.
1352
+ # @param service_name [String] The name of the API Management service.
1353
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
1354
+ # Parameters supplied to the Apply Network Configuration operation. If the
1355
+ # parameters are empty, all the regions in which the Api Management service is
1356
+ # deployed will be updated sequentially without incurring downtime in the
1357
+ # region.
1358
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1359
+ # will be added to the HTTP request.
1360
+ #
1361
+ # @return [ApiManagementServiceResource] operation results.
1362
+ #
1363
+ def begin_apply_network_configuration_updates(resource_group_name, service_name, parameters:nil, custom_headers:nil)
1364
+ response = begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
1365
+ response.body unless response.nil?
1366
+ end
1367
+
1368
+ #
1369
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
1370
+ # to pick the updated network settings.
1371
+ #
1372
+ # @param resource_group_name [String] The name of the resource group.
1373
+ # @param service_name [String] The name of the API Management service.
1374
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
1375
+ # Parameters supplied to the Apply Network Configuration operation. If the
1376
+ # parameters are empty, all the regions in which the Api Management service is
1377
+ # deployed will be updated sequentially without incurring downtime in the
1378
+ # region.
1379
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1380
+ # will be added to the HTTP request.
1381
+ #
1382
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1383
+ #
1384
+ def begin_apply_network_configuration_updates_with_http_info(resource_group_name, service_name, parameters:nil, custom_headers:nil)
1385
+ begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
1386
+ end
1387
+
1388
+ #
1389
+ # Updates the Microsoft.ApiManagement resource running in the Virtual network
1390
+ # to pick the updated network settings.
1391
+ #
1392
+ # @param resource_group_name [String] The name of the resource group.
1393
+ # @param service_name [String] The name of the API Management service.
1394
+ # @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
1395
+ # Parameters supplied to the Apply Network Configuration operation. If the
1396
+ # parameters are empty, all the regions in which the Api Management service is
1397
+ # deployed will be updated sequentially without incurring downtime in the
1398
+ # region.
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_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:nil, 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, '@client.api_version is nil' if @client.api_version.nil?
1411
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1412
+
1413
+
1414
+ request_headers = {}
1415
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1416
+
1417
+ # Set Headers
1418
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1419
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1420
+
1421
+ # Serialize Request
1422
+ request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceApplyNetworkConfigurationParameters.mapper()
1423
+ request_content = @client.serialize(request_mapper, parameters)
1424
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1425
+
1426
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates'
1427
+
1428
+ request_url = @base_url || @client.base_url
1429
+
1430
+ options = {
1431
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1432
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
1433
+ query_params: {'api-version' => @client.api_version},
1434
+ body: request_content,
1435
+ headers: request_headers.merge(custom_headers || {}),
1436
+ base_url: request_url
1437
+ }
1438
+ promise = @client.make_request_async(:post, path_template, options)
1439
+
1440
+ promise = promise.then do |result|
1441
+ http_response = result.response
1442
+ status_code = http_response.status
1443
+ response_content = http_response.body
1444
+ unless status_code == 202 || status_code == 200
1445
+ error_model = JSON.load(response_content)
1446
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1447
+ end
1448
+
1449
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1450
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1451
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1452
+ # Deserialize Response
1453
+ if status_code == 200
1454
+ begin
1455
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1456
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceResource.mapper()
1457
+ result.body = @client.deserialize(result_mapper, parsed_response)
1458
+ rescue Exception => e
1459
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1460
+ end
1461
+ end
1462
+
1463
+ result
1464
+ end
1465
+
1466
+ promise.execute
1467
+ end
1468
+
1469
+ #
1470
+ # List all API Management services within a resource group.
1471
+ #
1472
+ # @param next_page_link [String] The NextLink from the previous successful call
1473
+ # to List operation.
1474
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1475
+ # will be added to the HTTP request.
1476
+ #
1477
+ # @return [ApiManagementServiceListResult] operation results.
1478
+ #
1479
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
1480
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1481
+ response.body unless response.nil?
1482
+ end
1483
+
1484
+ #
1485
+ # List all API Management services within a resource group.
1486
+ #
1487
+ # @param next_page_link [String] The NextLink from the previous successful call
1488
+ # to List operation.
1489
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1490
+ # will be added to the HTTP request.
1491
+ #
1492
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1493
+ #
1494
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
1495
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1496
+ end
1497
+
1498
+ #
1499
+ # List all API Management services within a resource group.
1500
+ #
1501
+ # @param next_page_link [String] The NextLink from the previous successful call
1502
+ # to List operation.
1503
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1504
+ # to the HTTP request.
1505
+ #
1506
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1507
+ #
1508
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
1509
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1510
+
1511
+
1512
+ request_headers = {}
1513
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1514
+
1515
+ # Set Headers
1516
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1517
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1518
+ path_template = '{nextLink}'
1519
+
1520
+ request_url = @base_url || @client.base_url
1521
+
1522
+ options = {
1523
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1524
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1525
+ headers: request_headers.merge(custom_headers || {}),
1526
+ base_url: request_url
1527
+ }
1528
+ promise = @client.make_request_async(:get, path_template, options)
1529
+
1530
+ promise = promise.then do |result|
1531
+ http_response = result.response
1532
+ status_code = http_response.status
1533
+ response_content = http_response.body
1534
+ unless status_code == 200
1535
+ error_model = JSON.load(response_content)
1536
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1537
+ end
1538
+
1539
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1540
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1541
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1542
+ # Deserialize Response
1543
+ if status_code == 200
1544
+ begin
1545
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1546
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceListResult.mapper()
1547
+ result.body = @client.deserialize(result_mapper, parsed_response)
1548
+ rescue Exception => e
1549
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1550
+ end
1551
+ end
1552
+
1553
+ result
1554
+ end
1555
+
1556
+ promise.execute
1557
+ end
1558
+
1559
+ #
1560
+ # Lists all API Management services within an Azure subscription.
1561
+ #
1562
+ # @param next_page_link [String] The NextLink from the previous successful call
1563
+ # to List operation.
1564
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1565
+ # will be added to the HTTP request.
1566
+ #
1567
+ # @return [ApiManagementServiceListResult] operation results.
1568
+ #
1569
+ def list_next(next_page_link, custom_headers:nil)
1570
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
1571
+ response.body unless response.nil?
1572
+ end
1573
+
1574
+ #
1575
+ # Lists all API Management services within an Azure subscription.
1576
+ #
1577
+ # @param next_page_link [String] The NextLink from the previous successful call
1578
+ # to List operation.
1579
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1580
+ # will be added to the HTTP request.
1581
+ #
1582
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1583
+ #
1584
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
1585
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
1586
+ end
1587
+
1588
+ #
1589
+ # Lists all API Management services within an Azure subscription.
1590
+ #
1591
+ # @param next_page_link [String] The NextLink from the previous successful call
1592
+ # to List operation.
1593
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1594
+ # to the HTTP request.
1595
+ #
1596
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1597
+ #
1598
+ def list_next_async(next_page_link, custom_headers:nil)
1599
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1600
+
1601
+
1602
+ request_headers = {}
1603
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1604
+
1605
+ # Set Headers
1606
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1607
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1608
+ path_template = '{nextLink}'
1609
+
1610
+ request_url = @base_url || @client.base_url
1611
+
1612
+ options = {
1613
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1614
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1615
+ headers: request_headers.merge(custom_headers || {}),
1616
+ base_url: request_url
1617
+ }
1618
+ promise = @client.make_request_async(:get, path_template, options)
1619
+
1620
+ promise = promise.then do |result|
1621
+ http_response = result.response
1622
+ status_code = http_response.status
1623
+ response_content = http_response.body
1624
+ unless status_code == 200
1625
+ error_model = JSON.load(response_content)
1626
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1627
+ end
1628
+
1629
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1630
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1631
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1632
+ # Deserialize Response
1633
+ if status_code == 200
1634
+ begin
1635
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1636
+ result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::ApiManagementServiceListResult.mapper()
1637
+ result.body = @client.deserialize(result_mapper, parsed_response)
1638
+ rescue Exception => e
1639
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1640
+ end
1641
+ end
1642
+
1643
+ result
1644
+ end
1645
+
1646
+ promise.execute
1647
+ end
1648
+
1649
+ #
1650
+ # List all API Management services within a resource group.
1651
+ #
1652
+ # @param resource_group_name [String] The name of the resource group.
1653
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1654
+ # will be added to the HTTP request.
1655
+ #
1656
+ # @return [ApiManagementServiceListResult] which provide lazy access to pages
1657
+ # of the response.
1658
+ #
1659
+ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
1660
+ response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
1661
+ unless response.nil?
1662
+ page = response.body
1663
+ page.next_method = Proc.new do |next_page_link|
1664
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
1665
+ end
1666
+ page
1667
+ end
1668
+ end
1669
+
1670
+ #
1671
+ # Lists all API Management services within an Azure subscription.
1672
+ #
1673
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1674
+ # will be added to the HTTP request.
1675
+ #
1676
+ # @return [ApiManagementServiceListResult] which provide lazy access to pages
1677
+ # of the response.
1678
+ #
1679
+ def list_as_lazy(custom_headers:nil)
1680
+ response = list_async(custom_headers:custom_headers).value!
1681
+ unless response.nil?
1682
+ page = response.body
1683
+ page.next_method = Proc.new do |next_page_link|
1684
+ list_next_async(next_page_link, custom_headers:custom_headers)
1685
+ end
1686
+ page
1687
+ end
1688
+ end
1689
+
1690
+ end
1691
+ end