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
@@ -12,13 +12,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return
|
16
|
-
#
|
17
|
-
# '
|
15
|
+
# @return Compute type of the cluster which will execute data flow job.
|
16
|
+
# Possible values include: 'General', 'MemoryOptimized',
|
17
|
+
# 'ComputeOptimized'. Type: string (or Expression with resultType string)
|
18
18
|
attr_accessor :compute_type
|
19
19
|
|
20
|
-
# @return
|
21
|
-
#
|
20
|
+
# @return Core count of the cluster which will execute data flow job.
|
21
|
+
# Supported values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or
|
22
|
+
# Expression with resultType integer)
|
22
23
|
attr_accessor :core_count
|
23
24
|
|
24
25
|
|
@@ -41,7 +42,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
41
42
|
required: false,
|
42
43
|
serialized_name: 'computeType',
|
43
44
|
type: {
|
44
|
-
name: '
|
45
|
+
name: 'Object'
|
45
46
|
}
|
46
47
|
},
|
47
48
|
core_count: {
|
@@ -49,7 +50,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
49
50
|
required: false,
|
50
51
|
serialized_name: 'coreCount',
|
51
52
|
type: {
|
52
|
-
name: '
|
53
|
+
name: 'Object'
|
53
54
|
}
|
54
55
|
}
|
55
56
|
}
|
@@ -14,6 +14,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
14
14
|
|
15
15
|
@@discriminatorMap = Hash.new
|
16
16
|
@@discriminatorMap["SnowflakeExportCopyCommand"] = "SnowflakeExportCopyCommand"
|
17
|
+
@@discriminatorMap["AzureDatabricksDeltaLakeExportCommand"] = "AzureDatabricksDeltaLakeExportCommand"
|
17
18
|
|
18
19
|
def initialize
|
19
20
|
@type = "ExportSettings"
|
@@ -35,6 +35,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
35
35
|
# parameters for factory.
|
36
36
|
attr_accessor :global_parameters
|
37
37
|
|
38
|
+
# @return [PublicNetworkAccess] Whether or not public network access is
|
39
|
+
# allowed for the data factory. Possible values include: 'Enabled',
|
40
|
+
# 'Disabled'
|
41
|
+
attr_accessor :public_network_access
|
42
|
+
|
38
43
|
|
39
44
|
#
|
40
45
|
# Mapper for Factory class as Ruby Hash.
|
@@ -187,6 +192,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
187
192
|
}
|
188
193
|
}
|
189
194
|
}
|
195
|
+
},
|
196
|
+
public_network_access: {
|
197
|
+
client_side_validation: true,
|
198
|
+
required: false,
|
199
|
+
serialized_name: 'properties.publicNetworkAccess',
|
200
|
+
type: {
|
201
|
+
name: 'String'
|
202
|
+
}
|
190
203
|
}
|
191
204
|
}
|
192
205
|
}
|
@@ -15,7 +15,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
15
15
|
@@discriminatorMap = Hash.new
|
16
16
|
@@discriminatorMap["JsonWriteSettings"] = "JsonWriteSettings"
|
17
17
|
@@discriminatorMap["DelimitedTextWriteSettings"] = "DelimitedTextWriteSettings"
|
18
|
+
@@discriminatorMap["OrcWriteSettings"] = "OrcWriteSettings"
|
18
19
|
@@discriminatorMap["AvroWriteSettings"] = "AvroWriteSettings"
|
20
|
+
@@discriminatorMap["ParquetWriteSettings"] = "ParquetWriteSettings"
|
19
21
|
|
20
22
|
def initialize
|
21
23
|
@type = "FormatWriteSettings"
|
@@ -13,6 +13,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
@@discriminatorMap = Hash.new
|
16
|
+
@@discriminatorMap["AzureDatabricksDeltaLakeImportCommand"] = "AzureDatabricksDeltaLakeImportCommand"
|
16
17
|
@@discriminatorMap["SnowflakeImportCopyCommand"] = "SnowflakeImportCopyCommand"
|
17
18
|
|
18
19
|
def initialize
|
@@ -24,6 +24,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
24
24
|
@@discriminatorMap["OracleServiceCloud"] = "OracleServiceCloudLinkedService"
|
25
25
|
@@discriminatorMap["DynamicsAX"] = "DynamicsAXLinkedService"
|
26
26
|
@@discriminatorMap["Responsys"] = "ResponsysLinkedService"
|
27
|
+
@@discriminatorMap["AzureDatabricksDeltaLake"] = "AzureDatabricksDeltaLakeLinkedService"
|
27
28
|
@@discriminatorMap["AzureDatabricks"] = "AzureDatabricksLinkedService"
|
28
29
|
@@discriminatorMap["AzureDataLakeAnalytics"] = "AzureDataLakeAnalyticsLinkedService"
|
29
30
|
@@discriminatorMap["HDInsightOnDemand"] = "HDInsightOnDemandLinkedService"
|
@@ -77,6 +78,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
|
|
77
78
|
@@discriminatorMap["AzureDataLakeStore"] = "AzureDataLakeStoreLinkedService"
|
78
79
|
@@discriminatorMap["CosmosDbMongoDbApi"] = "CosmosDbMongoDbApiLinkedService"
|
79
80
|
@@discriminatorMap["MongoDbV2"] = "MongoDbV2LinkedService"
|
81
|
+
@@discriminatorMap["MongoDbAtlas"] = "MongoDbAtlasLinkedService"
|
80
82
|
@@discriminatorMap["MongoDb"] = "MongoDbLinkedService"
|
81
83
|
@@discriminatorMap["Cassandra"] = "CassandraLinkedService"
|
82
84
|
@@discriminatorMap["Web"] = "WebLinkedService"
|
@@ -0,0 +1,60 @@
|
|
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
|
+
# Log location settings.
|
10
|
+
#
|
11
|
+
class LogLocationSettings
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [LinkedServiceReference] Log storage linked service reference.
|
16
|
+
attr_accessor :linked_service_name
|
17
|
+
|
18
|
+
# @return The path to storage for storing detailed logs of activity
|
19
|
+
# execution. Type: string (or Expression with resultType string).
|
20
|
+
attr_accessor :path
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for LogLocationSettings class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'LogLocationSettings',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'LogLocationSettings',
|
35
|
+
model_properties: {
|
36
|
+
linked_service_name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'linkedServiceName',
|
40
|
+
default_value: {},
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'LinkedServiceReference'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
path: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'path',
|
50
|
+
type: {
|
51
|
+
name: 'Object'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,74 @@
|
|
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
|
+
# Log settings.
|
10
|
+
#
|
11
|
+
class LogSettings
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return Specifies whether to enable copy activity log. Type: boolean
|
16
|
+
# (or Expression with resultType boolean).
|
17
|
+
attr_accessor :enable_copy_activity_log
|
18
|
+
|
19
|
+
# @return [CopyActivityLogSettings] Specifies settings for copy activity
|
20
|
+
# log.
|
21
|
+
attr_accessor :copy_activity_log_settings
|
22
|
+
|
23
|
+
# @return [LogLocationSettings] Log location settings customer needs to
|
24
|
+
# provide when enabling log.
|
25
|
+
attr_accessor :log_location_settings
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for LogSettings class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'LogSettings',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'LogSettings',
|
40
|
+
model_properties: {
|
41
|
+
enable_copy_activity_log: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'enableCopyActivityLog',
|
45
|
+
type: {
|
46
|
+
name: 'Object'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
copy_activity_log_settings: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'copyActivityLogSettings',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'CopyActivityLogSettings'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
log_location_settings: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: true,
|
61
|
+
serialized_name: 'logLocationSettings',
|
62
|
+
default_value: {},
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'LogLocationSettings'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_collection_dataset.rb
ADDED
@@ -0,0 +1,153 @@
|
|
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 MongoDB Atlas database dataset.
|
10
|
+
#
|
11
|
+
class MongoDbAtlasCollectionDataset < Dataset
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@type = "MongoDbAtlasCollection"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return The collection name of the MongoDB Atlas database. Type: string
|
23
|
+
# (or Expression with resultType string).
|
24
|
+
attr_accessor :collection
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for MongoDbAtlasCollectionDataset 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: 'MongoDbAtlasCollection',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'MongoDbAtlasCollectionDataset',
|
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
|
+
description: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'description',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
structure: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'structure',
|
67
|
+
type: {
|
68
|
+
name: 'Object'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
schema: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'schema',
|
75
|
+
type: {
|
76
|
+
name: 'Object'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
linked_service_name: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: true,
|
82
|
+
serialized_name: 'linkedServiceName',
|
83
|
+
default_value: {},
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
class_name: 'LinkedServiceReference'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
parameters: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'parameters',
|
93
|
+
type: {
|
94
|
+
name: 'Dictionary',
|
95
|
+
value: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'ParameterSpecificationElementType',
|
99
|
+
type: {
|
100
|
+
name: 'Composite',
|
101
|
+
class_name: 'ParameterSpecification'
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
},
|
106
|
+
annotations: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'annotations',
|
110
|
+
type: {
|
111
|
+
name: 'Sequence',
|
112
|
+
element: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'ObjectElementType',
|
116
|
+
type: {
|
117
|
+
name: 'Object'
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
},
|
122
|
+
folder: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'folder',
|
126
|
+
type: {
|
127
|
+
name: 'Composite',
|
128
|
+
class_name: 'DatasetFolder'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
type: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: true,
|
134
|
+
serialized_name: 'type',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
collection: {
|
140
|
+
client_side_validation: true,
|
141
|
+
required: true,
|
142
|
+
serialized_name: 'typeProperties.collection',
|
143
|
+
type: {
|
144
|
+
name: 'Object'
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
@@ -0,0 +1,140 @@
|
|
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
|
+
# Linked service for MongoDB Atlas data source.
|
10
|
+
#
|
11
|
+
class MongoDbAtlasLinkedService < LinkedService
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@type = "MongoDbAtlas"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return The MongoDB Atlas connection string. Type: string, SecureString
|
23
|
+
# or AzureKeyVaultSecretReference. Type: string, SecureString or
|
24
|
+
# AzureKeyVaultSecretReference.
|
25
|
+
attr_accessor :connection_string
|
26
|
+
|
27
|
+
# @return The name of the MongoDB Atlas database that you want to access.
|
28
|
+
# Type: string (or Expression with resultType string).
|
29
|
+
attr_accessor :database
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for MongoDbAtlasLinkedService class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'MongoDbAtlas',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'MongoDbAtlasLinkedService',
|
44
|
+
model_properties: {
|
45
|
+
additional_properties: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
type: {
|
49
|
+
name: 'Dictionary',
|
50
|
+
value: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'ObjectElementType',
|
54
|
+
type: {
|
55
|
+
name: 'Object'
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
},
|
60
|
+
connect_via: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'connectVia',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'IntegrationRuntimeReference'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
description: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'description',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
parameters: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'parameters',
|
81
|
+
type: {
|
82
|
+
name: 'Dictionary',
|
83
|
+
value: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'ParameterSpecificationElementType',
|
87
|
+
type: {
|
88
|
+
name: 'Composite',
|
89
|
+
class_name: 'ParameterSpecification'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
},
|
94
|
+
annotations: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'annotations',
|
98
|
+
type: {
|
99
|
+
name: 'Sequence',
|
100
|
+
element: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'ObjectElementType',
|
104
|
+
type: {
|
105
|
+
name: 'Object'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
},
|
110
|
+
type: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: true,
|
113
|
+
serialized_name: 'type',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
connection_string: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: true,
|
121
|
+
serialized_name: 'typeProperties.connectionString',
|
122
|
+
type: {
|
123
|
+
name: 'Object'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
database: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: true,
|
129
|
+
serialized_name: 'typeProperties.database',
|
130
|
+
type: {
|
131
|
+
name: 'Object'
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|