azure_mgmt_logic 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/logic_management_client.rb +1 -1
  3. data/lib/2016-06-01/generated/azure_mgmt_logic.rb +71 -64
  4. data/lib/2016-06-01/generated/azure_mgmt_logic/logic_management_client.rb +11 -1
  5. data/lib/2016-06-01/generated/azure_mgmt_logic/models/request.rb +68 -0
  6. data/lib/2016-06-01/generated/azure_mgmt_logic/models/request_history.rb +98 -0
  7. data/lib/2016-06-01/generated/azure_mgmt_logic/models/request_history_list_result.rb +98 -0
  8. data/lib/2016-06-01/generated/azure_mgmt_logic/models/request_history_properties.rb +81 -0
  9. data/lib/2016-06-01/generated/azure_mgmt_logic/models/response.rb +69 -0
  10. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_repetitions_request_histories.rb +350 -0
  11. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_request_histories.rb +341 -0
  12. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb +1 -1
  13. data/lib/2018-07-01-preview/generated/azure_mgmt_logic.rb +223 -0
  14. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_agreements.rb +647 -0
  15. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_assemblies.rb +511 -0
  16. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_batch_configurations.rb +415 -0
  17. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_certificates.rb +532 -0
  18. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_maps.rb +644 -0
  19. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_partners.rb +644 -0
  20. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_schemas.rb +644 -0
  21. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_account_sessions.rb +537 -0
  22. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/integration_accounts.rb +1218 -0
  23. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/logic_management_client.rb +219 -0
  24. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/agreement_content.rb +71 -0
  25. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/agreement_type.rb +18 -0
  26. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/artifact_content_properties_definition.rb +93 -0
  27. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/artifact_properties.rb +68 -0
  28. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb +83 -0
  29. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2agreement_content.rb +59 -0
  30. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2envelope_settings.rb +93 -0
  31. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2error_settings.rb +59 -0
  32. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2mdn_settings.rb +141 -0
  33. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2message_connection_settings.rb +83 -0
  34. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2one_way_agreement.rb +71 -0
  35. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2protocol_settings.rb +120 -0
  36. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2security_settings.rb +153 -0
  37. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2validation_settings.rb +157 -0
  38. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/assembly_collection.rb +55 -0
  39. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/assembly_definition.rb +98 -0
  40. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/assembly_properties.rb +128 -0
  41. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/azure_resource_error_info.rb +74 -0
  42. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/b2bpartner_content.rb +56 -0
  43. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/batch_configuration.rb +99 -0
  44. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/batch_configuration_collection.rb +55 -0
  45. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/batch_configuration_properties.rb +82 -0
  46. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/batch_release_criteria.rb +69 -0
  47. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/business_identity.rb +58 -0
  48. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/callback_url.rb +46 -0
  49. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/content_hash.rb +57 -0
  50. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/content_link.rb +91 -0
  51. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/correlation.rb +46 -0
  52. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/day_of_week.rb +21 -0
  53. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/days_of_week.rb +21 -0
  54. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_acknowledgement_settings.rb +163 -0
  55. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_agreement_content.rb +59 -0
  56. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_character_set.rb +29 -0
  57. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_decimal_indicator.rb +17 -0
  58. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb +172 -0
  59. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_envelope_override.rb +204 -0
  60. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_envelope_settings.rb +494 -0
  61. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_framing_settings.rb +164 -0
  62. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_message_filter.rb +47 -0
  63. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_message_identifier.rb +47 -0
  64. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_one_way_agreement.rb +71 -0
  65. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_processing_settings.rb +94 -0
  66. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_protocol_settings.rb +212 -0
  67. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_schema_reference.rb +112 -0
  68. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_validation_override.rb +118 -0
  69. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/edifact_validation_settings.rb +155 -0
  70. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/encryption_algorithm.rb +21 -0
  71. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/error_info.rb +46 -0
  72. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/error_properties.rb +58 -0
  73. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/error_response.rb +48 -0
  74. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/event_level.rb +20 -0
  75. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/expression.rb +90 -0
  76. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/expression_root.rb +89 -0
  77. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/expression_traces.rb +56 -0
  78. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/generate_upgraded_definition_parameters.rb +46 -0
  79. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/get_callback_url_parameters.rb +58 -0
  80. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/hashing_algorithm.rb +21 -0
  81. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account.rb +109 -0
  82. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_agreement.rb +194 -0
  83. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_agreement_filter.rb +49 -0
  84. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_agreement_list_result.rb +99 -0
  85. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_certificate.rb +144 -0
  86. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_certificate_list_result.rb +100 -0
  87. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_list_result.rb +98 -0
  88. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_map.rb +181 -0
  89. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_map_filter.rb +47 -0
  90. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_map_list_result.rb +99 -0
  91. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_map_properties_parameters_schema.rb +47 -0
  92. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_partner.rb +145 -0
  93. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_partner_filter.rb +47 -0
  94. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_partner_list_result.rb +99 -0
  95. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_schema.rb +201 -0
  96. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_schema_filter.rb +47 -0
  97. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_schema_list_result.rb +99 -0
  98. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_session.rb +121 -0
  99. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_session_filter.rb +46 -0
  100. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_session_list_result.rb +99 -0
  101. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_sku.rb +47 -0
  102. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_sku_name.rb +18 -0
  103. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/json_schema.rb +57 -0
  104. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/key_type.rb +17 -0
  105. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/key_vault_key.rb +58 -0
  106. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/key_vault_key_attributes.rb +68 -0
  107. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/key_vault_key_collection.rb +66 -0
  108. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/key_vault_key_reference.rb +69 -0
  109. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/key_vault_key_reference_key_vault.rb +70 -0
  110. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/key_vault_reference.rb +61 -0
  111. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/list_key_vault_keys_definition.rb +58 -0
  112. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/map_type.rb +19 -0
  113. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/message_filter_type.rb +17 -0
  114. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation.rb +58 -0
  115. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_display.rb +69 -0
  116. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_list_result.rb +101 -0
  117. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result.rb +189 -0
  118. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb +105 -0
  119. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/parameter_type.rb +23 -0
  120. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/partner_content.rb +47 -0
  121. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/partner_type.rb +16 -0
  122. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/recurrence_frequency.rb +22 -0
  123. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/recurrence_schedule.rb +132 -0
  124. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb +60 -0
  125. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/regenerate_action_parameter.rb +47 -0
  126. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/repetition_index.rb +57 -0
  127. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request.rb +68 -0
  128. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request_history.rb +98 -0
  129. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request_history_list_result.rb +98 -0
  130. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request_history_properties.rb +81 -0
  131. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/resource.rb +110 -0
  132. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/resource_reference.rb +70 -0
  133. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/response.rb +69 -0
  134. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/retry_history.rb +102 -0
  135. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/run_action_correlation.rb +70 -0
  136. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/run_correlation.rb +65 -0
  137. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/schema_type.rb +16 -0
  138. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/segment_terminator_suffix.rb +19 -0
  139. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/set_trigger_state_action_definition.rb +48 -0
  140. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/signing_algorithm.rb +20 -0
  141. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/sku.rb +59 -0
  142. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/sku_name.rb +20 -0
  143. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/sub_resource.rb +47 -0
  144. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/track_events_operation_options.rb +16 -0
  145. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/tracking_event.rb +91 -0
  146. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/tracking_event_error_info.rb +58 -0
  147. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/tracking_events_definition.rb +79 -0
  148. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/tracking_record_type.rb +30 -0
  149. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/trailing_separator_policy.rb +18 -0
  150. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/usage_indicator.rb +18 -0
  151. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow.rb +218 -0
  152. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_filter.rb +48 -0
  153. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_list_result.rb +98 -0
  154. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_output_parameter.rb +79 -0
  155. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_parameter.rb +81 -0
  156. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_provisioning_state.rb +32 -0
  157. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb +227 -0
  158. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_action.rb +213 -0
  159. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_action_filter.rb +49 -0
  160. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_action_list_result.rb +98 -0
  161. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition.rb +281 -0
  162. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition_collection.rb +56 -0
  163. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_filter.rb +49 -0
  164. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_list_result.rb +98 -0
  165. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_run_trigger.rb +208 -0
  166. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_state.rb +20 -0
  167. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_status.rb +27 -0
  168. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger.rb +188 -0
  169. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_callback_url.rb +116 -0
  170. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_filter.rb +48 -0
  171. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_history.rb +206 -0
  172. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_history_filter.rb +49 -0
  173. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_history_list_result.rb +99 -0
  174. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_list_callback_url_queries.rb +90 -0
  175. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_list_result.rb +98 -0
  176. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_provisioning_state.rb +32 -0
  177. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb +104 -0
  178. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_version.rb +202 -0
  179. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/workflow_version_list_result.rb +98 -0
  180. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12acknowledgement_settings.rb +209 -0
  181. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12agreement_content.rb +59 -0
  182. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12character_set.rb +18 -0
  183. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12date_format.rb +17 -0
  184. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12delimiter_overrides.rb +138 -0
  185. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12envelope_override.rb +150 -0
  186. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12envelope_settings.rb +308 -0
  187. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12framing_settings.rb +116 -0
  188. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12message_filter.rb +47 -0
  189. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12message_identifier.rb +46 -0
  190. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12one_way_agreement.rb +71 -0
  191. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12processing_settings.rb +106 -0
  192. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12protocol_settings.rb +222 -0
  193. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12schema_reference.rb +79 -0
  194. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12security_settings.rb +79 -0
  195. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12time_format.rb +19 -0
  196. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12validation_override.rb +118 -0
  197. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/models/x12validation_settings.rb +155 -0
  198. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/module_definition.rb +9 -0
  199. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/operations.rb +215 -0
  200. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_run_action_repetitions.rb +333 -0
  201. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_run_action_repetitions_request_histories.rb +350 -0
  202. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_run_action_request_histories.rb +341 -0
  203. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_run_action_scope_repetitions.rb +229 -0
  204. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_run_actions.rb +444 -0
  205. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_run_operations.rb +125 -0
  206. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_runs.rb +420 -0
  207. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_trigger_histories.rb +439 -0
  208. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_triggers.rb +793 -0
  209. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_version_triggers.rb +135 -0
  210. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflow_versions.rb +327 -0
  211. data/lib/2018-07-01-preview/generated/azure_mgmt_logic/workflows.rb +1645 -0
  212. data/lib/azure_mgmt_logic.rb +1 -0
  213. data/lib/profiles/latest/modules/logic_profile_module.rb +465 -445
  214. data/lib/version.rb +1 -1
  215. metadata +208 -2
@@ -0,0 +1,647 @@
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::Logic::Mgmt::V2018_07_01_preview
7
+ #
8
+ # REST API for Azure Logic Apps.
9
+ #
10
+ class IntegrationAccountAgreements
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the IntegrationAccountAgreements class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [LogicManagementClient] reference to the LogicManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets a list of integration account agreements.
26
+ #
27
+ # @param resource_group_name [String] The resource group name.
28
+ # @param integration_account_name [String] The integration account name.
29
+ # @param top [Integer] The number of items to be included in the result.
30
+ # @param filter [String] The filter to apply on the operation. Options for
31
+ # filters include: AgreementType.
32
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
+ # will be added to the HTTP request.
34
+ #
35
+ # @return [Array<IntegrationAccountAgreement>] operation results.
36
+ #
37
+ def list(resource_group_name, integration_account_name, top:nil, filter:nil, custom_headers:nil)
38
+ first_page = list_as_lazy(resource_group_name, integration_account_name, top:top, filter:filter, custom_headers:custom_headers)
39
+ first_page.get_all_items
40
+ end
41
+
42
+ #
43
+ # Gets a list of integration account agreements.
44
+ #
45
+ # @param resource_group_name [String] The resource group name.
46
+ # @param integration_account_name [String] The integration account name.
47
+ # @param top [Integer] The number of items to be included in the result.
48
+ # @param filter [String] The filter to apply on the operation. Options for
49
+ # filters include: AgreementType.
50
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
51
+ # will be added to the HTTP request.
52
+ #
53
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
+ #
55
+ def list_with_http_info(resource_group_name, integration_account_name, top:nil, filter:nil, custom_headers:nil)
56
+ list_async(resource_group_name, integration_account_name, top:top, filter:filter, custom_headers:custom_headers).value!
57
+ end
58
+
59
+ #
60
+ # Gets a list of integration account agreements.
61
+ #
62
+ # @param resource_group_name [String] The resource group name.
63
+ # @param integration_account_name [String] The integration account name.
64
+ # @param top [Integer] The number of items to be included in the result.
65
+ # @param filter [String] The filter to apply on the operation. Options for
66
+ # filters include: AgreementType.
67
+ # @param [Hash{String => String}] A hash of custom headers that will be added
68
+ # to the HTTP request.
69
+ #
70
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
+ #
72
+ def list_async(resource_group_name, integration_account_name, top:nil, filter:nil, custom_headers:nil)
73
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
74
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
75
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
76
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
77
+
78
+
79
+ request_headers = {}
80
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
81
+
82
+ # Set Headers
83
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
84
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
85
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements'
86
+
87
+ request_url = @base_url || @client.base_url
88
+
89
+ options = {
90
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
91
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
92
+ query_params: {'api-version' => @client.api_version,'$top' => top,'$filter' => filter},
93
+ headers: request_headers.merge(custom_headers || {}),
94
+ base_url: request_url
95
+ }
96
+ promise = @client.make_request_async(:get, path_template, options)
97
+
98
+ promise = promise.then do |result|
99
+ http_response = result.response
100
+ status_code = http_response.status
101
+ response_content = http_response.body
102
+ unless status_code == 200
103
+ error_model = JSON.load(response_content)
104
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
105
+ end
106
+
107
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
108
+ # Deserialize Response
109
+ if status_code == 200
110
+ begin
111
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
112
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountAgreementListResult.mapper()
113
+ result.body = @client.deserialize(result_mapper, parsed_response)
114
+ rescue Exception => e
115
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
116
+ end
117
+ end
118
+
119
+ result
120
+ end
121
+
122
+ promise.execute
123
+ end
124
+
125
+ #
126
+ # Gets an integration account agreement.
127
+ #
128
+ # @param resource_group_name [String] The resource group name.
129
+ # @param integration_account_name [String] The integration account name.
130
+ # @param agreement_name [String] The integration account agreement name.
131
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
132
+ # will be added to the HTTP request.
133
+ #
134
+ # @return [IntegrationAccountAgreement] operation results.
135
+ #
136
+ def get(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
137
+ response = get_async(resource_group_name, integration_account_name, agreement_name, custom_headers:custom_headers).value!
138
+ response.body unless response.nil?
139
+ end
140
+
141
+ #
142
+ # Gets an integration account agreement.
143
+ #
144
+ # @param resource_group_name [String] The resource group name.
145
+ # @param integration_account_name [String] The integration account name.
146
+ # @param agreement_name [String] The integration account agreement name.
147
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
148
+ # will be added to the HTTP request.
149
+ #
150
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
151
+ #
152
+ def get_with_http_info(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
153
+ get_async(resource_group_name, integration_account_name, agreement_name, custom_headers:custom_headers).value!
154
+ end
155
+
156
+ #
157
+ # Gets an integration account agreement.
158
+ #
159
+ # @param resource_group_name [String] The resource group name.
160
+ # @param integration_account_name [String] The integration account name.
161
+ # @param agreement_name [String] The integration account agreement name.
162
+ # @param [Hash{String => String}] A hash of custom headers that will be added
163
+ # to the HTTP request.
164
+ #
165
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
166
+ #
167
+ def get_async(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
168
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
169
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
170
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
171
+ fail ArgumentError, 'agreement_name is nil' if agreement_name.nil?
172
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
173
+
174
+
175
+ request_headers = {}
176
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
177
+
178
+ # Set Headers
179
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
180
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
181
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}'
182
+
183
+ request_url = @base_url || @client.base_url
184
+
185
+ options = {
186
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
187
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'agreementName' => agreement_name},
188
+ query_params: {'api-version' => @client.api_version},
189
+ headers: request_headers.merge(custom_headers || {}),
190
+ base_url: request_url
191
+ }
192
+ promise = @client.make_request_async(:get, path_template, options)
193
+
194
+ promise = promise.then do |result|
195
+ http_response = result.response
196
+ status_code = http_response.status
197
+ response_content = http_response.body
198
+ unless status_code == 200
199
+ error_model = JSON.load(response_content)
200
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
201
+ end
202
+
203
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
204
+ # Deserialize Response
205
+ if status_code == 200
206
+ begin
207
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
208
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountAgreement.mapper()
209
+ result.body = @client.deserialize(result_mapper, parsed_response)
210
+ rescue Exception => e
211
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
212
+ end
213
+ end
214
+
215
+ result
216
+ end
217
+
218
+ promise.execute
219
+ end
220
+
221
+ #
222
+ # Creates or updates an integration account agreement.
223
+ #
224
+ # @param resource_group_name [String] The resource group name.
225
+ # @param integration_account_name [String] The integration account name.
226
+ # @param agreement_name [String] The integration account agreement name.
227
+ # @param agreement [IntegrationAccountAgreement] The integration account
228
+ # agreement.
229
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
230
+ # will be added to the HTTP request.
231
+ #
232
+ # @return [IntegrationAccountAgreement] operation results.
233
+ #
234
+ def create_or_update(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:nil)
235
+ response = create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:custom_headers).value!
236
+ response.body unless response.nil?
237
+ end
238
+
239
+ #
240
+ # Creates or updates an integration account agreement.
241
+ #
242
+ # @param resource_group_name [String] The resource group name.
243
+ # @param integration_account_name [String] The integration account name.
244
+ # @param agreement_name [String] The integration account agreement name.
245
+ # @param agreement [IntegrationAccountAgreement] The integration account
246
+ # agreement.
247
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
248
+ # will be added to the HTTP request.
249
+ #
250
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
251
+ #
252
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:nil)
253
+ create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:custom_headers).value!
254
+ end
255
+
256
+ #
257
+ # Creates or updates an integration account agreement.
258
+ #
259
+ # @param resource_group_name [String] The resource group name.
260
+ # @param integration_account_name [String] The integration account name.
261
+ # @param agreement_name [String] The integration account agreement name.
262
+ # @param agreement [IntegrationAccountAgreement] The integration account
263
+ # agreement.
264
+ # @param [Hash{String => String}] A hash of custom headers that will be added
265
+ # to the HTTP request.
266
+ #
267
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
268
+ #
269
+ def create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:nil)
270
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
271
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
272
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
273
+ fail ArgumentError, 'agreement_name is nil' if agreement_name.nil?
274
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
275
+ fail ArgumentError, 'agreement is nil' if agreement.nil?
276
+
277
+
278
+ request_headers = {}
279
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
280
+
281
+ # Set Headers
282
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
283
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
284
+
285
+ # Serialize Request
286
+ request_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountAgreement.mapper()
287
+ request_content = @client.serialize(request_mapper, agreement)
288
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
289
+
290
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}'
291
+
292
+ request_url = @base_url || @client.base_url
293
+
294
+ options = {
295
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
296
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'agreementName' => agreement_name},
297
+ query_params: {'api-version' => @client.api_version},
298
+ body: request_content,
299
+ headers: request_headers.merge(custom_headers || {}),
300
+ base_url: request_url
301
+ }
302
+ promise = @client.make_request_async(:put, path_template, options)
303
+
304
+ promise = promise.then do |result|
305
+ http_response = result.response
306
+ status_code = http_response.status
307
+ response_content = http_response.body
308
+ unless status_code == 200 || status_code == 201
309
+ error_model = JSON.load(response_content)
310
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
311
+ end
312
+
313
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
314
+ # Deserialize Response
315
+ if status_code == 200
316
+ begin
317
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
318
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountAgreement.mapper()
319
+ result.body = @client.deserialize(result_mapper, parsed_response)
320
+ rescue Exception => e
321
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
322
+ end
323
+ end
324
+ # Deserialize Response
325
+ if status_code == 201
326
+ begin
327
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
328
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountAgreement.mapper()
329
+ result.body = @client.deserialize(result_mapper, parsed_response)
330
+ rescue Exception => e
331
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
332
+ end
333
+ end
334
+
335
+ result
336
+ end
337
+
338
+ promise.execute
339
+ end
340
+
341
+ #
342
+ # Deletes an integration account agreement.
343
+ #
344
+ # @param resource_group_name [String] The resource group name.
345
+ # @param integration_account_name [String] The integration account name.
346
+ # @param agreement_name [String] The integration account agreement name.
347
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
348
+ # will be added to the HTTP request.
349
+ #
350
+ #
351
+ def delete(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
352
+ response = delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers:custom_headers).value!
353
+ nil
354
+ end
355
+
356
+ #
357
+ # Deletes an integration account agreement.
358
+ #
359
+ # @param resource_group_name [String] The resource group name.
360
+ # @param integration_account_name [String] The integration account name.
361
+ # @param agreement_name [String] The integration account agreement name.
362
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
363
+ # will be added to the HTTP request.
364
+ #
365
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
366
+ #
367
+ def delete_with_http_info(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
368
+ delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers:custom_headers).value!
369
+ end
370
+
371
+ #
372
+ # Deletes an integration account agreement.
373
+ #
374
+ # @param resource_group_name [String] The resource group name.
375
+ # @param integration_account_name [String] The integration account name.
376
+ # @param agreement_name [String] The integration account agreement name.
377
+ # @param [Hash{String => String}] A hash of custom headers that will be added
378
+ # to the HTTP request.
379
+ #
380
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
381
+ #
382
+ def delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
383
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
384
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
385
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
386
+ fail ArgumentError, 'agreement_name is nil' if agreement_name.nil?
387
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
388
+
389
+
390
+ request_headers = {}
391
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
392
+
393
+ # Set Headers
394
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
395
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
396
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}'
397
+
398
+ request_url = @base_url || @client.base_url
399
+
400
+ options = {
401
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
402
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'agreementName' => agreement_name},
403
+ query_params: {'api-version' => @client.api_version},
404
+ headers: request_headers.merge(custom_headers || {}),
405
+ base_url: request_url
406
+ }
407
+ promise = @client.make_request_async(:delete, path_template, options)
408
+
409
+ promise = promise.then do |result|
410
+ http_response = result.response
411
+ status_code = http_response.status
412
+ response_content = http_response.body
413
+ unless status_code == 200 || status_code == 204
414
+ error_model = JSON.load(response_content)
415
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
416
+ end
417
+
418
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
419
+
420
+ result
421
+ end
422
+
423
+ promise.execute
424
+ end
425
+
426
+ #
427
+ # Get the content callback url.
428
+ #
429
+ # @param resource_group_name [String] The resource group name.
430
+ # @param integration_account_name [String] The integration account name.
431
+ # @param agreement_name [String] The integration account agreement name.
432
+ # @param list_content_callback_url [GetCallbackUrlParameters]
433
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
434
+ # will be added to the HTTP request.
435
+ #
436
+ # @return [WorkflowTriggerCallbackUrl] operation results.
437
+ #
438
+ def list_content_callback_url(resource_group_name, integration_account_name, agreement_name, list_content_callback_url, custom_headers:nil)
439
+ response = list_content_callback_url_async(resource_group_name, integration_account_name, agreement_name, list_content_callback_url, custom_headers:custom_headers).value!
440
+ response.body unless response.nil?
441
+ end
442
+
443
+ #
444
+ # Get the content callback url.
445
+ #
446
+ # @param resource_group_name [String] The resource group name.
447
+ # @param integration_account_name [String] The integration account name.
448
+ # @param agreement_name [String] The integration account agreement name.
449
+ # @param list_content_callback_url [GetCallbackUrlParameters]
450
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
451
+ # will be added to the HTTP request.
452
+ #
453
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
454
+ #
455
+ def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, agreement_name, list_content_callback_url, custom_headers:nil)
456
+ list_content_callback_url_async(resource_group_name, integration_account_name, agreement_name, list_content_callback_url, custom_headers:custom_headers).value!
457
+ end
458
+
459
+ #
460
+ # Get the content callback url.
461
+ #
462
+ # @param resource_group_name [String] The resource group name.
463
+ # @param integration_account_name [String] The integration account name.
464
+ # @param agreement_name [String] The integration account agreement name.
465
+ # @param list_content_callback_url [GetCallbackUrlParameters]
466
+ # @param [Hash{String => String}] A hash of custom headers that will be added
467
+ # to the HTTP request.
468
+ #
469
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
470
+ #
471
+ def list_content_callback_url_async(resource_group_name, integration_account_name, agreement_name, list_content_callback_url, custom_headers:nil)
472
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
473
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
474
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
475
+ fail ArgumentError, 'agreement_name is nil' if agreement_name.nil?
476
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
477
+ fail ArgumentError, 'list_content_callback_url is nil' if list_content_callback_url.nil?
478
+
479
+
480
+ request_headers = {}
481
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
482
+
483
+ # Set Headers
484
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
485
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
486
+
487
+ # Serialize Request
488
+ request_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::GetCallbackUrlParameters.mapper()
489
+ request_content = @client.serialize(request_mapper, list_content_callback_url)
490
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
491
+
492
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}/listContentCallbackUrl'
493
+
494
+ request_url = @base_url || @client.base_url
495
+
496
+ options = {
497
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
498
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'agreementName' => agreement_name},
499
+ query_params: {'api-version' => @client.api_version},
500
+ body: request_content,
501
+ headers: request_headers.merge(custom_headers || {}),
502
+ base_url: request_url
503
+ }
504
+ promise = @client.make_request_async(:post, path_template, options)
505
+
506
+ promise = promise.then do |result|
507
+ http_response = result.response
508
+ status_code = http_response.status
509
+ response_content = http_response.body
510
+ unless status_code == 200
511
+ error_model = JSON.load(response_content)
512
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
513
+ end
514
+
515
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
516
+ # Deserialize Response
517
+ if status_code == 200
518
+ begin
519
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
520
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::WorkflowTriggerCallbackUrl.mapper()
521
+ result.body = @client.deserialize(result_mapper, parsed_response)
522
+ rescue Exception => e
523
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
524
+ end
525
+ end
526
+
527
+ result
528
+ end
529
+
530
+ promise.execute
531
+ end
532
+
533
+ #
534
+ # Gets a list of integration account agreements.
535
+ #
536
+ # @param next_page_link [String] The NextLink from the previous successful call
537
+ # to List operation.
538
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
539
+ # will be added to the HTTP request.
540
+ #
541
+ # @return [IntegrationAccountAgreementListResult] operation results.
542
+ #
543
+ def list_next(next_page_link, custom_headers:nil)
544
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
545
+ response.body unless response.nil?
546
+ end
547
+
548
+ #
549
+ # Gets a list of integration account agreements.
550
+ #
551
+ # @param next_page_link [String] The NextLink from the previous successful call
552
+ # to List operation.
553
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
554
+ # will be added to the HTTP request.
555
+ #
556
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
557
+ #
558
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
559
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
560
+ end
561
+
562
+ #
563
+ # Gets a list of integration account agreements.
564
+ #
565
+ # @param next_page_link [String] The NextLink from the previous successful call
566
+ # to List operation.
567
+ # @param [Hash{String => String}] A hash of custom headers that will be added
568
+ # to the HTTP request.
569
+ #
570
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
571
+ #
572
+ def list_next_async(next_page_link, custom_headers:nil)
573
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.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['accept-language'] = @client.accept_language unless @client.accept_language.nil?
582
+ path_template = '{nextLink}'
583
+
584
+ request_url = @base_url || @client.base_url
585
+
586
+ options = {
587
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
588
+ skip_encoding_path_params: {'nextLink' => next_page_link},
589
+ headers: request_headers.merge(custom_headers || {}),
590
+ base_url: request_url
591
+ }
592
+ promise = @client.make_request_async(:get, path_template, options)
593
+
594
+ promise = promise.then do |result|
595
+ http_response = result.response
596
+ status_code = http_response.status
597
+ response_content = http_response.body
598
+ unless status_code == 200
599
+ error_model = JSON.load(response_content)
600
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
601
+ end
602
+
603
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
604
+ # Deserialize Response
605
+ if status_code == 200
606
+ begin
607
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
608
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountAgreementListResult.mapper()
609
+ result.body = @client.deserialize(result_mapper, parsed_response)
610
+ rescue Exception => e
611
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
612
+ end
613
+ end
614
+
615
+ result
616
+ end
617
+
618
+ promise.execute
619
+ end
620
+
621
+ #
622
+ # Gets a list of integration account agreements.
623
+ #
624
+ # @param resource_group_name [String] The resource group name.
625
+ # @param integration_account_name [String] The integration account name.
626
+ # @param top [Integer] The number of items to be included in the result.
627
+ # @param filter [String] The filter to apply on the operation. Options for
628
+ # filters include: AgreementType.
629
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
630
+ # will be added to the HTTP request.
631
+ #
632
+ # @return [IntegrationAccountAgreementListResult] which provide lazy access to
633
+ # pages of the response.
634
+ #
635
+ def list_as_lazy(resource_group_name, integration_account_name, top:nil, filter:nil, custom_headers:nil)
636
+ response = list_async(resource_group_name, integration_account_name, top:top, filter:filter, custom_headers:custom_headers).value!
637
+ unless response.nil?
638
+ page = response.body
639
+ page.next_method = Proc.new do |next_page_link|
640
+ list_next_async(next_page_link, custom_headers:custom_headers)
641
+ end
642
+ page
643
+ end
644
+ end
645
+
646
+ end
647
+ end