azure_mgmt_data_factory 0.18.1 → 0.18.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory.rb +54 -51
  3. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/data_factory_management_client.rb +1 -1
  4. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/blob_events_trigger.rb +12 -0
  5. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/execute_ssispackage_activity.rb +12 -0
  6. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssis_package_location_type.rb +16 -0
  7. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssisaccess_credential.rb +71 -0
  8. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssislog_location.rb +86 -0
  9. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssispackage_location.rb +50 -0
  10. data/lib/2018-06-01/generated/azure_mgmt_data_factory.rb +200 -135
  11. data/lib/2018-06-01/generated/azure_mgmt_data_factory/data_factory_management_client.rb +9 -1
  12. data/lib/2018-06-01/generated/azure_mgmt_data_factory/exposure_control.rb +114 -0
  13. data/lib/2018-06-01/generated/azure_mgmt_data_factory/managed_private_endpoints.rb +611 -0
  14. data/lib/2018-06-01/generated/azure_mgmt_data_factory/managed_virtual_networks.rb +486 -0
  15. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3linked_service.rb +28 -0
  16. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3read_settings.rb +25 -0
  17. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_write_settings.rb +27 -0
  18. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/az_power_shell_setup.rb +61 -0
  19. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fslinked_service.rb +14 -0
  20. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fsread_settings.rb +25 -0
  21. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_linked_service.rb +14 -0
  22. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_read_settings.rb +25 -0
  23. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_linked_service.rb +14 -0
  24. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_read_settings.rb +53 -0
  25. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_dataset.rb +165 -0
  26. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_export_command.rb +89 -0
  27. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_import_command.rb +89 -0
  28. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_linked_service.rb +169 -0
  29. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_sink.rb +130 -0
  30. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_source.rb +114 -0
  31. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_linked_service.rb +12 -0
  32. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_linked_service.rb +77 -1
  33. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_read_settings.rb +37 -0
  34. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_write_settings.rb +81 -0
  35. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_database_linked_service.rb +14 -0
  36. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_dwlinked_service.rb +14 -0
  37. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_milinked_service.rb +14 -0
  38. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_source.rb +26 -0
  39. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_read_settings.rb +79 -0
  40. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_source.rb +12 -0
  41. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/compression_read_settings.rb +67 -0
  42. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/concur_linked_service.rb +12 -0
  43. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/connection_state_properties.rb +71 -0
  44. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_activity.rb +15 -2
  45. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_activity_log_settings.rb +59 -0
  46. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_behavior_type.rb +17 -0
  47. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb +3 -0
  48. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb +6 -0
  49. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_translator.rb +65 -0
  50. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_sql_api_source.rb +12 -0
  51. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/custom_setup_base.rb +1 -0
  52. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_sink.rb +24 -0
  53. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source.rb +24 -0
  54. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_staging_info.rb +3 -2
  55. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb +6 -0
  56. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_compression.rb +2 -0
  57. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_data_element.rb +59 -0
  58. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_schema_data_element.rb +78 -0
  59. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_tar_compression.rb +65 -0
  60. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_tar_gzip_compression.rb +76 -0
  61. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delete_activity.rb +14 -0
  62. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_read_settings.rb +14 -0
  63. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_write_settings.rb +27 -0
  64. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_axsource.rb +14 -0
  65. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_sink_write_behavior.rb +15 -0
  66. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/excel_dataset.rb +220 -0
  67. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/excel_source.rb +125 -0
  68. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity.rb +39 -0
  69. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity_type_properties_compute.rb +8 -7
  70. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/export_settings.rb +66 -0
  71. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_batch_request.rb +56 -0
  72. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_batch_response.rb +56 -0
  73. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory.rb +34 -0
  74. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_read_settings.rb +38 -0
  75. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_read_settings.rb +3 -0
  76. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb +2 -0
  77. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_read_settings.rb +36 -0
  78. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/get_metadata_activity.rb +28 -0
  79. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/global_parameter_specification.rb +58 -0
  80. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/global_parameter_type.rb +20 -0
  81. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_cloud_storage_read_settings.rb +25 -0
  82. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_read_settings.rb +25 -0
  83. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_read_settings.rb +23 -0
  84. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/import_settings.rb +66 -0
  85. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb +21 -0
  86. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_read_settings.rb +79 -0
  87. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_source.rb +12 -0
  88. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb +4 -0
  89. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/log_location_settings.rb +60 -0
  90. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/log_settings.rb +74 -0
  91. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/log_storage_settings.rb +25 -1
  92. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_private_endpoint.rb +135 -0
  93. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_private_endpoint_list_response.rb +100 -0
  94. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_private_endpoint_resource.rb +83 -0
  95. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_virtual_network.rb +78 -0
  96. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_virtual_network_list_response.rb +100 -0
  97. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_virtual_network_resource.rb +83 -0
  98. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_collection_dataset.rb +153 -0
  99. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_linked_service.rb +140 -0
  100. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_source.rb +164 -0
  101. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_source.rb +3 -4
  102. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_linked_service.rb +14 -0
  103. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_source.rb +14 -0
  104. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_source.rb +4 -4
  105. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_compression_codec.rb +1 -0
  106. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_dataset.rb +1 -1
  107. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_sink.rb +12 -0
  108. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_write_settings.rb +92 -0
  109. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/package_store.rb +58 -0
  110. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_sink.rb +12 -0
  111. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_write_settings.rb +92 -0
  112. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/public_network_access.rb +16 -0
  113. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/quick_books_linked_service.rb +19 -6
  114. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_service_linked_service.rb +14 -0
  115. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb +167 -0
  116. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_linked_service.rb +14 -1
  117. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_sink.rb +14 -0
  118. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_source.rb +14 -0
  119. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_ecc_source.rb +14 -0
  120. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_linked_service.rb +1 -1
  121. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_source.rb +4 -4
  122. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_open_hub_linked_service.rb +51 -3
  123. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_open_hub_source.rb +26 -0
  124. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_source.rb +18 -6
  125. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb +36 -0
  126. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/share_point_online_list_linked_service.rb +184 -0
  127. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/share_point_online_list_resource_dataset.rb +153 -0
  128. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/share_point_online_list_source.rb +116 -0
  129. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_dataset.rb +165 -0
  130. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_export_copy_command.rb +109 -0
  131. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_import_copy_command.rb +109 -0
  132. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_linked_service.rb +152 -0
  133. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_sink.rb +129 -0
  134. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_source.rb +113 -0
  135. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsource.rb +26 -0
  136. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_misource.rb +26 -0
  137. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_partition_option.rb +17 -0
  138. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_partition_settings.rb +79 -0
  139. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_source.rb +26 -0
  140. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_source.rb +26 -0
  141. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/square_linked_service.rb +15 -3
  142. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_package_location_type.rb +1 -0
  143. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb +15 -1
  144. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/store_write_settings.rb +1 -0
  145. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tabular_translator.rb +157 -0
  146. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tar_gzip_read_settings.rb +77 -0
  147. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tar_read_settings.rb +77 -0
  148. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_source.rb +3 -4
  149. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_frequency.rb +1 -0
  150. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_trigger.rb +1 -1
  151. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/type_conversion_settings.rb +107 -0
  152. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/wait_activity.rb +2 -2
  153. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_hook_activity.rb +3 -3
  154. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xero_linked_service.rb +13 -1
  155. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xml_dataset.rb +198 -0
  156. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xml_read_settings.rb +131 -0
  157. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xml_source.rb +137 -0
  158. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/zip_deflate_read_settings.rb +77 -0
  159. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/zoho_linked_service.rb +13 -1
  160. data/lib/2018-06-01/generated/azure_mgmt_data_factory/trigger_runs.rb +100 -0
  161. data/lib/azure_mgmt_data_factory.rb +1 -1
  162. data/lib/profiles/latest/modules/datafactory_profile_module.rb +711 -455
  163. data/lib/version.rb +1 -1
  164. metadata +73 -5
@@ -0,0 +1,131 @@
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::DataFactory::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Xml read settings.
10
+ #
11
+ class XmlReadSettings < FormatReadSettings
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "XmlReadSettings"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [CompressionReadSettings] Compression settings.
23
+ attr_accessor :compression_properties
24
+
25
+ # @return Indicates what validation method is used when reading the xml
26
+ # files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or
27
+ # Expression with resultType string).
28
+ attr_accessor :validation_mode
29
+
30
+ # @return Indicates whether type detection is enabled when reading the
31
+ # xml files. Type: boolean (or Expression with resultType boolean).
32
+ attr_accessor :detect_data_type
33
+
34
+ # @return Indicates whether namespace is enabled when reading the xml
35
+ # files. Type: boolean (or Expression with resultType boolean).
36
+ attr_accessor :namespaces
37
+
38
+ # @return Namespace uri to prefix mappings to override the prefixes in
39
+ # column names when namespace is enabled, if no prefix is defined for a
40
+ # namespace uri, the prefix of xml element/attribute name in the xml data
41
+ # file will be used. Example: "{"http://www.example.com/xml":"prefix"}"
42
+ # Type: object (or Expression with resultType object).
43
+ attr_accessor :namespace_prefixes
44
+
45
+
46
+ #
47
+ # Mapper for XmlReadSettings class as Ruby Hash.
48
+ # This will be used for serialization/deserialization.
49
+ #
50
+ def self.mapper()
51
+ {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'XmlReadSettings',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'XmlReadSettings',
58
+ model_properties: {
59
+ additional_properties: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ type: {
63
+ name: 'Dictionary',
64
+ value: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'ObjectElementType',
68
+ type: {
69
+ name: 'Object'
70
+ }
71
+ }
72
+ }
73
+ },
74
+ type: {
75
+ client_side_validation: true,
76
+ required: true,
77
+ serialized_name: 'type',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ compression_properties: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'compressionProperties',
86
+ type: {
87
+ name: 'Composite',
88
+ polymorphic_discriminator: 'type',
89
+ uber_parent: 'CompressionReadSettings',
90
+ class_name: 'CompressionReadSettings'
91
+ }
92
+ },
93
+ validation_mode: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'validationMode',
97
+ type: {
98
+ name: 'Object'
99
+ }
100
+ },
101
+ detect_data_type: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'detectDataType',
105
+ type: {
106
+ name: 'Object'
107
+ }
108
+ },
109
+ namespaces: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'namespaces',
113
+ type: {
114
+ name: 'Object'
115
+ }
116
+ },
117
+ namespace_prefixes: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'namespacePrefixes',
121
+ type: {
122
+ name: 'Object'
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ end
129
+ end
130
+ end
131
+ end
@@ -0,0 +1,137 @@
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::DataFactory::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # A copy activity Xml source.
10
+ #
11
+ class XmlSource < CopySource
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "XmlSource"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [StoreReadSettings] Xml store settings.
23
+ attr_accessor :store_settings
24
+
25
+ # @return [XmlReadSettings] Xml format settings.
26
+ attr_accessor :format_settings
27
+
28
+ # @return [Array<AdditionalColumns>] Specifies the additional columns to
29
+ # be added to source data. Type: array of objects (or Expression with
30
+ # resultType array of objects).
31
+ attr_accessor :additional_columns
32
+
33
+
34
+ #
35
+ # Mapper for XmlSource class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'XmlSource',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'XmlSource',
46
+ model_properties: {
47
+ additional_properties: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ type: {
51
+ name: 'Dictionary',
52
+ value: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'ObjectElementType',
56
+ type: {
57
+ name: 'Object'
58
+ }
59
+ }
60
+ }
61
+ },
62
+ source_retry_count: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'sourceRetryCount',
66
+ type: {
67
+ name: 'Object'
68
+ }
69
+ },
70
+ source_retry_wait: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'sourceRetryWait',
74
+ type: {
75
+ name: 'Object'
76
+ }
77
+ },
78
+ max_concurrent_connections: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'maxConcurrentConnections',
82
+ type: {
83
+ name: 'Object'
84
+ }
85
+ },
86
+ type: {
87
+ client_side_validation: true,
88
+ required: true,
89
+ serialized_name: 'type',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ store_settings: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'storeSettings',
98
+ type: {
99
+ name: 'Composite',
100
+ polymorphic_discriminator: 'type',
101
+ uber_parent: 'StoreReadSettings',
102
+ class_name: 'StoreReadSettings'
103
+ }
104
+ },
105
+ format_settings: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'formatSettings',
109
+ type: {
110
+ name: 'Composite',
111
+ class_name: 'XmlReadSettings'
112
+ }
113
+ },
114
+ additional_columns: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'additionalColumns',
118
+ type: {
119
+ name: 'Sequence',
120
+ element: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'AdditionalColumnsElementType',
124
+ type: {
125
+ name: 'Composite',
126
+ class_name: 'AdditionalColumns'
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ end
135
+ end
136
+ end
137
+ end
@@ -0,0 +1,77 @@
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::DataFactory::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # The ZipDeflate compression read settings.
10
+ #
11
+ class ZipDeflateReadSettings < CompressionReadSettings
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "ZipDeflateReadSettings"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return Preserve the zip file name as folder path. Type: boolean (or
23
+ # Expression with resultType boolean).
24
+ attr_accessor :preserve_zip_file_name_as_folder
25
+
26
+
27
+ #
28
+ # Mapper for ZipDeflateReadSettings class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ZipDeflateReadSettings',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ZipDeflateReadSettings',
39
+ model_properties: {
40
+ additional_properties: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ type: {
44
+ name: 'Dictionary',
45
+ value: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'ObjectElementType',
49
+ type: {
50
+ name: 'Object'
51
+ }
52
+ }
53
+ }
54
+ },
55
+ type: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'type',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ preserve_zip_file_name_as_folder: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'preserveZipFileNameAsFolder',
67
+ type: {
68
+ name: 'Object'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -19,6 +19,10 @@ module Azure::DataFactory::Mgmt::V2018_06_01
19
19
 
20
20
  attr_accessor :type
21
21
 
22
+ # @return Properties used to connect to Zoho. It is mutually exclusive
23
+ # with any other properties in the linked service. Type: object.
24
+ attr_accessor :connection_properties
25
+
22
26
  # @return The endpoint of the Zoho server. (i.e.
23
27
  # crm.zoho.com/crm/private)
24
28
  attr_accessor :endpoint
@@ -131,9 +135,17 @@ module Azure::DataFactory::Mgmt::V2018_06_01
131
135
  name: 'String'
132
136
  }
133
137
  },
138
+ connection_properties: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ serialized_name: 'typeProperties.connectionProperties',
142
+ type: {
143
+ name: 'Object'
144
+ }
145
+ },
134
146
  endpoint: {
135
147
  client_side_validation: true,
136
- required: true,
148
+ required: false,
137
149
  serialized_name: 'typeProperties.endpoint',
138
150
  type: {
139
151
  name: 'Object'
@@ -122,6 +122,106 @@ module Azure::DataFactory::Mgmt::V2018_06_01
122
122
  promise.execute
123
123
  end
124
124
 
125
+ #
126
+ # Cancel a single trigger instance by runId.
127
+ #
128
+ # @param resource_group_name [String] The resource group name.
129
+ # @param factory_name [String] The factory name.
130
+ # @param trigger_name [String] The trigger name.
131
+ # @param run_id [String] The pipeline run identifier.
132
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
133
+ # will be added to the HTTP request.
134
+ #
135
+ #
136
+ def cancel(resource_group_name, factory_name, trigger_name, run_id, custom_headers:nil)
137
+ response = cancel_async(resource_group_name, factory_name, trigger_name, run_id, custom_headers:custom_headers).value!
138
+ nil
139
+ end
140
+
141
+ #
142
+ # Cancel a single trigger instance by runId.
143
+ #
144
+ # @param resource_group_name [String] The resource group name.
145
+ # @param factory_name [String] The factory name.
146
+ # @param trigger_name [String] The trigger name.
147
+ # @param run_id [String] The pipeline run identifier.
148
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
149
+ # will be added to the HTTP request.
150
+ #
151
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
152
+ #
153
+ def cancel_with_http_info(resource_group_name, factory_name, trigger_name, run_id, custom_headers:nil)
154
+ cancel_async(resource_group_name, factory_name, trigger_name, run_id, custom_headers:custom_headers).value!
155
+ end
156
+
157
+ #
158
+ # Cancel a single trigger instance by runId.
159
+ #
160
+ # @param resource_group_name [String] The resource group name.
161
+ # @param factory_name [String] The factory name.
162
+ # @param trigger_name [String] The trigger name.
163
+ # @param run_id [String] The pipeline run identifier.
164
+ # @param [Hash{String => String}] A hash of custom headers that will be added
165
+ # to the HTTP request.
166
+ #
167
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
168
+ #
169
+ def cancel_async(resource_group_name, factory_name, trigger_name, run_id, custom_headers:nil)
170
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
171
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
172
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
173
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
174
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
175
+ fail ArgumentError, 'factory_name is nil' if factory_name.nil?
176
+ fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
177
+ fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
178
+ fail ArgumentError, "'factory_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !factory_name.nil? && factory_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
179
+ fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
180
+ fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !trigger_name.nil? && trigger_name.length > 260
181
+ fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MinLength': '1'" if !trigger_name.nil? && trigger_name.length < 1
182
+ fail ArgumentError, "'trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !trigger_name.nil? && trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
183
+ fail ArgumentError, 'run_id is nil' if run_id.nil?
184
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
185
+
186
+
187
+ request_headers = {}
188
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
189
+
190
+ # Set Headers
191
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
192
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
193
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel'
194
+
195
+ request_url = @base_url || @client.base_url
196
+
197
+ options = {
198
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
199
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'triggerName' => trigger_name,'runId' => run_id},
200
+ query_params: {'api-version' => @client.api_version},
201
+ headers: request_headers.merge(custom_headers || {}),
202
+ base_url: request_url
203
+ }
204
+ promise = @client.make_request_async(:post, path_template, options)
205
+
206
+ promise = promise.then do |result|
207
+ http_response = result.response
208
+ status_code = http_response.status
209
+ response_content = http_response.body
210
+ unless status_code == 200
211
+ error_model = JSON.load(response_content)
212
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
213
+ end
214
+
215
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
216
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
217
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
218
+
219
+ result
220
+ end
221
+
222
+ promise.execute
223
+ end
224
+
125
225
  #
126
226
  # Query trigger runs.
127
227
  #