azure_mgmt_data_factory 0.18.5 → 0.18.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/data_factory_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory.rb +150 -128
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/data_factory_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3linked_service.rb +28 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_write_settings.rb +27 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_dataset.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_export_command.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_import_command.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_linked_service.rb +169 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_sink.rb +130 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_source.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_source.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/concur_linked_service.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_activity.rb +15 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_activity_log_settings.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_behavior_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb +1 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_translator.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_data_element.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_schema_data_element.rb +78 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_write_settings.rb +27 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_sink_write_behavior.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity.rb +39 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity_type_properties_compute.rb +8 -7
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/export_settings.rb +1 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/import_settings.rb +1 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/log_location_settings.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/log_settings.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/log_storage_settings.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_collection_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_linked_service.rb +140 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_source.rb +164 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_source.rb +3 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_source.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_compression_codec.rb +1 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_dataset.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_sink.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_write_settings.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_sink.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_write_settings.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/public_network_access.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb +6 -19
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_source.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_source.rb +5 -6
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsource.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_misource.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_source.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_source.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tabular_translator.rb +157 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_source.rb +3 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_frequency.rb +1 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_trigger.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/type_conversion_settings.rb +107 -0
- data/lib/azure_mgmt_data_factory.rb +1 -1
- data/lib/profiles/latest/modules/datafactory_profile_module.rb +516 -428
- data/lib/version.rb +1 -1
- metadata +25 -3
@@ -0,0 +1,16 @@
|
|
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
|
+
# Defines values for PublicNetworkAccess
|
10
|
+
#
|
11
|
+
module PublicNetworkAccess
|
12
|
+
Enabled = "Enabled"
|
13
|
+
Disabled = "Disabled"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -36,15 +36,10 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
36
36
|
# @return The time to await before sending next request, in milliseconds
|
37
37
|
attr_accessor :request_interval
|
38
38
|
|
39
|
-
# @return Compression Type to Send data in compressed format with
|
40
|
-
# Compression Level, Default is None. And The Only Supported
|
41
|
-
# Gzip.
|
42
|
-
attr_accessor :
|
43
|
-
|
44
|
-
# @return Wraps Request Array Json into an Object before calling the rest
|
45
|
-
# endpoint , Default is false. ex: if true request content sample format
|
46
|
-
# is { rows:[]} else the format is []
|
47
|
-
attr_accessor :wrap_request_json_in_an_object
|
39
|
+
# @return Http Compression Type to Send data in compressed format with
|
40
|
+
# Optimal Compression Level, Default is None. And The Only Supported
|
41
|
+
# option is Gzip.
|
42
|
+
attr_accessor :http_compression_type
|
48
43
|
|
49
44
|
|
50
45
|
#
|
@@ -155,18 +150,10 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
155
150
|
name: 'Object'
|
156
151
|
}
|
157
152
|
},
|
158
|
-
|
159
|
-
client_side_validation: true,
|
160
|
-
required: false,
|
161
|
-
serialized_name: 'compressionType',
|
162
|
-
type: {
|
163
|
-
name: 'Object'
|
164
|
-
}
|
165
|
-
},
|
166
|
-
wrap_request_json_in_an_object: {
|
153
|
+
http_compression_type: {
|
167
154
|
client_side_validation: true,
|
168
155
|
required: false,
|
169
|
-
serialized_name: '
|
156
|
+
serialized_name: 'httpCompressionType',
|
170
157
|
type: {
|
171
158
|
name: 'Object'
|
172
159
|
}
|
@@ -27,9 +27,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
27
27
|
# Expression with resultType integer).
|
28
28
|
attr_accessor :packet_size
|
29
29
|
|
30
|
-
# @return
|
31
|
-
#
|
32
|
-
#
|
30
|
+
# @return The partition mechanism that will be used for SAP HANA read in
|
31
|
+
# parallel. Possible values include: "None", "PhysicalPartitionsOfTable",
|
32
|
+
# "SapHanaDynamicRange".
|
33
33
|
attr_accessor :partition_option
|
34
34
|
|
35
35
|
# @return [SapHanaPartitionSettings] The settings that will be leveraged
|
@@ -143,7 +143,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
143
143
|
required: false,
|
144
144
|
serialized_name: 'partitionOption',
|
145
145
|
type: {
|
146
|
-
name: '
|
146
|
+
name: 'Object'
|
147
147
|
}
|
148
148
|
},
|
149
149
|
partition_settings: {
|
@@ -52,11 +52,10 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
52
52
|
# (or Expression with resultType string).
|
53
53
|
attr_accessor :sap_data_column_delimiter
|
54
54
|
|
55
|
-
# @return
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# 'PartitionOnTime'
|
55
|
+
# @return The partition mechanism that will be used for SAP table read in
|
56
|
+
# parallel. Possible values include: "None", "PartitionOnInt",
|
57
|
+
# "PartitionOnCalendarYear", "PartitionOnCalendarMonth",
|
58
|
+
# "PartitionOnCalendarDate", "PartitionOnTime".
|
60
59
|
attr_accessor :partition_option
|
61
60
|
|
62
61
|
# @return [SapTablePartitionSettings] The settings that will be leveraged
|
@@ -210,7 +209,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
210
209
|
required: false,
|
211
210
|
serialized_name: 'partitionOption',
|
212
211
|
type: {
|
213
|
-
name: '
|
212
|
+
name: 'Object'
|
214
213
|
}
|
215
214
|
},
|
216
215
|
partition_settings: {
|
@@ -33,9 +33,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
33
33
|
# Expression with resultType object), itemType: StoredProcedureParameter.
|
34
34
|
attr_accessor :stored_procedure_parameters
|
35
35
|
|
36
|
-
# @return
|
37
|
-
#
|
38
|
-
#
|
36
|
+
# @return The partition mechanism that will be used for Sql read in
|
37
|
+
# parallel. Possible values include: "None", "PhysicalPartitionsOfTable",
|
38
|
+
# "DynamicRange".
|
39
39
|
attr_accessor :partition_option
|
40
40
|
|
41
41
|
# @return [SqlPartitionSettings] The settings that will be leveraged for
|
@@ -157,7 +157,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
157
157
|
required: false,
|
158
158
|
serialized_name: 'partitionOption',
|
159
159
|
type: {
|
160
|
-
name: '
|
160
|
+
name: 'Object'
|
161
161
|
}
|
162
162
|
},
|
163
163
|
partition_settings: {
|
@@ -36,9 +36,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
36
36
|
# @return Which additional types to produce.
|
37
37
|
attr_accessor :produce_additional_types
|
38
38
|
|
39
|
-
# @return
|
40
|
-
#
|
41
|
-
#
|
39
|
+
# @return The partition mechanism that will be used for Sql read in
|
40
|
+
# parallel. Possible values include: "None", "PhysicalPartitionsOfTable",
|
41
|
+
# "DynamicRange".
|
42
42
|
attr_accessor :partition_option
|
43
43
|
|
44
44
|
# @return [SqlPartitionSettings] The settings that will be leveraged for
|
@@ -177,7 +177,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
177
177
|
required: false,
|
178
178
|
serialized_name: 'partitionOption',
|
179
179
|
type: {
|
180
|
-
name: '
|
180
|
+
name: 'Object'
|
181
181
|
}
|
182
182
|
},
|
183
183
|
partition_settings: {
|
@@ -36,9 +36,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
36
36
|
# @return Which additional types to produce.
|
37
37
|
attr_accessor :produce_additional_types
|
38
38
|
|
39
|
-
# @return
|
40
|
-
#
|
41
|
-
#
|
39
|
+
# @return The partition mechanism that will be used for Sql read in
|
40
|
+
# parallel. Possible values include: "None", "PhysicalPartitionsOfTable",
|
41
|
+
# "DynamicRange".
|
42
42
|
attr_accessor :partition_option
|
43
43
|
|
44
44
|
# @return [SqlPartitionSettings] The settings that will be leveraged for
|
@@ -177,7 +177,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
177
177
|
required: false,
|
178
178
|
serialized_name: 'partitionOption',
|
179
179
|
type: {
|
180
|
-
name: '
|
180
|
+
name: 'Object'
|
181
181
|
}
|
182
182
|
},
|
183
183
|
partition_settings: {
|
@@ -40,9 +40,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
40
40
|
# resultType string).
|
41
41
|
attr_accessor :isolation_level
|
42
42
|
|
43
|
-
# @return
|
44
|
-
#
|
45
|
-
#
|
43
|
+
# @return The partition mechanism that will be used for Sql read in
|
44
|
+
# parallel. Possible values include: "None", "PhysicalPartitionsOfTable",
|
45
|
+
# "DynamicRange".
|
46
46
|
attr_accessor :partition_option
|
47
47
|
|
48
48
|
# @return [SqlPartitionSettings] The settings that will be leveraged for
|
@@ -181,7 +181,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
181
181
|
required: false,
|
182
182
|
serialized_name: 'partitionOption',
|
183
183
|
type: {
|
184
|
-
name: '
|
184
|
+
name: 'Object'
|
185
185
|
}
|
186
186
|
},
|
187
187
|
partition_settings: {
|
@@ -0,0 +1,157 @@
|
|
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 tabular translator.
|
10
|
+
#
|
11
|
+
class TabularTranslator < CopyTranslator
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@type = "TabularTranslator"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return Column mappings. Example: "UserId: MyUserId, Group: MyGroup,
|
23
|
+
# Name: MyName" Type: string (or Expression with resultType string). This
|
24
|
+
# property will be retired. Please use mappings property.
|
25
|
+
attr_accessor :column_mappings
|
26
|
+
|
27
|
+
# @return The schema mapping to map between tabular data and hierarchical
|
28
|
+
# data. Example: {"Column1": "$.Column1", "Column2":
|
29
|
+
# "$.Column2.Property1", "Column3": "$.Column2.Property2"}. Type: object
|
30
|
+
# (or Expression with resultType object). This property will be retired.
|
31
|
+
# Please use mappings property.
|
32
|
+
attr_accessor :schema_mapping
|
33
|
+
|
34
|
+
# @return The JSON Path of the Nested Array that is going to do
|
35
|
+
# cross-apply. Type: object (or Expression with resultType object).
|
36
|
+
attr_accessor :collection_reference
|
37
|
+
|
38
|
+
# @return Whether to map complex (array and object) values to simple
|
39
|
+
# strings in json format. Type: boolean (or Expression with resultType
|
40
|
+
# boolean).
|
41
|
+
attr_accessor :map_complex_values_to_string
|
42
|
+
|
43
|
+
# @return Column mappings with logical types. Tabular->tabular example:
|
44
|
+
# [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}].
|
45
|
+
# Hierarchical->tabular example:
|
46
|
+
# [{"source":{"path":"$.CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$.CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}].
|
47
|
+
# Type: object (or Expression with resultType object).
|
48
|
+
attr_accessor :mappings
|
49
|
+
|
50
|
+
# @return Whether to enable the advanced type conversion feature in the
|
51
|
+
# Copy activity. Type: boolean (or Expression with resultType boolean).
|
52
|
+
attr_accessor :type_conversion
|
53
|
+
|
54
|
+
# @return [TypeConversionSettings] Type conversion settings
|
55
|
+
attr_accessor :type_conversion_settings
|
56
|
+
|
57
|
+
|
58
|
+
#
|
59
|
+
# Mapper for TabularTranslator class as Ruby Hash.
|
60
|
+
# This will be used for serialization/deserialization.
|
61
|
+
#
|
62
|
+
def self.mapper()
|
63
|
+
{
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'TabularTranslator',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'TabularTranslator',
|
70
|
+
model_properties: {
|
71
|
+
additional_properties: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
type: {
|
75
|
+
name: 'Dictionary',
|
76
|
+
value: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'ObjectElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Object'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
type: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: true,
|
89
|
+
serialized_name: 'type',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
column_mappings: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'columnMappings',
|
98
|
+
type: {
|
99
|
+
name: 'Object'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
schema_mapping: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'schemaMapping',
|
106
|
+
type: {
|
107
|
+
name: 'Object'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
collection_reference: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'collectionReference',
|
114
|
+
type: {
|
115
|
+
name: 'Object'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
map_complex_values_to_string: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'mapComplexValuesToString',
|
122
|
+
type: {
|
123
|
+
name: 'Object'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
mappings: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'mappings',
|
130
|
+
type: {
|
131
|
+
name: 'Object'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
type_conversion: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'typeConversion',
|
138
|
+
type: {
|
139
|
+
name: 'Object'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
type_conversion_settings: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'typeConversionSettings',
|
146
|
+
type: {
|
147
|
+
name: 'Composite',
|
148
|
+
class_name: 'TypeConversionSettings'
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
@@ -23,9 +23,8 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
23
23
|
# string).
|
24
24
|
attr_accessor :query
|
25
25
|
|
26
|
-
# @return
|
27
|
-
#
|
28
|
-
# 'Hash', 'DynamicRange'
|
26
|
+
# @return The partition mechanism that will be used for teradata read in
|
27
|
+
# parallel. Possible values include: "None", "Hash", "DynamicRange".
|
29
28
|
attr_accessor :partition_option
|
30
29
|
|
31
30
|
# @return [TeradataPartitionSettings] The settings that will be leveraged
|
@@ -131,7 +130,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
131
130
|
required: false,
|
132
131
|
serialized_name: 'partitionOption',
|
133
132
|
type: {
|
134
|
-
name: '
|
133
|
+
name: 'Object'
|
135
134
|
}
|
136
135
|
},
|
137
136
|
partition_settings: {
|
@@ -26,7 +26,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
26
26
|
attr_accessor :pipeline
|
27
27
|
|
28
28
|
# @return [TumblingWindowFrequency] The frequency of the time windows.
|
29
|
-
# Possible values include: 'Minute', 'Hour'
|
29
|
+
# Possible values include: 'Minute', 'Hour', 'Month'
|
30
30
|
attr_accessor :frequency
|
31
31
|
|
32
32
|
# @return [Integer] The interval of the time windows. The minimum
|
@@ -0,0 +1,107 @@
|
|
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
|
+
# Type conversion settings
|
10
|
+
#
|
11
|
+
class TypeConversionSettings
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return Whether to allow data truncation when converting the data.
|
16
|
+
# Type: boolean (or Expression with resultType boolean).
|
17
|
+
attr_accessor :allow_data_truncation
|
18
|
+
|
19
|
+
# @return Whether to treat boolean values as numbers. Type: boolean (or
|
20
|
+
# Expression with resultType boolean).
|
21
|
+
attr_accessor :treat_boolean_as_number
|
22
|
+
|
23
|
+
# @return The format for DateTime values. Type: string (or Expression
|
24
|
+
# with resultType string).
|
25
|
+
attr_accessor :date_time_format
|
26
|
+
|
27
|
+
# @return The format for DateTimeOffset values. Type: string (or
|
28
|
+
# Expression with resultType string).
|
29
|
+
attr_accessor :date_time_offset_format
|
30
|
+
|
31
|
+
# @return The format for TimeSpan values. Type: string (or Expression
|
32
|
+
# with resultType string).
|
33
|
+
attr_accessor :time_span_format
|
34
|
+
|
35
|
+
# @return The culture used to convert data from/to string. Type: string
|
36
|
+
# (or Expression with resultType string).
|
37
|
+
attr_accessor :culture
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for TypeConversionSettings class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'TypeConversionSettings',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'TypeConversionSettings',
|
52
|
+
model_properties: {
|
53
|
+
allow_data_truncation: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'allowDataTruncation',
|
57
|
+
type: {
|
58
|
+
name: 'Object'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
treat_boolean_as_number: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'treatBooleanAsNumber',
|
65
|
+
type: {
|
66
|
+
name: 'Object'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
date_time_format: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'dateTimeFormat',
|
73
|
+
type: {
|
74
|
+
name: 'Object'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
date_time_offset_format: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'dateTimeOffsetFormat',
|
81
|
+
type: {
|
82
|
+
name: 'Object'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
time_span_format: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'timeSpanFormat',
|
89
|
+
type: {
|
90
|
+
name: 'Object'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
culture: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'culture',
|
97
|
+
type: {
|
98
|
+
name: 'Object'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|