azure_mgmt_logic 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_logic.rb +100 -12
  3. data/lib/generated/azure_mgmt_logic/integration_account_agreements.rb +534 -0
  4. data/lib/generated/azure_mgmt_logic/integration_account_certificates.rb +530 -0
  5. data/lib/generated/azure_mgmt_logic/integration_account_maps.rb +531 -0
  6. data/lib/generated/azure_mgmt_logic/integration_account_partners.rb +531 -0
  7. data/lib/generated/azure_mgmt_logic/integration_account_schemas.rb +531 -0
  8. data/lib/generated/azure_mgmt_logic/integration_accounts.rb +912 -0
  9. data/lib/generated/azure_mgmt_logic/logic_management_client.rb +38 -5
  10. data/lib/generated/azure_mgmt_logic/models/agreement_content.rb +68 -0
  11. data/lib/generated/azure_mgmt_logic/models/agreement_type.rb +18 -0
  12. data/lib/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb +79 -0
  13. data/lib/generated/azure_mgmt_logic/models/as2agreement_content.rb +57 -0
  14. data/lib/generated/azure_mgmt_logic/models/as2envelope_settings.rb +88 -0
  15. data/lib/generated/azure_mgmt_logic/models/as2error_settings.rb +57 -0
  16. data/lib/generated/azure_mgmt_logic/models/as2mdn_settings.rb +132 -0
  17. data/lib/generated/azure_mgmt_logic/models/as2message_connection_settings.rb +79 -0
  18. data/lib/generated/azure_mgmt_logic/models/as2one_way_agreement.rb +68 -0
  19. data/lib/generated/azure_mgmt_logic/models/as2protocol_settings.rb +113 -0
  20. data/lib/generated/azure_mgmt_logic/models/as2security_settings.rb +132 -0
  21. data/lib/generated/azure_mgmt_logic/models/as2validation_settings.rb +136 -0
  22. data/lib/generated/azure_mgmt_logic/models/b2bpartner_content.rb +54 -0
  23. data/lib/generated/azure_mgmt_logic/models/business_identity.rb +55 -0
  24. data/lib/generated/azure_mgmt_logic/models/callback_url.rb +45 -0
  25. data/lib/generated/azure_mgmt_logic/models/content_hash.rb +2 -1
  26. data/lib/generated/azure_mgmt_logic/models/content_link.rb +2 -1
  27. data/lib/generated/azure_mgmt_logic/models/correlation.rb +2 -1
  28. data/lib/generated/azure_mgmt_logic/models/day_of_week.rb +1 -1
  29. data/lib/generated/azure_mgmt_logic/models/days_of_week.rb +1 -1
  30. data/lib/generated/azure_mgmt_logic/models/edifact_acknowledgement_settings.rb +152 -0
  31. data/lib/generated/azure_mgmt_logic/models/edifact_agreement_content.rb +57 -0
  32. data/lib/generated/azure_mgmt_logic/models/edifact_character_set.rb +29 -0
  33. data/lib/generated/azure_mgmt_logic/models/edifact_decimal_indicator.rb +17 -0
  34. data/lib/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb +160 -0
  35. data/lib/generated/azure_mgmt_logic/models/edifact_envelope_override.rb +189 -0
  36. data/lib/generated/azure_mgmt_logic/models/edifact_envelope_settings.rb +453 -0
  37. data/lib/generated/azure_mgmt_logic/models/edifact_framing_settings.rb +154 -0
  38. data/lib/generated/azure_mgmt_logic/models/edifact_message_filter.rb +47 -0
  39. data/lib/generated/azure_mgmt_logic/models/edifact_message_identifier.rb +46 -0
  40. data/lib/generated/azure_mgmt_logic/models/edifact_one_way_agreement.rb +68 -0
  41. data/lib/generated/azure_mgmt_logic/models/edifact_processing_settings.rb +89 -0
  42. data/lib/generated/azure_mgmt_logic/models/edifact_protocol_settings.rb +196 -0
  43. data/lib/generated/azure_mgmt_logic/models/edifact_schema_reference.rb +105 -0
  44. data/lib/generated/azure_mgmt_logic/models/edifact_validation_override.rb +112 -0
  45. data/lib/generated/azure_mgmt_logic/models/edifact_validation_settings.rb +146 -0
  46. data/lib/generated/azure_mgmt_logic/models/encryption_algorithm.rb +21 -0
  47. data/lib/generated/azure_mgmt_logic/models/generate_upgraded_definition_parameters.rb +2 -1
  48. data/lib/generated/azure_mgmt_logic/models/hashing_algorithm.rb +19 -0
  49. data/lib/generated/azure_mgmt_logic/models/integration_account.rb +98 -0
  50. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement.rb +174 -0
  51. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement_filter.rb +48 -0
  52. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement_list_result.rb +94 -0
  53. data/lib/generated/azure_mgmt_logic/models/integration_account_certificate.rb +130 -0
  54. data/lib/generated/azure_mgmt_logic/models/integration_account_certificate_list_result.rb +95 -0
  55. data/lib/generated/azure_mgmt_logic/models/integration_account_content_hash.rb +55 -0
  56. data/lib/generated/azure_mgmt_logic/models/integration_account_content_link.rb +86 -0
  57. data/lib/generated/azure_mgmt_logic/models/integration_account_list_result.rb +93 -0
  58. data/lib/generated/azure_mgmt_logic/models/integration_account_map.rb +153 -0
  59. data/lib/generated/azure_mgmt_logic/models/integration_account_map_filter.rb +47 -0
  60. data/lib/generated/azure_mgmt_logic/models/integration_account_map_list_result.rb +94 -0
  61. data/lib/generated/azure_mgmt_logic/models/integration_account_partner.rb +132 -0
  62. data/lib/generated/azure_mgmt_logic/models/integration_account_partner_filter.rb +47 -0
  63. data/lib/generated/azure_mgmt_logic/models/integration_account_partner_list_result.rb +94 -0
  64. data/lib/generated/azure_mgmt_logic/models/integration_account_resource.rb +92 -0
  65. data/lib/generated/azure_mgmt_logic/models/integration_account_schema.rb +163 -0
  66. data/lib/generated/azure_mgmt_logic/models/integration_account_schema_filter.rb +47 -0
  67. data/lib/generated/azure_mgmt_logic/models/integration_account_schema_list_result.rb +94 -0
  68. data/lib/generated/azure_mgmt_logic/models/integration_account_sku.rb +47 -0
  69. data/lib/generated/azure_mgmt_logic/models/key_type.rb +1 -1
  70. data/lib/generated/azure_mgmt_logic/models/key_vault_key_reference.rb +66 -0
  71. data/lib/generated/azure_mgmt_logic/models/key_vault_key_reference_key_vault.rb +66 -0
  72. data/lib/generated/azure_mgmt_logic/models/list_callback_url_parameters.rb +45 -0
  73. data/lib/generated/azure_mgmt_logic/models/map_type.rb +16 -0
  74. data/lib/generated/azure_mgmt_logic/models/message_filter_type.rb +17 -0
  75. data/lib/generated/azure_mgmt_logic/models/parameter_type.rb +1 -1
  76. data/lib/generated/azure_mgmt_logic/models/partner_content.rb +46 -0
  77. data/lib/generated/azure_mgmt_logic/models/partner_type.rb +16 -0
  78. data/lib/generated/azure_mgmt_logic/models/recurrence_frequency.rb +1 -1
  79. data/lib/generated/azure_mgmt_logic/models/recurrence_schedule.rb +2 -1
  80. data/lib/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb +2 -1
  81. data/lib/generated/azure_mgmt_logic/models/resource_reference.rb +2 -1
  82. data/lib/generated/azure_mgmt_logic/models/schema_type.rb +16 -0
  83. data/lib/generated/azure_mgmt_logic/models/segment_terminator_suffix.rb +19 -0
  84. data/lib/generated/azure_mgmt_logic/models/sku.rb +2 -1
  85. data/lib/generated/azure_mgmt_logic/models/sku_name.rb +1 -1
  86. data/lib/generated/azure_mgmt_logic/models/trailing_separator_policy.rb +18 -0
  87. data/lib/generated/azure_mgmt_logic/models/usage_indicator.rb +18 -0
  88. data/lib/generated/azure_mgmt_logic/models/workflow.rb +2 -1
  89. data/lib/generated/azure_mgmt_logic/models/workflow_filter.rb +4 -3
  90. data/lib/generated/azure_mgmt_logic/models/workflow_list_result.rb +1 -1
  91. data/lib/generated/azure_mgmt_logic/models/workflow_output_parameter.rb +2 -1
  92. data/lib/generated/azure_mgmt_logic/models/workflow_parameter.rb +2 -1
  93. data/lib/generated/azure_mgmt_logic/models/workflow_provisioning_state.rb +1 -1
  94. data/lib/generated/azure_mgmt_logic/models/workflow_run.rb +5 -4
  95. data/lib/generated/azure_mgmt_logic/models/workflow_run_action.rb +5 -4
  96. data/lib/generated/azure_mgmt_logic/models/workflow_run_action_filter.rb +4 -3
  97. data/lib/generated/azure_mgmt_logic/models/workflow_run_action_list_result.rb +1 -1
  98. data/lib/generated/azure_mgmt_logic/models/workflow_run_filter.rb +2 -1
  99. data/lib/generated/azure_mgmt_logic/models/workflow_run_list_result.rb +1 -1
  100. data/lib/generated/azure_mgmt_logic/models/workflow_run_trigger.rb +5 -4
  101. data/lib/generated/azure_mgmt_logic/models/workflow_state.rb +1 -1
  102. data/lib/generated/azure_mgmt_logic/models/workflow_status.rb +1 -1
  103. data/lib/generated/azure_mgmt_logic/models/workflow_trigger.rb +10 -10
  104. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_callback_url.rb +2 -1
  105. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_filter.rb +4 -3
  106. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_history.rb +5 -4
  107. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_history_filter.rb +4 -3
  108. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_history_list_result.rb +1 -1
  109. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_list_result.rb +1 -1
  110. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_provisioning_state.rb +1 -1
  111. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb +2 -1
  112. data/lib/generated/azure_mgmt_logic/models/workflow_version.rb +2 -1
  113. data/lib/generated/azure_mgmt_logic/models/workflow_version_list_result.rb +1 -1
  114. data/lib/generated/azure_mgmt_logic/models/x12acknowledgement_settings.rb +194 -0
  115. data/lib/generated/azure_mgmt_logic/models/x12agreement_content.rb +57 -0
  116. data/lib/generated/azure_mgmt_logic/models/x12character_set.rb +18 -0
  117. data/lib/generated/azure_mgmt_logic/models/x12date_format.rb +17 -0
  118. data/lib/generated/azure_mgmt_logic/models/x12delimiter_overrides.rb +129 -0
  119. data/lib/generated/azure_mgmt_logic/models/x12envelope_override.rb +142 -0
  120. data/lib/generated/azure_mgmt_logic/models/x12envelope_settings.rb +287 -0
  121. data/lib/generated/azure_mgmt_logic/models/x12framing_settings.rb +110 -0
  122. data/lib/generated/azure_mgmt_logic/models/x12message_filter.rb +47 -0
  123. data/lib/generated/azure_mgmt_logic/models/x12message_identifier.rb +45 -0
  124. data/lib/generated/azure_mgmt_logic/models/x12one_way_agreement.rb +68 -0
  125. data/lib/generated/azure_mgmt_logic/models/x12processing_settings.rb +100 -0
  126. data/lib/generated/azure_mgmt_logic/models/x12protocol_settings.rb +205 -0
  127. data/lib/generated/azure_mgmt_logic/models/x12schema_reference.rb +75 -0
  128. data/lib/generated/azure_mgmt_logic/models/x12security_settings.rb +75 -0
  129. data/lib/generated/azure_mgmt_logic/models/x12time_format.rb +19 -0
  130. data/lib/generated/azure_mgmt_logic/models/x12validation_override.rb +112 -0
  131. data/lib/generated/azure_mgmt_logic/models/x12validation_settings.rb +146 -0
  132. data/lib/generated/azure_mgmt_logic/module_definition.rb +1 -1
  133. data/lib/generated/azure_mgmt_logic/version.rb +2 -2
  134. data/lib/generated/azure_mgmt_logic/workflow_run_actions.rb +37 -37
  135. data/lib/generated/azure_mgmt_logic/workflow_runs.rb +38 -38
  136. data/lib/generated/azure_mgmt_logic/workflow_trigger_histories.rb +37 -37
  137. data/lib/generated/azure_mgmt_logic/workflow_triggers.rb +40 -40
  138. data/lib/generated/azure_mgmt_logic/workflow_versions.rb +35 -35
  139. data/lib/generated/azure_mgmt_logic/workflows.rb +79 -79
  140. metadata +92 -4
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Logic
7
7
  #
8
- # WorkflowRunActions
8
+ # Composite Swagger for Logic Management Client
9
9
  #
10
10
  class WorkflowRunActions
11
11
  include Azure::ARM::Logic::Models
@@ -22,31 +22,6 @@ module Azure::ARM::Logic
22
22
  # @return [LogicManagementClient] reference to the LogicManagementClient
23
23
  attr_reader :client
24
24
 
25
- #
26
- # Gets a list of workflow run actions.
27
- #
28
- # @param resource_group_name [String] The resource group name.
29
- # @param workflow_name [String] The workflow name.
30
- # @param run_name [String] The workflow run name.
31
- # @param top [Integer] The number of items to be included in the result.
32
- # @param filter [String] The filter to apply on the operation.
33
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
- # will be added to the HTTP request.
35
- #
36
- # @return [WorkflowRunActionListResult] which provide lazy access to pages of
37
- # the response.
38
- #
39
- def list_as_lazy(resource_group_name, workflow_name, run_name, top = nil, filter = nil, custom_headers = nil)
40
- response = list_async(resource_group_name, workflow_name, run_name, top, filter, custom_headers).value!
41
- unless response.nil?
42
- page = response.body
43
- page.next_method = Proc.new do |next_page_link|
44
- list_next_async(next_page_link, custom_headers)
45
- end
46
- page
47
- end
48
- end
49
-
50
25
  #
51
26
  # Gets a list of workflow run actions.
52
27
  #
@@ -100,7 +75,7 @@ module Azure::ARM::Logic
100
75
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
101
76
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
102
77
  fail ArgumentError, 'run_name is nil' if run_name.nil?
103
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
78
+ api_version = '2016-06-01'
104
79
 
105
80
 
106
81
  request_headers = {}
@@ -115,7 +90,7 @@ module Azure::ARM::Logic
115
90
  options = {
116
91
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
117
92
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'runName' => run_name},
118
- query_params: {'api-version' => @client.api_version,'$top' => top,'$filter' => filter},
93
+ query_params: {'api-version' => api_version,'$top' => top,'$filter' => filter},
119
94
  headers: request_headers.merge(custom_headers || {}),
120
95
  base_url: request_url
121
96
  }
@@ -199,7 +174,7 @@ module Azure::ARM::Logic
199
174
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
200
175
  fail ArgumentError, 'run_name is nil' if run_name.nil?
201
176
  fail ArgumentError, 'action_name is nil' if action_name.nil?
202
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
177
+ api_version = '2016-06-01'
203
178
 
204
179
 
205
180
  request_headers = {}
@@ -214,7 +189,7 @@ module Azure::ARM::Logic
214
189
  options = {
215
190
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
216
191
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'runName' => run_name,'actionName' => action_name},
217
- query_params: {'api-version' => @client.api_version},
192
+ query_params: {'api-version' => api_version},
218
193
  headers: request_headers.merge(custom_headers || {}),
219
194
  base_url: request_url
220
195
  }
@@ -250,8 +225,8 @@ module Azure::ARM::Logic
250
225
  #
251
226
  # Gets a list of workflow run actions.
252
227
  #
253
- # @param next_page_link [String] The NextLink from the previous successful
254
- # call to List operation.
228
+ # @param next_page_link [String] The NextLink from the previous successful call
229
+ # to List operation.
255
230
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
256
231
  # will be added to the HTTP request.
257
232
  #
@@ -265,8 +240,8 @@ module Azure::ARM::Logic
265
240
  #
266
241
  # Gets a list of workflow run actions.
267
242
  #
268
- # @param next_page_link [String] The NextLink from the previous successful
269
- # call to List operation.
243
+ # @param next_page_link [String] The NextLink from the previous successful call
244
+ # to List operation.
270
245
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
271
246
  # will be added to the HTTP request.
272
247
  #
@@ -279,8 +254,8 @@ module Azure::ARM::Logic
279
254
  #
280
255
  # Gets a list of workflow run actions.
281
256
  #
282
- # @param next_page_link [String] The NextLink from the previous successful
283
- # call to List operation.
257
+ # @param next_page_link [String] The NextLink from the previous successful call
258
+ # to List operation.
284
259
  # @param [Hash{String => String}] A hash of custom headers that will be added
285
260
  # to the HTTP request.
286
261
  #
@@ -334,5 +309,30 @@ module Azure::ARM::Logic
334
309
  promise.execute
335
310
  end
336
311
 
312
+ #
313
+ # Gets a list of workflow run actions.
314
+ #
315
+ # @param resource_group_name [String] The resource group name.
316
+ # @param workflow_name [String] The workflow name.
317
+ # @param run_name [String] The workflow run name.
318
+ # @param top [Integer] The number of items to be included in the result.
319
+ # @param filter [String] The filter to apply on the operation.
320
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
321
+ # will be added to the HTTP request.
322
+ #
323
+ # @return [WorkflowRunActionListResult] which provide lazy access to pages of
324
+ # the response.
325
+ #
326
+ def list_as_lazy(resource_group_name, workflow_name, run_name, top = nil, filter = nil, custom_headers = nil)
327
+ response = list_async(resource_group_name, workflow_name, run_name, top, filter, custom_headers).value!
328
+ unless response.nil?
329
+ page = response.body
330
+ page.next_method = Proc.new do |next_page_link|
331
+ list_next_async(next_page_link, custom_headers)
332
+ end
333
+ page
334
+ end
335
+ end
336
+
337
337
  end
338
338
  end
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Logic
7
7
  #
8
- # WorkflowRuns
8
+ # Composite Swagger for Logic Management Client
9
9
  #
10
10
  class WorkflowRuns
11
11
  include Azure::ARM::Logic::Models
@@ -22,30 +22,6 @@ module Azure::ARM::Logic
22
22
  # @return [LogicManagementClient] reference to the LogicManagementClient
23
23
  attr_reader :client
24
24
 
25
- #
26
- # Gets a list of workflow runs.
27
- #
28
- # @param resource_group_name [String] The resource group name.
29
- # @param workflow_name [String] The workflow name.
30
- # @param top [Integer] The number of items to be included in the result.
31
- # @param filter [String] The filter to apply on the operation.
32
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
- # will be added to the HTTP request.
34
- #
35
- # @return [WorkflowRunListResult] which provide lazy access to pages of the
36
- # response.
37
- #
38
- def list_as_lazy(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
39
- response = list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
40
- unless response.nil?
41
- page = response.body
42
- page.next_method = Proc.new do |next_page_link|
43
- list_next_async(next_page_link, custom_headers)
44
- end
45
- page
46
- end
47
- end
48
-
49
25
  #
50
26
  # Gets a list of workflow runs.
51
27
  #
@@ -95,7 +71,7 @@ module Azure::ARM::Logic
95
71
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
96
72
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
97
73
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
98
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
+ api_version = '2016-06-01'
99
75
 
100
76
 
101
77
  request_headers = {}
@@ -110,7 +86,7 @@ module Azure::ARM::Logic
110
86
  options = {
111
87
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
112
88
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
113
- query_params: {'api-version' => @client.api_version,'$top' => top,'$filter' => filter},
89
+ query_params: {'api-version' => api_version,'$top' => top,'$filter' => filter},
114
90
  headers: request_headers.merge(custom_headers || {}),
115
91
  base_url: request_url
116
92
  }
@@ -190,7 +166,7 @@ module Azure::ARM::Logic
190
166
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
191
167
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
192
168
  fail ArgumentError, 'run_name is nil' if run_name.nil?
193
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
169
+ api_version = '2016-06-01'
194
170
 
195
171
 
196
172
  request_headers = {}
@@ -205,7 +181,7 @@ module Azure::ARM::Logic
205
181
  options = {
206
182
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
207
183
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'runName' => run_name},
208
- query_params: {'api-version' => @client.api_version},
184
+ query_params: {'api-version' => api_version},
209
185
  headers: request_headers.merge(custom_headers || {}),
210
186
  base_url: request_url
211
187
  }
@@ -284,7 +260,7 @@ module Azure::ARM::Logic
284
260
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
285
261
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
286
262
  fail ArgumentError, 'run_name is nil' if run_name.nil?
287
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
263
+ api_version = '2016-06-01'
288
264
 
289
265
 
290
266
  request_headers = {}
@@ -299,7 +275,7 @@ module Azure::ARM::Logic
299
275
  options = {
300
276
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
301
277
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'runName' => run_name},
302
- query_params: {'api-version' => @client.api_version},
278
+ query_params: {'api-version' => api_version},
303
279
  headers: request_headers.merge(custom_headers || {}),
304
280
  base_url: request_url
305
281
  }
@@ -325,8 +301,8 @@ module Azure::ARM::Logic
325
301
  #
326
302
  # Gets a list of workflow runs.
327
303
  #
328
- # @param next_page_link [String] The NextLink from the previous successful
329
- # call to List operation.
304
+ # @param next_page_link [String] The NextLink from the previous successful call
305
+ # to List operation.
330
306
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
331
307
  # will be added to the HTTP request.
332
308
  #
@@ -340,8 +316,8 @@ module Azure::ARM::Logic
340
316
  #
341
317
  # Gets a list of workflow runs.
342
318
  #
343
- # @param next_page_link [String] The NextLink from the previous successful
344
- # call to List operation.
319
+ # @param next_page_link [String] The NextLink from the previous successful call
320
+ # to List operation.
345
321
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
346
322
  # will be added to the HTTP request.
347
323
  #
@@ -354,8 +330,8 @@ module Azure::ARM::Logic
354
330
  #
355
331
  # Gets a list of workflow runs.
356
332
  #
357
- # @param next_page_link [String] The NextLink from the previous successful
358
- # call to List operation.
333
+ # @param next_page_link [String] The NextLink from the previous successful call
334
+ # to List operation.
359
335
  # @param [Hash{String => String}] A hash of custom headers that will be added
360
336
  # to the HTTP request.
361
337
  #
@@ -409,5 +385,29 @@ module Azure::ARM::Logic
409
385
  promise.execute
410
386
  end
411
387
 
388
+ #
389
+ # Gets a list of workflow runs.
390
+ #
391
+ # @param resource_group_name [String] The resource group name.
392
+ # @param workflow_name [String] The workflow name.
393
+ # @param top [Integer] The number of items to be included in the result.
394
+ # @param filter [String] The filter to apply on the operation.
395
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
396
+ # will be added to the HTTP request.
397
+ #
398
+ # @return [WorkflowRunListResult] which provide lazy access to pages of the
399
+ # response.
400
+ #
401
+ def list_as_lazy(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
402
+ response = list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
403
+ unless response.nil?
404
+ page = response.body
405
+ page.next_method = Proc.new do |next_page_link|
406
+ list_next_async(next_page_link, custom_headers)
407
+ end
408
+ page
409
+ end
410
+ end
411
+
412
412
  end
413
413
  end
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Logic
7
7
  #
8
- # WorkflowTriggerHistories
8
+ # Composite Swagger for Logic Management Client
9
9
  #
10
10
  class WorkflowTriggerHistories
11
11
  include Azure::ARM::Logic::Models
@@ -22,31 +22,6 @@ module Azure::ARM::Logic
22
22
  # @return [LogicManagementClient] reference to the LogicManagementClient
23
23
  attr_reader :client
24
24
 
25
- #
26
- # Gets a list of workflow trigger histories.
27
- #
28
- # @param resource_group_name [String] The resource group name.
29
- # @param workflow_name [String] The workflow name.
30
- # @param trigger_name [String] The workflow trigger name.
31
- # @param top [Integer] The number of items to be included in the result.
32
- # @param filter [String] The filter to apply on the operation.
33
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
- # will be added to the HTTP request.
35
- #
36
- # @return [WorkflowTriggerHistoryListResult] which provide lazy access to
37
- # pages of the response.
38
- #
39
- def list_as_lazy(resource_group_name, workflow_name, trigger_name, top = nil, filter = nil, custom_headers = nil)
40
- response = list_async(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers).value!
41
- unless response.nil?
42
- page = response.body
43
- page.next_method = Proc.new do |next_page_link|
44
- list_next_async(next_page_link, custom_headers)
45
- end
46
- page
47
- end
48
- end
49
-
50
25
  #
51
26
  # Gets a list of workflow trigger histories.
52
27
  #
@@ -100,7 +75,7 @@ module Azure::ARM::Logic
100
75
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
101
76
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
102
77
  fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
103
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
78
+ api_version = '2016-06-01'
104
79
 
105
80
 
106
81
  request_headers = {}
@@ -115,7 +90,7 @@ module Azure::ARM::Logic
115
90
  options = {
116
91
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
117
92
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'triggerName' => trigger_name},
118
- query_params: {'api-version' => @client.api_version,'$top' => top,'$filter' => filter},
93
+ query_params: {'api-version' => api_version,'$top' => top,'$filter' => filter},
119
94
  headers: request_headers.merge(custom_headers || {}),
120
95
  base_url: request_url
121
96
  }
@@ -199,7 +174,7 @@ module Azure::ARM::Logic
199
174
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
200
175
  fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
201
176
  fail ArgumentError, 'history_name is nil' if history_name.nil?
202
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
177
+ api_version = '2016-06-01'
203
178
 
204
179
 
205
180
  request_headers = {}
@@ -214,7 +189,7 @@ module Azure::ARM::Logic
214
189
  options = {
215
190
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
216
191
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'triggerName' => trigger_name,'historyName' => history_name},
217
- query_params: {'api-version' => @client.api_version},
192
+ query_params: {'api-version' => api_version},
218
193
  headers: request_headers.merge(custom_headers || {}),
219
194
  base_url: request_url
220
195
  }
@@ -250,8 +225,8 @@ module Azure::ARM::Logic
250
225
  #
251
226
  # Gets a list of workflow trigger histories.
252
227
  #
253
- # @param next_page_link [String] The NextLink from the previous successful
254
- # call to List operation.
228
+ # @param next_page_link [String] The NextLink from the previous successful call
229
+ # to List operation.
255
230
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
256
231
  # will be added to the HTTP request.
257
232
  #
@@ -265,8 +240,8 @@ module Azure::ARM::Logic
265
240
  #
266
241
  # Gets a list of workflow trigger histories.
267
242
  #
268
- # @param next_page_link [String] The NextLink from the previous successful
269
- # call to List operation.
243
+ # @param next_page_link [String] The NextLink from the previous successful call
244
+ # to List operation.
270
245
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
271
246
  # will be added to the HTTP request.
272
247
  #
@@ -279,8 +254,8 @@ module Azure::ARM::Logic
279
254
  #
280
255
  # Gets a list of workflow trigger histories.
281
256
  #
282
- # @param next_page_link [String] The NextLink from the previous successful
283
- # call to List operation.
257
+ # @param next_page_link [String] The NextLink from the previous successful call
258
+ # to List operation.
284
259
  # @param [Hash{String => String}] A hash of custom headers that will be added
285
260
  # to the HTTP request.
286
261
  #
@@ -334,5 +309,30 @@ module Azure::ARM::Logic
334
309
  promise.execute
335
310
  end
336
311
 
312
+ #
313
+ # Gets a list of workflow trigger histories.
314
+ #
315
+ # @param resource_group_name [String] The resource group name.
316
+ # @param workflow_name [String] The workflow name.
317
+ # @param trigger_name [String] The workflow trigger name.
318
+ # @param top [Integer] The number of items to be included in the result.
319
+ # @param filter [String] The filter to apply on the operation.
320
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
321
+ # will be added to the HTTP request.
322
+ #
323
+ # @return [WorkflowTriggerHistoryListResult] which provide lazy access to pages
324
+ # of the response.
325
+ #
326
+ def list_as_lazy(resource_group_name, workflow_name, trigger_name, top = nil, filter = nil, custom_headers = nil)
327
+ response = list_async(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers).value!
328
+ unless response.nil?
329
+ page = response.body
330
+ page.next_method = Proc.new do |next_page_link|
331
+ list_next_async(next_page_link, custom_headers)
332
+ end
333
+ page
334
+ end
335
+ end
336
+
337
337
  end
338
338
  end
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Logic
7
7
  #
8
- # WorkflowTriggers
8
+ # Composite Swagger for Logic Management Client
9
9
  #
10
10
  class WorkflowTriggers
11
11
  include Azure::ARM::Logic::Models
@@ -22,30 +22,6 @@ module Azure::ARM::Logic
22
22
  # @return [LogicManagementClient] reference to the LogicManagementClient
23
23
  attr_reader :client
24
24
 
25
- #
26
- # Gets a list of workflow triggers.
27
- #
28
- # @param resource_group_name [String] The resource group name.
29
- # @param workflow_name [String] The workflow name.
30
- # @param top [Integer] The number of items to be included in the result.
31
- # @param filter [String] The filter to apply on the operation.
32
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
- # will be added to the HTTP request.
34
- #
35
- # @return [WorkflowTriggerListResult] which provide lazy access to pages of
36
- # the response.
37
- #
38
- def list_as_lazy(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
39
- response = list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
40
- unless response.nil?
41
- page = response.body
42
- page.next_method = Proc.new do |next_page_link|
43
- list_next_async(next_page_link, custom_headers)
44
- end
45
- page
46
- end
47
- end
48
-
49
25
  #
50
26
  # Gets a list of workflow triggers.
51
27
  #
@@ -95,7 +71,7 @@ module Azure::ARM::Logic
95
71
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
96
72
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
97
73
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
98
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
+ api_version = '2016-06-01'
99
75
 
100
76
 
101
77
  request_headers = {}
@@ -110,7 +86,7 @@ module Azure::ARM::Logic
110
86
  options = {
111
87
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
112
88
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
113
- query_params: {'api-version' => @client.api_version,'$top' => top,'$filter' => filter},
89
+ query_params: {'api-version' => api_version,'$top' => top,'$filter' => filter},
114
90
  headers: request_headers.merge(custom_headers || {}),
115
91
  base_url: request_url
116
92
  }
@@ -190,7 +166,7 @@ module Azure::ARM::Logic
190
166
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
191
167
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
192
168
  fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
193
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
169
+ api_version = '2016-06-01'
194
170
 
195
171
 
196
172
  request_headers = {}
@@ -205,7 +181,7 @@ module Azure::ARM::Logic
205
181
  options = {
206
182
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
207
183
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'triggerName' => trigger_name},
208
- query_params: {'api-version' => @client.api_version},
184
+ query_params: {'api-version' => api_version},
209
185
  headers: request_headers.merge(custom_headers || {}),
210
186
  base_url: request_url
211
187
  }
@@ -285,7 +261,7 @@ module Azure::ARM::Logic
285
261
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
286
262
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
287
263
  fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
288
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
264
+ api_version = '2016-06-01'
289
265
 
290
266
 
291
267
  request_headers = {}
@@ -300,7 +276,7 @@ module Azure::ARM::Logic
300
276
  options = {
301
277
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
302
278
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'triggerName' => trigger_name},
303
- query_params: {'api-version' => @client.api_version},
279
+ query_params: {'api-version' => api_version},
304
280
  headers: request_headers.merge(custom_headers || {}),
305
281
  base_url: request_url
306
282
  }
@@ -370,7 +346,7 @@ module Azure::ARM::Logic
370
346
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
371
347
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
372
348
  fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
373
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
349
+ api_version = '2016-06-01'
374
350
 
375
351
 
376
352
  request_headers = {}
@@ -385,7 +361,7 @@ module Azure::ARM::Logic
385
361
  options = {
386
362
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
387
363
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'triggerName' => trigger_name},
388
- query_params: {'api-version' => @client.api_version},
364
+ query_params: {'api-version' => api_version},
389
365
  headers: request_headers.merge(custom_headers || {}),
390
366
  base_url: request_url
391
367
  }
@@ -421,8 +397,8 @@ module Azure::ARM::Logic
421
397
  #
422
398
  # Gets a list of workflow triggers.
423
399
  #
424
- # @param next_page_link [String] The NextLink from the previous successful
425
- # call to List operation.
400
+ # @param next_page_link [String] The NextLink from the previous successful call
401
+ # to List operation.
426
402
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
427
403
  # will be added to the HTTP request.
428
404
  #
@@ -436,8 +412,8 @@ module Azure::ARM::Logic
436
412
  #
437
413
  # Gets a list of workflow triggers.
438
414
  #
439
- # @param next_page_link [String] The NextLink from the previous successful
440
- # call to List operation.
415
+ # @param next_page_link [String] The NextLink from the previous successful call
416
+ # to List operation.
441
417
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
442
418
  # will be added to the HTTP request.
443
419
  #
@@ -450,8 +426,8 @@ module Azure::ARM::Logic
450
426
  #
451
427
  # Gets a list of workflow triggers.
452
428
  #
453
- # @param next_page_link [String] The NextLink from the previous successful
454
- # call to List operation.
429
+ # @param next_page_link [String] The NextLink from the previous successful call
430
+ # to List operation.
455
431
  # @param [Hash{String => String}] A hash of custom headers that will be added
456
432
  # to the HTTP request.
457
433
  #
@@ -505,5 +481,29 @@ module Azure::ARM::Logic
505
481
  promise.execute
506
482
  end
507
483
 
484
+ #
485
+ # Gets a list of workflow triggers.
486
+ #
487
+ # @param resource_group_name [String] The resource group name.
488
+ # @param workflow_name [String] The workflow name.
489
+ # @param top [Integer] The number of items to be included in the result.
490
+ # @param filter [String] The filter to apply on the operation.
491
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
492
+ # will be added to the HTTP request.
493
+ #
494
+ # @return [WorkflowTriggerListResult] which provide lazy access to pages of the
495
+ # response.
496
+ #
497
+ def list_as_lazy(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
498
+ response = list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
499
+ unless response.nil?
500
+ page = response.body
501
+ page.next_method = Proc.new do |next_page_link|
502
+ list_next_async(next_page_link, custom_headers)
503
+ end
504
+ page
505
+ end
506
+ end
507
+
508
508
  end
509
509
  end