Db2LinkedService Class

Linked service for DB2 data source.

All required parameters must be populated in order to send to server.

Constructor

Db2LinkedService(*, 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, connection_string: MutableMapping[str, Any] | None = None, server: MutableMapping[str, Any] | None = None, database: MutableMapping[str, Any] | None = None, authentication_type: str | _models.Db2AuthenticationType | None = None, username: MutableMapping[str, Any] | None = None, password: _models.SecretBase | None = None, package_collection: MutableMapping[str, Any] | None = None, certificate_common_name: MutableMapping[str, Any] | None = None, encrypted_credential: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
additional_properties
dict[str, <xref:JSON>]

Unmatched properties from the message are deserialized to this collection.

version
str

Version of the linked service.

connect_via

The integration runtime reference.

description
str

Linked service description.

parameters

Parameters for linked service.

annotations
list[<xref:JSON>]

List of tags that can be used for describing the linked service.

connection_string
<xref:JSON>

The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference.

server
<xref:JSON>

Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

database
<xref:JSON>

Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

authentication_type

AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. "Basic"

username
<xref:JSON>

Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

password

Password for authentication.

package_collection
<xref:JSON>

Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

certificate_common_name
<xref:JSON>

Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

encrypted_credential
str

The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string.

Variables

Name Description
additional_properties
dict[str, <xref:JSON>]

Unmatched properties from the message are deserialized to this collection.

type
str

Type of linked service. Required.

version
str

Version of the linked service.

connect_via

The integration runtime reference.

description
str

Linked service description.

parameters

Parameters for linked service.

annotations
list[<xref:JSON>]

List of tags that can be used for describing the linked service.

connection_string
<xref:JSON>

The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference.

server
<xref:JSON>

Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

database
<xref:JSON>

Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

authentication_type

AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. "Basic"

username
<xref:JSON>

Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

password

Password for authentication.

package_collection
<xref:JSON>

Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

certificate_common_name
<xref:JSON>

Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

encrypted_credential
str

The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string.