Skip to content
Merged
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 @@ -1196,6 +1196,7 @@
SybaseAuthenticationType,
DynamicsDeploymentType,
DynamicsAuthenticationType,
OrcCompressionCodec,
AvroCompressionCodec,
AzureFunctionActivityMethod,
WebActivityMethod,
Expand Down Expand Up @@ -1848,6 +1849,7 @@
'SybaseAuthenticationType',
'DynamicsDeploymentType',
'DynamicsAuthenticationType',
'OrcCompressionCodec',
'AvroCompressionCodec',
'AzureFunctionActivityMethod',
'WebActivityMethod',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'},
Expand Down Expand Up @@ -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 = {
Expand All @@ -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'


Expand Down Expand Up @@ -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 = {
Expand All @@ -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):
Expand Down Expand Up @@ -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
Expand All @@ -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'},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'},
Expand Down Expand Up @@ -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 = {
Expand All @@ -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'


Expand Down Expand Up @@ -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 = {
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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'},
}
Expand Down