azure_mgmt_logic 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/logic_management_client.rb +7 -6
  3. data/lib/2016-06-01/generated/azure_mgmt_logic.rb +102 -61
  4. data/lib/2016-06-01/generated/azure_mgmt_logic/agreements.rb +115 -4
  5. data/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb +511 -0
  6. data/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb +415 -0
  7. data/lib/2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb +304 -0
  8. data/lib/2016-06-01/generated/azure_mgmt_logic/logic_management_client.rb +29 -6
  9. data/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb +115 -4
  10. data/lib/2016-06-01/generated/azure_mgmt_logic/models/access_key_regenerate_action_definition.rb +49 -0
  11. data/lib/2016-06-01/generated/azure_mgmt_logic/models/access_key_type.rb +17 -0
  12. data/lib/2016-06-01/generated/azure_mgmt_logic/models/artifact_content_properties_definition.rb +93 -0
  13. data/lib/2016-06-01/generated/azure_mgmt_logic/models/artifact_properties.rb +68 -0
  14. data/lib/2016-06-01/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb +1 -1
  15. data/lib/2016-06-01/generated/azure_mgmt_logic/models/as2one_way_agreement.rb +1 -1
  16. data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_collection.rb +55 -0
  17. data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_definition.rb +98 -0
  18. data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_properties.rb +128 -0
  19. data/lib/2016-06-01/generated/azure_mgmt_logic/models/azure_resource_error_info.rb +74 -0
  20. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration.rb +99 -0
  21. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_collection.rb +55 -0
  22. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_properties.rb +82 -0
  23. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_release_criteria.rb +69 -0
  24. data/lib/2016-06-01/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb +1 -1
  25. data/lib/2016-06-01/generated/azure_mgmt_logic/models/edifact_envelope_override.rb +1 -1
  26. data/lib/2016-06-01/generated/azure_mgmt_logic/models/error_info.rb +46 -0
  27. data/lib/2016-06-01/generated/azure_mgmt_logic/models/error_response.rb +2 -2
  28. data/lib/2016-06-01/generated/azure_mgmt_logic/models/event_level.rb +20 -0
  29. data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression.rb +90 -0
  30. data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression_root.rb +89 -0
  31. data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression_traces.rb +56 -0
  32. data/lib/2016-06-01/generated/azure_mgmt_logic/models/json_schema.rb +57 -0
  33. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key.rb +58 -0
  34. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_attributes.rb +68 -0
  35. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_collection.rb +66 -0
  36. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_reference.rb +62 -0
  37. data/lib/2016-06-01/generated/azure_mgmt_logic/models/list_key_vault_keys_definition.rb +58 -0
  38. data/lib/2016-06-01/generated/azure_mgmt_logic/models/operation_result.rb +190 -0
  39. data/lib/2016-06-01/generated/azure_mgmt_logic/models/operation_result_properties.rb +106 -0
  40. data/lib/2016-06-01/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb +1 -1
  41. data/lib/2016-06-01/generated/azure_mgmt_logic/models/repetition_index.rb +57 -0
  42. data/lib/2016-06-01/generated/azure_mgmt_logic/models/run_action_correlation.rb +70 -0
  43. data/lib/2016-06-01/generated/azure_mgmt_logic/models/run_correlation.rb +65 -0
  44. data/lib/2016-06-01/generated/azure_mgmt_logic/models/set_trigger_state_action_definition.rb +48 -0
  45. data/lib/2016-06-01/generated/azure_mgmt_logic/models/track_events_operation_options.rb +16 -0
  46. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_event.rb +92 -0
  47. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_event_error_info.rb +58 -0
  48. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_events_definition.rb +80 -0
  49. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_record_type.rb +30 -0
  50. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb +12 -0
  51. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition.rb +282 -0
  52. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition_collection.rb +56 -0
  53. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_trigger.rb +12 -0
  54. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_list_callback_url_queries.rb +11 -0
  55. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb +4 -4
  56. data/lib/2016-06-01/generated/azure_mgmt_logic/models/x12one_way_agreement.rb +1 -1
  57. data/lib/2016-06-01/generated/azure_mgmt_logic/partners.rb +115 -4
  58. data/lib/2016-06-01/generated/azure_mgmt_logic/schemas.rb +115 -4
  59. data/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb +8 -4
  60. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_repetitions.rb +333 -0
  61. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_scoped_repetitions.rb +229 -0
  62. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_actions.rb +108 -4
  63. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_operations.rb +125 -0
  64. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb +8 -4
  65. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb +8 -4
  66. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb +283 -3
  67. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb +3 -3
  68. data/lib/2016-06-01/generated/azure_mgmt_logic/workflows.rb +306 -8
  69. data/lib/azure_mgmt_logic.rb +1 -1
  70. data/lib/profiles/latest/modules/logic_profile_module.rb +359 -205
  71. data/lib/version.rb +1 -1
  72. metadata +46 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 874d7166bfcbc8ebaa73fd38bede944e3d77ff46
4
- data.tar.gz: 3c0866c82086ae4207625f836f56b096fd73e5c2
3
+ metadata.gz: c4c528850dab4450d36e081bfbcf891932cd795c
4
+ data.tar.gz: 270d426a40229b4a5f92bd4545e642726a95bfc6
5
5
  SHA512:
6
- metadata.gz: 23e5c14e6c1894a5961468498be3418eb98461e004c4434f2e201d42f16158b75dd02412a519aa2ce3f3a1599815e4bbec944eae90fb723b919b8a1f39638f7d
7
- data.tar.gz: 9c25c582fedac22d9bde4cf4dcfdefc50005190ebbdb8db6de54608bf688adfa1365d71c8f8b0af0e4de89726f19fecf22e179f6d9965208643418729d6facac
6
+ metadata.gz: 5e91ee17ab7fc1f013bb3d9e15952b56892117a5693f5625b964cb76153ff4f368fc1636d0f79f4c03ce06a551f5fb397dfe17903ed1365a3927d291845db537
7
+ data.tar.gz: ab29684e58cc804ce0e9bf8e251df21dacc5755fcd4fb0d864a33d01ca5dde7625ba4ae024dcb98ae127c0168d841196b1d4356cefd4d395e11720d8f9caa631
@@ -23,15 +23,16 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
23
23
  # @return [String] The API version.
24
24
  attr_reader :api_version
25
25
 
26
- # @return [String] Gets or sets the preferred language for the response.
26
+ # @return [String] The preferred language for the response.
27
27
  attr_accessor :accept_language
28
28
 
29
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
30
- # Running Operations. Default value is 30.
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
31
  attr_accessor :long_running_operation_retry_timeout
32
32
 
33
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
34
- # is generated and included in each request. Default is true.
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
35
36
  attr_accessor :generate_client_request_id
36
37
 
37
38
  # @return [Workflows] workflows
@@ -147,7 +148,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
147
148
  #
148
149
  def add_telemetry
149
150
  sdk_information = 'azure_mgmt_logic'
150
- sdk_information = "#{sdk_information}/0.16.0"
151
+ sdk_information = "#{sdk_information}/0.17.0"
151
152
  add_user_agent_information(sdk_information)
152
153
  end
153
154
  end
@@ -26,7 +26,12 @@ module Azure::Logic::Mgmt::V2016_06_01
26
26
  autoload :WorkflowTriggerHistories, '2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb'
27
27
  autoload :WorkflowRuns, '2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb'
28
28
  autoload :WorkflowRunActions, '2016-06-01/generated/azure_mgmt_logic/workflow_run_actions.rb'
29
+ autoload :WorkflowRunActionRepetitions, '2016-06-01/generated/azure_mgmt_logic/workflow_run_action_repetitions.rb'
30
+ autoload :WorkflowRunActionScopedRepetitions, '2016-06-01/generated/azure_mgmt_logic/workflow_run_action_scoped_repetitions.rb'
31
+ autoload :WorkflowRunOperations, '2016-06-01/generated/azure_mgmt_logic/workflow_run_operations.rb'
29
32
  autoload :IntegrationAccounts, '2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb'
33
+ autoload :IntegrationAccountAssemblies, '2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb'
34
+ autoload :IntegrationAccountBatchConfigurations, '2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb'
30
35
  autoload :Schemas, '2016-06-01/generated/azure_mgmt_logic/schemas.rb'
31
36
  autoload :Maps, '2016-06-01/generated/azure_mgmt_logic/maps.rb'
32
37
  autoload :Partners, '2016-06-01/generated/azure_mgmt_logic/partners.rb'
@@ -36,100 +41,121 @@ module Azure::Logic::Mgmt::V2016_06_01
36
41
  autoload :LogicManagementClient, '2016-06-01/generated/azure_mgmt_logic/logic_management_client.rb'
37
42
 
38
43
  module Models
39
- autoload :IntegrationAccountPartnerFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_partner_filter.rb'
44
+ autoload :X12SecuritySettings, '2016-06-01/generated/azure_mgmt_logic/models/x12security_settings.rb'
40
45
  autoload :Resource, '2016-06-01/generated/azure_mgmt_logic/models/resource.rb'
41
- autoload :AS2MessageConnectionSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2message_connection_settings.rb'
46
+ autoload :X12ProcessingSettings, '2016-06-01/generated/azure_mgmt_logic/models/x12processing_settings.rb'
42
47
  autoload :ResourceReference, '2016-06-01/generated/azure_mgmt_logic/models/resource_reference.rb'
43
- autoload :AS2AcknowledgementConnectionSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb'
48
+ autoload :X12EnvelopeOverride, '2016-06-01/generated/azure_mgmt_logic/models/x12envelope_override.rb'
44
49
  autoload :WorkflowParameter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_parameter.rb'
45
- autoload :AS2MdnSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2mdn_settings.rb'
50
+ autoload :X12ValidationOverride, '2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb'
46
51
  autoload :WorkflowFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_filter.rb'
47
- autoload :AS2SecuritySettings, '2016-06-01/generated/azure_mgmt_logic/models/as2security_settings.rb'
48
- autoload :KeyVaultKeyReferenceKeyVault, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_reference_key_vault.rb'
49
- autoload :WorkflowVersionListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_version_list_result.rb'
50
- autoload :IntegrationAccountPartnerListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_partner_list_result.rb'
51
- autoload :RecurrenceSchedule, '2016-06-01/generated/azure_mgmt_logic/models/recurrence_schedule.rb'
52
- autoload :SubResource, '2016-06-01/generated/azure_mgmt_logic/models/sub_resource.rb'
53
- autoload :Sku, '2016-06-01/generated/azure_mgmt_logic/models/sku.rb'
54
- autoload :WorkflowTriggerListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_list_result.rb'
55
- autoload :WorkflowTriggerListCallbackUrlQueries, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_list_callback_url_queries.rb'
56
- autoload :IntegrationAccountAgreementListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_agreement_list_result.rb'
57
- autoload :Correlation, '2016-06-01/generated/azure_mgmt_logic/models/correlation.rb'
58
- autoload :WorkflowListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_list_result.rb'
59
- autoload :ContentLink, '2016-06-01/generated/azure_mgmt_logic/models/content_link.rb'
60
- autoload :IntegrationAccountAgreementFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_agreement_filter.rb'
61
- autoload :WorkflowTriggerHistoryListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_history_list_result.rb'
62
- autoload :AS2ValidationSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2validation_settings.rb'
63
- autoload :WorkflowRunTrigger, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_trigger.rb'
64
- autoload :AS2EnvelopeSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2envelope_settings.rb'
65
- autoload :OperationDisplay, '2016-06-01/generated/azure_mgmt_logic/models/operation_display.rb'
66
- autoload :AS2ErrorSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2error_settings.rb'
67
- autoload :WorkflowRunListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_list_result.rb'
52
+ autoload :X12MessageIdentifier, '2016-06-01/generated/azure_mgmt_logic/models/x12message_identifier.rb'
68
53
  autoload :AS2ProtocolSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2protocol_settings.rb'
69
- autoload :ErrorResponse, '2016-06-01/generated/azure_mgmt_logic/models/error_response.rb'
70
54
  autoload :AS2OneWayAgreement, '2016-06-01/generated/azure_mgmt_logic/models/as2one_way_agreement.rb'
71
- autoload :IntegrationAccountSessionListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_session_list_result.rb'
55
+ autoload :RecurrenceScheduleOccurrence, '2016-06-01/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb'
72
56
  autoload :AS2AgreementContent, '2016-06-01/generated/azure_mgmt_logic/models/as2agreement_content.rb'
73
- autoload :WorkflowRunActionListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_list_result.rb'
57
+ autoload :WorkflowTriggerRecurrence, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb'
74
58
  autoload :X12ValidationSettings, '2016-06-01/generated/azure_mgmt_logic/models/x12validation_settings.rb'
75
- autoload :GenerateUpgradedDefinitionParameters, '2016-06-01/generated/azure_mgmt_logic/models/generate_upgraded_definition_parameters.rb'
59
+ autoload :WorkflowTriggerFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_filter.rb'
76
60
  autoload :X12FramingSettings, '2016-06-01/generated/azure_mgmt_logic/models/x12framing_settings.rb'
77
- autoload :IntegrationAccountSessionFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_session_filter.rb'
61
+ autoload :WorkflowTriggerListCallbackUrlQueries, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_list_callback_url_queries.rb'
78
62
  autoload :X12EnvelopeSettings, '2016-06-01/generated/azure_mgmt_logic/models/x12envelope_settings.rb'
79
- autoload :GetCallbackUrlParameters, '2016-06-01/generated/azure_mgmt_logic/models/get_callback_url_parameters.rb'
63
+ autoload :Correlation, '2016-06-01/generated/azure_mgmt_logic/models/correlation.rb'
80
64
  autoload :X12AcknowledgementSettings, '2016-06-01/generated/azure_mgmt_logic/models/x12acknowledgement_settings.rb'
81
- autoload :IntegrationAccountCertificateListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_certificate_list_result.rb'
65
+ autoload :ContentLink, '2016-06-01/generated/azure_mgmt_logic/models/content_link.rb'
82
66
  autoload :X12MessageFilter, '2016-06-01/generated/azure_mgmt_logic/models/x12message_filter.rb'
83
- autoload :IntegrationAccountSchemaFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_schema_filter.rb'
84
- autoload :X12SecuritySettings, '2016-06-01/generated/azure_mgmt_logic/models/x12security_settings.rb'
85
- autoload :KeyVaultKeyReference, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_reference.rb'
86
- autoload :X12ProcessingSettings, '2016-06-01/generated/azure_mgmt_logic/models/x12processing_settings.rb'
87
- autoload :IntegrationAccountMapFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_map_filter.rb'
88
- autoload :X12EnvelopeOverride, '2016-06-01/generated/azure_mgmt_logic/models/x12envelope_override.rb'
89
- autoload :B2BPartnerContent, '2016-06-01/generated/azure_mgmt_logic/models/b2bpartner_content.rb'
90
- autoload :X12ValidationOverride, '2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb'
91
- autoload :RecurrenceScheduleOccurrence, '2016-06-01/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb'
92
- autoload :X12MessageIdentifier, '2016-06-01/generated/azure_mgmt_logic/models/x12message_identifier.rb'
93
- autoload :WorkflowTriggerFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_filter.rb'
67
+ autoload :WorkflowTriggerHistoryListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_history_list_result.rb'
68
+ autoload :SubResource, '2016-06-01/generated/azure_mgmt_logic/models/sub_resource.rb'
69
+ autoload :WorkflowRunTrigger, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_trigger.rb'
70
+ autoload :Sku, '2016-06-01/generated/azure_mgmt_logic/models/sku.rb'
71
+ autoload :ArtifactProperties, '2016-06-01/generated/azure_mgmt_logic/models/artifact_properties.rb'
72
+ autoload :WorkflowRunFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_filter.rb'
73
+ autoload :AccessKeyRegenerateActionDefinition, '2016-06-01/generated/azure_mgmt_logic/models/access_key_regenerate_action_definition.rb'
74
+ autoload :ErrorProperties, '2016-06-01/generated/azure_mgmt_logic/models/error_properties.rb'
75
+ autoload :WorkflowListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_list_result.rb'
76
+ autoload :RetryHistory, '2016-06-01/generated/azure_mgmt_logic/models/retry_history.rb'
77
+ autoload :RepetitionIndex, '2016-06-01/generated/azure_mgmt_logic/models/repetition_index.rb'
78
+ autoload :WorkflowRunActionFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_filter.rb'
94
79
  autoload :X12SchemaReference, '2016-06-01/generated/azure_mgmt_logic/models/x12schema_reference.rb'
95
- autoload :ContentHash, '2016-06-01/generated/azure_mgmt_logic/models/content_hash.rb'
80
+ autoload :RegenerateActionParameter, '2016-06-01/generated/azure_mgmt_logic/models/regenerate_action_parameter.rb'
96
81
  autoload :X12DelimiterOverrides, '2016-06-01/generated/azure_mgmt_logic/models/x12delimiter_overrides.rb'
97
- autoload :WorkflowTriggerHistoryFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_history_filter.rb'
82
+ autoload :IntegrationAccountSku, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_sku.rb'
98
83
  autoload :X12ProtocolSettings, '2016-06-01/generated/azure_mgmt_logic/models/x12protocol_settings.rb'
99
- autoload :WorkflowRunFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_filter.rb'
84
+ autoload :IntegrationAccountListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_list_result.rb'
100
85
  autoload :X12OneWayAgreement, '2016-06-01/generated/azure_mgmt_logic/models/x12one_way_agreement.rb'
101
- autoload :RetryHistory, '2016-06-01/generated/azure_mgmt_logic/models/retry_history.rb'
86
+ autoload :CallbackUrl, '2016-06-01/generated/azure_mgmt_logic/models/callback_url.rb'
102
87
  autoload :X12AgreementContent, '2016-06-01/generated/azure_mgmt_logic/models/x12agreement_content.rb'
103
- autoload :RegenerateActionParameter, '2016-06-01/generated/azure_mgmt_logic/models/regenerate_action_parameter.rb'
88
+ autoload :IntegrationAccountSchemaListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_schema_list_result.rb'
104
89
  autoload :EdifactValidationSettings, '2016-06-01/generated/azure_mgmt_logic/models/edifact_validation_settings.rb'
105
- autoload :IntegrationAccountListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_list_result.rb'
90
+ autoload :IntegrationAccountMapPropertiesParametersSchema, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_map_properties_parameters_schema.rb'
106
91
  autoload :EdifactFramingSettings, '2016-06-01/generated/azure_mgmt_logic/models/edifact_framing_settings.rb'
107
- autoload :IntegrationAccountSchemaListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_schema_list_result.rb'
108
- autoload :EdifactEnvelopeSettings, '2016-06-01/generated/azure_mgmt_logic/models/edifact_envelope_settings.rb'
109
92
  autoload :IntegrationAccountMapListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_map_list_result.rb'
93
+ autoload :EdifactEnvelopeSettings, '2016-06-01/generated/azure_mgmt_logic/models/edifact_envelope_settings.rb'
94
+ autoload :BusinessIdentity, '2016-06-01/generated/azure_mgmt_logic/models/business_identity.rb'
110
95
  autoload :EdifactAcknowledgementSettings, '2016-06-01/generated/azure_mgmt_logic/models/edifact_acknowledgement_settings.rb'
111
96
  autoload :PartnerContent, '2016-06-01/generated/azure_mgmt_logic/models/partner_content.rb'
112
97
  autoload :EdifactMessageFilter, '2016-06-01/generated/azure_mgmt_logic/models/edifact_message_filter.rb'
113
- autoload :WorkflowTriggerCallbackUrl, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_callback_url.rb'
98
+ autoload :IntegrationAccountPartnerListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_partner_list_result.rb'
114
99
  autoload :EdifactProcessingSettings, '2016-06-01/generated/azure_mgmt_logic/models/edifact_processing_settings.rb'
115
- autoload :Operation, '2016-06-01/generated/azure_mgmt_logic/models/operation.rb'
100
+ autoload :AS2MessageConnectionSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2message_connection_settings.rb'
116
101
  autoload :EdifactEnvelopeOverride, '2016-06-01/generated/azure_mgmt_logic/models/edifact_envelope_override.rb'
117
- autoload :WorkflowRunActionFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_filter.rb'
102
+ autoload :AS2MdnSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2mdn_settings.rb'
118
103
  autoload :EdifactMessageIdentifier, '2016-06-01/generated/azure_mgmt_logic/models/edifact_message_identifier.rb'
119
- autoload :CallbackUrl, '2016-06-01/generated/azure_mgmt_logic/models/callback_url.rb'
104
+ autoload :AS2ValidationSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2validation_settings.rb'
120
105
  autoload :EdifactSchemaReference, '2016-06-01/generated/azure_mgmt_logic/models/edifact_schema_reference.rb'
121
- autoload :BusinessIdentity, '2016-06-01/generated/azure_mgmt_logic/models/business_identity.rb'
106
+ autoload :AS2ErrorSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2error_settings.rb'
122
107
  autoload :EdifactValidationOverride, '2016-06-01/generated/azure_mgmt_logic/models/edifact_validation_override.rb'
123
- autoload :OperationListResult, '2016-06-01/generated/azure_mgmt_logic/models/operation_list_result.rb'
108
+ autoload :RecurrenceSchedule, '2016-06-01/generated/azure_mgmt_logic/models/recurrence_schedule.rb'
124
109
  autoload :EdifactDelimiterOverride, '2016-06-01/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb'
125
- autoload :IntegrationAccountSku, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_sku.rb'
110
+ autoload :WorkflowTriggerListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_list_result.rb'
126
111
  autoload :EdifactProtocolSettings, '2016-06-01/generated/azure_mgmt_logic/models/edifact_protocol_settings.rb'
127
- autoload :WorkflowTriggerRecurrence, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb'
112
+ autoload :ContentHash, '2016-06-01/generated/azure_mgmt_logic/models/content_hash.rb'
128
113
  autoload :EdifactOneWayAgreement, '2016-06-01/generated/azure_mgmt_logic/models/edifact_one_way_agreement.rb'
129
- autoload :IntegrationAccountMapPropertiesParametersSchema, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_map_properties_parameters_schema.rb'
114
+ autoload :WorkflowTriggerHistoryFilter, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_history_filter.rb'
130
115
  autoload :EdifactAgreementContent, '2016-06-01/generated/azure_mgmt_logic/models/edifact_agreement_content.rb'
131
- autoload :ErrorProperties, '2016-06-01/generated/azure_mgmt_logic/models/error_properties.rb'
116
+ autoload :WorkflowRunListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_list_result.rb'
132
117
  autoload :AgreementContent, '2016-06-01/generated/azure_mgmt_logic/models/agreement_content.rb'
118
+ autoload :AssemblyCollection, '2016-06-01/generated/azure_mgmt_logic/models/assembly_collection.rb'
119
+ autoload :ErrorInfo, '2016-06-01/generated/azure_mgmt_logic/models/error_info.rb'
120
+ autoload :GenerateUpgradedDefinitionParameters, '2016-06-01/generated/azure_mgmt_logic/models/generate_upgraded_definition_parameters.rb'
121
+ autoload :IntegrationAccountAgreementListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_agreement_list_result.rb'
122
+ autoload :GetCallbackUrlParameters, '2016-06-01/generated/azure_mgmt_logic/models/get_callback_url_parameters.rb'
123
+ autoload :IntegrationAccountAgreementFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_agreement_filter.rb'
124
+ autoload :IntegrationAccountSchemaFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_schema_filter.rb'
125
+ autoload :KeyVaultKeyReferenceKeyVault, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_reference_key_vault.rb'
126
+ autoload :IntegrationAccountMapFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_map_filter.rb'
127
+ autoload :KeyVaultKeyReference, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_reference.rb'
128
+ autoload :WorkflowRunActionRepetitionDefinitionCollection, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition_collection.rb'
129
+ autoload :Expression, '2016-06-01/generated/azure_mgmt_logic/models/expression.rb'
130
+ autoload :AS2AcknowledgementConnectionSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb'
131
+ autoload :IntegrationAccountCertificateListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_certificate_list_result.rb'
132
+ autoload :AS2EnvelopeSettings, '2016-06-01/generated/azure_mgmt_logic/models/as2envelope_settings.rb'
133
+ autoload :IntegrationAccountSessionFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_session_filter.rb'
134
+ autoload :ExpressionTraces, '2016-06-01/generated/azure_mgmt_logic/models/expression_traces.rb'
135
+ autoload :BatchConfigurationCollection, '2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_collection.rb'
136
+ autoload :IntegrationAccountSessionListResult, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_session_list_result.rb'
137
+ autoload :ErrorResponse, '2016-06-01/generated/azure_mgmt_logic/models/error_response.rb'
138
+ autoload :OperationDisplay, '2016-06-01/generated/azure_mgmt_logic/models/operation_display.rb'
139
+ autoload :JsonSchema, '2016-06-01/generated/azure_mgmt_logic/models/json_schema.rb'
140
+ autoload :Operation, '2016-06-01/generated/azure_mgmt_logic/models/operation.rb'
141
+ autoload :OperationResultProperties, '2016-06-01/generated/azure_mgmt_logic/models/operation_result_properties.rb'
142
+ autoload :OperationListResult, '2016-06-01/generated/azure_mgmt_logic/models/operation_list_result.rb'
143
+ autoload :IntegrationAccountPartnerFilter, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_partner_filter.rb'
144
+ autoload :SetTriggerStateActionDefinition, '2016-06-01/generated/azure_mgmt_logic/models/set_trigger_state_action_definition.rb'
145
+ autoload :WorkflowVersionListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_version_list_result.rb'
146
+ autoload :ListKeyVaultKeysDefinition, '2016-06-01/generated/azure_mgmt_logic/models/list_key_vault_keys_definition.rb'
147
+ autoload :BatchReleaseCriteria, '2016-06-01/generated/azure_mgmt_logic/models/batch_release_criteria.rb'
148
+ autoload :KeyVaultKeyAttributes, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_attributes.rb'
149
+ autoload :RunCorrelation, '2016-06-01/generated/azure_mgmt_logic/models/run_correlation.rb'
150
+ autoload :KeyVaultKey, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_key.rb'
151
+ autoload :AS2SecuritySettings, '2016-06-01/generated/azure_mgmt_logic/models/as2security_settings.rb'
152
+ autoload :KeyVaultKeyCollection, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_collection.rb'
153
+ autoload :WorkflowRunActionListResult, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_list_result.rb'
154
+ autoload :TrackingEventErrorInfo, '2016-06-01/generated/azure_mgmt_logic/models/tracking_event_error_info.rb'
155
+ autoload :WorkflowTriggerCallbackUrl, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_callback_url.rb'
156
+ autoload :TrackingEvent, '2016-06-01/generated/azure_mgmt_logic/models/tracking_event.rb'
157
+ autoload :B2BPartnerContent, '2016-06-01/generated/azure_mgmt_logic/models/b2bpartner_content.rb'
158
+ autoload :TrackingEventsDefinition, '2016-06-01/generated/azure_mgmt_logic/models/tracking_events_definition.rb'
133
159
  autoload :Workflow, '2016-06-01/generated/azure_mgmt_logic/models/workflow.rb'
134
160
  autoload :WorkflowVersion, '2016-06-01/generated/azure_mgmt_logic/models/workflow_version.rb'
135
161
  autoload :WorkflowTrigger, '2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger.rb'
@@ -144,6 +170,17 @@ module Azure::Logic::Mgmt::V2016_06_01
144
170
  autoload :IntegrationAccountAgreement, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_agreement.rb'
145
171
  autoload :IntegrationAccountCertificate, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_certificate.rb'
146
172
  autoload :IntegrationAccountSession, '2016-06-01/generated/azure_mgmt_logic/models/integration_account_session.rb'
173
+ autoload :KeyVaultReference, '2016-06-01/generated/azure_mgmt_logic/models/key_vault_reference.rb'
174
+ autoload :ExpressionRoot, '2016-06-01/generated/azure_mgmt_logic/models/expression_root.rb'
175
+ autoload :AzureResourceErrorInfo, '2016-06-01/generated/azure_mgmt_logic/models/azure_resource_error_info.rb'
176
+ autoload :WorkflowRunActionRepetitionDefinition, '2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition.rb'
177
+ autoload :OperationResult, '2016-06-01/generated/azure_mgmt_logic/models/operation_result.rb'
178
+ autoload :RunActionCorrelation, '2016-06-01/generated/azure_mgmt_logic/models/run_action_correlation.rb'
179
+ autoload :AssemblyDefinition, '2016-06-01/generated/azure_mgmt_logic/models/assembly_definition.rb'
180
+ autoload :ArtifactContentPropertiesDefinition, '2016-06-01/generated/azure_mgmt_logic/models/artifact_content_properties_definition.rb'
181
+ autoload :AssemblyProperties, '2016-06-01/generated/azure_mgmt_logic/models/assembly_properties.rb'
182
+ autoload :BatchConfigurationProperties, '2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_properties.rb'
183
+ autoload :BatchConfiguration, '2016-06-01/generated/azure_mgmt_logic/models/batch_configuration.rb'
147
184
  autoload :WorkflowProvisioningState, '2016-06-01/generated/azure_mgmt_logic/models/workflow_provisioning_state.rb'
148
185
  autoload :WorkflowState, '2016-06-01/generated/azure_mgmt_logic/models/workflow_state.rb'
149
186
  autoload :SkuName, '2016-06-01/generated/azure_mgmt_logic/models/sku_name.rb'
@@ -171,5 +208,9 @@ module Azure::Logic::Mgmt::V2016_06_01
171
208
  autoload :MessageFilterType, '2016-06-01/generated/azure_mgmt_logic/models/message_filter_type.rb'
172
209
  autoload :EdifactCharacterSet, '2016-06-01/generated/azure_mgmt_logic/models/edifact_character_set.rb'
173
210
  autoload :EdifactDecimalIndicator, '2016-06-01/generated/azure_mgmt_logic/models/edifact_decimal_indicator.rb'
211
+ autoload :TrackEventsOperationOptions, '2016-06-01/generated/azure_mgmt_logic/models/track_events_operation_options.rb'
212
+ autoload :EventLevel, '2016-06-01/generated/azure_mgmt_logic/models/event_level.rb'
213
+ autoload :TrackingRecordType, '2016-06-01/generated/azure_mgmt_logic/models/tracking_record_type.rb'
214
+ autoload :AccessKeyType, '2016-06-01/generated/azure_mgmt_logic/models/access_key_type.rb'
174
215
  end
175
216
  end
@@ -27,7 +27,8 @@ module Azure::Logic::Mgmt::V2016_06_01
27
27
  # @param resource_group_name [String] The resource group name.
28
28
  # @param integration_account_name [String] The integration account name.
29
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.
30
+ # @param filter [String] The filter to apply on the operation. Options for
31
+ # filters include: AgreementType.
31
32
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
33
  # will be added to the HTTP request.
33
34
  #
@@ -44,7 +45,8 @@ module Azure::Logic::Mgmt::V2016_06_01
44
45
  # @param resource_group_name [String] The resource group name.
45
46
  # @param integration_account_name [String] The integration account name.
46
47
  # @param top [Integer] The number of items to be included in the result.
47
- # @param filter [String] The filter to apply on the operation.
48
+ # @param filter [String] The filter to apply on the operation. Options for
49
+ # filters include: AgreementType.
48
50
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
51
  # will be added to the HTTP request.
50
52
  #
@@ -60,7 +62,8 @@ module Azure::Logic::Mgmt::V2016_06_01
60
62
  # @param resource_group_name [String] The resource group name.
61
63
  # @param integration_account_name [String] The integration account name.
62
64
  # @param top [Integer] The number of items to be included in the result.
63
- # @param filter [String] The filter to apply on the operation.
65
+ # @param filter [String] The filter to apply on the operation. Options for
66
+ # filters include: AgreementType.
64
67
  # @param [Hash{String => String}] A hash of custom headers that will be added
65
68
  # to the HTTP request.
66
69
  #
@@ -420,6 +423,113 @@ module Azure::Logic::Mgmt::V2016_06_01
420
423
  promise.execute
421
424
  end
422
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::V2016_06_01::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::V2016_06_01::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
+
423
533
  #
424
534
  # Gets a list of integration account agreements.
425
535
  #
@@ -514,7 +624,8 @@ module Azure::Logic::Mgmt::V2016_06_01
514
624
  # @param resource_group_name [String] The resource group name.
515
625
  # @param integration_account_name [String] The integration account name.
516
626
  # @param top [Integer] The number of items to be included in the result.
517
- # @param filter [String] The filter to apply on the operation.
627
+ # @param filter [String] The filter to apply on the operation. Options for
628
+ # filters include: AgreementType.
518
629
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
519
630
  # will be added to the HTTP request.
520
631
  #
@@ -0,0 +1,511 @@
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::V2016_06_01
7
+ #
8
+ # REST API for Azure Logic Apps.
9
+ #
10
+ class IntegrationAccountAssemblies
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the IntegrationAccountAssemblies 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 assemblies 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 [AssemblyCollection] 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 assemblies 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 assemblies 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}/assemblies'
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::V2016_06_01::Models::AssemblyCollection.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 an assembly 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 assembly_artifact_name [String] The assembly artifact 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 [AssemblyDefinition] operation results.
126
+ #
127
+ def get(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
128
+ response = get_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
129
+ response.body unless response.nil?
130
+ end
131
+
132
+ #
133
+ # Get an assembly 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 assembly_artifact_name [String] The assembly artifact 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, assembly_artifact_name, custom_headers:nil)
144
+ get_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
145
+ end
146
+
147
+ #
148
+ # Get an assembly 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 assembly_artifact_name [String] The assembly artifact 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, assembly_artifact_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, 'assembly_artifact_name is nil' if assembly_artifact_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}/assemblies/{assemblyArtifactName}'
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,'assemblyArtifactName' => assembly_artifact_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::V2016_06_01::Models::AssemblyDefinition.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 an assembly 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 assembly_artifact_name [String] The assembly artifact name.
218
+ # @param assembly_artifact [AssemblyDefinition] The assembly artifact.
219
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
220
+ # will be added to the HTTP request.
221
+ #
222
+ # @return [AssemblyDefinition] operation results.
223
+ #
224
+ def create_or_update(resource_group_name, integration_account_name, assembly_artifact_name, assembly_artifact, custom_headers:nil)
225
+ response = create_or_update_async(resource_group_name, integration_account_name, assembly_artifact_name, assembly_artifact, custom_headers:custom_headers).value!
226
+ response.body unless response.nil?
227
+ end
228
+
229
+ #
230
+ # Create or update an assembly 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 assembly_artifact_name [String] The assembly artifact name.
235
+ # @param assembly_artifact [AssemblyDefinition] The assembly artifact.
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, assembly_artifact_name, assembly_artifact, custom_headers:nil)
242
+ create_or_update_async(resource_group_name, integration_account_name, assembly_artifact_name, assembly_artifact, custom_headers:custom_headers).value!
243
+ end
244
+
245
+ #
246
+ # Create or update an assembly 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 assembly_artifact_name [String] The assembly artifact name.
251
+ # @param assembly_artifact [AssemblyDefinition] The assembly artifact.
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, assembly_artifact_name, assembly_artifact, 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, 'assembly_artifact_name is nil' if assembly_artifact_name.nil?
262
+ fail ArgumentError, 'assembly_artifact is nil' if assembly_artifact.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::V2016_06_01::Models::AssemblyDefinition.mapper()
275
+ request_content = @client.serialize(request_mapper, assembly_artifact)
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}/assemblies/{assemblyArtifactName}'
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,'assemblyArtifactName' => assembly_artifact_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::V2016_06_01::Models::AssemblyDefinition.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::V2016_06_01::Models::AssemblyDefinition.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 an assembly 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 assembly_artifact_name [String] The assembly artifact 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, assembly_artifact_name, custom_headers:nil)
340
+ response = delete_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
341
+ nil
342
+ end
343
+
344
+ #
345
+ # Delete an assembly 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 assembly_artifact_name [String] The assembly artifact 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, assembly_artifact_name, custom_headers:nil)
356
+ delete_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
357
+ end
358
+
359
+ #
360
+ # Delete an assembly 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 assembly_artifact_name [String] The assembly artifact 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, assembly_artifact_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, 'assembly_artifact_name is nil' if assembly_artifact_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}/assemblies/{assemblyArtifactName}'
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,'assemblyArtifactName' => assembly_artifact_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
+ #
415
+ # Get the content callback url for an integration account assembly.
416
+ #
417
+ # @param resource_group_name [String] The resource group name.
418
+ # @param integration_account_name [String] The integration account name.
419
+ # @param assembly_artifact_name [String] The assembly artifact name.
420
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
421
+ # will be added to the HTTP request.
422
+ #
423
+ # @return [WorkflowTriggerCallbackUrl] operation results.
424
+ #
425
+ def list_content_callback_url(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
426
+ response = list_content_callback_url_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
427
+ response.body unless response.nil?
428
+ end
429
+
430
+ #
431
+ # Get the content callback url for an integration account assembly.
432
+ #
433
+ # @param resource_group_name [String] The resource group name.
434
+ # @param integration_account_name [String] The integration account name.
435
+ # @param assembly_artifact_name [String] The assembly artifact name.
436
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
437
+ # will be added to the HTTP request.
438
+ #
439
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
440
+ #
441
+ def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
442
+ list_content_callback_url_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
443
+ end
444
+
445
+ #
446
+ # Get the content callback url for an integration account assembly.
447
+ #
448
+ # @param resource_group_name [String] The resource group name.
449
+ # @param integration_account_name [String] The integration account name.
450
+ # @param assembly_artifact_name [String] The assembly artifact name.
451
+ # @param [Hash{String => String}] A hash of custom headers that will be added
452
+ # to the HTTP request.
453
+ #
454
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
455
+ #
456
+ def list_content_callback_url_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
457
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
458
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
459
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
460
+ fail ArgumentError, 'assembly_artifact_name is nil' if assembly_artifact_name.nil?
461
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
462
+
463
+
464
+ request_headers = {}
465
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
466
+
467
+ # Set Headers
468
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
469
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
470
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}/listContentCallbackUrl'
471
+
472
+ request_url = @base_url || @client.base_url
473
+
474
+ options = {
475
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
476
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'assemblyArtifactName' => assembly_artifact_name},
477
+ query_params: {'api-version' => @client.api_version},
478
+ headers: request_headers.merge(custom_headers || {}),
479
+ base_url: request_url
480
+ }
481
+ promise = @client.make_request_async(:post, path_template, options)
482
+
483
+ promise = promise.then do |result|
484
+ http_response = result.response
485
+ status_code = http_response.status
486
+ response_content = http_response.body
487
+ unless status_code == 200
488
+ error_model = JSON.load(response_content)
489
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
490
+ end
491
+
492
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
493
+ # Deserialize Response
494
+ if status_code == 200
495
+ begin
496
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
497
+ result_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl.mapper()
498
+ result.body = @client.deserialize(result_mapper, parsed_response)
499
+ rescue Exception => e
500
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
501
+ end
502
+ end
503
+
504
+ result
505
+ end
506
+
507
+ promise.execute
508
+ end
509
+
510
+ end
511
+ end