From ec54cde8369e15bca73751724d21881087678b76 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Fri, 18 Oct 2019 02:17:43 +0000 Subject: [PATCH] Generated from 2bf8ae41b02cc56508afee3fb34fc9e742d65776 Update Db2LinkedServiceTypeProperties --- .../models/_data_factory_management_client_enums.py | 7 ------- .../azure/mgmt/datafactory/models/_models.py | 10 ++++++++++ .../azure/mgmt/datafactory/models/_models_py3.py | 12 +++++++++++- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py index da2e1e003d60..bf96aab33ad4 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py @@ -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" diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py index 1dc7ee294180..1a4a50cf7e12 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py @@ -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). @@ -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'}, } @@ -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' diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py index 9e264c553c97..e07fefcc2ca7 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py @@ -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). @@ -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'