azure_mgmt_logic 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/logic_management_client.rb +7 -6
  3. data/lib/2016-06-01/generated/azure_mgmt_logic.rb +102 -61
  4. data/lib/2016-06-01/generated/azure_mgmt_logic/agreements.rb +115 -4
  5. data/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb +511 -0
  6. data/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb +415 -0
  7. data/lib/2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb +304 -0
  8. data/lib/2016-06-01/generated/azure_mgmt_logic/logic_management_client.rb +29 -6
  9. data/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb +115 -4
  10. data/lib/2016-06-01/generated/azure_mgmt_logic/models/access_key_regenerate_action_definition.rb +49 -0
  11. data/lib/2016-06-01/generated/azure_mgmt_logic/models/access_key_type.rb +17 -0
  12. data/lib/2016-06-01/generated/azure_mgmt_logic/models/artifact_content_properties_definition.rb +93 -0
  13. data/lib/2016-06-01/generated/azure_mgmt_logic/models/artifact_properties.rb +68 -0
  14. data/lib/2016-06-01/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb +1 -1
  15. data/lib/2016-06-01/generated/azure_mgmt_logic/models/as2one_way_agreement.rb +1 -1
  16. data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_collection.rb +55 -0
  17. data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_definition.rb +98 -0
  18. data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_properties.rb +128 -0
  19. data/lib/2016-06-01/generated/azure_mgmt_logic/models/azure_resource_error_info.rb +74 -0
  20. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration.rb +99 -0
  21. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_collection.rb +55 -0
  22. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_properties.rb +82 -0
  23. data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_release_criteria.rb +69 -0
  24. data/lib/2016-06-01/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb +1 -1
  25. data/lib/2016-06-01/generated/azure_mgmt_logic/models/edifact_envelope_override.rb +1 -1
  26. data/lib/2016-06-01/generated/azure_mgmt_logic/models/error_info.rb +46 -0
  27. data/lib/2016-06-01/generated/azure_mgmt_logic/models/error_response.rb +2 -2
  28. data/lib/2016-06-01/generated/azure_mgmt_logic/models/event_level.rb +20 -0
  29. data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression.rb +90 -0
  30. data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression_root.rb +89 -0
  31. data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression_traces.rb +56 -0
  32. data/lib/2016-06-01/generated/azure_mgmt_logic/models/json_schema.rb +57 -0
  33. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key.rb +58 -0
  34. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_attributes.rb +68 -0
  35. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_collection.rb +66 -0
  36. data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_reference.rb +62 -0
  37. data/lib/2016-06-01/generated/azure_mgmt_logic/models/list_key_vault_keys_definition.rb +58 -0
  38. data/lib/2016-06-01/generated/azure_mgmt_logic/models/operation_result.rb +190 -0
  39. data/lib/2016-06-01/generated/azure_mgmt_logic/models/operation_result_properties.rb +106 -0
  40. data/lib/2016-06-01/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb +1 -1
  41. data/lib/2016-06-01/generated/azure_mgmt_logic/models/repetition_index.rb +57 -0
  42. data/lib/2016-06-01/generated/azure_mgmt_logic/models/run_action_correlation.rb +70 -0
  43. data/lib/2016-06-01/generated/azure_mgmt_logic/models/run_correlation.rb +65 -0
  44. data/lib/2016-06-01/generated/azure_mgmt_logic/models/set_trigger_state_action_definition.rb +48 -0
  45. data/lib/2016-06-01/generated/azure_mgmt_logic/models/track_events_operation_options.rb +16 -0
  46. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_event.rb +92 -0
  47. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_event_error_info.rb +58 -0
  48. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_events_definition.rb +80 -0
  49. data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_record_type.rb +30 -0
  50. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb +12 -0
  51. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition.rb +282 -0
  52. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition_collection.rb +56 -0
  53. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_trigger.rb +12 -0
  54. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_list_callback_url_queries.rb +11 -0
  55. data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb +4 -4
  56. data/lib/2016-06-01/generated/azure_mgmt_logic/models/x12one_way_agreement.rb +1 -1
  57. data/lib/2016-06-01/generated/azure_mgmt_logic/partners.rb +115 -4
  58. data/lib/2016-06-01/generated/azure_mgmt_logic/schemas.rb +115 -4
  59. data/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb +8 -4
  60. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_repetitions.rb +333 -0
  61. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_scoped_repetitions.rb +229 -0
  62. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_actions.rb +108 -4
  63. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_operations.rb +125 -0
  64. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb +8 -4
  65. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb +8 -4
  66. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb +283 -3
  67. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb +3 -3
  68. data/lib/2016-06-01/generated/azure_mgmt_logic/workflows.rb +306 -8
  69. data/lib/azure_mgmt_logic.rb +1 -1
  70. data/lib/profiles/latest/modules/logic_profile_module.rb +359 -205
  71. data/lib/version.rb +1 -1
  72. metadata +46 -5
@@ -0,0 +1,56 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Logic::Mgmt::V2016_06_01
7
+ module Models
8
+ #
9
+ # A collection of workflow run action repetitions.
10
+ #
11
+ class WorkflowRunActionRepetitionDefinitionCollection
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<WorkflowRunActionRepetitionDefinition>]
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for WorkflowRunActionRepetitionDefinitionCollection class as
21
+ # Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'WorkflowRunActionRepetitionDefinitionCollection',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'WorkflowRunActionRepetitionDefinitionCollection',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'WorkflowRunActionRepetitionDefinitionElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'WorkflowRunActionRepetitionDefinition'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -27,6 +27,9 @@ module Azure::Logic::Mgmt::V2016_06_01
27
27
  # @return [ContentLink] Gets the link to outputs.
28
28
  attr_accessor :outputs_link
29
29
 
30
+ # @return [DateTime] Gets the scheduled time.
31
+ attr_accessor :scheduled_time
32
+
30
33
  # @return [DateTime] Gets the start time.
31
34
  attr_accessor :start_time
32
35
 
@@ -115,6 +118,15 @@ module Azure::Logic::Mgmt::V2016_06_01
115
118
  class_name: 'ContentLink'
116
119
  }
117
120
  },
121
+ scheduled_time: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'scheduledTime',
126
+ type: {
127
+ name: 'DateTime'
128
+ }
129
+ },
118
130
  start_time: {
119
131
  client_side_validation: true,
120
132
  required: false,
@@ -24,6 +24,9 @@ module Azure::Logic::Mgmt::V2016_06_01
24
24
  # @return [String] The SAS signature.
25
25
  attr_accessor :sig
26
26
 
27
+ # @return [String] The SAS timestamp.
28
+ attr_accessor :se
29
+
27
30
 
28
31
  #
29
32
  # Mapper for WorkflowTriggerListCallbackUrlQueries class as Ruby Hash.
@@ -69,6 +72,14 @@ module Azure::Logic::Mgmt::V2016_06_01
69
72
  type: {
70
73
  name: 'String'
71
74
  }
75
+ },
76
+ se: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'se',
80
+ type: {
81
+ name: 'String'
82
+ }
72
83
  }
73
84
  }
74
85
  }
@@ -20,10 +20,10 @@ module Azure::Logic::Mgmt::V2016_06_01
20
20
  # @return [Integer] The interval.
21
21
  attr_accessor :interval
22
22
 
23
- # @return [DateTime] The start time.
23
+ # @return [String] The start time.
24
24
  attr_accessor :start_time
25
25
 
26
- # @return [DateTime] The end time.
26
+ # @return [String] The end time.
27
27
  attr_accessor :end_time
28
28
 
29
29
  # @return [String] The time zone.
@@ -68,7 +68,7 @@ module Azure::Logic::Mgmt::V2016_06_01
68
68
  required: false,
69
69
  serialized_name: 'startTime',
70
70
  type: {
71
- name: 'DateTime'
71
+ name: 'String'
72
72
  }
73
73
  },
74
74
  end_time: {
@@ -76,7 +76,7 @@ module Azure::Logic::Mgmt::V2016_06_01
76
76
  required: false,
77
77
  serialized_name: 'endTime',
78
78
  type: {
79
- name: 'DateTime'
79
+ name: 'String'
80
80
  }
81
81
  },
82
82
  time_zone: {
@@ -6,7 +6,7 @@
6
6
  module Azure::Logic::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
- # The X12 oneway agreement.
9
+ # The X12 one-way agreement.
10
10
  #
11
11
  class X12OneWayAgreement
12
12
 
@@ -27,7 +27,8 @@ module Azure::Logic::Mgmt::V2016_06_01
27
27
  # @param resource_group_name [String] The resource group name.
28
28
  # @param integration_account_name [String] The integration account name.
29
29
  # @param top [Integer] The number of items to be included in the result.
30
- # @param filter [String] The filter to apply on the operation.
30
+ # @param filter [String] The filter to apply on the operation. Options for
31
+ # filters include: PartnerType.
31
32
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
33
  # will be added to the HTTP request.
33
34
  #
@@ -44,7 +45,8 @@ module Azure::Logic::Mgmt::V2016_06_01
44
45
  # @param resource_group_name [String] The resource group name.
45
46
  # @param integration_account_name [String] The integration account name.
46
47
  # @param top [Integer] The number of items to be included in the result.
47
- # @param filter [String] The filter to apply on the operation.
48
+ # @param filter [String] The filter to apply on the operation. Options for
49
+ # filters include: PartnerType.
48
50
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
51
  # will be added to the HTTP request.
50
52
  #
@@ -60,7 +62,8 @@ module Azure::Logic::Mgmt::V2016_06_01
60
62
  # @param resource_group_name [String] The resource group name.
61
63
  # @param integration_account_name [String] The integration account name.
62
64
  # @param top [Integer] The number of items to be included in the result.
63
- # @param filter [String] The filter to apply on the operation.
65
+ # @param filter [String] The filter to apply on the operation. Options for
66
+ # filters include: PartnerType.
64
67
  # @param [Hash{String => String}] A hash of custom headers that will be added
65
68
  # to the HTTP request.
66
69
  #
@@ -417,6 +420,113 @@ module Azure::Logic::Mgmt::V2016_06_01
417
420
  promise.execute
418
421
  end
419
422
 
423
+ #
424
+ # Get the content callback url.
425
+ #
426
+ # @param resource_group_name [String] The resource group name.
427
+ # @param integration_account_name [String] The integration account name.
428
+ # @param partner_name [String] The integration account partner name.
429
+ # @param list_content_callback_url [GetCallbackUrlParameters]
430
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
431
+ # will be added to the HTTP request.
432
+ #
433
+ # @return [WorkflowTriggerCallbackUrl] operation results.
434
+ #
435
+ def list_content_callback_url(resource_group_name, integration_account_name, partner_name, list_content_callback_url, custom_headers:nil)
436
+ response = list_content_callback_url_async(resource_group_name, integration_account_name, partner_name, list_content_callback_url, custom_headers:custom_headers).value!
437
+ response.body unless response.nil?
438
+ end
439
+
440
+ #
441
+ # Get the content callback url.
442
+ #
443
+ # @param resource_group_name [String] The resource group name.
444
+ # @param integration_account_name [String] The integration account name.
445
+ # @param partner_name [String] The integration account partner name.
446
+ # @param list_content_callback_url [GetCallbackUrlParameters]
447
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
448
+ # will be added to the HTTP request.
449
+ #
450
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
451
+ #
452
+ def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, partner_name, list_content_callback_url, custom_headers:nil)
453
+ list_content_callback_url_async(resource_group_name, integration_account_name, partner_name, list_content_callback_url, custom_headers:custom_headers).value!
454
+ end
455
+
456
+ #
457
+ # Get the content callback url.
458
+ #
459
+ # @param resource_group_name [String] The resource group name.
460
+ # @param integration_account_name [String] The integration account name.
461
+ # @param partner_name [String] The integration account partner name.
462
+ # @param list_content_callback_url [GetCallbackUrlParameters]
463
+ # @param [Hash{String => String}] A hash of custom headers that will be added
464
+ # to the HTTP request.
465
+ #
466
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
467
+ #
468
+ def list_content_callback_url_async(resource_group_name, integration_account_name, partner_name, list_content_callback_url, custom_headers:nil)
469
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
470
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
471
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
472
+ fail ArgumentError, 'partner_name is nil' if partner_name.nil?
473
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
474
+ fail ArgumentError, 'list_content_callback_url is nil' if list_content_callback_url.nil?
475
+
476
+
477
+ request_headers = {}
478
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
479
+
480
+ # Set Headers
481
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
482
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
483
+
484
+ # Serialize Request
485
+ request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters.mapper()
486
+ request_content = @client.serialize(request_mapper, list_content_callback_url)
487
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
488
+
489
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}/listContentCallbackUrl'
490
+
491
+ request_url = @base_url || @client.base_url
492
+
493
+ options = {
494
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
495
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'partnerName' => partner_name},
496
+ query_params: {'api-version' => @client.api_version},
497
+ body: request_content,
498
+ headers: request_headers.merge(custom_headers || {}),
499
+ base_url: request_url
500
+ }
501
+ promise = @client.make_request_async(:post, path_template, options)
502
+
503
+ promise = promise.then do |result|
504
+ http_response = result.response
505
+ status_code = http_response.status
506
+ response_content = http_response.body
507
+ unless status_code == 200
508
+ error_model = JSON.load(response_content)
509
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
510
+ end
511
+
512
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
513
+ # Deserialize Response
514
+ if status_code == 200
515
+ begin
516
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
517
+ result_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl.mapper()
518
+ result.body = @client.deserialize(result_mapper, parsed_response)
519
+ rescue Exception => e
520
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
521
+ end
522
+ end
523
+
524
+ result
525
+ end
526
+
527
+ promise.execute
528
+ end
529
+
420
530
  #
421
531
  # Gets a list of integration account partners.
422
532
  #
@@ -511,7 +621,8 @@ module Azure::Logic::Mgmt::V2016_06_01
511
621
  # @param resource_group_name [String] The resource group name.
512
622
  # @param integration_account_name [String] The integration account name.
513
623
  # @param top [Integer] The number of items to be included in the result.
514
- # @param filter [String] The filter to apply on the operation.
624
+ # @param filter [String] The filter to apply on the operation. Options for
625
+ # filters include: PartnerType.
515
626
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
516
627
  # will be added to the HTTP request.
517
628
  #
@@ -27,7 +27,8 @@ module Azure::Logic::Mgmt::V2016_06_01
27
27
  # @param resource_group_name [String] The resource group name.
28
28
  # @param integration_account_name [String] The integration account name.
29
29
  # @param top [Integer] The number of items to be included in the result.
30
- # @param filter [String] The filter to apply on the operation.
30
+ # @param filter [String] The filter to apply on the operation. Options for
31
+ # filters include: SchemaType.
31
32
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
33
  # will be added to the HTTP request.
33
34
  #
@@ -44,7 +45,8 @@ module Azure::Logic::Mgmt::V2016_06_01
44
45
  # @param resource_group_name [String] The resource group name.
45
46
  # @param integration_account_name [String] The integration account name.
46
47
  # @param top [Integer] The number of items to be included in the result.
47
- # @param filter [String] The filter to apply on the operation.
48
+ # @param filter [String] The filter to apply on the operation. Options for
49
+ # filters include: SchemaType.
48
50
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
51
  # will be added to the HTTP request.
50
52
  #
@@ -60,7 +62,8 @@ module Azure::Logic::Mgmt::V2016_06_01
60
62
  # @param resource_group_name [String] The resource group name.
61
63
  # @param integration_account_name [String] The integration account name.
62
64
  # @param top [Integer] The number of items to be included in the result.
63
- # @param filter [String] The filter to apply on the operation.
65
+ # @param filter [String] The filter to apply on the operation. Options for
66
+ # filters include: SchemaType.
64
67
  # @param [Hash{String => String}] A hash of custom headers that will be added
65
68
  # to the HTTP request.
66
69
  #
@@ -417,6 +420,113 @@ module Azure::Logic::Mgmt::V2016_06_01
417
420
  promise.execute
418
421
  end
419
422
 
423
+ #
424
+ # Get the content callback url.
425
+ #
426
+ # @param resource_group_name [String] The resource group name.
427
+ # @param integration_account_name [String] The integration account name.
428
+ # @param schema_name [String] The integration account schema name.
429
+ # @param list_content_callback_url [GetCallbackUrlParameters]
430
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
431
+ # will be added to the HTTP request.
432
+ #
433
+ # @return [WorkflowTriggerCallbackUrl] operation results.
434
+ #
435
+ def list_content_callback_url(resource_group_name, integration_account_name, schema_name, list_content_callback_url, custom_headers:nil)
436
+ response = list_content_callback_url_async(resource_group_name, integration_account_name, schema_name, list_content_callback_url, custom_headers:custom_headers).value!
437
+ response.body unless response.nil?
438
+ end
439
+
440
+ #
441
+ # Get the content callback url.
442
+ #
443
+ # @param resource_group_name [String] The resource group name.
444
+ # @param integration_account_name [String] The integration account name.
445
+ # @param schema_name [String] The integration account schema name.
446
+ # @param list_content_callback_url [GetCallbackUrlParameters]
447
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
448
+ # will be added to the HTTP request.
449
+ #
450
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
451
+ #
452
+ def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, schema_name, list_content_callback_url, custom_headers:nil)
453
+ list_content_callback_url_async(resource_group_name, integration_account_name, schema_name, list_content_callback_url, custom_headers:custom_headers).value!
454
+ end
455
+
456
+ #
457
+ # Get the content callback url.
458
+ #
459
+ # @param resource_group_name [String] The resource group name.
460
+ # @param integration_account_name [String] The integration account name.
461
+ # @param schema_name [String] The integration account schema name.
462
+ # @param list_content_callback_url [GetCallbackUrlParameters]
463
+ # @param [Hash{String => String}] A hash of custom headers that will be added
464
+ # to the HTTP request.
465
+ #
466
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
467
+ #
468
+ def list_content_callback_url_async(resource_group_name, integration_account_name, schema_name, list_content_callback_url, custom_headers:nil)
469
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
470
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
471
+ fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
472
+ fail ArgumentError, 'schema_name is nil' if schema_name.nil?
473
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
474
+ fail ArgumentError, 'list_content_callback_url is nil' if list_content_callback_url.nil?
475
+
476
+
477
+ request_headers = {}
478
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
479
+
480
+ # Set Headers
481
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
482
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
483
+
484
+ # Serialize Request
485
+ request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters.mapper()
486
+ request_content = @client.serialize(request_mapper, list_content_callback_url)
487
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
488
+
489
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}/listContentCallbackUrl'
490
+
491
+ request_url = @base_url || @client.base_url
492
+
493
+ options = {
494
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
495
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'schemaName' => schema_name},
496
+ query_params: {'api-version' => @client.api_version},
497
+ body: request_content,
498
+ headers: request_headers.merge(custom_headers || {}),
499
+ base_url: request_url
500
+ }
501
+ promise = @client.make_request_async(:post, path_template, options)
502
+
503
+ promise = promise.then do |result|
504
+ http_response = result.response
505
+ status_code = http_response.status
506
+ response_content = http_response.body
507
+ unless status_code == 200
508
+ error_model = JSON.load(response_content)
509
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
510
+ end
511
+
512
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
513
+ # Deserialize Response
514
+ if status_code == 200
515
+ begin
516
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
517
+ result_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl.mapper()
518
+ result.body = @client.deserialize(result_mapper, parsed_response)
519
+ rescue Exception => e
520
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
521
+ end
522
+ end
523
+
524
+ result
525
+ end
526
+
527
+ promise.execute
528
+ end
529
+
420
530
  #
421
531
  # Gets a list of integration account schemas.
422
532
  #
@@ -511,7 +621,8 @@ module Azure::Logic::Mgmt::V2016_06_01
511
621
  # @param resource_group_name [String] The resource group name.
512
622
  # @param integration_account_name [String] The integration account name.
513
623
  # @param top [Integer] The number of items to be included in the result.
514
- # @param filter [String] The filter to apply on the operation.
624
+ # @param filter [String] The filter to apply on the operation. Options for
625
+ # filters include: SchemaType.
515
626
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
516
627
  # will be added to the HTTP request.
517
628
  #