diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py index b0bcc09dfede..47113394969e 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py @@ -1196,6 +1196,7 @@ SybaseAuthenticationType, DynamicsDeploymentType, DynamicsAuthenticationType, + OrcCompressionCodec, AvroCompressionCodec, AzureFunctionActivityMethod, WebActivityMethod, @@ -1848,6 +1849,7 @@ 'SybaseAuthenticationType', 'DynamicsDeploymentType', 'DynamicsAuthenticationType', + 'OrcCompressionCodec', 'AvroCompressionCodec', 'AzureFunctionActivityMethod', 'WebActivityMethod', 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 e3abf23ceae4..0558f4a77f99 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 @@ -349,6 +349,13 @@ class DynamicsAuthenticationType(str, Enum): ifd = "Ifd" +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 4875ad2aaafe..00a9112513db 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 @@ -15019,8 +15019,9 @@ class HDInsightPigActivity(ExecutionActivity): :param storage_linked_services: Storage linked service references. :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] - :param arguments: User specified arguments to HDInsightActivity. - :type arguments: list[object] + :param arguments: User specified arguments to HDInsightActivity. Type: + array (or Expression with resultType array). + :type arguments: object :param get_debug_info: Debug info option. Possible values include: 'None', 'Always', 'Failure' :type get_debug_info: str or @@ -15050,7 +15051,7 @@ class HDInsightPigActivity(ExecutionActivity): 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'storage_linked_services': {'key': 'typeProperties.storageLinkedServices', 'type': '[LinkedServiceReference]'}, - 'arguments': {'key': 'typeProperties.arguments', 'type': '[object]'}, + 'arguments': {'key': 'typeProperties.arguments', 'type': 'object'}, 'get_debug_info': {'key': 'typeProperties.getDebugInfo', 'type': 'str'}, 'script_path': {'key': 'typeProperties.scriptPath', 'type': 'object'}, 'script_linked_service': {'key': 'typeProperties.scriptLinkedService', 'type': 'LinkedServiceReference'}, @@ -21368,6 +21369,10 @@ class OrcDataset(Dataset): :type type: str :param location: Required. The location of the ORC data storage. :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param orc_compression_codec: Possible values include: 'none', 'zlib', + 'snappy' + :type orc_compression_codec: str or + ~azure.mgmt.datafactory.models.OrcCompressionCodec """ _validation = { @@ -21387,11 +21392,13 @@ class OrcDataset(Dataset): 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, + 'orc_compression_codec': {'key': 'typeProperties.orcCompressionCodec', 'type': 'str'}, } def __init__(self, **kwargs): super(OrcDataset, self).__init__(**kwargs) self.location = kwargs.get('location', None) + self.orc_compression_codec = kwargs.get('orc_compression_codec', None) self.type = 'Orc' @@ -28420,7 +28427,7 @@ class SSISAccessCredential(Model): :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. - :type password: ~azure.mgmt.datafactory.models.SecureString + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -28432,7 +28439,7 @@ class SSISAccessCredential(Model): _attribute_map = { 'domain': {'key': 'domain', 'type': 'object'}, 'user_name': {'key': 'userName', 'type': 'object'}, - 'password': {'key': 'password', 'type': 'SecureString'}, + 'password': {'key': 'password', 'type': 'SecretBase'}, } def __init__(self, **kwargs): @@ -28789,7 +28796,7 @@ class SSISPackageLocation(Model): 'SSISDB', 'File' :type type: str or ~azure.mgmt.datafactory.models.SsisPackageLocationType :param package_password: Password of the package. - :type package_password: ~azure.mgmt.datafactory.models.SecureString + :type package_password: ~azure.mgmt.datafactory.models.SecretBase :param access_credential: The package access credential. :type access_credential: ~azure.mgmt.datafactory.models.SSISAccessCredential @@ -28805,7 +28812,7 @@ class SSISPackageLocation(Model): _attribute_map = { 'package_path': {'key': 'packagePath', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, - 'package_password': {'key': 'typeProperties.packagePassword', 'type': 'SecureString'}, + 'package_password': {'key': 'typeProperties.packagePassword', 'type': 'SecretBase'}, 'access_credential': {'key': 'typeProperties.accessCredential', 'type': 'SSISAccessCredential'}, 'configuration_path': {'key': 'typeProperties.configurationPath', 'type': 'object'}, } 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 69f21ca0bab6..2bea24529ab1 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 @@ -15019,8 +15019,9 @@ class HDInsightPigActivity(ExecutionActivity): :param storage_linked_services: Storage linked service references. :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] - :param arguments: User specified arguments to HDInsightActivity. - :type arguments: list[object] + :param arguments: User specified arguments to HDInsightActivity. Type: + array (or Expression with resultType array). + :type arguments: object :param get_debug_info: Debug info option. Possible values include: 'None', 'Always', 'Failure' :type get_debug_info: str or @@ -15050,7 +15051,7 @@ class HDInsightPigActivity(ExecutionActivity): 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'storage_linked_services': {'key': 'typeProperties.storageLinkedServices', 'type': '[LinkedServiceReference]'}, - 'arguments': {'key': 'typeProperties.arguments', 'type': '[object]'}, + 'arguments': {'key': 'typeProperties.arguments', 'type': 'object'}, 'get_debug_info': {'key': 'typeProperties.getDebugInfo', 'type': 'str'}, 'script_path': {'key': 'typeProperties.scriptPath', 'type': 'object'}, 'script_linked_service': {'key': 'typeProperties.scriptLinkedService', 'type': 'LinkedServiceReference'}, @@ -21368,6 +21369,10 @@ class OrcDataset(Dataset): :type type: str :param location: Required. The location of the ORC data storage. :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param orc_compression_codec: Possible values include: 'none', 'zlib', + 'snappy' + :type orc_compression_codec: str or + ~azure.mgmt.datafactory.models.OrcCompressionCodec """ _validation = { @@ -21387,11 +21392,13 @@ class OrcDataset(Dataset): 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, + 'orc_compression_codec': {'key': 'typeProperties.orcCompressionCodec', 'type': 'str'}, } - def __init__(self, *, linked_service_name, location, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, **kwargs) -> None: + def __init__(self, *, linked_service_name, location, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, orc_compression_codec=None, **kwargs) -> None: super(OrcDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.location = location + self.orc_compression_codec = orc_compression_codec self.type = 'Orc' @@ -28420,7 +28427,7 @@ class SSISAccessCredential(Model): :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. - :type password: ~azure.mgmt.datafactory.models.SecureString + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -28432,7 +28439,7 @@ class SSISAccessCredential(Model): _attribute_map = { 'domain': {'key': 'domain', 'type': 'object'}, 'user_name': {'key': 'userName', 'type': 'object'}, - 'password': {'key': 'password', 'type': 'SecureString'}, + 'password': {'key': 'password', 'type': 'SecretBase'}, } def __init__(self, *, domain, user_name, password, **kwargs) -> None: @@ -28789,7 +28796,7 @@ class SSISPackageLocation(Model): 'SSISDB', 'File' :type type: str or ~azure.mgmt.datafactory.models.SsisPackageLocationType :param package_password: Password of the package. - :type package_password: ~azure.mgmt.datafactory.models.SecureString + :type package_password: ~azure.mgmt.datafactory.models.SecretBase :param access_credential: The package access credential. :type access_credential: ~azure.mgmt.datafactory.models.SSISAccessCredential @@ -28805,7 +28812,7 @@ class SSISPackageLocation(Model): _attribute_map = { 'package_path': {'key': 'packagePath', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, - 'package_password': {'key': 'typeProperties.packagePassword', 'type': 'SecureString'}, + 'package_password': {'key': 'typeProperties.packagePassword', 'type': 'SecretBase'}, 'access_credential': {'key': 'typeProperties.accessCredential', 'type': 'SSISAccessCredential'}, 'configuration_path': {'key': 'typeProperties.configurationPath', 'type': 'object'}, }