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 @@ -267,6 +267,8 @@
from .sql_server_stored_procedure_activity import SqlServerStoredProcedureActivity
from .custom_activity_reference_object import CustomActivityReferenceObject
from .custom_activity import CustomActivity
from .ssis_property_override import SSISPropertyOverride
from .ssis_execution_parameter import SSISExecutionParameter
from .ssis_package_location import SSISPackageLocation
from .execute_ssis_package_activity import ExecuteSSISPackageActivity
from .hd_insight_spark_activity import HDInsightSparkActivity
Expand Down Expand Up @@ -654,6 +656,8 @@
'SqlServerStoredProcedureActivity',
'CustomActivityReferenceObject',
'CustomActivity',
'SSISPropertyOverride',
'SSISExecutionParameter',
'SSISPackageLocation',
'ExecuteSSISPackageActivity',
'HDInsightSparkActivity',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,31 @@ class ExecuteSSISPackageActivity(ExecutionActivity):
:type runtime: str or ~azure.mgmt.datafactory.models.SSISExecutionRuntime
:param logging_level: The logging level of SSIS package execution.
:type logging_level: str
:param environment_path: The environment path to execution the SSIS
package.
:param environment_path: The environment path to execute the SSIS package.
:type environment_path: str
:param connect_via: The integration runtime reference.
:type connect_via:
~azure.mgmt.datafactory.models.IntegrationRuntimeReference
:param project_parameters: The project level parameters to execute the
SSIS package.
:type project_parameters: dict[str,
~azure.mgmt.datafactory.models.SSISExecutionParameter]
:param package_parameters: The package level parameters to execute the
SSIS package.
:type package_parameters: dict[str,
~azure.mgmt.datafactory.models.SSISExecutionParameter]
:param project_connection_managers: The project level connection managers
to execute the SSIS package.
:type project_connection_managers: dict[str, dict[str,
~azure.mgmt.datafactory.models.SSISExecutionParameter]]
:param package_connection_managers: The package level connection managers
to execute the SSIS package.
:type package_connection_managers: dict[str, dict[str,
~azure.mgmt.datafactory.models.SSISExecutionParameter]]
:param property_overrides: The property overrides to execute the SSIS
package.
:type property_overrides: dict[str,
~azure.mgmt.datafactory.models.SSISPropertyOverride]
"""

_validation = {
Expand All @@ -66,13 +85,23 @@ class ExecuteSSISPackageActivity(ExecutionActivity):
'logging_level': {'key': 'typeProperties.loggingLevel', 'type': 'str'},
'environment_path': {'key': 'typeProperties.environmentPath', 'type': 'str'},
'connect_via': {'key': 'typeProperties.connectVia', 'type': 'IntegrationRuntimeReference'},
'project_parameters': {'key': 'typeProperties.projectParameters', 'type': '{SSISExecutionParameter}'},
'package_parameters': {'key': 'typeProperties.packageParameters', 'type': '{SSISExecutionParameter}'},
'project_connection_managers': {'key': 'typeProperties.projectConnectionManagers', 'type': '{{SSISExecutionParameter}}'},
'package_connection_managers': {'key': 'typeProperties.packageConnectionManagers', 'type': '{{SSISExecutionParameter}}'},
'property_overrides': {'key': 'typeProperties.propertyOverrides', 'type': '{SSISPropertyOverride}'},
}

def __init__(self, name, package_location, connect_via, additional_properties=None, description=None, depends_on=None, linked_service_name=None, policy=None, runtime=None, logging_level=None, environment_path=None):
def __init__(self, name, package_location, connect_via, additional_properties=None, description=None, depends_on=None, linked_service_name=None, policy=None, runtime=None, logging_level=None, environment_path=None, project_parameters=None, package_parameters=None, project_connection_managers=None, package_connection_managers=None, property_overrides=None):
super(ExecuteSSISPackageActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, linked_service_name=linked_service_name, policy=policy)
self.package_location = package_location
self.runtime = runtime
self.logging_level = logging_level
self.environment_path = environment_path
self.connect_via = connect_via
self.project_parameters = project_parameters
self.package_parameters = package_parameters
self.project_connection_managers = project_connection_managers
self.package_connection_managers = package_connection_managers
self.property_overrides = property_overrides
self.type = 'ExecuteSSISPackage'
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class SSISExecutionParameter(Model):
"""SSIS execution parameter.

:param value: SSIS package execution parameter value. Type: string (or
Expression with resultType string).
:type value: object
"""

_validation = {
'value': {'required': True},
}

_attribute_map = {
'value': {'key': 'value', 'type': 'object'},
}

def __init__(self, value):
super(SSISExecutionParameter, self).__init__()
self.value = value
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class SSISPropertyOverride(Model):
"""SSIS property override.

:param value: SSIS package property override value. Type: string (or
Expression with resultType string).
:type value: object
:param is_sensitive: Whether SSIS package property override value is
sensitive data. Value will be encrypted in SSISDB if it is true
:type is_sensitive: bool
"""

_validation = {
'value': {'required': True},
}

_attribute_map = {
'value': {'key': 'value', 'type': 'object'},
'is_sensitive': {'key': 'isSensitive', 'type': 'bool'},
}

def __init__(self, value, is_sensitive=None):
super(SSISPropertyOverride, self).__init__()
self.value = value
self.is_sensitive = is_sensitive