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
- # WorkflowVersions
8
+ # Composite Swagger for Logic Management Client
9
9
  #
10
10
  class WorkflowVersions
11
11
  include Azure::ARM::Logic::Models
@@ -22,29 +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 versions.
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 custom_headers [Hash{String => String}] A hash of custom headers that
32
- # will be added to the HTTP request.
33
- #
34
- # @return [WorkflowVersionListResult] which provide lazy access to pages of
35
- # the response.
36
- #
37
- def list_as_lazy(resource_group_name, workflow_name, top = nil, custom_headers = nil)
38
- response = list_async(resource_group_name, workflow_name, top, custom_headers).value!
39
- unless response.nil?
40
- page = response.body
41
- page.next_method = Proc.new do |next_page_link|
42
- list_next_async(next_page_link, custom_headers)
43
- end
44
- page
45
- end
46
- end
47
-
48
25
  #
49
26
  # Gets a list of workflow versions.
50
27
  #
@@ -91,7 +68,7 @@ module Azure::ARM::Logic
91
68
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
92
69
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
93
70
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
94
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
71
+ api_version = '2016-06-01'
95
72
 
96
73
 
97
74
  request_headers = {}
@@ -106,7 +83,7 @@ module Azure::ARM::Logic
106
83
  options = {
107
84
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
108
85
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
109
- query_params: {'api-version' => @client.api_version,'$top' => top},
86
+ query_params: {'api-version' => api_version,'$top' => top},
110
87
  headers: request_headers.merge(custom_headers || {}),
111
88
  base_url: request_url
112
89
  }
@@ -186,7 +163,7 @@ module Azure::ARM::Logic
186
163
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
187
164
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
188
165
  fail ArgumentError, 'version_id is nil' if version_id.nil?
189
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
166
+ api_version = '2016-06-01'
190
167
 
191
168
 
192
169
  request_headers = {}
@@ -201,7 +178,7 @@ module Azure::ARM::Logic
201
178
  options = {
202
179
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
203
180
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name,'versionId' => version_id},
204
- query_params: {'api-version' => @client.api_version},
181
+ query_params: {'api-version' => api_version},
205
182
  headers: request_headers.merge(custom_headers || {}),
206
183
  base_url: request_url
207
184
  }
@@ -237,8 +214,8 @@ module Azure::ARM::Logic
237
214
  #
238
215
  # Gets a list of workflow versions.
239
216
  #
240
- # @param next_page_link [String] The NextLink from the previous successful
241
- # call to List operation.
217
+ # @param next_page_link [String] The NextLink from the previous successful call
218
+ # to List operation.
242
219
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
243
220
  # will be added to the HTTP request.
244
221
  #
@@ -252,8 +229,8 @@ module Azure::ARM::Logic
252
229
  #
253
230
  # Gets a list of workflow versions.
254
231
  #
255
- # @param next_page_link [String] The NextLink from the previous successful
256
- # call to List operation.
232
+ # @param next_page_link [String] The NextLink from the previous successful call
233
+ # to List operation.
257
234
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
258
235
  # will be added to the HTTP request.
259
236
  #
@@ -266,8 +243,8 @@ module Azure::ARM::Logic
266
243
  #
267
244
  # Gets a list of workflow versions.
268
245
  #
269
- # @param next_page_link [String] The NextLink from the previous successful
270
- # call to List operation.
246
+ # @param next_page_link [String] The NextLink from the previous successful call
247
+ # to List operation.
271
248
  # @param [Hash{String => String}] A hash of custom headers that will be added
272
249
  # to the HTTP request.
273
250
  #
@@ -321,5 +298,28 @@ module Azure::ARM::Logic
321
298
  promise.execute
322
299
  end
323
300
 
301
+ #
302
+ # Gets a list of workflow versions.
303
+ #
304
+ # @param resource_group_name [String] The resource group name.
305
+ # @param workflow_name [String] The workflow name.
306
+ # @param top [Integer] The number of items to be included in the result.
307
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
308
+ # will be added to the HTTP request.
309
+ #
310
+ # @return [WorkflowVersionListResult] which provide lazy access to pages of the
311
+ # response.
312
+ #
313
+ def list_as_lazy(resource_group_name, workflow_name, top = nil, custom_headers = nil)
314
+ response = list_async(resource_group_name, workflow_name, top, custom_headers).value!
315
+ unless response.nil?
316
+ page = response.body
317
+ page.next_method = Proc.new do |next_page_link|
318
+ list_next_async(next_page_link, custom_headers)
319
+ end
320
+ page
321
+ end
322
+ end
323
+
324
324
  end
325
325
  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
- # Workflows
8
+ # Composite Swagger for Logic Management Client
9
9
  #
10
10
  class Workflows
11
11
  include Azure::ARM::Logic::Models
@@ -22,28 +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 workflows by subscription.
27
- #
28
- # @param top [Integer] The number of items to be included in the result.
29
- # @param filter [String] The filter to apply on the operation.
30
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
- # will be added to the HTTP request.
32
- #
33
- # @return [WorkflowListResult] which provide lazy access to pages of the
34
- # response.
35
- #
36
- def list_by_subscription_as_lazy(top = nil, filter = nil, custom_headers = nil)
37
- response = list_by_subscription_async(top, filter, custom_headers).value!
38
- unless response.nil?
39
- page = response.body
40
- page.next_method = Proc.new do |next_page_link|
41
- list_by_subscription_next_async(next_page_link, custom_headers)
42
- end
43
- page
44
- end
45
- end
46
-
47
25
  #
48
26
  # Gets a list of workflows by subscription.
49
27
  #
@@ -85,7 +63,7 @@ module Azure::ARM::Logic
85
63
  #
86
64
  def list_by_subscription_async(top = nil, filter = nil, custom_headers = nil)
87
65
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
88
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
66
+ api_version = '2016-06-01'
89
67
 
90
68
 
91
69
  request_headers = {}
@@ -100,7 +78,7 @@ module Azure::ARM::Logic
100
78
  options = {
101
79
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
102
80
  path_params: {'subscriptionId' => @client.subscription_id},
103
- query_params: {'api-version' => @client.api_version,'$top' => top,'$filter' => filter},
81
+ query_params: {'api-version' => api_version,'$top' => top,'$filter' => filter},
104
82
  headers: request_headers.merge(custom_headers || {}),
105
83
  base_url: request_url
106
84
  }
@@ -133,29 +111,6 @@ module Azure::ARM::Logic
133
111
  promise.execute
134
112
  end
135
113
 
136
- #
137
- # Gets a list of workflows by resource group.
138
- #
139
- # @param resource_group_name [String] The resource group name.
140
- # @param top [Integer] The number of items to be included in the result.
141
- # @param filter [String] The filter to apply on the operation.
142
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
143
- # will be added to the HTTP request.
144
- #
145
- # @return [WorkflowListResult] which provide lazy access to pages of the
146
- # response.
147
- #
148
- def list_by_resource_group_as_lazy(resource_group_name, top = nil, filter = nil, custom_headers = nil)
149
- response = list_by_resource_group_async(resource_group_name, top, filter, custom_headers).value!
150
- unless response.nil?
151
- page = response.body
152
- page.next_method = Proc.new do |next_page_link|
153
- list_by_resource_group_next_async(next_page_link, custom_headers)
154
- end
155
- page
156
- end
157
- end
158
-
159
114
  #
160
115
  # Gets a list of workflows by resource group.
161
116
  #
@@ -201,7 +156,7 @@ module Azure::ARM::Logic
201
156
  def list_by_resource_group_async(resource_group_name, top = nil, filter = nil, custom_headers = nil)
202
157
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
203
158
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
204
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
159
+ api_version = '2016-06-01'
205
160
 
206
161
 
207
162
  request_headers = {}
@@ -216,7 +171,7 @@ module Azure::ARM::Logic
216
171
  options = {
217
172
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
218
173
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
219
- query_params: {'api-version' => @client.api_version,'$top' => top,'$filter' => filter},
174
+ query_params: {'api-version' => api_version,'$top' => top,'$filter' => filter},
220
175
  headers: request_headers.merge(custom_headers || {}),
221
176
  base_url: request_url
222
177
  }
@@ -292,7 +247,7 @@ module Azure::ARM::Logic
292
247
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
293
248
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
294
249
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
295
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
250
+ api_version = '2016-06-01'
296
251
 
297
252
 
298
253
  request_headers = {}
@@ -307,7 +262,7 @@ module Azure::ARM::Logic
307
262
  options = {
308
263
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
309
264
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
310
- query_params: {'api-version' => @client.api_version},
265
+ query_params: {'api-version' => api_version},
311
266
  headers: request_headers.merge(custom_headers || {}),
312
267
  base_url: request_url
313
268
  }
@@ -386,7 +341,7 @@ module Azure::ARM::Logic
386
341
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
387
342
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
388
343
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
389
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
344
+ api_version = '2016-06-01'
390
345
  fail ArgumentError, 'workflow is nil' if workflow.nil?
391
346
 
392
347
 
@@ -410,7 +365,7 @@ module Azure::ARM::Logic
410
365
  options = {
411
366
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
412
367
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
413
- query_params: {'api-version' => @client.api_version},
368
+ query_params: {'api-version' => api_version},
414
369
  body: request_content,
415
370
  headers: request_headers.merge(custom_headers || {}),
416
371
  base_url: request_url
@@ -500,7 +455,7 @@ module Azure::ARM::Logic
500
455
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
501
456
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
502
457
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
503
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
458
+ api_version = '2016-06-01'
504
459
  fail ArgumentError, 'workflow is nil' if workflow.nil?
505
460
 
506
461
 
@@ -524,7 +479,7 @@ module Azure::ARM::Logic
524
479
  options = {
525
480
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
526
481
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
527
- query_params: {'api-version' => @client.api_version},
482
+ query_params: {'api-version' => api_version},
528
483
  body: request_content,
529
484
  headers: request_headers.merge(custom_headers || {}),
530
485
  base_url: request_url
@@ -600,7 +555,7 @@ module Azure::ARM::Logic
600
555
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
601
556
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
602
557
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
603
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
558
+ api_version = '2016-06-01'
604
559
 
605
560
 
606
561
  request_headers = {}
@@ -615,7 +570,7 @@ module Azure::ARM::Logic
615
570
  options = {
616
571
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
617
572
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
618
- query_params: {'api-version' => @client.api_version},
573
+ query_params: {'api-version' => api_version},
619
574
  headers: request_headers.merge(custom_headers || {}),
620
575
  base_url: request_url
621
576
  }
@@ -680,7 +635,7 @@ module Azure::ARM::Logic
680
635
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
681
636
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
682
637
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
683
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
638
+ api_version = '2016-06-01'
684
639
 
685
640
 
686
641
  request_headers = {}
@@ -695,7 +650,7 @@ module Azure::ARM::Logic
695
650
  options = {
696
651
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
697
652
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
698
- query_params: {'api-version' => @client.api_version},
653
+ query_params: {'api-version' => api_version},
699
654
  headers: request_headers.merge(custom_headers || {}),
700
655
  base_url: request_url
701
656
  }
@@ -760,7 +715,7 @@ module Azure::ARM::Logic
760
715
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
761
716
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
762
717
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
763
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
718
+ api_version = '2016-06-01'
764
719
 
765
720
 
766
721
  request_headers = {}
@@ -775,7 +730,7 @@ module Azure::ARM::Logic
775
730
  options = {
776
731
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
777
732
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
778
- query_params: {'api-version' => @client.api_version},
733
+ query_params: {'api-version' => api_version},
779
734
  headers: request_headers.merge(custom_headers || {}),
780
735
  base_url: request_url
781
736
  }
@@ -847,7 +802,7 @@ module Azure::ARM::Logic
847
802
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
848
803
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
849
804
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
850
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
805
+ api_version = '2016-06-01'
851
806
  fail ArgumentError, 'parameters is nil' if parameters.nil?
852
807
 
853
808
 
@@ -871,7 +826,7 @@ module Azure::ARM::Logic
871
826
  options = {
872
827
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
873
828
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workflowName' => workflow_name},
874
- query_params: {'api-version' => @client.api_version},
829
+ query_params: {'api-version' => api_version},
875
830
  body: request_content,
876
831
  headers: request_headers.merge(custom_headers || {}),
877
832
  base_url: request_url
@@ -944,7 +899,7 @@ module Azure::ARM::Logic
944
899
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
945
900
  fail ArgumentError, 'location is nil' if location.nil?
946
901
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
947
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
902
+ api_version = '2016-06-01'
948
903
  fail ArgumentError, 'workflow is nil' if workflow.nil?
949
904
 
950
905
 
@@ -968,7 +923,7 @@ module Azure::ARM::Logic
968
923
  options = {
969
924
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
970
925
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'location' => location,'workflowName' => workflow_name},
971
- query_params: {'api-version' => @client.api_version},
926
+ query_params: {'api-version' => api_version},
972
927
  body: request_content,
973
928
  headers: request_headers.merge(custom_headers || {}),
974
929
  base_url: request_url
@@ -995,8 +950,8 @@ module Azure::ARM::Logic
995
950
  #
996
951
  # Gets a list of workflows by subscription.
997
952
  #
998
- # @param next_page_link [String] The NextLink from the previous successful
999
- # call to List operation.
953
+ # @param next_page_link [String] The NextLink from the previous successful call
954
+ # to List operation.
1000
955
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1001
956
  # will be added to the HTTP request.
1002
957
  #
@@ -1010,8 +965,8 @@ module Azure::ARM::Logic
1010
965
  #
1011
966
  # Gets a list of workflows by subscription.
1012
967
  #
1013
- # @param next_page_link [String] The NextLink from the previous successful
1014
- # call to List operation.
968
+ # @param next_page_link [String] The NextLink from the previous successful call
969
+ # to List operation.
1015
970
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1016
971
  # will be added to the HTTP request.
1017
972
  #
@@ -1024,8 +979,8 @@ module Azure::ARM::Logic
1024
979
  #
1025
980
  # Gets a list of workflows by subscription.
1026
981
  #
1027
- # @param next_page_link [String] The NextLink from the previous successful
1028
- # call to List operation.
982
+ # @param next_page_link [String] The NextLink from the previous successful call
983
+ # to List operation.
1029
984
  # @param [Hash{String => String}] A hash of custom headers that will be added
1030
985
  # to the HTTP request.
1031
986
  #
@@ -1082,8 +1037,8 @@ module Azure::ARM::Logic
1082
1037
  #
1083
1038
  # Gets a list of workflows by resource group.
1084
1039
  #
1085
- # @param next_page_link [String] The NextLink from the previous successful
1086
- # call to List operation.
1040
+ # @param next_page_link [String] The NextLink from the previous successful call
1041
+ # to List operation.
1087
1042
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1088
1043
  # will be added to the HTTP request.
1089
1044
  #
@@ -1097,8 +1052,8 @@ module Azure::ARM::Logic
1097
1052
  #
1098
1053
  # Gets a list of workflows by resource group.
1099
1054
  #
1100
- # @param next_page_link [String] The NextLink from the previous successful
1101
- # call to List operation.
1055
+ # @param next_page_link [String] The NextLink from the previous successful call
1056
+ # to List operation.
1102
1057
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1103
1058
  # will be added to the HTTP request.
1104
1059
  #
@@ -1111,8 +1066,8 @@ module Azure::ARM::Logic
1111
1066
  #
1112
1067
  # Gets a list of workflows by resource group.
1113
1068
  #
1114
- # @param next_page_link [String] The NextLink from the previous successful
1115
- # call to List operation.
1069
+ # @param next_page_link [String] The NextLink from the previous successful call
1070
+ # to List operation.
1116
1071
  # @param [Hash{String => String}] A hash of custom headers that will be added
1117
1072
  # to the HTTP request.
1118
1073
  #
@@ -1166,5 +1121,50 @@ module Azure::ARM::Logic
1166
1121
  promise.execute
1167
1122
  end
1168
1123
 
1124
+ #
1125
+ # Gets a list of workflows by subscription.
1126
+ #
1127
+ # @param top [Integer] The number of items to be included in the result.
1128
+ # @param filter [String] The filter to apply on the operation.
1129
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1130
+ # will be added to the HTTP request.
1131
+ #
1132
+ # @return [WorkflowListResult] which provide lazy access to pages of the
1133
+ # response.
1134
+ #
1135
+ def list_by_subscription_as_lazy(top = nil, filter = nil, custom_headers = nil)
1136
+ response = list_by_subscription_async(top, filter, custom_headers).value!
1137
+ unless response.nil?
1138
+ page = response.body
1139
+ page.next_method = Proc.new do |next_page_link|
1140
+ list_by_subscription_next_async(next_page_link, custom_headers)
1141
+ end
1142
+ page
1143
+ end
1144
+ end
1145
+
1146
+ #
1147
+ # Gets a list of workflows by resource group.
1148
+ #
1149
+ # @param resource_group_name [String] The resource group name.
1150
+ # @param top [Integer] The number of items to be included in the result.
1151
+ # @param filter [String] The filter to apply on the operation.
1152
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1153
+ # will be added to the HTTP request.
1154
+ #
1155
+ # @return [WorkflowListResult] which provide lazy access to pages of the
1156
+ # response.
1157
+ #
1158
+ def list_by_resource_group_as_lazy(resource_group_name, top = nil, filter = nil, custom_headers = nil)
1159
+ response = list_by_resource_group_async(resource_group_name, top, filter, custom_headers).value!
1160
+ unless response.nil?
1161
+ page = response.body
1162
+ page.next_method = Proc.new do |next_page_link|
1163
+ list_by_resource_group_next_async(next_page_link, custom_headers)
1164
+ end
1165
+ page
1166
+ end
1167
+ end
1168
+
1169
1169
  end
1170
1170
  end