Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::PrestoLinkedService

Inherits:
LinkedService
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb

Overview

Presto server linked service.

Instance Attribute Summary collapse

Attributes inherited from LinkedService

#additional_properties, #annotations, #connect_via, #description, #parameters

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePrestoLinkedService

Returns a new instance of PrestoLinkedService.



16
17
18
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 16

def initialize
  @type = "Presto"
end

Instance Attribute Details

#allow_host_name_cnmismatchObject

to match the host name of the server when connecting over SSL. The default value is false.

Returns:

  • Specifies whether to require a CA-issued SSL certificate name



64
65
66
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 64

def allow_host_name_cnmismatch
  @allow_host_name_cnmismatch
end

#allow_self_signed_server_certObject

server. The default value is false.

Returns:

  • Specifies whether to allow self-signed certificates from the



68
69
70
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 68

def allow_self_signed_server_cert
  @allow_self_signed_server_cert
end

#authentication_typePrestoAuthenticationType

connect to the Presto server. Possible values include: ‘Anonymous’, ‘LDAP’

Returns:



39
40
41
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 39

def authentication_type
  @authentication_type
end

#catalogObject

Returns The catalog context for all request against the server.

Returns:

  • The catalog context for all request against the server.



30
31
32
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 30

def catalog
  @catalog
end

#enable_sslObject

using SSL. The default value is false.

Returns:

  • Specifies whether the connections to the server are encrypted



49
50
51
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 49

def enable_ssl
  @enable_ssl
end

#encrypted_credentialObject

are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).

Returns:

  • The encrypted credential used for authentication. Credentials



78
79
80
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 78

def encrypted_credential
  @encrypted_credential
end

#hostObject

192.168.222.160)

Returns:

  • The IP address or host name of the Presto server. (i.e.



24
25
26
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 24

def host
  @host
end

#passwordSecretBase

Returns The password corresponding to the user name.

Returns:

  • (SecretBase)

    The password corresponding to the user name.



45
46
47
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 45

def password
  @password
end

#portObject

connections. The default value is 8080.

Returns:

  • The TCP port that the Presto server uses to listen for client



34
35
36
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 34

def port
  @port
end

#server_versionObject

Returns The version of the Presto server. (i.e. 0.148-t).

Returns:

  • The version of the Presto server. (i.e. 0.148-t)



27
28
29
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 27

def server_version
  @server_version
end

#time_zone_idObject

this option are specified in the IANA Time Zone Database. The default value is the system time zone.

Returns:

  • The local time zone used by the connection. Valid values for



73
74
75
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 73

def time_zone_id
  @time_zone_id
end

#trusted_cert_pathObject

certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.

Returns:

  • The full path of the .pem file containing trusted CA



55
56
57
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 55

def trusted_cert_path
  @trusted_cert_path
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 20

def type
  @type
end

#use_system_trust_storeObject

store or from a specified PEM file. The default value is false.

Returns:

  • Specifies whether to use a CA certificate from the system trust



59
60
61
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 59

def use_system_trust_store
  @use_system_trust_store
end

#usernameObject

Returns The user name used to connect to the Presto server.

Returns:

  • The user name used to connect to the Presto server.



42
43
44
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 42

def username
  @username
end

Class Method Details

.mapperObject

Mapper for PrestoLinkedService class as Ruby Hash. This will be used for serialization/deserialization.



85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb', line 85

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Presto',
    type: {
      name: 'Composite',
      class_name: 'PrestoLinkedService',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        connect_via: {
          client_side_validation: true,
          required: false,
          serialized_name: 'connectVia',
          type: {
            name: 'Composite',
            class_name: 'IntegrationRuntimeReference'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParameterSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParameterSpecification'
                }
            }
          }
        },
        annotations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'annotations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        host: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.host',
          type: {
            name: 'Object'
          }
        },
        server_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.serverVersion',
          type: {
            name: 'Object'
          }
        },
        catalog: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.catalog',
          type: {
            name: 'Object'
          }
        },
        port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.port',
          type: {
            name: 'Object'
          }
        },
        authentication_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.authenticationType',
          type: {
            name: 'String'
          }
        },
        username: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.username',
          type: {
            name: 'Object'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.password',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        enable_ssl: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.enableSsl',
          type: {
            name: 'Object'
          }
        },
        trusted_cert_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.trustedCertPath',
          type: {
            name: 'Object'
          }
        },
        use_system_trust_store: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.useSystemTrustStore',
          type: {
            name: 'Object'
          }
        },
        allow_host_name_cnmismatch: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.allowHostNameCNMismatch',
          type: {
            name: 'Object'
          }
        },
        allow_self_signed_server_cert: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.allowSelfSignedServerCert',
          type: {
            name: 'Object'
          }
        },
        time_zone_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.timeZoneID',
          type: {
            name: 'Object'
          }
        },
        encrypted_credential: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.encryptedCredential',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end