PrestoLinkedService Class
Presto server linked service. This linked service has supported version property. The Version 1.0 is scheduled for deprecation while your pipeline will continue to run after EOL but without any bug fix or new features.
All required parameters must be populated in order to send to server.
Constructor
PrestoLinkedService(*, host: MutableMapping[str, Any], catalog: MutableMapping[str, Any], authentication_type: str | _models.PrestoAuthenticationType, additional_properties: Dict[str, MutableMapping[str, Any]] | None = None, version: str | None = None, connect_via: _models.IntegrationRuntimeReference | None = None, description: str | None = None, parameters: Dict[str, _models.ParameterSpecification] | None = None, annotations: List[MutableMapping[str, Any]] | None = None, server_version: MutableMapping[str, Any] | None = None, port: MutableMapping[str, Any] | None = None, username: MutableMapping[str, Any] | None = None, password: _models.SecretBase | None = None, enable_ssl: MutableMapping[str, Any] | None = None, enable_server_certificate_validation: MutableMapping[str, Any] | None = None, trusted_cert_path: MutableMapping[str, Any] | None = None, use_system_trust_store: MutableMapping[str, Any] | None = None, allow_host_name_cn_mismatch: MutableMapping[str, Any] | None = None, allow_self_signed_server_cert: MutableMapping[str, Any] | None = None, time_zone_id: MutableMapping[str, Any] | None = None, encrypted_credential: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
additional_properties
|
Unmatched properties from the message are deserialized to this collection. Default value: None
|
version
|
Version of the linked service. Default value: None
|
connect_via
|
The integration runtime reference. Default value: None
|
description
|
Linked service description. Default value: None
|
parameters
|
Parameters for linked service. Default value: None
|
annotations
|
list[<xref:JSON>]
List of tags that can be used for describing the linked service. Default value: None
|
host
|
<xref:JSON>
The IP address or host name of the Presto server. (i.e. 192.168.222.160). Required. |
server_version
|
<xref:JSON>
The version of the Presto server. (i.e. 0.148-t) Only used for Version 1.0. Default value: None
|
catalog
|
<xref:JSON>
The catalog context for all request against the server. Required. |
port
|
<xref:JSON>
The TCP port that the Presto server uses to listen for client connections. The default value is 8080 when disable SSL, default value is 443 when enable SSL. Default value: None
|
authentication_type
|
The authentication mechanism used to connect to the Presto server. Required. Known values are: "Anonymous" and "LDAP". |
username
|
<xref:JSON>
The user name used to connect to the Presto server. Default value: None
|
password
|
The password corresponding to the user name. Default value: None
|
enable_ssl
|
<xref:JSON>
Specifies whether the connections to the server are encrypted using SSL. The default value for legacy version is False. The default value for version 2.0 is True. Default value: None
|
enable_server_certificate_validation
|
<xref:JSON>
Specifies whether the connections to the server will validate server certificate, the default value is True. Only used for Version 2.0. Default value: None
|
trusted_cert_path
|
<xref:JSON>
The full path of the .pem file containing trusted CA 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. Only used for Version 1.0. Default value: None
|
use_system_trust_store
|
<xref:JSON>
Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Only used for Version 1.0. Default value: None
|
allow_host_name_cn_mismatch
|
<xref:JSON>
Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. Only used for Version 1.0. Default value: None
|
allow_self_signed_server_cert
|
<xref:JSON>
Specifies whether to allow self-signed certificates from the server. The default value is false. Only used for Version 1.0. Default value: None
|
time_zone_id
|
<xref:JSON>
The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value for Version 1.0 is the client system time zone. The default value for Version 2.0 is server system timeZone. Default value: None
|
encrypted_credential
|
The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. Default value: None
|
Variables
Name | Description |
---|---|
additional_properties
|
Unmatched properties from the message are deserialized to this collection. |
type
|
Type of linked service. Required. |
version
|
Version of the linked service. |
connect_via
|
The integration runtime reference. |
description
|
Linked service description. |
parameters
|
Parameters for linked service. |
annotations
|
list[<xref:JSON>]
List of tags that can be used for describing the linked service. |
host
|
<xref:JSON>
The IP address or host name of the Presto server. (i.e. 192.168.222.160). Required. |
server_version
|
<xref:JSON>
The version of the Presto server. (i.e. 0.148-t) Only used for Version 1.0. |
catalog
|
<xref:JSON>
The catalog context for all request against the server. Required. |
port
|
<xref:JSON>
The TCP port that the Presto server uses to listen for client connections. The default value is 8080 when disable SSL, default value is 443 when enable SSL. |
authentication_type
|
The authentication mechanism used to connect to the Presto server. Required. Known values are: "Anonymous" and "LDAP". |
username
|
<xref:JSON>
The user name used to connect to the Presto server. |
password
|
The password corresponding to the user name. |
enable_ssl
|
<xref:JSON>
Specifies whether the connections to the server are encrypted using SSL. The default value for legacy version is False. The default value for version 2.0 is True. |
enable_server_certificate_validation
|
<xref:JSON>
Specifies whether the connections to the server will validate server certificate, the default value is True. Only used for Version 2.0. |
trusted_cert_path
|
<xref:JSON>
The full path of the .pem file containing trusted CA 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. Only used for Version 1.0. |
use_system_trust_store
|
<xref:JSON>
Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Only used for Version 1.0. |
allow_host_name_cn_mismatch
|
<xref:JSON>
Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. Only used for Version 1.0. |
allow_self_signed_server_cert
|
<xref:JSON>
Specifies whether to allow self-signed certificates from the server. The default value is false. Only used for Version 1.0. |
time_zone_id
|
<xref:JSON>
The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value for Version 1.0 is the client system time zone. The default value for Version 2.0 is server system timeZone. |
encrypted_credential
|
The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. |