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,415 @@
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 IntegrationAccountBatchConfigurations
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the IntegrationAccountBatchConfigurations 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
+ # List the batch configurations for an integration account.
26
+ #
27
+ # @param resource_group_name [String] The resource group name.
28
+ # @param integration_account_name [String] The integration account name.
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [BatchConfigurationCollection] operation results.
33
+ #
34
+ def list(resource_group_name, integration_account_name, custom_headers:nil)
35
+ response = list_async(resource_group_name, integration_account_name, custom_headers:custom_headers).value!
36
+ response.body unless response.nil?
37
+ end
38
+
39
+ #
40
+ # List the batch configurations for an integration account.
41
+ #
42
+ # @param resource_group_name [String] The resource group name.
43
+ # @param integration_account_name [String] The integration account name.
44
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
+ # will be added to the HTTP request.
46
+ #
47
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
+ #
49
+ def list_with_http_info(resource_group_name, integration_account_name, custom_headers:nil)
50
+ list_async(resource_group_name, integration_account_name, custom_headers:custom_headers).value!
51
+ end
52
+
53
+ #
54
+ # List the batch configurations for an integration account.
55
+ #
56
+ # @param resource_group_name [String] The resource group name.
57
+ # @param integration_account_name [String] The integration account name.
58
+ # @param [Hash{String => String}] A hash of custom headers that will be added
59
+ # to the HTTP request.
60
+ #
61
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
+ #
63
+ def list_async(resource_group_name, integration_account_name, custom_headers:nil)
64
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
65
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
66
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
67
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
68
+
69
+
70
+ request_headers = {}
71
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
72
+
73
+ # Set Headers
74
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
75
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
76
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations'
77
+
78
+ request_url = @base_url || @client.base_url
79
+
80
+ options = {
81
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
82
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
83
+ query_params: {'api-version' => @client.api_version},
84
+ headers: request_headers.merge(custom_headers || {}),
85
+ base_url: request_url
86
+ }
87
+ promise = @client.make_request_async(:get, path_template, options)
88
+
89
+ promise = promise.then do |result|
90
+ http_response = result.response
91
+ status_code = http_response.status
92
+ response_content = http_response.body
93
+ unless status_code == 200
94
+ error_model = JSON.load(response_content)
95
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
96
+ end
97
+
98
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
99
+ # Deserialize Response
100
+ if status_code == 200
101
+ begin
102
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
103
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::BatchConfigurationCollection.mapper()
104
+ result.body = @client.deserialize(result_mapper, parsed_response)
105
+ rescue Exception => e
106
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
107
+ end
108
+ end
109
+
110
+ result
111
+ end
112
+
113
+ promise.execute
114
+ end
115
+
116
+ #
117
+ # Get a batch configuration for an integration account.
118
+ #
119
+ # @param resource_group_name [String] The resource group name.
120
+ # @param integration_account_name [String] The integration account name.
121
+ # @param batch_configuration_name [String] The batch configuration name.
122
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
123
+ # will be added to the HTTP request.
124
+ #
125
+ # @return [BatchConfiguration] operation results.
126
+ #
127
+ def get(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
128
+ response = get_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
129
+ response.body unless response.nil?
130
+ end
131
+
132
+ #
133
+ # Get a batch configuration for an integration account.
134
+ #
135
+ # @param resource_group_name [String] The resource group name.
136
+ # @param integration_account_name [String] The integration account name.
137
+ # @param batch_configuration_name [String] The batch configuration name.
138
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
139
+ # will be added to the HTTP request.
140
+ #
141
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
142
+ #
143
+ def get_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
144
+ get_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
145
+ end
146
+
147
+ #
148
+ # Get a batch configuration for an integration account.
149
+ #
150
+ # @param resource_group_name [String] The resource group name.
151
+ # @param integration_account_name [String] The integration account name.
152
+ # @param batch_configuration_name [String] The batch configuration name.
153
+ # @param [Hash{String => String}] A hash of custom headers that will be added
154
+ # to the HTTP request.
155
+ #
156
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
157
+ #
158
+ def get_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
159
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
160
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
161
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
162
+ fail ArgumentError, 'batch_configuration_name is nil' if batch_configuration_name.nil?
163
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
164
+
165
+
166
+ request_headers = {}
167
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
168
+
169
+ # Set Headers
170
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
171
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
172
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}'
173
+
174
+ request_url = @base_url || @client.base_url
175
+
176
+ options = {
177
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
178
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'batchConfigurationName' => batch_configuration_name},
179
+ query_params: {'api-version' => @client.api_version},
180
+ headers: request_headers.merge(custom_headers || {}),
181
+ base_url: request_url
182
+ }
183
+ promise = @client.make_request_async(:get, path_template, options)
184
+
185
+ promise = promise.then do |result|
186
+ http_response = result.response
187
+ status_code = http_response.status
188
+ response_content = http_response.body
189
+ unless status_code == 200
190
+ error_model = JSON.load(response_content)
191
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
192
+ end
193
+
194
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
195
+ # Deserialize Response
196
+ if status_code == 200
197
+ begin
198
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
199
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::BatchConfiguration.mapper()
200
+ result.body = @client.deserialize(result_mapper, parsed_response)
201
+ rescue Exception => e
202
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
203
+ end
204
+ end
205
+
206
+ result
207
+ end
208
+
209
+ promise.execute
210
+ end
211
+
212
+ #
213
+ # Create or update a batch configuration for an integration account.
214
+ #
215
+ # @param resource_group_name [String] The resource group name.
216
+ # @param integration_account_name [String] The integration account name.
217
+ # @param batch_configuration_name [String] The batch configuration name.
218
+ # @param batch_configuration [BatchConfiguration] The batch configuration.
219
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
220
+ # will be added to the HTTP request.
221
+ #
222
+ # @return [BatchConfiguration] operation results.
223
+ #
224
+ def create_or_update(resource_group_name, integration_account_name, batch_configuration_name, batch_configuration, custom_headers:nil)
225
+ response = create_or_update_async(resource_group_name, integration_account_name, batch_configuration_name, batch_configuration, custom_headers:custom_headers).value!
226
+ response.body unless response.nil?
227
+ end
228
+
229
+ #
230
+ # Create or update a batch configuration for an integration account.
231
+ #
232
+ # @param resource_group_name [String] The resource group name.
233
+ # @param integration_account_name [String] The integration account name.
234
+ # @param batch_configuration_name [String] The batch configuration name.
235
+ # @param batch_configuration [BatchConfiguration] The batch configuration.
236
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
237
+ # will be added to the HTTP request.
238
+ #
239
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
240
+ #
241
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, batch_configuration, custom_headers:nil)
242
+ create_or_update_async(resource_group_name, integration_account_name, batch_configuration_name, batch_configuration, custom_headers:custom_headers).value!
243
+ end
244
+
245
+ #
246
+ # Create or update a batch configuration for an integration account.
247
+ #
248
+ # @param resource_group_name [String] The resource group name.
249
+ # @param integration_account_name [String] The integration account name.
250
+ # @param batch_configuration_name [String] The batch configuration name.
251
+ # @param batch_configuration [BatchConfiguration] The batch configuration.
252
+ # @param [Hash{String => String}] A hash of custom headers that will be added
253
+ # to the HTTP request.
254
+ #
255
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
256
+ #
257
+ def create_or_update_async(resource_group_name, integration_account_name, batch_configuration_name, batch_configuration, custom_headers:nil)
258
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
259
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
260
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
261
+ fail ArgumentError, 'batch_configuration_name is nil' if batch_configuration_name.nil?
262
+ fail ArgumentError, 'batch_configuration is nil' if batch_configuration.nil?
263
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
264
+
265
+
266
+ request_headers = {}
267
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
268
+
269
+ # Set Headers
270
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
271
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
272
+
273
+ # Serialize Request
274
+ request_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::BatchConfiguration.mapper()
275
+ request_content = @client.serialize(request_mapper, batch_configuration)
276
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
277
+
278
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}'
279
+
280
+ request_url = @base_url || @client.base_url
281
+
282
+ options = {
283
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
284
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'batchConfigurationName' => batch_configuration_name},
285
+ query_params: {'api-version' => @client.api_version},
286
+ body: request_content,
287
+ headers: request_headers.merge(custom_headers || {}),
288
+ base_url: request_url
289
+ }
290
+ promise = @client.make_request_async(:put, path_template, options)
291
+
292
+ promise = promise.then do |result|
293
+ http_response = result.response
294
+ status_code = http_response.status
295
+ response_content = http_response.body
296
+ unless status_code == 200 || status_code == 201
297
+ error_model = JSON.load(response_content)
298
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
299
+ end
300
+
301
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
302
+ # Deserialize Response
303
+ if status_code == 200
304
+ begin
305
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
306
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::BatchConfiguration.mapper()
307
+ result.body = @client.deserialize(result_mapper, parsed_response)
308
+ rescue Exception => e
309
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
310
+ end
311
+ end
312
+ # Deserialize Response
313
+ if status_code == 201
314
+ begin
315
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
316
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::BatchConfiguration.mapper()
317
+ result.body = @client.deserialize(result_mapper, parsed_response)
318
+ rescue Exception => e
319
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
320
+ end
321
+ end
322
+
323
+ result
324
+ end
325
+
326
+ promise.execute
327
+ end
328
+
329
+ #
330
+ # Delete a batch configuration for an integration account.
331
+ #
332
+ # @param resource_group_name [String] The resource group name.
333
+ # @param integration_account_name [String] The integration account name.
334
+ # @param batch_configuration_name [String] The batch configuration name.
335
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
336
+ # will be added to the HTTP request.
337
+ #
338
+ #
339
+ def delete(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
340
+ response = delete_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
341
+ nil
342
+ end
343
+
344
+ #
345
+ # Delete a batch configuration for an integration account.
346
+ #
347
+ # @param resource_group_name [String] The resource group name.
348
+ # @param integration_account_name [String] The integration account name.
349
+ # @param batch_configuration_name [String] The batch configuration name.
350
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
351
+ # will be added to the HTTP request.
352
+ #
353
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
354
+ #
355
+ def delete_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
356
+ delete_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
357
+ end
358
+
359
+ #
360
+ # Delete a batch configuration for an integration account.
361
+ #
362
+ # @param resource_group_name [String] The resource group name.
363
+ # @param integration_account_name [String] The integration account name.
364
+ # @param batch_configuration_name [String] The batch configuration name.
365
+ # @param [Hash{String => String}] A hash of custom headers that will be added
366
+ # to the HTTP request.
367
+ #
368
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
369
+ #
370
+ def delete_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
371
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
372
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
373
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
374
+ fail ArgumentError, 'batch_configuration_name is nil' if batch_configuration_name.nil?
375
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
376
+
377
+
378
+ request_headers = {}
379
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
380
+
381
+ # Set Headers
382
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
383
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
384
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}'
385
+
386
+ request_url = @base_url || @client.base_url
387
+
388
+ options = {
389
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
390
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'batchConfigurationName' => batch_configuration_name},
391
+ query_params: {'api-version' => @client.api_version},
392
+ headers: request_headers.merge(custom_headers || {}),
393
+ base_url: request_url
394
+ }
395
+ promise = @client.make_request_async(:delete, path_template, options)
396
+
397
+ promise = promise.then do |result|
398
+ http_response = result.response
399
+ status_code = http_response.status
400
+ response_content = http_response.body
401
+ unless status_code == 200 || status_code == 204
402
+ error_model = JSON.load(response_content)
403
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
404
+ end
405
+
406
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
407
+
408
+ result
409
+ end
410
+
411
+ promise.execute
412
+ end
413
+
414
+ end
415
+ end
@@ -0,0 +1,532 @@
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 IntegrationAccountCertificates
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the IntegrationAccountCertificates 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 certificates.
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 custom_headers [Hash{String => String}] A hash of custom headers that
31
+ # will be added to the HTTP request.
32
+ #
33
+ # @return [Array<IntegrationAccountCertificate>] operation results.
34
+ #
35
+ def list(resource_group_name, integration_account_name, top:nil, custom_headers:nil)
36
+ first_page = list_as_lazy(resource_group_name, integration_account_name, top:top, custom_headers:custom_headers)
37
+ first_page.get_all_items
38
+ end
39
+
40
+ #
41
+ # Gets a list of integration account certificates.
42
+ #
43
+ # @param resource_group_name [String] The resource group name.
44
+ # @param integration_account_name [String] The integration account name.
45
+ # @param top [Integer] The number of items to be included in the result.
46
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
+ # will be added to the HTTP request.
48
+ #
49
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
+ #
51
+ def list_with_http_info(resource_group_name, integration_account_name, top:nil, custom_headers:nil)
52
+ list_async(resource_group_name, integration_account_name, top:top, custom_headers:custom_headers).value!
53
+ end
54
+
55
+ #
56
+ # Gets a list of integration account certificates.
57
+ #
58
+ # @param resource_group_name [String] The resource group name.
59
+ # @param integration_account_name [String] The integration account name.
60
+ # @param top [Integer] The number of items to be included in the result.
61
+ # @param [Hash{String => String}] A hash of custom headers that will be added
62
+ # to the HTTP request.
63
+ #
64
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
+ #
66
+ def list_async(resource_group_name, integration_account_name, top:nil, custom_headers:nil)
67
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
69
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
70
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
71
+
72
+
73
+ request_headers = {}
74
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
75
+
76
+ # Set Headers
77
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
78
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
79
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates'
80
+
81
+ request_url = @base_url || @client.base_url
82
+
83
+ options = {
84
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
85
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
86
+ query_params: {'api-version' => @client.api_version,'$top' => top},
87
+ headers: request_headers.merge(custom_headers || {}),
88
+ base_url: request_url
89
+ }
90
+ promise = @client.make_request_async(:get, path_template, options)
91
+
92
+ promise = promise.then do |result|
93
+ http_response = result.response
94
+ status_code = http_response.status
95
+ response_content = http_response.body
96
+ unless status_code == 200
97
+ error_model = JSON.load(response_content)
98
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
99
+ end
100
+
101
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
102
+ # Deserialize Response
103
+ if status_code == 200
104
+ begin
105
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
106
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountCertificateListResult.mapper()
107
+ result.body = @client.deserialize(result_mapper, parsed_response)
108
+ rescue Exception => e
109
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
110
+ end
111
+ end
112
+
113
+ result
114
+ end
115
+
116
+ promise.execute
117
+ end
118
+
119
+ #
120
+ # Gets an integration account certificate.
121
+ #
122
+ # @param resource_group_name [String] The resource group name.
123
+ # @param integration_account_name [String] The integration account name.
124
+ # @param certificate_name [String] The integration account certificate name.
125
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
126
+ # will be added to the HTTP request.
127
+ #
128
+ # @return [IntegrationAccountCertificate] operation results.
129
+ #
130
+ def get(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
131
+ response = get_async(resource_group_name, integration_account_name, certificate_name, custom_headers:custom_headers).value!
132
+ response.body unless response.nil?
133
+ end
134
+
135
+ #
136
+ # Gets an integration account certificate.
137
+ #
138
+ # @param resource_group_name [String] The resource group name.
139
+ # @param integration_account_name [String] The integration account name.
140
+ # @param certificate_name [String] The integration account certificate name.
141
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
142
+ # will be added to the HTTP request.
143
+ #
144
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
145
+ #
146
+ def get_with_http_info(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
147
+ get_async(resource_group_name, integration_account_name, certificate_name, custom_headers:custom_headers).value!
148
+ end
149
+
150
+ #
151
+ # Gets an integration account certificate.
152
+ #
153
+ # @param resource_group_name [String] The resource group name.
154
+ # @param integration_account_name [String] The integration account name.
155
+ # @param certificate_name [String] The integration account certificate name.
156
+ # @param [Hash{String => String}] A hash of custom headers that will be added
157
+ # to the HTTP request.
158
+ #
159
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
160
+ #
161
+ def get_async(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
162
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
163
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
164
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
165
+ fail ArgumentError, 'certificate_name is nil' if certificate_name.nil?
166
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
167
+
168
+
169
+ request_headers = {}
170
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
171
+
172
+ # Set Headers
173
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
174
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
175
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}'
176
+
177
+ request_url = @base_url || @client.base_url
178
+
179
+ options = {
180
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
181
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'certificateName' => certificate_name},
182
+ query_params: {'api-version' => @client.api_version},
183
+ headers: request_headers.merge(custom_headers || {}),
184
+ base_url: request_url
185
+ }
186
+ promise = @client.make_request_async(:get, path_template, options)
187
+
188
+ promise = promise.then do |result|
189
+ http_response = result.response
190
+ status_code = http_response.status
191
+ response_content = http_response.body
192
+ unless status_code == 200
193
+ error_model = JSON.load(response_content)
194
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
195
+ end
196
+
197
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
198
+ # Deserialize Response
199
+ if status_code == 200
200
+ begin
201
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
202
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountCertificate.mapper()
203
+ result.body = @client.deserialize(result_mapper, parsed_response)
204
+ rescue Exception => e
205
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
206
+ end
207
+ end
208
+
209
+ result
210
+ end
211
+
212
+ promise.execute
213
+ end
214
+
215
+ #
216
+ # Creates or updates an integration account certificate.
217
+ #
218
+ # @param resource_group_name [String] The resource group name.
219
+ # @param integration_account_name [String] The integration account name.
220
+ # @param certificate_name [String] The integration account certificate name.
221
+ # @param certificate [IntegrationAccountCertificate] The integration account
222
+ # certificate.
223
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
224
+ # will be added to the HTTP request.
225
+ #
226
+ # @return [IntegrationAccountCertificate] operation results.
227
+ #
228
+ def create_or_update(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers:nil)
229
+ response = create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers:custom_headers).value!
230
+ response.body unless response.nil?
231
+ end
232
+
233
+ #
234
+ # Creates or updates an integration account certificate.
235
+ #
236
+ # @param resource_group_name [String] The resource group name.
237
+ # @param integration_account_name [String] The integration account name.
238
+ # @param certificate_name [String] The integration account certificate name.
239
+ # @param certificate [IntegrationAccountCertificate] The integration account
240
+ # certificate.
241
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
242
+ # will be added to the HTTP request.
243
+ #
244
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
245
+ #
246
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers:nil)
247
+ create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers:custom_headers).value!
248
+ end
249
+
250
+ #
251
+ # Creates or updates an integration account certificate.
252
+ #
253
+ # @param resource_group_name [String] The resource group name.
254
+ # @param integration_account_name [String] The integration account name.
255
+ # @param certificate_name [String] The integration account certificate name.
256
+ # @param certificate [IntegrationAccountCertificate] The integration account
257
+ # certificate.
258
+ # @param [Hash{String => String}] A hash of custom headers that will be added
259
+ # to the HTTP request.
260
+ #
261
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
262
+ #
263
+ def create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers:nil)
264
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
265
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
266
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
267
+ fail ArgumentError, 'certificate_name is nil' if certificate_name.nil?
268
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
269
+ fail ArgumentError, 'certificate is nil' if certificate.nil?
270
+
271
+
272
+ request_headers = {}
273
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
274
+
275
+ # Set Headers
276
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
277
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
278
+
279
+ # Serialize Request
280
+ request_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountCertificate.mapper()
281
+ request_content = @client.serialize(request_mapper, certificate)
282
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
283
+
284
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}'
285
+
286
+ request_url = @base_url || @client.base_url
287
+
288
+ options = {
289
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
290
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'certificateName' => certificate_name},
291
+ query_params: {'api-version' => @client.api_version},
292
+ body: request_content,
293
+ headers: request_headers.merge(custom_headers || {}),
294
+ base_url: request_url
295
+ }
296
+ promise = @client.make_request_async(:put, path_template, options)
297
+
298
+ promise = promise.then do |result|
299
+ http_response = result.response
300
+ status_code = http_response.status
301
+ response_content = http_response.body
302
+ unless status_code == 200 || status_code == 201
303
+ error_model = JSON.load(response_content)
304
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
305
+ end
306
+
307
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
308
+ # Deserialize Response
309
+ if status_code == 200
310
+ begin
311
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
312
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountCertificate.mapper()
313
+ result.body = @client.deserialize(result_mapper, parsed_response)
314
+ rescue Exception => e
315
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
316
+ end
317
+ end
318
+ # Deserialize Response
319
+ if status_code == 201
320
+ begin
321
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
322
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountCertificate.mapper()
323
+ result.body = @client.deserialize(result_mapper, parsed_response)
324
+ rescue Exception => e
325
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
326
+ end
327
+ end
328
+
329
+ result
330
+ end
331
+
332
+ promise.execute
333
+ end
334
+
335
+ #
336
+ # Deletes an integration account certificate.
337
+ #
338
+ # @param resource_group_name [String] The resource group name.
339
+ # @param integration_account_name [String] The integration account name.
340
+ # @param certificate_name [String] The integration account certificate name.
341
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
342
+ # will be added to the HTTP request.
343
+ #
344
+ #
345
+ def delete(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
346
+ response = delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers:custom_headers).value!
347
+ nil
348
+ end
349
+
350
+ #
351
+ # Deletes an integration account certificate.
352
+ #
353
+ # @param resource_group_name [String] The resource group name.
354
+ # @param integration_account_name [String] The integration account name.
355
+ # @param certificate_name [String] The integration account certificate name.
356
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
357
+ # will be added to the HTTP request.
358
+ #
359
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
360
+ #
361
+ def delete_with_http_info(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
362
+ delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers:custom_headers).value!
363
+ end
364
+
365
+ #
366
+ # Deletes an integration account certificate.
367
+ #
368
+ # @param resource_group_name [String] The resource group name.
369
+ # @param integration_account_name [String] The integration account name.
370
+ # @param certificate_name [String] The integration account certificate name.
371
+ # @param [Hash{String => String}] A hash of custom headers that will be added
372
+ # to the HTTP request.
373
+ #
374
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
375
+ #
376
+ def delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
377
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
378
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
379
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
380
+ fail ArgumentError, 'certificate_name is nil' if certificate_name.nil?
381
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
382
+
383
+
384
+ request_headers = {}
385
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
386
+
387
+ # Set Headers
388
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
389
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
390
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}'
391
+
392
+ request_url = @base_url || @client.base_url
393
+
394
+ options = {
395
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
396
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'certificateName' => certificate_name},
397
+ query_params: {'api-version' => @client.api_version},
398
+ headers: request_headers.merge(custom_headers || {}),
399
+ base_url: request_url
400
+ }
401
+ promise = @client.make_request_async(:delete, path_template, options)
402
+
403
+ promise = promise.then do |result|
404
+ http_response = result.response
405
+ status_code = http_response.status
406
+ response_content = http_response.body
407
+ unless status_code == 200 || status_code == 204
408
+ error_model = JSON.load(response_content)
409
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
410
+ end
411
+
412
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
413
+
414
+ result
415
+ end
416
+
417
+ promise.execute
418
+ end
419
+
420
+ #
421
+ # Gets a list of integration account certificates.
422
+ #
423
+ # @param next_page_link [String] The NextLink from the previous successful call
424
+ # to List operation.
425
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
426
+ # will be added to the HTTP request.
427
+ #
428
+ # @return [IntegrationAccountCertificateListResult] operation results.
429
+ #
430
+ def list_next(next_page_link, custom_headers:nil)
431
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
432
+ response.body unless response.nil?
433
+ end
434
+
435
+ #
436
+ # Gets a list of integration account certificates.
437
+ #
438
+ # @param next_page_link [String] The NextLink from the previous successful call
439
+ # to List operation.
440
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
441
+ # will be added to the HTTP request.
442
+ #
443
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
444
+ #
445
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
446
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
447
+ end
448
+
449
+ #
450
+ # Gets a list of integration account certificates.
451
+ #
452
+ # @param next_page_link [String] The NextLink from the previous successful call
453
+ # to List operation.
454
+ # @param [Hash{String => String}] A hash of custom headers that will be added
455
+ # to the HTTP request.
456
+ #
457
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
458
+ #
459
+ def list_next_async(next_page_link, custom_headers:nil)
460
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
461
+
462
+
463
+ request_headers = {}
464
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
465
+
466
+ # Set Headers
467
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
468
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
469
+ path_template = '{nextLink}'
470
+
471
+ request_url = @base_url || @client.base_url
472
+
473
+ options = {
474
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
475
+ skip_encoding_path_params: {'nextLink' => next_page_link},
476
+ headers: request_headers.merge(custom_headers || {}),
477
+ base_url: request_url
478
+ }
479
+ promise = @client.make_request_async(:get, path_template, options)
480
+
481
+ promise = promise.then do |result|
482
+ http_response = result.response
483
+ status_code = http_response.status
484
+ response_content = http_response.body
485
+ unless status_code == 200
486
+ error_model = JSON.load(response_content)
487
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
488
+ end
489
+
490
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
491
+ # Deserialize Response
492
+ if status_code == 200
493
+ begin
494
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
495
+ result_mapper = Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountCertificateListResult.mapper()
496
+ result.body = @client.deserialize(result_mapper, parsed_response)
497
+ rescue Exception => e
498
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
499
+ end
500
+ end
501
+
502
+ result
503
+ end
504
+
505
+ promise.execute
506
+ end
507
+
508
+ #
509
+ # Gets a list of integration account certificates.
510
+ #
511
+ # @param resource_group_name [String] The resource group name.
512
+ # @param integration_account_name [String] The integration account name.
513
+ # @param top [Integer] The number of items to be included in the result.
514
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
515
+ # will be added to the HTTP request.
516
+ #
517
+ # @return [IntegrationAccountCertificateListResult] which provide lazy access
518
+ # to pages of the response.
519
+ #
520
+ def list_as_lazy(resource_group_name, integration_account_name, top:nil, custom_headers:nil)
521
+ response = list_async(resource_group_name, integration_account_name, top:top, custom_headers:custom_headers).value!
522
+ unless response.nil?
523
+ page = response.body
524
+ page.next_method = Proc.new do |next_page_link|
525
+ list_next_async(next_page_link, custom_headers:custom_headers)
526
+ end
527
+ page
528
+ end
529
+ end
530
+
531
+ end
532
+ end