azure_mgmt_api_management 0.18.2 → 0.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (616) 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/models/api_management_service_base_parameters.rb +1 -1
  4. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
  5. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
  6. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb +2 -2
  7. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
  8. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
  9. data/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
  10. data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +3 -3
  11. data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +4 -4
  12. data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +3 -3
  13. data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  14. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
  15. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
  16. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
  17. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
  18. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
  19. data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
  20. data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +3 -3
  21. data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +4 -4
  22. data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +3 -3
  23. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -10
  24. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +7 -7
  25. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +7 -7
  26. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +7 -7
  27. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  28. data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +11 -1
  29. data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -10
  30. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
  31. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
  32. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
  33. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
  34. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_sampling_contract.rb +1 -1
  35. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
  36. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
  37. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
  38. data/lib/2017-03-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
  39. data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +3 -3
  40. data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +11 -11
  41. data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +3 -3
  42. data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +3 -3
  43. data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  44. data/lib/2018-01-01/generated/azure_mgmt_api_management.rb +303 -0
  45. data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +1144 -0
  46. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +874 -0
  47. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +649 -0
  48. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +147 -0
  49. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +887 -0
  50. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +814 -0
  51. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +811 -0
  52. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +369 -0
  53. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
  54. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1914 -0
  55. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +244 -0
  56. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +905 -0
  57. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +639 -0
  58. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +589 -0
  59. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +272 -0
  60. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +893 -0
  61. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +280 -0
  62. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +738 -0
  63. data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +864 -0
  64. data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +819 -0
  65. data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +931 -0
  66. data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
  67. data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +416 -0
  68. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +812 -0
  69. data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +614 -0
  70. data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +896 -0
  71. data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +839 -0
  72. data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +657 -0
  73. data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +796 -0
  74. data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +819 -0
  75. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
  76. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
  77. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
  78. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
  79. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +288 -0
  80. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +222 -0
  81. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +313 -0
  82. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
  83. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +179 -0
  84. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
  85. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
  86. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
  87. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +322 -0
  88. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
  89. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
  90. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
  91. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
  92. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
  93. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +442 -0
  94. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
  95. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
  96. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +431 -0
  97. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
  98. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
  99. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
  100. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
  101. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
  102. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
  103. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +221 -0
  104. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
  105. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +249 -0
  106. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
  107. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
  108. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +96 -0
  109. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
  110. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
  111. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
  112. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
  113. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
  114. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
  115. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
  116. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
  117. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
  118. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
  119. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
  120. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
  121. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
  122. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
  123. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
  124. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
  125. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
  126. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
  127. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
  128. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
  129. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
  130. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
  131. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
  132. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  133. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
  134. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
  135. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
  136. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
  137. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
  138. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
  139. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
  140. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
  141. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
  142. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
  143. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
  144. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
  145. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
  146. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +74 -0
  147. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
  148. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
  149. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
  150. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
  151. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
  152. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
  153. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
  154. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/export_format.rb +17 -0
  155. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
  156. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
  157. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
  158. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
  159. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
  160. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
  161. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
  162. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
  163. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +138 -0
  164. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
  165. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
  166. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
  167. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
  168. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
  169. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
  170. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
  171. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
  172. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
  173. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
  174. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
  175. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
  176. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
  177. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  178. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  179. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
  180. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
  181. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +121 -0
  182. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
  183. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
  184. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
  185. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
  186. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
  187. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
  188. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
  189. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
  190. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
  191. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  192. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
  193. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
  194. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
  195. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
  196. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
  197. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
  198. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
  199. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
  200. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
  201. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
  202. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
  203. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
  204. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
  205. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
  206. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
  207. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
  208. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
  209. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
  210. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
  211. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
  212. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
  213. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
  214. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
  215. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
  216. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
  217. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
  218. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
  219. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
  220. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
  221. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
  222. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
  223. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
  224. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
  225. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
  226. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
  227. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
  228. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
  229. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
  230. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
  231. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
  232. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
  233. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
  234. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
  235. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
  236. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
  237. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
  238. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
  239. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
  240. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
  241. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
  242. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
  243. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
  244. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
  245. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  246. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +85 -0
  247. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  248. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  249. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  250. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
  251. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
  252. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
  253. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
  254. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
  255. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
  256. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
  257. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
  258. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
  259. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
  260. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
  261. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
  262. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
  263. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
  264. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
  265. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
  266. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
  267. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
  268. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
  269. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
  270. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +109 -0
  271. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
  272. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
  273. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
  274. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
  275. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
  276. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
  277. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
  278. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
  279. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
  280. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
  281. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
  282. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
  283. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
  284. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
  285. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
  286. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
  287. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
  288. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
  289. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
  290. data/lib/2018-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
  291. data/lib/2018-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
  292. data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +254 -0
  293. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +469 -0
  294. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +474 -0
  295. data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +495 -0
  296. data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +807 -0
  297. data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +316 -0
  298. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +526 -0
  299. data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +126 -0
  300. data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +862 -0
  301. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +654 -0
  302. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +643 -0
  303. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +571 -0
  304. data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +312 -0
  305. data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +804 -0
  306. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
  307. data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
  308. data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +230 -0
  309. data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +1690 -0
  310. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +416 -0
  311. data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +416 -0
  312. data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +1070 -0
  313. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +3081 -0
  314. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +787 -0
  315. data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +356 -0
  316. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +401 -0
  317. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
  318. data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
  319. data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +1194 -0
  320. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +287 -0
  321. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +242 -0
  322. data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +312 -0
  323. data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  324. data/lib/2019-01-01/generated/azure_mgmt_api_management.rb +313 -0
  325. data/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb +1203 -0
  326. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +878 -0
  327. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_export.rb +147 -0
  328. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb +888 -0
  329. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +811 -0
  330. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +808 -0
  331. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +373 -0
  332. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
  333. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1665 -0
  334. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +244 -0
  335. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation.rb +921 -0
  336. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +645 -0
  337. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_policy.rb +595 -0
  338. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_product.rb +272 -0
  339. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_release.rb +896 -0
  340. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_revision.rb +272 -0
  341. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_schema.rb +777 -0
  342. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_tag_description.rb +783 -0
  343. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_version_set.rb +808 -0
  344. data/lib/2019-01-01/generated/azure_mgmt_api_management/authorization_server.rb +815 -0
  345. data/lib/2019-01-01/generated/azure_mgmt_api_management/backend.rb +931 -0
  346. data/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb +795 -0
  347. data/lib/2019-01-01/generated/azure_mgmt_api_management/certificate.rb +718 -0
  348. data/lib/2019-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +423 -0
  349. data/lib/2019-01-01/generated/azure_mgmt_api_management/diagnostic.rb +816 -0
  350. data/lib/2019-01-01/generated/azure_mgmt_api_management/email_template.rb +927 -0
  351. data/lib/2019-01-01/generated/azure_mgmt_api_management/group.rb +827 -0
  352. data/lib/2019-01-01/generated/azure_mgmt_api_management/group_user.rb +633 -0
  353. data/lib/2019-01-01/generated/azure_mgmt_api_management/identity_provider.rb +796 -0
  354. data/lib/2019-01-01/generated/azure_mgmt_api_management/issue.rb +384 -0
  355. data/lib/2019-01-01/generated/azure_mgmt_api_management/logger.rb +826 -0
  356. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +79 -0
  357. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
  358. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
  359. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
  360. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
  361. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
  362. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
  363. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +335 -0
  364. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
  365. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
  366. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
  367. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
  368. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
  369. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
  370. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +337 -0
  371. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
  372. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
  373. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
  374. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
  375. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
  376. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +457 -0
  377. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
  378. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +446 -0
  379. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
  380. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
  381. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
  382. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
  383. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
  384. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
  385. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
  386. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
  387. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
  388. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
  389. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
  390. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
  391. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
  392. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
  393. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
  394. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
  395. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
  396. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
  397. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
  398. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
  399. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
  400. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
  401. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
  402. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
  403. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
  404. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
  405. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
  406. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
  407. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
  408. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
  409. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
  410. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
  411. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
  412. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
  413. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
  414. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
  415. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
  416. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
  417. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
  418. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
  419. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
  420. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
  421. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
  422. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
  423. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
  424. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
  425. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
  426. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
  427. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/content_format.rb +23 -0
  428. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
  429. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
  430. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +136 -0
  431. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
  432. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
  433. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
  434. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
  435. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
  436. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
  437. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
  438. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_format.rb +18 -0
  439. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
  440. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
  441. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
  442. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
  443. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
  444. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
  445. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
  446. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
  447. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
  448. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
  449. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
  450. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
  451. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +143 -0
  452. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +203 -0
  453. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
  454. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
  455. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +176 -0
  456. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
  457. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
  458. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
  459. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
  460. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
  461. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
  462. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
  463. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
  464. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
  465. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
  466. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
  467. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
  468. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
  469. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
  470. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
  471. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
  472. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
  473. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
  474. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
  475. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
  476. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
  477. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
  478. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
  479. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
  480. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
  481. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
  482. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
  483. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
  484. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
  485. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
  486. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
  487. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
  488. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
  489. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
  490. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
  491. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
  492. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
  493. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
  494. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
  495. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
  496. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
  497. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
  498. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
  499. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
  500. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
  501. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
  502. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
  503. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
  504. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
  505. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
  506. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
  507. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
  508. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
  509. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
  510. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
  511. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
  512. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
  513. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
  514. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
  515. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
  516. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
  517. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
  518. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
  519. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
  520. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
  521. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
  522. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
  523. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
  524. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
  525. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
  526. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
  527. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
  528. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
  529. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
  530. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
  531. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
  532. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
  533. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
  534. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
  535. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
  536. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
  537. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
  538. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
  539. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
  540. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
  541. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
  542. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +90 -0
  543. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_create_or_update_contract.rb +91 -0
  544. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
  545. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
  546. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
  547. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
  548. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +254 -0
  549. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
  550. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
  551. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
  552. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
  553. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
  554. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
  555. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
  556. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
  557. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
  558. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
  559. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
  560. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
  561. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
  562. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
  563. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
  564. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
  565. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
  566. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
  567. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
  568. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
  569. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
  570. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
  571. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
  572. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
  573. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
  574. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
  575. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
  576. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
  577. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
  578. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
  579. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
  580. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
  581. data/lib/2019-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
  582. data/lib/2019-01-01/generated/azure_mgmt_api_management/network_status.rb +254 -0
  583. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification.rb +469 -0
  584. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +474 -0
  585. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +495 -0
  586. data/lib/2019-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +803 -0
  587. data/lib/2019-01-01/generated/azure_mgmt_api_management/operation_operations.rb +304 -0
  588. data/lib/2019-01-01/generated/azure_mgmt_api_management/policy.rb +533 -0
  589. data/lib/2019-01-01/generated/azure_mgmt_api_management/policy_snippet.rb +126 -0
  590. data/lib/2019-01-01/generated/azure_mgmt_api_management/product.rb +1113 -0
  591. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_api.rb +636 -0
  592. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_group.rb +617 -0
  593. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_policy.rb +577 -0
  594. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +304 -0
  595. data/lib/2019-01-01/generated/azure_mgmt_api_management/property.rb +800 -0
  596. data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
  597. data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
  598. data/lib/2019-01-01/generated/azure_mgmt_api_management/region.rb +230 -0
  599. data/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb +2099 -0
  600. data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +423 -0
  601. data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +423 -0
  602. data/lib/2019-01-01/generated/azure_mgmt_api_management/subscription.rb +1062 -0
  603. data/lib/2019-01-01/generated/azure_mgmt_api_management/tag.rb +2998 -0
  604. data/lib/2019-01-01/generated/azure_mgmt_api_management/tag_resource.rb +316 -0
  605. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access.rb +486 -0
  606. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
  607. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
  608. data/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb +1079 -0
  609. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +119 -0
  610. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_group.rb +279 -0
  611. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_identities.rb +242 -0
  612. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_subscription.rb +300 -0
  613. data/lib/azure_mgmt_api_management.rb +2 -0
  614. data/lib/profiles/latest/modules/apimanagement_profile_module.rb +723 -663
  615. data/lib/version.rb +1 -1
  616. metadata +571 -3
@@ -498,7 +498,7 @@ module Azure::ApiManagement::Mgmt::V2017_03_01
498
498
  end
499
499
 
500
500
  #
501
- # Updates the details of a subscription specificied by its identifier.
501
+ # Updates the details of a subscription specified by its identifier.
502
502
  #
503
503
  # @param resource_group_name [String] The name of the resource group.
504
504
  # @param service_name [String] The name of the API Management service.
@@ -518,7 +518,7 @@ module Azure::ApiManagement::Mgmt::V2017_03_01
518
518
  end
519
519
 
520
520
  #
521
- # Updates the details of a subscription specificied by its identifier.
521
+ # Updates the details of a subscription specified by its identifier.
522
522
  #
523
523
  # @param resource_group_name [String] The name of the resource group.
524
524
  # @param service_name [String] The name of the API Management service.
@@ -538,7 +538,7 @@ module Azure::ApiManagement::Mgmt::V2017_03_01
538
538
  end
539
539
 
540
540
  #
541
- # Updates the details of a subscription specificied by its identifier.
541
+ # Updates the details of a subscription specified by its identifier.
542
542
  #
543
543
  # @param resource_group_name [String] The name of the resource group.
544
544
  # @param service_name [String] The name of the API Management service.
@@ -381,7 +381,7 @@ module Azure::ApiManagement::Mgmt::V2017_03_01
381
381
  end
382
382
 
383
383
  #
384
- # Create/Update tag fescription in scope of the Api.
384
+ # Create/Update tag description in scope of the Api.
385
385
  #
386
386
  # @param resource_group_name [String] The name of the resource group.
387
387
  # @param service_name [String] The name of the API Management service.
@@ -404,7 +404,7 @@ module Azure::ApiManagement::Mgmt::V2017_03_01
404
404
  end
405
405
 
406
406
  #
407
- # Create/Update tag fescription in scope of the Api.
407
+ # Create/Update tag description in scope of the Api.
408
408
  #
409
409
  # @param resource_group_name [String] The name of the resource group.
410
410
  # @param service_name [String] The name of the API Management service.
@@ -426,7 +426,7 @@ module Azure::ApiManagement::Mgmt::V2017_03_01
426
426
  end
427
427
 
428
428
  #
429
- # Create/Update tag fescription in scope of the Api.
429
+ # Create/Update tag description in scope of the Api.
430
430
  #
431
431
  # @param resource_group_name [String] The name of the resource group.
432
432
  # @param service_name [String] The name of the API Management service.
@@ -358,7 +358,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
358
358
  #
359
359
  def add_telemetry
360
360
  sdk_information = 'azure_mgmt_api_management'
361
- sdk_information = "#{sdk_information}/0.18.2"
361
+ sdk_information = "#{sdk_information}/0.18.3"
362
362
  add_user_agent_information(sdk_information)
363
363
  end
364
364
  end
@@ -0,0 +1,303 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2018-01-01/generated/azure_mgmt_api_management/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ApiManagement::Mgmt::V2018_01_01
23
+ autoload :Policy, '2018-01-01/generated/azure_mgmt_api_management/policy.rb'
24
+ autoload :PolicySnippets, '2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb'
25
+ autoload :Regions, '2018-01-01/generated/azure_mgmt_api_management/regions.rb'
26
+ autoload :Api, '2018-01-01/generated/azure_mgmt_api_management/api.rb'
27
+ autoload :ApiRevisions, '2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb'
28
+ autoload :ApiRelease, '2018-01-01/generated/azure_mgmt_api_management/api_release.rb'
29
+ autoload :ApiOperation, '2018-01-01/generated/azure_mgmt_api_management/api_operation.rb'
30
+ autoload :ApiOperationPolicy, '2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb'
31
+ autoload :ApiProduct, '2018-01-01/generated/azure_mgmt_api_management/api_product.rb'
32
+ autoload :ApiPolicy, '2018-01-01/generated/azure_mgmt_api_management/api_policy.rb'
33
+ autoload :ApiSchema, '2018-01-01/generated/azure_mgmt_api_management/api_schema.rb'
34
+ autoload :ApiDiagnostic, '2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb'
35
+ autoload :ApiDiagnosticLogger, '2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb'
36
+ autoload :ApiIssue, '2018-01-01/generated/azure_mgmt_api_management/api_issue.rb'
37
+ autoload :ApiIssueComment, '2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb'
38
+ autoload :ApiIssueAttachment, '2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb'
39
+ autoload :AuthorizationServer, '2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb'
40
+ autoload :Backend, '2018-01-01/generated/azure_mgmt_api_management/backend.rb'
41
+ autoload :Certificate, '2018-01-01/generated/azure_mgmt_api_management/certificate.rb'
42
+ autoload :ApiManagementOperations, '2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb'
43
+ autoload :ApiManagementServiceSkus, '2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb'
44
+ autoload :ApiManagementService, '2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb'
45
+ autoload :Diagnostic, '2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb'
46
+ autoload :DiagnosticLogger, '2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb'
47
+ autoload :EmailTemplate, '2018-01-01/generated/azure_mgmt_api_management/email_template.rb'
48
+ autoload :Group, '2018-01-01/generated/azure_mgmt_api_management/group.rb'
49
+ autoload :GroupUser, '2018-01-01/generated/azure_mgmt_api_management/group_user.rb'
50
+ autoload :IdentityProvider, '2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb'
51
+ autoload :Logger, '2018-01-01/generated/azure_mgmt_api_management/logger.rb'
52
+ autoload :Notification, '2018-01-01/generated/azure_mgmt_api_management/notification.rb'
53
+ autoload :NotificationRecipientUser, '2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb'
54
+ autoload :NotificationRecipientEmail, '2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb'
55
+ autoload :NetworkStatus, '2018-01-01/generated/azure_mgmt_api_management/network_status.rb'
56
+ autoload :OpenIdConnectProvider, '2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb'
57
+ autoload :SignInSettings, '2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb'
58
+ autoload :SignUpSettings, '2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb'
59
+ autoload :DelegationSettings, '2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb'
60
+ autoload :Product, '2018-01-01/generated/azure_mgmt_api_management/product.rb'
61
+ autoload :ProductApi, '2018-01-01/generated/azure_mgmt_api_management/product_api.rb'
62
+ autoload :ProductGroup, '2018-01-01/generated/azure_mgmt_api_management/product_group.rb'
63
+ autoload :ProductSubscriptions, '2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb'
64
+ autoload :ProductPolicy, '2018-01-01/generated/azure_mgmt_api_management/product_policy.rb'
65
+ autoload :Property, '2018-01-01/generated/azure_mgmt_api_management/property.rb'
66
+ autoload :QuotaByCounterKeys, '2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb'
67
+ autoload :QuotaByPeriodKeys, '2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb'
68
+ autoload :Reports, '2018-01-01/generated/azure_mgmt_api_management/reports.rb'
69
+ autoload :Subscription, '2018-01-01/generated/azure_mgmt_api_management/subscription.rb'
70
+ autoload :TagResource, '2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb'
71
+ autoload :Tag, '2018-01-01/generated/azure_mgmt_api_management/tag.rb'
72
+ autoload :TagDescription, '2018-01-01/generated/azure_mgmt_api_management/tag_description.rb'
73
+ autoload :OperationOperations, '2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb'
74
+ autoload :TenantAccess, '2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb'
75
+ autoload :TenantAccessGit, '2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb'
76
+ autoload :TenantConfiguration, '2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb'
77
+ autoload :User, '2018-01-01/generated/azure_mgmt_api_management/user.rb'
78
+ autoload :UserGroup, '2018-01-01/generated/azure_mgmt_api_management/user_group.rb'
79
+ autoload :UserSubscription, '2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb'
80
+ autoload :UserIdentities, '2018-01-01/generated/azure_mgmt_api_management/user_identities.rb'
81
+ autoload :ApiVersionSet, '2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb'
82
+ autoload :ApiExport, '2018-01-01/generated/azure_mgmt_api_management/api_export.rb'
83
+ autoload :ApiManagementClient, '2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb'
84
+
85
+ module Models
86
+ autoload :CertificateInformation, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb'
87
+ autoload :ErrorFieldContract, '2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb'
88
+ autoload :CertificateConfiguration, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb'
89
+ autoload :ErrorResponse, '2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb'
90
+ autoload :HostnameConfiguration, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb'
91
+ autoload :PolicyCollection, '2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb'
92
+ autoload :VirtualNetworkConfiguration, '2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb'
93
+ autoload :PolicySnippetsCollection, '2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb'
94
+ autoload :ApiManagementServiceSkuProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb'
95
+ autoload :RegionListResult, '2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb'
96
+ autoload :AdditionalLocation, '2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb'
97
+ autoload :ApiExportResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb'
98
+ autoload :ApiManagementServiceBackupRestoreParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb'
99
+ autoload :ResourceSkuCapacity, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb'
100
+ autoload :ResourceSkuResult, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb'
101
+ autoload :ApiCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb'
102
+ autoload :ResourceSkuResults, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb'
103
+ autoload :ApiCreateOrUpdateParameter, '2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb'
104
+ autoload :ErrorResponseBody, '2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb'
105
+ autoload :OAuth2AuthenticationSettingsContract, '2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb'
106
+ autoload :OpenIdAuthenticationSettingsContract, '2018-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb'
107
+ autoload :PropertyUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb'
108
+ autoload :SubscriptionKeyParameterNamesContract, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb'
109
+ autoload :PolicySnippetContract, '2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb'
110
+ autoload :ApiRevisionContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb'
111
+ autoload :RegionContract, '2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb'
112
+ autoload :ApiRevisionInfoContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb'
113
+ autoload :Resource, '2018-01-01/generated/azure_mgmt_api_management/models/resource.rb'
114
+ autoload :ApiReleaseCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb'
115
+ autoload :ApiVersionSetContractDetails, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb'
116
+ autoload :OperationCollection, '2018-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb'
117
+ autoload :PropertyEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb'
118
+ autoload :RepresentationContract, '2018-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb'
119
+ autoload :ApiManagementServiceBaseProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb'
120
+ autoload :ResponseContract, '2018-01-01/generated/azure_mgmt_api_management/models/response_contract.rb'
121
+ autoload :ApiManagementServiceIdentity, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb'
122
+ autoload :OperationUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb'
123
+ autoload :SchemaCollection, '2018-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb'
124
+ autoload :ApimResource, '2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb'
125
+ autoload :IssueCollection, '2018-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb'
126
+ autoload :ApiVersionSetUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb'
127
+ autoload :IssueContractBaseProperties, '2018-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb'
128
+ autoload :ApiManagementServiceListResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb'
129
+ autoload :IssueCommentCollection, '2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb'
130
+ autoload :ApiManagementServiceGetSsoTokenResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb'
131
+ autoload :IssueAttachmentCollection, '2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb'
132
+ autoload :ApiManagementServiceCheckNameAvailabilityParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb'
133
+ autoload :LoggerCollection, '2018-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb'
134
+ autoload :ApiManagementServiceNameAvailabilityResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb'
135
+ autoload :DiagnosticCollection, '2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb'
136
+ autoload :ApiManagementServiceApplyNetworkConfigurationParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb'
137
+ autoload :RequestReportCollection, '2018-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb'
138
+ autoload :ApiManagementServiceUploadCertificateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb'
139
+ autoload :RequestReportRecordContract, '2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb'
140
+ autoload :HostnameConfigurationOld, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb'
141
+ autoload :TagResourceContract, '2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb'
142
+ autoload :ApiManagementServiceUpdateHostnameParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb'
143
+ autoload :ReportCollection, '2018-01-01/generated/azure_mgmt_api_management/models/report_collection.rb'
144
+ autoload :OperationDisplay, '2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb'
145
+ autoload :ReportRecordContract, '2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb'
146
+ autoload :Operation, '2018-01-01/generated/azure_mgmt_api_management/models/operation.rb'
147
+ autoload :QuotaCounterValueContract, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb'
148
+ autoload :OperationListResult, '2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb'
149
+ autoload :AuthorizationServerContractBaseProperties, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb'
150
+ autoload :EmailTemplateParametersContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb'
151
+ autoload :X509CertificateName, '2018-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb'
152
+ autoload :ApiVersionSetEntityBase, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb'
153
+ autoload :BackendProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb'
154
+ autoload :EmailTemplateCollection, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb'
155
+ autoload :BackendProxyContract, '2018-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb'
156
+ autoload :EmailTemplateUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb'
157
+ autoload :BackendBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb'
158
+ autoload :GroupContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb'
159
+ autoload :BackendCollection, '2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb'
160
+ autoload :ApiVersionSetCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb'
161
+ autoload :QuotaCounterContract, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb'
162
+ autoload :GroupCollection, '2018-01-01/generated/azure_mgmt_api_management/models/group_collection.rb'
163
+ autoload :CertificateCollection, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb'
164
+ autoload :GroupCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb'
165
+ autoload :ResourceSku, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb'
166
+ autoload :GroupUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb'
167
+ autoload :ApiCreateOrUpdatePropertiesWsdlSelector, '2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb'
168
+ autoload :UserIdentityContract, '2018-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb'
169
+ autoload :AuthenticationSettingsContract, '2018-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb'
170
+ autoload :UserEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb'
171
+ autoload :ApiRevisionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb'
172
+ autoload :CurrentUserIdentity, '2018-01-01/generated/azure_mgmt_api_management/models/current_user_identity.rb'
173
+ autoload :TagDescriptionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb'
174
+ autoload :UserCollection, '2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb'
175
+ autoload :RequestContract, '2018-01-01/generated/azure_mgmt_api_management/models/request_contract.rb'
176
+ autoload :UserUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb'
177
+ autoload :AccessInformationUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb'
178
+ autoload :IdentityProviderList, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb'
179
+ autoload :IssueUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb'
180
+ autoload :IdentityProviderUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb'
181
+ autoload :DeployConfigurationParameters, '2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb'
182
+ autoload :IdentityProviderBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb'
183
+ autoload :SubscriptionCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb'
184
+ autoload :LoggerUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb'
185
+ autoload :OperationTagResourceContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb'
186
+ autoload :RecipientsContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb'
187
+ autoload :TagResourceCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb'
188
+ autoload :UserTokenResult, '2018-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb'
189
+ autoload :AuthorizationServerCollection, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb'
190
+ autoload :NotificationCollection, '2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb'
191
+ autoload :BackendAuthorizationHeaderCredentials, '2018-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb'
192
+ autoload :UserTokenParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb'
193
+ autoload :BackendCredentialsContract, '2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb'
194
+ autoload :RecipientUserCollection, '2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb'
195
+ autoload :QuotaCounterCollection, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb'
196
+ autoload :UserIdentityCollection, '2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb'
197
+ autoload :QuotaCounterValueContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb'
198
+ autoload :RecipientEmailCollection, '2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb'
199
+ autoload :AccessInformationContract, '2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb'
200
+ autoload :ConnectivityStatusContract, '2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb'
201
+ autoload :ApiEntityBaseContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb'
202
+ autoload :NetworkStatusContract, '2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb'
203
+ autoload :ParameterContract, '2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb'
204
+ autoload :NetworkStatusContractByLocation, '2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb'
205
+ autoload :TagCreateUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb'
206
+ autoload :UserCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb'
207
+ autoload :SubscriptionUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb'
208
+ autoload :OpenIdConnectProviderCollection, '2018-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb'
209
+ autoload :TagTagResourceContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb'
210
+ autoload :OpenidConnectProviderUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb'
211
+ autoload :TokenBodyParameterContract, '2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb'
212
+ autoload :GenerateSsoUrlResult, '2018-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb'
213
+ autoload :BackendTlsProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb'
214
+ autoload :TermsOfServiceProperties, '2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb'
215
+ autoload :CertificateCreateOrUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb'
216
+ autoload :TenantConfigurationSyncStateContract, '2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb'
217
+ autoload :TagDescriptionCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb'
218
+ autoload :SubscriptionsDelegationSettingsProperties, '2018-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb'
219
+ autoload :TagCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb'
220
+ autoload :RegistrationDelegationSettingsProperties, '2018-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb'
221
+ autoload :ProductCollection, '2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb'
222
+ autoload :SaveConfigurationParameter, '2018-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb'
223
+ autoload :BackendUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb'
224
+ autoload :ProductUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb'
225
+ autoload :OperationEntityBaseContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb'
226
+ autoload :OperationResultContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb'
227
+ autoload :BackendServiceFabricClusterProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb'
228
+ autoload :SubscriptionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb'
229
+ autoload :ProductEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb'
230
+ autoload :OperationResultLogItemContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb'
231
+ autoload :ApiUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb'
232
+ autoload :PropertyCollection, '2018-01-01/generated/azure_mgmt_api_management/models/property_collection.rb'
233
+ autoload :PolicyContract, '2018-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb'
234
+ autoload :ApiContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb'
235
+ autoload :ApiContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_contract.rb'
236
+ autoload :ApiReleaseContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb'
237
+ autoload :OperationContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb'
238
+ autoload :SchemaContract, '2018-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb'
239
+ autoload :IssueContract, '2018-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb'
240
+ autoload :IssueCommentContract, '2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb'
241
+ autoload :IssueAttachmentContract, '2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb'
242
+ autoload :LoggerContract, '2018-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb'
243
+ autoload :DiagnosticContract, '2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb'
244
+ autoload :ProductTagResourceContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb'
245
+ autoload :ApiTagResourceContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb'
246
+ autoload :ProductContract, '2018-01-01/generated/azure_mgmt_api_management/models/product_contract.rb'
247
+ autoload :AuthorizationServerContract, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb'
248
+ autoload :AuthorizationServerUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb'
249
+ autoload :BackendContract, '2018-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb'
250
+ autoload :BackendReconnectContract, '2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb'
251
+ autoload :CertificateContract, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb'
252
+ autoload :ApiManagementServiceResource, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb'
253
+ autoload :ApiManagementServiceUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb'
254
+ autoload :EmailTemplateContract, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb'
255
+ autoload :GroupContract, '2018-01-01/generated/azure_mgmt_api_management/models/group_contract.rb'
256
+ autoload :UserContract, '2018-01-01/generated/azure_mgmt_api_management/models/user_contract.rb'
257
+ autoload :IdentityProviderContract, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb'
258
+ autoload :NotificationContract, '2018-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb'
259
+ autoload :RecipientUserContract, '2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb'
260
+ autoload :RecipientEmailContract, '2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb'
261
+ autoload :OpenidConnectProviderContract, '2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb'
262
+ autoload :PortalSigninSettings, '2018-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb'
263
+ autoload :PortalSignupSettings, '2018-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb'
264
+ autoload :PortalDelegationSettings, '2018-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb'
265
+ autoload :SubscriptionContract, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb'
266
+ autoload :PropertyContract, '2018-01-01/generated/azure_mgmt_api_management/models/property_contract.rb'
267
+ autoload :TagContract, '2018-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb'
268
+ autoload :TagDescriptionContract, '2018-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb'
269
+ autoload :ApiVersionSetContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb'
270
+ autoload :PolicyContentFormat, '2018-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb'
271
+ autoload :Protocol, '2018-01-01/generated/azure_mgmt_api_management/models/protocol.rb'
272
+ autoload :ContentFormat, '2018-01-01/generated/azure_mgmt_api_management/models/content_format.rb'
273
+ autoload :SoapApiType, '2018-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb'
274
+ autoload :BearerTokenSendingMethods, '2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb'
275
+ autoload :ApiType, '2018-01-01/generated/azure_mgmt_api_management/models/api_type.rb'
276
+ autoload :State, '2018-01-01/generated/azure_mgmt_api_management/models/state.rb'
277
+ autoload :LoggerType, '2018-01-01/generated/azure_mgmt_api_management/models/logger_type.rb'
278
+ autoload :ProductState, '2018-01-01/generated/azure_mgmt_api_management/models/product_state.rb'
279
+ autoload :GrantType, '2018-01-01/generated/azure_mgmt_api_management/models/grant_type.rb'
280
+ autoload :AuthorizationMethod, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb'
281
+ autoload :ClientAuthenticationMethod, '2018-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb'
282
+ autoload :BearerTokenSendingMethod, '2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb'
283
+ autoload :BackendProtocol, '2018-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb'
284
+ autoload :SkuType, '2018-01-01/generated/azure_mgmt_api_management/models/sku_type.rb'
285
+ autoload :ResourceSkuCapacityScaleType, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb'
286
+ autoload :HostnameType, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb'
287
+ autoload :VirtualNetworkType, '2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb'
288
+ autoload :NameAvailabilityReason, '2018-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb'
289
+ autoload :GroupType, '2018-01-01/generated/azure_mgmt_api_management/models/group_type.rb'
290
+ autoload :Confirmation, '2018-01-01/generated/azure_mgmt_api_management/models/confirmation.rb'
291
+ autoload :UserState, '2018-01-01/generated/azure_mgmt_api_management/models/user_state.rb'
292
+ autoload :IdentityProviderType, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb'
293
+ autoload :ConnectivityStatusType, '2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb'
294
+ autoload :SubscriptionState, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb'
295
+ autoload :AsyncOperationStatus, '2018-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb'
296
+ autoload :KeyType, '2018-01-01/generated/azure_mgmt_api_management/models/key_type.rb'
297
+ autoload :VersioningScheme, '2018-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb'
298
+ autoload :TemplateName, '2018-01-01/generated/azure_mgmt_api_management/models/template_name.rb'
299
+ autoload :NotificationName, '2018-01-01/generated/azure_mgmt_api_management/models/notification_name.rb'
300
+ autoload :PolicyScopeContract, '2018-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb'
301
+ autoload :ExportFormat, '2018-01-01/generated/azure_mgmt_api_management/models/export_format.rb'
302
+ end
303
+ end
@@ -0,0 +1,1144 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ApiManagement::Mgmt::V2018_01_01
7
+ #
8
+ # ApiManagement Client
9
+ #
10
+ class Api
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Api 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
+ # Lists all APIs of the API Management service instance.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param service_name [String] The name of the API Management service.
29
+ # @param filter [String] | Field | Supported operators | Supported
30
+ # functions |
31
+ # |-------------|------------------------|-----------------------------------|
32
+ # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
33
+ # | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
34
+ # | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
35
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
36
+ # | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
37
+ # @param top [Integer] Number of records to return.
38
+ # @param skip [Integer] Number of records to skip.
39
+ # @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
40
+ # in response
41
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
42
+ # will be added to the HTTP request.
43
+ #
44
+ # @return [Array<ApiContract>] operation results.
45
+ #
46
+ def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
47
+ first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_api_version_set:expand_api_version_set, custom_headers:custom_headers)
48
+ first_page.get_all_items
49
+ end
50
+
51
+ #
52
+ # Lists all APIs of the API Management service instance.
53
+ #
54
+ # @param resource_group_name [String] The name of the resource group.
55
+ # @param service_name [String] The name of the API Management service.
56
+ # @param filter [String] | Field | Supported operators | Supported
57
+ # functions |
58
+ # |-------------|------------------------|-----------------------------------|
59
+ # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
60
+ # | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
61
+ # | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
62
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
63
+ # | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
64
+ # @param top [Integer] Number of records to return.
65
+ # @param skip [Integer] Number of records to skip.
66
+ # @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
67
+ # in response
68
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
69
+ # will be added to the HTTP request.
70
+ #
71
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
72
+ #
73
+ def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
74
+ list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_api_version_set:expand_api_version_set, custom_headers:custom_headers).value!
75
+ end
76
+
77
+ #
78
+ # Lists all APIs of the API Management service instance.
79
+ #
80
+ # @param resource_group_name [String] The name of the resource group.
81
+ # @param service_name [String] The name of the API Management service.
82
+ # @param filter [String] | Field | Supported operators | Supported
83
+ # functions |
84
+ # |-------------|------------------------|-----------------------------------|
85
+ # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
86
+ # | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
87
+ # | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
88
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
89
+ # | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
90
+ # @param top [Integer] Number of records to return.
91
+ # @param skip [Integer] Number of records to skip.
92
+ # @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
93
+ # in response
94
+ # @param [Hash{String => String}] A hash of custom headers that will be added
95
+ # to the HTTP request.
96
+ #
97
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
98
+ #
99
+ def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
100
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
101
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
102
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
103
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
104
+ 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?
105
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
106
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
107
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
108
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
109
+
110
+
111
+ request_headers = {}
112
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
113
+
114
+ # Set Headers
115
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
116
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
117
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis'
118
+
119
+ request_url = @base_url || @client.base_url
120
+
121
+ options = {
122
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
123
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
124
+ query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version,'expandApiVersionSet' => expand_api_version_set},
125
+ headers: request_headers.merge(custom_headers || {}),
126
+ base_url: request_url
127
+ }
128
+ promise = @client.make_request_async(:get, path_template, options)
129
+
130
+ promise = promise.then do |result|
131
+ http_response = result.response
132
+ status_code = http_response.status
133
+ response_content = http_response.body
134
+ unless status_code == 200
135
+ error_model = JSON.load(response_content)
136
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
137
+ end
138
+
139
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
140
+ # Deserialize Response
141
+ if status_code == 200
142
+ begin
143
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
144
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiCollection.mapper()
145
+ result.body = @client.deserialize(result_mapper, parsed_response)
146
+ rescue Exception => e
147
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
148
+ end
149
+ end
150
+
151
+ result
152
+ end
153
+
154
+ promise.execute
155
+ end
156
+
157
+ #
158
+ # Gets the entity state (Etag) version of the API specified by its identifier.
159
+ #
160
+ # @param resource_group_name [String] The name of the resource group.
161
+ # @param service_name [String] The name of the API Management service.
162
+ # @param api_id [String] API revision identifier. Must be unique in the current
163
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
164
+ # where n is the revision number.
165
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
166
+ # will be added to the HTTP request.
167
+ #
168
+ #
169
+ def get_entity_tag(resource_group_name, service_name, api_id, custom_headers:nil)
170
+ response = get_entity_tag_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
171
+ nil
172
+ end
173
+
174
+ #
175
+ # Gets the entity state (Etag) version of the API specified by its identifier.
176
+ #
177
+ # @param resource_group_name [String] The name of the resource group.
178
+ # @param service_name [String] The name of the API Management service.
179
+ # @param api_id [String] API revision identifier. Must be unique in the current
180
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
181
+ # where n is the revision number.
182
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
183
+ # will be added to the HTTP request.
184
+ #
185
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
186
+ #
187
+ def get_entity_tag_with_http_info(resource_group_name, service_name, api_id, custom_headers:nil)
188
+ get_entity_tag_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
189
+ end
190
+
191
+ #
192
+ # Gets the entity state (Etag) version of the API specified by its identifier.
193
+ #
194
+ # @param resource_group_name [String] The name of the resource group.
195
+ # @param service_name [String] The name of the API Management service.
196
+ # @param api_id [String] API revision identifier. Must be unique in the current
197
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
198
+ # where n is the revision number.
199
+ # @param [Hash{String => String}] A hash of custom headers that will be added
200
+ # to the HTTP request.
201
+ #
202
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
203
+ #
204
+ def get_entity_tag_async(resource_group_name, service_name, api_id, custom_headers:nil)
205
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
206
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
207
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
208
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
209
+ 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?
210
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
211
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
212
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
213
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
214
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
215
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
216
+
217
+
218
+ request_headers = {}
219
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
220
+
221
+ # Set Headers
222
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
223
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
224
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
225
+
226
+ request_url = @base_url || @client.base_url
227
+
228
+ options = {
229
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
230
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
231
+ query_params: {'api-version' => @client.api_version},
232
+ headers: request_headers.merge(custom_headers || {}),
233
+ base_url: request_url
234
+ }
235
+ promise = @client.make_request_async(:head, path_template, options)
236
+
237
+ promise = promise.then do |result|
238
+ http_response = result.response
239
+ status_code = http_response.status
240
+ response_content = http_response.body
241
+ unless status_code == 200
242
+ error_model = JSON.load(response_content)
243
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
244
+ end
245
+
246
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
247
+
248
+ result
249
+ end
250
+
251
+ promise.execute
252
+ end
253
+
254
+ #
255
+ # Gets the details of the API specified by its identifier.
256
+ #
257
+ # @param resource_group_name [String] The name of the resource group.
258
+ # @param service_name [String] The name of the API Management service.
259
+ # @param api_id [String] API revision identifier. Must be unique in the current
260
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
261
+ # where n is the revision number.
262
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
263
+ # will be added to the HTTP request.
264
+ #
265
+ # @return [ApiContract] operation results.
266
+ #
267
+ def get(resource_group_name, service_name, api_id, custom_headers:nil)
268
+ response = get_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
269
+ response.body unless response.nil?
270
+ end
271
+
272
+ #
273
+ # Gets the details of the API specified by its identifier.
274
+ #
275
+ # @param resource_group_name [String] The name of the resource group.
276
+ # @param service_name [String] The name of the API Management service.
277
+ # @param api_id [String] API revision identifier. Must be unique in the current
278
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
279
+ # where n is the revision number.
280
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
281
+ # will be added to the HTTP request.
282
+ #
283
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
284
+ #
285
+ def get_with_http_info(resource_group_name, service_name, api_id, custom_headers:nil)
286
+ get_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
287
+ end
288
+
289
+ #
290
+ # Gets the details of the API specified by its identifier.
291
+ #
292
+ # @param resource_group_name [String] The name of the resource group.
293
+ # @param service_name [String] The name of the API Management service.
294
+ # @param api_id [String] API revision identifier. Must be unique in the current
295
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
296
+ # where n is the revision number.
297
+ # @param [Hash{String => String}] A hash of custom headers that will be added
298
+ # to the HTTP request.
299
+ #
300
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
301
+ #
302
+ def get_async(resource_group_name, service_name, api_id, custom_headers:nil)
303
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
304
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
305
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
306
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
307
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
308
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
309
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
310
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
311
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
312
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
313
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
314
+
315
+
316
+ request_headers = {}
317
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
318
+
319
+ # Set Headers
320
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
321
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
322
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
323
+
324
+ request_url = @base_url || @client.base_url
325
+
326
+ options = {
327
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
328
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
329
+ query_params: {'api-version' => @client.api_version},
330
+ headers: request_headers.merge(custom_headers || {}),
331
+ base_url: request_url
332
+ }
333
+ promise = @client.make_request_async(:get, path_template, options)
334
+
335
+ promise = promise.then do |result|
336
+ http_response = result.response
337
+ status_code = http_response.status
338
+ response_content = http_response.body
339
+ unless status_code == 200
340
+ error_model = JSON.load(response_content)
341
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
342
+ end
343
+
344
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
345
+ # Deserialize Response
346
+ if status_code == 200
347
+ begin
348
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
349
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiContract.mapper()
350
+ result.body = @client.deserialize(result_mapper, parsed_response)
351
+ rescue Exception => e
352
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
353
+ end
354
+ end
355
+
356
+ result
357
+ end
358
+
359
+ promise.execute
360
+ end
361
+
362
+ #
363
+ # Creates new or updates existing specified API of the API Management service
364
+ # instance.
365
+ #
366
+ # @param resource_group_name [String] The name of the resource group.
367
+ # @param service_name [String] The name of the API Management service.
368
+ # @param api_id [String] API revision identifier. Must be unique in the current
369
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
370
+ # where n is the revision number.
371
+ # @param parameters [ApiCreateOrUpdateParameter] Create or update parameters.
372
+ # @param if_match [String] ETag of the Entity. Not required when creating an
373
+ # entity, but required when updating an entity.
374
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
375
+ # will be added to the HTTP request.
376
+ #
377
+ # @return [ApiContract] operation results.
378
+ #
379
+ def create_or_update(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
380
+ response = create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
381
+ response.body unless response.nil?
382
+ end
383
+
384
+ #
385
+ # Creates new or updates existing specified API of the API Management service
386
+ # instance.
387
+ #
388
+ # @param resource_group_name [String] The name of the resource group.
389
+ # @param service_name [String] The name of the API Management service.
390
+ # @param api_id [String] API revision identifier. Must be unique in the current
391
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
392
+ # where n is the revision number.
393
+ # @param parameters [ApiCreateOrUpdateParameter] Create or update parameters.
394
+ # @param if_match [String] ETag of the Entity. Not required when creating an
395
+ # entity, but required when updating an entity.
396
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
397
+ # will be added to the HTTP request.
398
+ #
399
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
400
+ #
401
+ def create_or_update_with_http_info(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
402
+ create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
403
+ end
404
+
405
+ #
406
+ # Creates new or updates existing specified API of the API Management service
407
+ # instance.
408
+ #
409
+ # @param resource_group_name [String] The name of the resource group.
410
+ # @param service_name [String] The name of the API Management service.
411
+ # @param api_id [String] API revision identifier. Must be unique in the current
412
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
413
+ # where n is the revision number.
414
+ # @param parameters [ApiCreateOrUpdateParameter] Create or update parameters.
415
+ # @param if_match [String] ETag of the Entity. Not required when creating an
416
+ # entity, but required when updating an entity.
417
+ # @param [Hash{String => String}] A hash of custom headers that will be added
418
+ # to the HTTP request.
419
+ #
420
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
421
+ #
422
+ def create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
423
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
424
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
425
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
426
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
427
+ 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?
428
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
429
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
430
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
431
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
432
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
433
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
434
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
435
+
436
+
437
+ request_headers = {}
438
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
439
+
440
+ # Set Headers
441
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
442
+ request_headers['If-Match'] = if_match unless if_match.nil?
443
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
444
+
445
+ # Serialize Request
446
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiCreateOrUpdateParameter.mapper()
447
+ request_content = @client.serialize(request_mapper, parameters)
448
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
449
+
450
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
451
+
452
+ request_url = @base_url || @client.base_url
453
+
454
+ options = {
455
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
456
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
457
+ query_params: {'api-version' => @client.api_version},
458
+ body: request_content,
459
+ headers: request_headers.merge(custom_headers || {}),
460
+ base_url: request_url
461
+ }
462
+ promise = @client.make_request_async(:put, path_template, options)
463
+
464
+ promise = promise.then do |result|
465
+ http_response = result.response
466
+ status_code = http_response.status
467
+ response_content = http_response.body
468
+ unless status_code == 201 || status_code == 200
469
+ error_model = JSON.load(response_content)
470
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
471
+ end
472
+
473
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
474
+ # Deserialize Response
475
+ if status_code == 201
476
+ begin
477
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
478
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiContract.mapper()
479
+ result.body = @client.deserialize(result_mapper, parsed_response)
480
+ rescue Exception => e
481
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
482
+ end
483
+ end
484
+ # Deserialize Response
485
+ if status_code == 200
486
+ begin
487
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
488
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiContract.mapper()
489
+ result.body = @client.deserialize(result_mapper, parsed_response)
490
+ rescue Exception => e
491
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
492
+ end
493
+ end
494
+
495
+ result
496
+ end
497
+
498
+ promise.execute
499
+ end
500
+
501
+ #
502
+ # Updates the specified API of the API Management service instance.
503
+ #
504
+ # @param resource_group_name [String] The name of the resource group.
505
+ # @param service_name [String] The name of the API Management service.
506
+ # @param api_id [String] API revision identifier. Must be unique in the current
507
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
508
+ # where n is the revision number.
509
+ # @param parameters [ApiUpdateContract] API Update Contract parameters.
510
+ # @param if_match [String] ETag of the Entity. ETag should match the current
511
+ # entity state from the header response of the GET request or it should be *
512
+ # for unconditional update.
513
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
514
+ # will be added to the HTTP request.
515
+ #
516
+ #
517
+ def update(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:nil)
518
+ response = update_async(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:custom_headers).value!
519
+ nil
520
+ end
521
+
522
+ #
523
+ # Updates the specified API of the API Management service instance.
524
+ #
525
+ # @param resource_group_name [String] The name of the resource group.
526
+ # @param service_name [String] The name of the API Management service.
527
+ # @param api_id [String] API revision identifier. Must be unique in the current
528
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
529
+ # where n is the revision number.
530
+ # @param parameters [ApiUpdateContract] API Update Contract parameters.
531
+ # @param if_match [String] ETag of the Entity. ETag should match the current
532
+ # entity state from the header response of the GET request or it should be *
533
+ # for unconditional update.
534
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
535
+ # will be added to the HTTP request.
536
+ #
537
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
538
+ #
539
+ def update_with_http_info(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:nil)
540
+ update_async(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:custom_headers).value!
541
+ end
542
+
543
+ #
544
+ # Updates the specified API of the API Management service instance.
545
+ #
546
+ # @param resource_group_name [String] The name of the resource group.
547
+ # @param service_name [String] The name of the API Management service.
548
+ # @param api_id [String] API revision identifier. Must be unique in the current
549
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
550
+ # where n is the revision number.
551
+ # @param parameters [ApiUpdateContract] API Update Contract parameters.
552
+ # @param if_match [String] ETag of the Entity. ETag should match the current
553
+ # entity state from the header response of the GET request or it should be *
554
+ # for unconditional update.
555
+ # @param [Hash{String => String}] A hash of custom headers that will be added
556
+ # to the HTTP request.
557
+ #
558
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
559
+ #
560
+ def update_async(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:nil)
561
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
562
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
563
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
564
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
565
+ 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?
566
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
567
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
568
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
569
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
570
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
571
+ fail ArgumentError, 'if_match is nil' if if_match.nil?
572
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
573
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
574
+
575
+
576
+ request_headers = {}
577
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
578
+
579
+ # Set Headers
580
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
581
+ request_headers['If-Match'] = if_match unless if_match.nil?
582
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
583
+
584
+ # Serialize Request
585
+ request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiUpdateContract.mapper()
586
+ request_content = @client.serialize(request_mapper, parameters)
587
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
588
+
589
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
590
+
591
+ request_url = @base_url || @client.base_url
592
+
593
+ options = {
594
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
595
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
596
+ query_params: {'api-version' => @client.api_version},
597
+ body: request_content,
598
+ headers: request_headers.merge(custom_headers || {}),
599
+ base_url: request_url
600
+ }
601
+ promise = @client.make_request_async(:patch, path_template, options)
602
+
603
+ promise = promise.then do |result|
604
+ http_response = result.response
605
+ status_code = http_response.status
606
+ response_content = http_response.body
607
+ unless status_code == 204
608
+ error_model = JSON.load(response_content)
609
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
610
+ end
611
+
612
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
613
+
614
+ result
615
+ end
616
+
617
+ promise.execute
618
+ end
619
+
620
+ #
621
+ # Deletes the specified API of the API Management service instance.
622
+ #
623
+ # @param resource_group_name [String] The name of the resource group.
624
+ # @param service_name [String] The name of the API Management service.
625
+ # @param api_id [String] API revision identifier. Must be unique in the current
626
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
627
+ # where n is the revision number.
628
+ # @param if_match [String] ETag of the Entity. ETag should match the current
629
+ # entity state from the header response of the GET request or it should be *
630
+ # for unconditional update.
631
+ # @param delete_revisions [Boolean] Delete all revisions of the Api.
632
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
633
+ # will be added to the HTTP request.
634
+ #
635
+ #
636
+ def delete(resource_group_name, service_name, api_id, if_match, delete_revisions:nil, custom_headers:nil)
637
+ response = delete_async(resource_group_name, service_name, api_id, if_match, delete_revisions:delete_revisions, custom_headers:custom_headers).value!
638
+ nil
639
+ end
640
+
641
+ #
642
+ # Deletes the specified API of the API Management service instance.
643
+ #
644
+ # @param resource_group_name [String] The name of the resource group.
645
+ # @param service_name [String] The name of the API Management service.
646
+ # @param api_id [String] API revision identifier. Must be unique in the current
647
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
648
+ # where n is the revision number.
649
+ # @param if_match [String] ETag of the Entity. ETag should match the current
650
+ # entity state from the header response of the GET request or it should be *
651
+ # for unconditional update.
652
+ # @param delete_revisions [Boolean] Delete all revisions of the Api.
653
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
654
+ # will be added to the HTTP request.
655
+ #
656
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
657
+ #
658
+ def delete_with_http_info(resource_group_name, service_name, api_id, if_match, delete_revisions:nil, custom_headers:nil)
659
+ delete_async(resource_group_name, service_name, api_id, if_match, delete_revisions:delete_revisions, custom_headers:custom_headers).value!
660
+ end
661
+
662
+ #
663
+ # Deletes the specified API of the API Management service instance.
664
+ #
665
+ # @param resource_group_name [String] The name of the resource group.
666
+ # @param service_name [String] The name of the API Management service.
667
+ # @param api_id [String] API revision identifier. Must be unique in the current
668
+ # API Management service instance. Non-current revision has ;rev=n as a suffix
669
+ # where n is the revision number.
670
+ # @param if_match [String] ETag of the Entity. ETag should match the current
671
+ # entity state from the header response of the GET request or it should be *
672
+ # for unconditional update.
673
+ # @param delete_revisions [Boolean] Delete all revisions of the Api.
674
+ # @param [Hash{String => String}] A hash of custom headers that will be added
675
+ # to the HTTP request.
676
+ #
677
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
678
+ #
679
+ def delete_async(resource_group_name, service_name, api_id, if_match, delete_revisions:nil, custom_headers:nil)
680
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
681
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
682
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
683
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
684
+ 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?
685
+ fail ArgumentError, 'api_id is nil' if api_id.nil?
686
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
687
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
688
+ fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
689
+ fail ArgumentError, 'if_match is nil' if if_match.nil?
690
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
691
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
692
+
693
+
694
+ request_headers = {}
695
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
696
+
697
+ # Set Headers
698
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
699
+ request_headers['If-Match'] = if_match unless if_match.nil?
700
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
701
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
702
+
703
+ request_url = @base_url || @client.base_url
704
+
705
+ options = {
706
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
707
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
708
+ query_params: {'deleteRevisions' => delete_revisions,'api-version' => @client.api_version},
709
+ headers: request_headers.merge(custom_headers || {}),
710
+ base_url: request_url
711
+ }
712
+ promise = @client.make_request_async(:delete, path_template, options)
713
+
714
+ promise = promise.then do |result|
715
+ http_response = result.response
716
+ status_code = http_response.status
717
+ response_content = http_response.body
718
+ unless status_code == 200 || status_code == 204
719
+ error_model = JSON.load(response_content)
720
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
721
+ end
722
+
723
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
724
+
725
+ result
726
+ end
727
+
728
+ promise.execute
729
+ end
730
+
731
+ #
732
+ # Lists a collection of apis associated with tags.
733
+ #
734
+ # @param resource_group_name [String] The name of the resource group.
735
+ # @param service_name [String] The name of the API Management service.
736
+ # @param filter [String] | Field | Supported operators | Supported
737
+ # functions |
738
+ # |-------------|------------------------|---------------------------------------------|
739
+ # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
740
+ # endswith |
741
+ # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
742
+ # endswith |
743
+ # | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
744
+ # endswith |
745
+ # | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
746
+ # endswith |
747
+ # | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
748
+ # endswith |
749
+ # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
750
+ # endswith |
751
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
752
+ # endswith |
753
+ # | isCurrent | eq | substringof, contains, startswith,
754
+ # endswith |
755
+ # @param top [Integer] Number of records to return.
756
+ # @param skip [Integer] Number of records to skip.
757
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
758
+ # will be added to the HTTP request.
759
+ #
760
+ # @return [Array<TagResourceContract>] operation results.
761
+ #
762
+ def list_by_tags(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
763
+ first_page = list_by_tags_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
764
+ first_page.get_all_items
765
+ end
766
+
767
+ #
768
+ # Lists a collection of apis associated with tags.
769
+ #
770
+ # @param resource_group_name [String] The name of the resource group.
771
+ # @param service_name [String] The name of the API Management service.
772
+ # @param filter [String] | Field | Supported operators | Supported
773
+ # functions |
774
+ # |-------------|------------------------|---------------------------------------------|
775
+ # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
776
+ # endswith |
777
+ # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
778
+ # endswith |
779
+ # | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
780
+ # endswith |
781
+ # | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
782
+ # endswith |
783
+ # | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
784
+ # endswith |
785
+ # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
786
+ # endswith |
787
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
788
+ # endswith |
789
+ # | isCurrent | eq | substringof, contains, startswith,
790
+ # endswith |
791
+ # @param top [Integer] Number of records to return.
792
+ # @param skip [Integer] Number of records to skip.
793
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
794
+ # will be added to the HTTP request.
795
+ #
796
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
797
+ #
798
+ def list_by_tags_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
799
+ list_by_tags_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
800
+ end
801
+
802
+ #
803
+ # Lists a collection of apis associated with tags.
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 filter [String] | Field | Supported operators | Supported
808
+ # functions |
809
+ # |-------------|------------------------|---------------------------------------------|
810
+ # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
811
+ # endswith |
812
+ # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
813
+ # endswith |
814
+ # | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
815
+ # endswith |
816
+ # | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
817
+ # endswith |
818
+ # | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
819
+ # endswith |
820
+ # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
821
+ # endswith |
822
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
823
+ # endswith |
824
+ # | isCurrent | eq | substringof, contains, startswith,
825
+ # endswith |
826
+ # @param top [Integer] Number of records to return.
827
+ # @param skip [Integer] Number of records to skip.
828
+ # @param [Hash{String => String}] A hash of custom headers that will be added
829
+ # to the HTTP request.
830
+ #
831
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
832
+ #
833
+ def list_by_tags_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
834
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
835
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
836
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
837
+ fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
838
+ 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?
839
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
840
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
841
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
842
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
843
+
844
+
845
+ request_headers = {}
846
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
847
+
848
+ # Set Headers
849
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
850
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
851
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags'
852
+
853
+ request_url = @base_url || @client.base_url
854
+
855
+ options = {
856
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
857
+ path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
858
+ query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
859
+ headers: request_headers.merge(custom_headers || {}),
860
+ base_url: request_url
861
+ }
862
+ promise = @client.make_request_async(:get, path_template, options)
863
+
864
+ promise = promise.then do |result|
865
+ http_response = result.response
866
+ status_code = http_response.status
867
+ response_content = http_response.body
868
+ unless status_code == 200
869
+ error_model = JSON.load(response_content)
870
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
871
+ end
872
+
873
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
874
+ # Deserialize Response
875
+ if status_code == 200
876
+ begin
877
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
878
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::TagResourceCollection.mapper()
879
+ result.body = @client.deserialize(result_mapper, parsed_response)
880
+ rescue Exception => e
881
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
882
+ end
883
+ end
884
+
885
+ result
886
+ end
887
+
888
+ promise.execute
889
+ end
890
+
891
+ #
892
+ # Lists all APIs of the API Management service instance.
893
+ #
894
+ # @param next_page_link [String] The NextLink from the previous successful call
895
+ # to List operation.
896
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
897
+ # will be added to the HTTP request.
898
+ #
899
+ # @return [ApiCollection] operation results.
900
+ #
901
+ def list_by_service_next(next_page_link, custom_headers:nil)
902
+ response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
903
+ response.body unless response.nil?
904
+ end
905
+
906
+ #
907
+ # Lists all APIs of the API Management service instance.
908
+ #
909
+ # @param next_page_link [String] The NextLink from the previous successful call
910
+ # to List operation.
911
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
912
+ # will be added to the HTTP request.
913
+ #
914
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
915
+ #
916
+ def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
917
+ list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
918
+ end
919
+
920
+ #
921
+ # Lists all APIs of the API Management service instance.
922
+ #
923
+ # @param next_page_link [String] The NextLink from the previous successful call
924
+ # to List operation.
925
+ # @param [Hash{String => String}] A hash of custom headers that will be added
926
+ # to the HTTP request.
927
+ #
928
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
929
+ #
930
+ def list_by_service_next_async(next_page_link, custom_headers:nil)
931
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
932
+
933
+
934
+ request_headers = {}
935
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
936
+
937
+ # Set Headers
938
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
939
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
940
+ path_template = '{nextLink}'
941
+
942
+ request_url = @base_url || @client.base_url
943
+
944
+ options = {
945
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
946
+ skip_encoding_path_params: {'nextLink' => next_page_link},
947
+ headers: request_headers.merge(custom_headers || {}),
948
+ base_url: request_url
949
+ }
950
+ promise = @client.make_request_async(:get, path_template, options)
951
+
952
+ promise = promise.then do |result|
953
+ http_response = result.response
954
+ status_code = http_response.status
955
+ response_content = http_response.body
956
+ unless status_code == 200
957
+ error_model = JSON.load(response_content)
958
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
959
+ end
960
+
961
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
962
+ # Deserialize Response
963
+ if status_code == 200
964
+ begin
965
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
966
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiCollection.mapper()
967
+ result.body = @client.deserialize(result_mapper, parsed_response)
968
+ rescue Exception => e
969
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
970
+ end
971
+ end
972
+
973
+ result
974
+ end
975
+
976
+ promise.execute
977
+ end
978
+
979
+ #
980
+ # Lists a collection of apis associated with tags.
981
+ #
982
+ # @param next_page_link [String] The NextLink from the previous successful call
983
+ # to List operation.
984
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
985
+ # will be added to the HTTP request.
986
+ #
987
+ # @return [TagResourceCollection] operation results.
988
+ #
989
+ def list_by_tags_next(next_page_link, custom_headers:nil)
990
+ response = list_by_tags_next_async(next_page_link, custom_headers:custom_headers).value!
991
+ response.body unless response.nil?
992
+ end
993
+
994
+ #
995
+ # Lists a collection of apis associated with tags.
996
+ #
997
+ # @param next_page_link [String] The NextLink from the previous successful call
998
+ # to List operation.
999
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1000
+ # will be added to the HTTP request.
1001
+ #
1002
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1003
+ #
1004
+ def list_by_tags_next_with_http_info(next_page_link, custom_headers:nil)
1005
+ list_by_tags_next_async(next_page_link, custom_headers:custom_headers).value!
1006
+ end
1007
+
1008
+ #
1009
+ # Lists a collection of apis associated with tags.
1010
+ #
1011
+ # @param next_page_link [String] The NextLink from the previous successful call
1012
+ # to List operation.
1013
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1014
+ # to the HTTP request.
1015
+ #
1016
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1017
+ #
1018
+ def list_by_tags_next_async(next_page_link, custom_headers:nil)
1019
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1020
+
1021
+
1022
+ request_headers = {}
1023
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1024
+
1025
+ # Set Headers
1026
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1027
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1028
+ path_template = '{nextLink}'
1029
+
1030
+ request_url = @base_url || @client.base_url
1031
+
1032
+ options = {
1033
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1034
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1035
+ headers: request_headers.merge(custom_headers || {}),
1036
+ base_url: request_url
1037
+ }
1038
+ promise = @client.make_request_async(:get, path_template, options)
1039
+
1040
+ promise = promise.then do |result|
1041
+ http_response = result.response
1042
+ status_code = http_response.status
1043
+ response_content = http_response.body
1044
+ unless status_code == 200
1045
+ error_model = JSON.load(response_content)
1046
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1047
+ end
1048
+
1049
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1050
+ # Deserialize Response
1051
+ if status_code == 200
1052
+ begin
1053
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1054
+ result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::TagResourceCollection.mapper()
1055
+ result.body = @client.deserialize(result_mapper, parsed_response)
1056
+ rescue Exception => e
1057
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1058
+ end
1059
+ end
1060
+
1061
+ result
1062
+ end
1063
+
1064
+ promise.execute
1065
+ end
1066
+
1067
+ #
1068
+ # Lists all APIs of the API Management service instance.
1069
+ #
1070
+ # @param resource_group_name [String] The name of the resource group.
1071
+ # @param service_name [String] The name of the API Management service.
1072
+ # @param filter [String] | Field | Supported operators | Supported
1073
+ # functions |
1074
+ # |-------------|------------------------|-----------------------------------|
1075
+ # | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
1076
+ # | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
1077
+ # | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
1078
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
1079
+ # | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
1080
+ # @param top [Integer] Number of records to return.
1081
+ # @param skip [Integer] Number of records to skip.
1082
+ # @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
1083
+ # in response
1084
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1085
+ # will be added to the HTTP request.
1086
+ #
1087
+ # @return [ApiCollection] which provide lazy access to pages of the response.
1088
+ #
1089
+ def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
1090
+ response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_api_version_set:expand_api_version_set, custom_headers:custom_headers).value!
1091
+ unless response.nil?
1092
+ page = response.body
1093
+ page.next_method = Proc.new do |next_page_link|
1094
+ list_by_service_next_async(next_page_link, custom_headers:custom_headers)
1095
+ end
1096
+ page
1097
+ end
1098
+ end
1099
+
1100
+ #
1101
+ # Lists a collection of apis associated with tags.
1102
+ #
1103
+ # @param resource_group_name [String] The name of the resource group.
1104
+ # @param service_name [String] The name of the API Management service.
1105
+ # @param filter [String] | Field | Supported operators | Supported
1106
+ # functions |
1107
+ # |-------------|------------------------|---------------------------------------------|
1108
+ # | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1109
+ # endswith |
1110
+ # | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1111
+ # endswith |
1112
+ # | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1113
+ # endswith |
1114
+ # | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1115
+ # endswith |
1116
+ # | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1117
+ # endswith |
1118
+ # | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1119
+ # endswith |
1120
+ # | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
1121
+ # endswith |
1122
+ # | isCurrent | eq | substringof, contains, startswith,
1123
+ # endswith |
1124
+ # @param top [Integer] Number of records to return.
1125
+ # @param skip [Integer] Number of records to skip.
1126
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1127
+ # will be added to the HTTP request.
1128
+ #
1129
+ # @return [TagResourceCollection] which provide lazy access to pages of the
1130
+ # response.
1131
+ #
1132
+ def list_by_tags_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
1133
+ response = list_by_tags_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
1134
+ unless response.nil?
1135
+ page = response.body
1136
+ page.next_method = Proc.new do |next_page_link|
1137
+ list_by_tags_next_async(next_page_link, custom_headers:custom_headers)
1138
+ end
1139
+ page
1140
+ end
1141
+ end
1142
+
1143
+ end
1144
+ end