From c4f58ba722c7126ea8761fb028ee10c81aa93036 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Sun, 20 Oct 2019 00:05:19 +0000 Subject: [PATCH] Generated from 60f4598fd519843b5b992024169d9af2eab5bdbe Changed WebActivity and webhook activity auth to support both AKV and Secrets --- .../models/_data_factory_management_client_enums.py | 7 ------- .../azure/mgmt/datafactory/models/_models.py | 8 ++++---- .../azure/mgmt/datafactory/models/_models_py3.py | 8 ++++---- 3 files changed, 8 insertions(+), 15 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..d1364c59fcd3 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 @@ -30712,12 +30712,12 @@ class WebActivityAuthentication(Model): (Basic/ClientCertificate/MSI) :type type: str :param pfx: Base64-encoded contents of a PFX file. - :type pfx: ~azure.mgmt.datafactory.models.SecureString + :type pfx: ~azure.mgmt.datafactory.models.SecretBase :param username: Web activity authentication user name for basic authentication. :type username: str :param password: Password for the PFX file or basic authentication. - :type password: ~azure.mgmt.datafactory.models.SecureString + :type password: ~azure.mgmt.datafactory.models.SecretBase :param resource: Resource for which Azure Auth token will be requested when using MSI Authentication. :type resource: str @@ -30729,9 +30729,9 @@ class WebActivityAuthentication(Model): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, - 'pfx': {'key': 'pfx', 'type': 'SecureString'}, + 'pfx': {'key': 'pfx', 'type': 'SecretBase'}, 'username': {'key': 'username', 'type': 'str'}, - 'password': {'key': 'password', 'type': 'SecureString'}, + 'password': {'key': 'password', 'type': 'SecretBase'}, 'resource': {'key': 'resource', 'type': 'str'}, } 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..206e7ba0aa4f 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 @@ -30712,12 +30712,12 @@ class WebActivityAuthentication(Model): (Basic/ClientCertificate/MSI) :type type: str :param pfx: Base64-encoded contents of a PFX file. - :type pfx: ~azure.mgmt.datafactory.models.SecureString + :type pfx: ~azure.mgmt.datafactory.models.SecretBase :param username: Web activity authentication user name for basic authentication. :type username: str :param password: Password for the PFX file or basic authentication. - :type password: ~azure.mgmt.datafactory.models.SecureString + :type password: ~azure.mgmt.datafactory.models.SecretBase :param resource: Resource for which Azure Auth token will be requested when using MSI Authentication. :type resource: str @@ -30729,9 +30729,9 @@ class WebActivityAuthentication(Model): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, - 'pfx': {'key': 'pfx', 'type': 'SecureString'}, + 'pfx': {'key': 'pfx', 'type': 'SecretBase'}, 'username': {'key': 'username', 'type': 'str'}, - 'password': {'key': 'password', 'type': 'SecureString'}, + 'password': {'key': 'password', 'type': 'SecretBase'}, 'resource': {'key': 'resource', 'type': 'str'}, }