Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,6 @@ class OrcCompressionCodec(str, Enum):
snappy = "snappy"


class OrcCompressionCodec(str, Enum):

none = "none"
zlib = "zlib"
snappy = "snappy"


class AvroCompressionCodec(str, Enum):

none = "none"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9896,6 +9896,12 @@ class Db2LinkedService(LinkedService):
:type username: object
:param password: Password for authentication.
:type password: ~azure.mgmt.datafactory.models.SecretBase
:param package_collection: Under where packages are created when querying
database. Type: string (or Expression with resultType string).
:type package_collection: object
:param certificate_common_name: Certificate Common Name when TLS is
enabled. Type: string (or Expression with resultType string).
:type certificate_common_name: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -9920,6 +9926,8 @@ class Db2LinkedService(LinkedService):
'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'},
'username': {'key': 'typeProperties.username', 'type': 'object'},
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'package_collection': {'key': 'typeProperties.packageCollection', 'type': 'object'},
'certificate_common_name': {'key': 'typeProperties.certificateCommonName', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

Expand All @@ -9930,6 +9938,8 @@ def __init__(self, **kwargs):
self.authentication_type = kwargs.get('authentication_type', None)
self.username = kwargs.get('username', None)
self.password = kwargs.get('password', None)
self.package_collection = kwargs.get('package_collection', None)
self.certificate_common_name = kwargs.get('certificate_common_name', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'Db2'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9896,6 +9896,12 @@ class Db2LinkedService(LinkedService):
:type username: object
:param password: Password for authentication.
:type password: ~azure.mgmt.datafactory.models.SecretBase
:param package_collection: Under where packages are created when querying
database. Type: string (or Expression with resultType string).
:type package_collection: object
:param certificate_common_name: Certificate Common Name when TLS is
enabled. Type: string (or Expression with resultType string).
:type certificate_common_name: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -9920,16 +9926,20 @@ class Db2LinkedService(LinkedService):
'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'},
'username': {'key': 'typeProperties.username', 'type': 'object'},
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'package_collection': {'key': 'typeProperties.packageCollection', 'type': 'object'},
'certificate_common_name': {'key': 'typeProperties.certificateCommonName', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

def __init__(self, *, server, database, additional_properties=None, connect_via=None, description: str=None, parameters=None, annotations=None, authentication_type=None, username=None, password=None, encrypted_credential=None, **kwargs) -> None:
def __init__(self, *, server, database, additional_properties=None, connect_via=None, description: str=None, parameters=None, annotations=None, authentication_type=None, username=None, password=None, package_collection=None, certificate_common_name=None, encrypted_credential=None, **kwargs) -> None:
super(Db2LinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs)
self.server = server
self.database = database
self.authentication_type = authentication_type
self.username = username
self.password = password
self.package_collection = package_collection
self.certificate_common_name = certificate_common_name
self.encrypted_credential = encrypted_credential
self.type = 'Db2'

Expand Down