azure_mgmt_logic 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_logic.rb +63 -55
  3. data/lib/generated/azure_mgmt_logic/{integration_account_agreements.rb → agreements.rb} +25 -25
  4. data/lib/generated/azure_mgmt_logic/{integration_account_certificates.rb → certificates.rb} +25 -25
  5. data/lib/generated/azure_mgmt_logic/integration_accounts.rb +28 -28
  6. data/lib/generated/azure_mgmt_logic/logic_management_client.rb +267 -16
  7. data/lib/generated/azure_mgmt_logic/{integration_account_maps.rb → maps.rb} +25 -25
  8. data/lib/generated/azure_mgmt_logic/models/agreement_content.rb +2 -3
  9. data/lib/generated/azure_mgmt_logic/models/agreement_type.rb +1 -1
  10. data/lib/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb +6 -7
  11. data/lib/generated/azure_mgmt_logic/models/as2agreement_content.rb +4 -5
  12. data/lib/generated/azure_mgmt_logic/models/as2envelope_settings.rb +9 -10
  13. data/lib/generated/azure_mgmt_logic/models/as2error_settings.rb +6 -7
  14. data/lib/generated/azure_mgmt_logic/models/as2mdn_settings.rb +10 -10
  15. data/lib/generated/azure_mgmt_logic/models/as2message_connection_settings.rb +6 -7
  16. data/lib/generated/azure_mgmt_logic/models/as2one_way_agreement.rb +5 -6
  17. data/lib/generated/azure_mgmt_logic/models/as2protocol_settings.rb +9 -10
  18. data/lib/generated/azure_mgmt_logic/models/as2security_settings.rb +9 -10
  19. data/lib/generated/azure_mgmt_logic/models/as2validation_settings.rb +11 -12
  20. data/lib/generated/azure_mgmt_logic/models/b2bpartner_content.rb +2 -3
  21. data/lib/generated/azure_mgmt_logic/models/business_identity.rb +9 -9
  22. data/lib/generated/azure_mgmt_logic/models/callback_url.rb +2 -3
  23. data/lib/generated/azure_mgmt_logic/models/content_hash.rb +4 -5
  24. data/lib/generated/azure_mgmt_logic/models/content_link.rb +2 -3
  25. data/lib/generated/azure_mgmt_logic/models/correlation.rb +2 -3
  26. data/lib/generated/azure_mgmt_logic/models/day_of_week.rb +1 -1
  27. data/lib/generated/azure_mgmt_logic/models/days_of_week.rb +1 -1
  28. data/lib/generated/azure_mgmt_logic/models/edifact_acknowledgement_settings.rb +11 -12
  29. data/lib/generated/azure_mgmt_logic/models/edifact_agreement_content.rb +4 -5
  30. data/lib/generated/azure_mgmt_logic/models/edifact_character_set.rb +1 -1
  31. data/lib/generated/azure_mgmt_logic/models/edifact_decimal_indicator.rb +1 -1
  32. data/lib/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb +9 -10
  33. data/lib/generated/azure_mgmt_logic/models/edifact_envelope_override.rb +2 -3
  34. data/lib/generated/azure_mgmt_logic/models/edifact_envelope_settings.rb +16 -17
  35. data/lib/generated/azure_mgmt_logic/models/edifact_framing_settings.rb +11 -12
  36. data/lib/generated/azure_mgmt_logic/models/edifact_message_filter.rb +3 -4
  37. data/lib/generated/azure_mgmt_logic/models/edifact_message_identifier.rb +3 -4
  38. data/lib/generated/azure_mgmt_logic/models/edifact_one_way_agreement.rb +5 -6
  39. data/lib/generated/azure_mgmt_logic/models/edifact_processing_settings.rb +7 -8
  40. data/lib/generated/azure_mgmt_logic/models/edifact_protocol_settings.rb +9 -10
  41. data/lib/generated/azure_mgmt_logic/models/edifact_schema_reference.rb +6 -7
  42. data/lib/generated/azure_mgmt_logic/models/edifact_validation_override.rb +9 -10
  43. data/lib/generated/azure_mgmt_logic/models/edifact_validation_settings.rb +12 -13
  44. data/lib/generated/azure_mgmt_logic/models/encryption_algorithm.rb +1 -1
  45. data/lib/generated/azure_mgmt_logic/models/{integration_account_content_hash.rb → error_properties.rb} +15 -15
  46. data/lib/generated/azure_mgmt_logic/models/error_response.rb +46 -0
  47. data/lib/generated/azure_mgmt_logic/models/generate_upgraded_definition_parameters.rb +2 -3
  48. data/lib/generated/azure_mgmt_logic/models/get_callback_url_parameters.rb +56 -0
  49. data/lib/generated/azure_mgmt_logic/models/hashing_algorithm.rb +3 -1
  50. data/lib/generated/azure_mgmt_logic/models/integration_account.rb +6 -4
  51. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement.rb +18 -14
  52. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement_filter.rb +3 -4
  53. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement_list_result.rb +2 -2
  54. data/lib/generated/azure_mgmt_logic/models/integration_account_certificate.rb +6 -4
  55. data/lib/generated/azure_mgmt_logic/models/integration_account_certificate_list_result.rb +2 -2
  56. data/lib/generated/azure_mgmt_logic/models/integration_account_list_result.rb +2 -2
  57. data/lib/generated/azure_mgmt_logic/models/integration_account_map.rb +21 -7
  58. data/lib/generated/azure_mgmt_logic/models/integration_account_map_filter.rb +6 -7
  59. data/lib/generated/azure_mgmt_logic/models/integration_account_map_list_result.rb +2 -2
  60. data/lib/generated/azure_mgmt_logic/models/integration_account_map_properties_parameters_schema.rb +45 -0
  61. data/lib/generated/azure_mgmt_logic/models/integration_account_partner.rb +8 -6
  62. data/lib/generated/azure_mgmt_logic/models/integration_account_partner_filter.rb +3 -4
  63. data/lib/generated/azure_mgmt_logic/models/integration_account_partner_list_result.rb +2 -2
  64. data/lib/generated/azure_mgmt_logic/models/integration_account_schema.rb +40 -18
  65. data/lib/generated/azure_mgmt_logic/models/integration_account_schema_filter.rb +3 -4
  66. data/lib/generated/azure_mgmt_logic/models/integration_account_schema_list_result.rb +2 -2
  67. data/lib/generated/azure_mgmt_logic/models/{integration_account_resource.rb → integration_account_session.rb} +38 -19
  68. data/lib/generated/azure_mgmt_logic/models/{list_callback_url_parameters.rb → integration_account_session_filter.rb} +11 -12
  69. data/lib/generated/azure_mgmt_logic/models/integration_account_session_list_result.rb +94 -0
  70. data/lib/generated/azure_mgmt_logic/models/integration_account_sku.rb +6 -7
  71. data/lib/generated/azure_mgmt_logic/models/integration_account_sku_name.rb +17 -0
  72. data/lib/generated/azure_mgmt_logic/models/key_type.rb +1 -1
  73. data/lib/generated/azure_mgmt_logic/models/key_vault_key_reference.rb +4 -5
  74. data/lib/generated/azure_mgmt_logic/models/key_vault_key_reference_key_vault.rb +1 -1
  75. data/lib/generated/azure_mgmt_logic/models/map_type.rb +1 -1
  76. data/lib/generated/azure_mgmt_logic/models/message_filter_type.rb +1 -1
  77. data/lib/generated/azure_mgmt_logic/models/operation.rb +55 -0
  78. data/lib/generated/azure_mgmt_logic/models/operation_display.rb +65 -0
  79. data/lib/generated/azure_mgmt_logic/models/operation_list_result.rb +96 -0
  80. data/lib/generated/azure_mgmt_logic/models/parameter_type.rb +1 -1
  81. data/lib/generated/azure_mgmt_logic/models/partner_content.rb +2 -3
  82. data/lib/generated/azure_mgmt_logic/models/partner_type.rb +1 -1
  83. data/lib/generated/azure_mgmt_logic/models/recurrence_frequency.rb +1 -1
  84. data/lib/generated/azure_mgmt_logic/models/recurrence_schedule.rb +2 -3
  85. data/lib/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb +2 -3
  86. data/lib/generated/azure_mgmt_logic/models/resource_reference.rb +3 -3
  87. data/lib/generated/azure_mgmt_logic/models/schema_type.rb +1 -1
  88. data/lib/generated/azure_mgmt_logic/models/segment_terminator_suffix.rb +1 -1
  89. data/lib/generated/azure_mgmt_logic/models/sku.rb +3 -4
  90. data/lib/generated/azure_mgmt_logic/models/sku_name.rb +1 -1
  91. data/lib/generated/azure_mgmt_logic/models/trailing_separator_policy.rb +1 -1
  92. data/lib/generated/azure_mgmt_logic/models/usage_indicator.rb +1 -1
  93. data/lib/generated/azure_mgmt_logic/models/workflow.rb +5 -3
  94. data/lib/generated/azure_mgmt_logic/models/workflow_filter.rb +2 -3
  95. data/lib/generated/azure_mgmt_logic/models/workflow_list_result.rb +2 -2
  96. data/lib/generated/azure_mgmt_logic/models/workflow_output_parameter.rb +2 -3
  97. data/lib/generated/azure_mgmt_logic/models/workflow_parameter.rb +2 -3
  98. data/lib/generated/azure_mgmt_logic/models/workflow_provisioning_state.rb +1 -1
  99. data/lib/generated/azure_mgmt_logic/models/workflow_run.rb +3 -3
  100. data/lib/generated/azure_mgmt_logic/models/workflow_run_action.rb +3 -3
  101. data/lib/generated/azure_mgmt_logic/models/workflow_run_action_filter.rb +2 -3
  102. data/lib/generated/azure_mgmt_logic/models/workflow_run_action_list_result.rb +2 -2
  103. data/lib/generated/azure_mgmt_logic/models/workflow_run_filter.rb +2 -3
  104. data/lib/generated/azure_mgmt_logic/models/workflow_run_list_result.rb +2 -2
  105. data/lib/generated/azure_mgmt_logic/models/workflow_run_trigger.rb +2 -3
  106. data/lib/generated/azure_mgmt_logic/models/workflow_state.rb +1 -1
  107. data/lib/generated/azure_mgmt_logic/models/workflow_status.rb +1 -1
  108. data/lib/generated/azure_mgmt_logic/models/workflow_trigger.rb +3 -3
  109. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_callback_url.rb +2 -3
  110. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_filter.rb +2 -3
  111. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_history.rb +3 -3
  112. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_history_filter.rb +2 -3
  113. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_history_list_result.rb +2 -2
  114. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_list_result.rb +2 -2
  115. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_provisioning_state.rb +1 -1
  116. data/lib/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb +2 -3
  117. data/lib/generated/azure_mgmt_logic/models/workflow_version.rb +5 -3
  118. data/lib/generated/azure_mgmt_logic/models/workflow_version_list_result.rb +2 -2
  119. data/lib/generated/azure_mgmt_logic/models/x12acknowledgement_settings.rb +13 -14
  120. data/lib/generated/azure_mgmt_logic/models/x12agreement_content.rb +4 -5
  121. data/lib/generated/azure_mgmt_logic/models/x12character_set.rb +1 -1
  122. data/lib/generated/azure_mgmt_logic/models/x12date_format.rb +1 -1
  123. data/lib/generated/azure_mgmt_logic/models/x12delimiter_overrides.rb +8 -9
  124. data/lib/generated/azure_mgmt_logic/models/x12envelope_override.rb +13 -14
  125. data/lib/generated/azure_mgmt_logic/models/x12envelope_settings.rb +23 -24
  126. data/lib/generated/azure_mgmt_logic/models/x12framing_settings.rb +9 -10
  127. data/lib/generated/azure_mgmt_logic/models/x12message_filter.rb +3 -4
  128. data/lib/generated/azure_mgmt_logic/models/x12message_identifier.rb +3 -4
  129. data/lib/generated/azure_mgmt_logic/models/x12one_way_agreement.rb +5 -6
  130. data/lib/generated/azure_mgmt_logic/models/x12processing_settings.rb +8 -9
  131. data/lib/generated/azure_mgmt_logic/models/x12protocol_settings.rb +10 -11
  132. data/lib/generated/azure_mgmt_logic/models/x12schema_reference.rb +5 -6
  133. data/lib/generated/azure_mgmt_logic/models/x12security_settings.rb +4 -5
  134. data/lib/generated/azure_mgmt_logic/models/x12time_format.rb +1 -1
  135. data/lib/generated/azure_mgmt_logic/models/x12validation_override.rb +9 -10
  136. data/lib/generated/azure_mgmt_logic/models/x12validation_settings.rb +12 -13
  137. data/lib/generated/azure_mgmt_logic/module_definition.rb +1 -1
  138. data/lib/generated/azure_mgmt_logic/{integration_account_partners.rb → partners.rb} +25 -25
  139. data/lib/generated/azure_mgmt_logic/{integration_account_schemas.rb → schemas.rb} +25 -25
  140. data/lib/generated/azure_mgmt_logic/sessions.rb +541 -0
  141. data/lib/generated/azure_mgmt_logic/version.rb +2 -2
  142. data/lib/generated/azure_mgmt_logic/workflow_run_actions.rb +6 -6
  143. data/lib/generated/azure_mgmt_logic/workflow_runs.rb +8 -8
  144. data/lib/generated/azure_mgmt_logic/workflow_trigger_histories.rb +6 -6
  145. data/lib/generated/azure_mgmt_logic/workflow_triggers.rb +10 -10
  146. data/lib/generated/azure_mgmt_logic/workflow_versions.rb +6 -6
  147. data/lib/generated/azure_mgmt_logic/workflows.rb +22 -22
  148. metadata +19 -11
  149. data/lib/generated/azure_mgmt_logic/models/integration_account_content_link.rb +0 -86
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.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
- # Composite Swagger for Logic Management Client
8
+ # REST API for Azure Logic Apps.
9
9
  #
10
10
  class IntegrationAccounts
11
11
  include Azure::ARM::Logic::Models
@@ -60,7 +60,7 @@ module Azure::ARM::Logic
60
60
  #
61
61
  def list_by_subscription_async(top = nil, custom_headers = nil)
62
62
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
63
- api_version = '2015-08-01-preview'
63
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
64
64
 
65
65
 
66
66
  request_headers = {}
@@ -75,7 +75,7 @@ module Azure::ARM::Logic
75
75
  options = {
76
76
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
77
77
  path_params: {'subscriptionId' => @client.subscription_id},
78
- query_params: {'api-version' => api_version,'$top' => top},
78
+ query_params: {'api-version' => @client.api_version,'$top' => top},
79
79
  headers: request_headers.merge(custom_headers || {}),
80
80
  base_url: request_url
81
81
  }
@@ -150,7 +150,7 @@ module Azure::ARM::Logic
150
150
  def list_by_resource_group_async(resource_group_name, top = nil, custom_headers = nil)
151
151
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
152
152
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
153
- api_version = '2015-08-01-preview'
153
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
154
154
 
155
155
 
156
156
  request_headers = {}
@@ -165,7 +165,7 @@ module Azure::ARM::Logic
165
165
  options = {
166
166
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
167
167
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
168
- query_params: {'api-version' => api_version,'$top' => top},
168
+ query_params: {'api-version' => @client.api_version,'$top' => top},
169
169
  headers: request_headers.merge(custom_headers || {}),
170
170
  base_url: request_url
171
171
  }
@@ -241,7 +241,7 @@ module Azure::ARM::Logic
241
241
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
242
242
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
243
243
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
244
- api_version = '2015-08-01-preview'
244
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
245
245
 
246
246
 
247
247
  request_headers = {}
@@ -256,7 +256,7 @@ module Azure::ARM::Logic
256
256
  options = {
257
257
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
258
258
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
259
- query_params: {'api-version' => api_version},
259
+ query_params: {'api-version' => @client.api_version},
260
260
  headers: request_headers.merge(custom_headers || {}),
261
261
  base_url: request_url
262
262
  }
@@ -335,7 +335,7 @@ module Azure::ARM::Logic
335
335
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
336
336
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
337
337
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
338
- api_version = '2015-08-01-preview'
338
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
339
339
  fail ArgumentError, 'integration_account is nil' if integration_account.nil?
340
340
 
341
341
 
@@ -359,7 +359,7 @@ module Azure::ARM::Logic
359
359
  options = {
360
360
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
361
361
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
362
- query_params: {'api-version' => api_version},
362
+ query_params: {'api-version' => @client.api_version},
363
363
  body: request_content,
364
364
  headers: request_headers.merge(custom_headers || {}),
365
365
  base_url: request_url
@@ -449,7 +449,7 @@ module Azure::ARM::Logic
449
449
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
450
450
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
451
451
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
452
- api_version = '2015-08-01-preview'
452
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
453
453
  fail ArgumentError, 'integration_account is nil' if integration_account.nil?
454
454
 
455
455
 
@@ -473,7 +473,7 @@ module Azure::ARM::Logic
473
473
  options = {
474
474
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
475
475
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
476
- query_params: {'api-version' => api_version},
476
+ query_params: {'api-version' => @client.api_version},
477
477
  body: request_content,
478
478
  headers: request_headers.merge(custom_headers || {}),
479
479
  base_url: request_url
@@ -549,7 +549,7 @@ module Azure::ARM::Logic
549
549
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
550
550
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
551
551
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
552
- api_version = '2015-08-01-preview'
552
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
553
553
 
554
554
 
555
555
  request_headers = {}
@@ -564,7 +564,7 @@ module Azure::ARM::Logic
564
564
  options = {
565
565
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
566
566
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
567
- query_params: {'api-version' => api_version},
567
+ query_params: {'api-version' => @client.api_version},
568
568
  headers: request_headers.merge(custom_headers || {}),
569
569
  base_url: request_url
570
570
  }
@@ -588,52 +588,52 @@ module Azure::ARM::Logic
588
588
  end
589
589
 
590
590
  #
591
- # Lists the integration account callback URL.
591
+ # Gets the integration account callback URL.
592
592
  #
593
593
  # @param resource_group_name [String] The resource group name.
594
594
  # @param integration_account_name [String] The integration account name.
595
- # @param parameters [ListCallbackUrlParameters] The callback URL parameters.
595
+ # @param parameters [GetCallbackUrlParameters] The callback URL parameters.
596
596
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
597
597
  # will be added to the HTTP request.
598
598
  #
599
599
  # @return [CallbackUrl] operation results.
600
600
  #
601
- def list_callback_url(resource_group_name, integration_account_name, parameters, custom_headers = nil)
602
- response = list_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers).value!
601
+ def get_callback_url(resource_group_name, integration_account_name, parameters, custom_headers = nil)
602
+ response = get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers).value!
603
603
  response.body unless response.nil?
604
604
  end
605
605
 
606
606
  #
607
- # Lists the integration account callback URL.
607
+ # Gets the integration account callback URL.
608
608
  #
609
609
  # @param resource_group_name [String] The resource group name.
610
610
  # @param integration_account_name [String] The integration account name.
611
- # @param parameters [ListCallbackUrlParameters] The callback URL parameters.
611
+ # @param parameters [GetCallbackUrlParameters] The callback URL parameters.
612
612
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
613
613
  # will be added to the HTTP request.
614
614
  #
615
615
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
616
616
  #
617
- def list_callback_url_with_http_info(resource_group_name, integration_account_name, parameters, custom_headers = nil)
618
- list_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers).value!
617
+ def get_callback_url_with_http_info(resource_group_name, integration_account_name, parameters, custom_headers = nil)
618
+ get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers).value!
619
619
  end
620
620
 
621
621
  #
622
- # Lists the integration account callback URL.
622
+ # Gets the integration account callback URL.
623
623
  #
624
624
  # @param resource_group_name [String] The resource group name.
625
625
  # @param integration_account_name [String] The integration account name.
626
- # @param parameters [ListCallbackUrlParameters] The callback URL parameters.
626
+ # @param parameters [GetCallbackUrlParameters] The callback URL parameters.
627
627
  # @param [Hash{String => String}] A hash of custom headers that will be added
628
628
  # to the HTTP request.
629
629
  #
630
630
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
631
631
  #
632
- def list_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers = nil)
632
+ def get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers = nil)
633
633
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
634
634
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
635
635
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
636
- api_version = '2015-08-01-preview'
636
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
637
637
  fail ArgumentError, 'parameters is nil' if parameters.nil?
638
638
 
639
639
 
@@ -646,7 +646,7 @@ module Azure::ARM::Logic
646
646
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
647
647
 
648
648
  # Serialize Request
649
- request_mapper = ListCallbackUrlParameters.mapper()
649
+ request_mapper = GetCallbackUrlParameters.mapper()
650
650
  request_content = @client.serialize(request_mapper, parameters, 'parameters')
651
651
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
652
652
 
@@ -657,7 +657,7 @@ module Azure::ARM::Logic
657
657
  options = {
658
658
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
659
659
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name},
660
- query_params: {'api-version' => api_version},
660
+ query_params: {'api-version' => @client.api_version},
661
661
  body: request_content,
662
662
  headers: request_headers.merge(custom_headers || {}),
663
663
  base_url: request_url
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -20,6 +20,9 @@ module Azure::ARM::Logic
20
20
  # @return [String] The subscription id.
21
21
  attr_accessor :subscription_id
22
22
 
23
+ # @return [String] The API version.
24
+ attr_reader :api_version
25
+
23
26
  # @return [String] Gets or sets the preferred language for the response.
24
27
  attr_accessor :accept_language
25
28
 
@@ -52,20 +55,23 @@ module Azure::ARM::Logic
52
55
  # @return [IntegrationAccounts] integration_accounts
53
56
  attr_reader :integration_accounts
54
57
 
55
- # @return [IntegrationAccountSchemas] integration_account_schemas
56
- attr_reader :integration_account_schemas
58
+ # @return [Schemas] schemas
59
+ attr_reader :schemas
60
+
61
+ # @return [Maps] maps
62
+ attr_reader :maps
57
63
 
58
- # @return [IntegrationAccountMaps] integration_account_maps
59
- attr_reader :integration_account_maps
64
+ # @return [Partners] partners
65
+ attr_reader :partners
60
66
 
61
- # @return [IntegrationAccountPartners] integration_account_partners
62
- attr_reader :integration_account_partners
67
+ # @return [Agreements] agreements
68
+ attr_reader :agreements
63
69
 
64
- # @return [IntegrationAccountAgreements] integration_account_agreements
65
- attr_reader :integration_account_agreements
70
+ # @return [Certificates] certificates
71
+ attr_reader :certificates
66
72
 
67
- # @return [IntegrationAccountCertificates] integration_account_certificates
68
- attr_reader :integration_account_certificates
73
+ # @return [Sessions] sessions
74
+ attr_reader :sessions
69
75
 
70
76
  #
71
77
  # Creates initializes a new instance of the LogicManagementClient class.
@@ -87,11 +93,13 @@ module Azure::ARM::Logic
87
93
  @workflow_runs = WorkflowRuns.new(self)
88
94
  @workflow_run_actions = WorkflowRunActions.new(self)
89
95
  @integration_accounts = IntegrationAccounts.new(self)
90
- @integration_account_schemas = IntegrationAccountSchemas.new(self)
91
- @integration_account_maps = IntegrationAccountMaps.new(self)
92
- @integration_account_partners = IntegrationAccountPartners.new(self)
93
- @integration_account_agreements = IntegrationAccountAgreements.new(self)
94
- @integration_account_certificates = IntegrationAccountCertificates.new(self)
96
+ @schemas = Schemas.new(self)
97
+ @maps = Maps.new(self)
98
+ @partners = Partners.new(self)
99
+ @agreements = Agreements.new(self)
100
+ @certificates = Certificates.new(self)
101
+ @sessions = Sessions.new(self)
102
+ @api_version = '2016-06-01'
95
103
  @accept_language = 'en-US'
96
104
  @long_running_operation_retry_timeout = 30
97
105
  @generate_client_request_id = true
@@ -153,6 +161,249 @@ module Azure::ARM::Logic
153
161
  super(request_url, method, path, options)
154
162
  end
155
163
 
164
+ #
165
+ # Lists all of the available Logic REST API operations.
166
+ #
167
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
168
+ # will be added to the HTTP request.
169
+ #
170
+ # @return [Array<Operation>] operation results.
171
+ #
172
+ def list_operations(custom_headers = nil)
173
+ first_page = list_operations_as_lazy(custom_headers)
174
+ first_page.get_all_items
175
+ end
176
+
177
+ #
178
+ # Lists all of the available Logic REST API operations.
179
+ #
180
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
181
+ # will be added to the HTTP request.
182
+ #
183
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
184
+ #
185
+ def list_operations_with_http_info(custom_headers = nil)
186
+ list_operations_async(custom_headers).value!
187
+ end
188
+
189
+ #
190
+ # Lists all of the available Logic REST API operations.
191
+ #
192
+ # @param [Hash{String => String}] A hash of custom headers that will be added
193
+ # to the HTTP request.
194
+ #
195
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
196
+ #
197
+ def list_operations_async(custom_headers = nil)
198
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
199
+
200
+
201
+ request_headers = {}
202
+
203
+ # Set Headers
204
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
205
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
206
+ path_template = '/providers/Microsoft.Logic/operations'
207
+
208
+ request_url = @base_url || self.base_url
209
+
210
+ options = {
211
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
212
+ query_params: {'api-version' => api_version},
213
+ headers: request_headers.merge(custom_headers || {}),
214
+ base_url: request_url
215
+ }
216
+ promise = self.make_request_async(:get, path_template, options)
217
+
218
+ promise = promise.then do |result|
219
+ http_response = result.response
220
+ status_code = http_response.status
221
+ response_content = http_response.body
222
+ unless status_code == 200
223
+ error_model = JSON.load(response_content)
224
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
225
+ end
226
+
227
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
228
+ # Deserialize Response
229
+ if status_code == 200
230
+ begin
231
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
232
+ result_mapper = OperationListResult.mapper()
233
+ result.body = self.deserialize(result_mapper, parsed_response, 'result.body')
234
+ rescue Exception => e
235
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
236
+ end
237
+ end
238
+
239
+ result
240
+ end
241
+
242
+ promise.execute
243
+ end
244
+
245
+ #
246
+ # Lists all of the available Logic REST API operations.
247
+ #
248
+ # @param next_page_link [String] The NextLink from the previous successful call
249
+ # to List operation.
250
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
251
+ # will be added to the HTTP request.
252
+ #
253
+ # @return [OperationListResult] operation results.
254
+ #
255
+ def list_operations_next(next_page_link, custom_headers = nil)
256
+ response = list_operations_next_async(next_page_link, custom_headers).value!
257
+ response.body unless response.nil?
258
+ end
259
+
260
+ #
261
+ # Lists all of the available Logic REST API operations.
262
+ #
263
+ # @param next_page_link [String] The NextLink from the previous successful call
264
+ # to List operation.
265
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
266
+ # will be added to the HTTP request.
267
+ #
268
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
269
+ #
270
+ def list_operations_next_with_http_info(next_page_link, custom_headers = nil)
271
+ list_operations_next_async(next_page_link, custom_headers).value!
272
+ end
273
+
274
+ #
275
+ # Lists all of the available Logic REST API operations.
276
+ #
277
+ # @param next_page_link [String] The NextLink from the previous successful call
278
+ # to List operation.
279
+ # @param [Hash{String => String}] A hash of custom headers that will be added
280
+ # to the HTTP request.
281
+ #
282
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
283
+ #
284
+ def list_operations_next_async(next_page_link, custom_headers = nil)
285
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
286
+
287
+
288
+ request_headers = {}
289
+
290
+ # Set Headers
291
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
292
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
293
+ path_template = '{nextLink}'
294
+
295
+ request_url = @base_url || self.base_url
296
+
297
+ options = {
298
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
299
+ skip_encoding_path_params: {'nextLink' => next_page_link},
300
+ headers: request_headers.merge(custom_headers || {}),
301
+ base_url: request_url
302
+ }
303
+ promise = self.make_request_async(:get, path_template, options)
304
+
305
+ promise = promise.then do |result|
306
+ http_response = result.response
307
+ status_code = http_response.status
308
+ response_content = http_response.body
309
+ unless status_code == 200
310
+ error_model = JSON.load(response_content)
311
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
312
+ end
313
+
314
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
315
+ # Deserialize Response
316
+ if status_code == 200
317
+ begin
318
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
319
+ result_mapper = OperationListResult.mapper()
320
+ result.body = self.deserialize(result_mapper, parsed_response, 'result.body')
321
+ rescue Exception => e
322
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
323
+ end
324
+ end
325
+
326
+ result
327
+ end
328
+
329
+ promise.execute
330
+ end
331
+
332
+ #
333
+ # Lists all of the available Logic REST API operations.
334
+ #
335
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
336
+ # will be added to the HTTP request.
337
+ #
338
+ # @return [OperationListResult] operation results.
339
+ #
340
+ def list_operations_as_lazy(custom_headers = nil)
341
+ first_page = list_operations_as_lazy_as_lazy(custom_headers)
342
+ first_page.get_all_items
343
+ end
344
+
345
+ #
346
+ # Lists all of the available Logic REST API operations.
347
+ #
348
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
349
+ # will be added to the HTTP request.
350
+ #
351
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
352
+ #
353
+ def list_operations_as_lazy_with_http_info(custom_headers = nil)
354
+ list_operations_as_lazy_async(custom_headers).value!
355
+ end
356
+
357
+ #
358
+ # Lists all of the available Logic REST API operations.
359
+ #
360
+ # @param [Hash{String => String}] A hash of custom headers that will be added
361
+ # to the HTTP request.
362
+ #
363
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
364
+ #
365
+ def list_operations_as_lazy_async(custom_headers = nil)
366
+
367
+
368
+ request_headers = {}
369
+ path_template = '/providers/Microsoft.Logic/operations'
370
+
371
+ request_url = @base_url || self.base_url
372
+
373
+ options = {
374
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
375
+ headers: request_headers.merge(custom_headers || {}),
376
+ base_url: request_url
377
+ }
378
+ promise = self.make_request_async(:get, path_template, options)
379
+
380
+ promise = promise.then do |result|
381
+ http_response = result.response
382
+ status_code = http_response.status
383
+ response_content = http_response.body
384
+ unless status_code == 200
385
+ error_model = JSON.load(response_content)
386
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
387
+ end
388
+
389
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
390
+ # Deserialize Response
391
+ if status_code == 200
392
+ begin
393
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
394
+ result_mapper = OperationListResult.mapper()
395
+ result.body = self.deserialize(result_mapper, parsed_response, 'result.body')
396
+ rescue Exception => e
397
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
398
+ end
399
+ end
400
+
401
+ result
402
+ end
403
+
404
+ promise.execute
405
+ end
406
+
156
407
 
157
408
  private
158
409
  #