Skip to content

Commit

Permalink
CodeGen from PR 17810 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Azure Data Factory] Support rest-based connectors in ADF (I) (Azure#17810)

* Enable excel in public swagger

* update

* rollback dataflow change

* Support rest-based connectors in ADF (I)

* update

* Update

Co-authored-by: zhanyu2014 <zhanyu@microsoft.com>
  • Loading branch information
SDKAuto and zhanyu2024 committed Feb 15, 2022
1 parent a2c33ca commit 24991fc
Show file tree
Hide file tree
Showing 5 changed files with 720 additions and 7 deletions.
4 changes: 2 additions & 2 deletions sdk/datafactory/azure-mgmt-datafactory/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.12.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "4d63c7c43051035d95499282536b7b76607e5f90",
"commit": "5b02f0befa6eaaaf93afc11274795c651e6e3c0c",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/datafactory/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.2.1"
VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@
from ._models_py3 import QuickBooksLinkedService
from ._models_py3 import QuickBooksObjectDataset
from ._models_py3 import QuickBooksSource
from ._models_py3 import QuickbaseLinkedService
from ._models_py3 import RecurrenceSchedule
from ._models_py3 import RecurrenceScheduleOccurrence
from ._models_py3 import RedirectIncompatibleRowSettings
Expand Down Expand Up @@ -570,6 +571,10 @@
from ._models_py3 import ScheduleTrigger
from ._models_py3 import ScheduleTriggerRecurrence
from ._models_py3 import ScriptAction
from ._models_py3 import ScriptActivity
from ._models_py3 import ScriptActivityParameter
from ._models_py3 import ScriptActivityScriptBlock
from ._models_py3 import ScriptActivityTypePropertiesLogSettings
from ._models_py3 import SecretBase
from ._models_py3 import SecureString
from ._models_py3 import SelfDependencyTumblingWindowTriggerReference
Expand All @@ -592,6 +597,7 @@
from ._models_py3 import ShopifyObjectDataset
from ._models_py3 import ShopifySource
from ._models_py3 import SkipErrorFile
from ._models_py3 import SmartsheetLinkedService
from ._models_py3 import SnowflakeDataset
from ._models_py3 import SnowflakeExportCopyCommand
from ._models_py3 import SnowflakeImportCopyCommand
Expand Down Expand Up @@ -644,6 +650,7 @@
from ._models_py3 import TabularTranslator
from ._models_py3 import TarGZipReadSettings
from ._models_py3 import TarReadSettings
from ._models_py3 import TeamDeskLinkedService
from ._models_py3 import TeradataLinkedService
from ._models_py3 import TeradataPartitionSettings
from ._models_py3 import TeradataSource
Expand Down Expand Up @@ -692,6 +699,7 @@
from ._models_py3 import XmlDataset
from ._models_py3 import XmlReadSettings
from ._models_py3 import XmlSource
from ._models_py3 import ZendeskLinkedService
from ._models_py3 import ZipDeflateReadSettings
from ._models_py3 import ZohoLinkedService
from ._models_py3 import ZohoObjectDataset
Expand Down Expand Up @@ -769,6 +777,10 @@
SapHanaAuthenticationType,
SapHanaPartitionOption,
SapTablePartitionOption,
ScriptActivityLogDestination,
ScriptActivityParameterDirection,
ScriptActivityParameterType,
ScriptType,
SelfHostedIntegrationRuntimeNodeStatus,
ServiceNowAuthenticationType,
ServicePrincipalCredentialType,
Expand All @@ -785,6 +797,7 @@
SsisPackageLocationType,
StoredProcedureParameterType,
SybaseAuthenticationType,
TeamDeskAuthenticationType,
TeradataAuthenticationType,
TeradataPartitionOption,
TriggerRunStatus,
Expand All @@ -794,6 +807,7 @@
WebActivityMethod,
WebAuthenticationType,
WebHookActivityMethod,
ZendeskAuthenticationType,
)

__all__ = [
Expand Down Expand Up @@ -1299,6 +1313,7 @@
'QuickBooksLinkedService',
'QuickBooksObjectDataset',
'QuickBooksSource',
'QuickbaseLinkedService',
'RecurrenceSchedule',
'RecurrenceScheduleOccurrence',
'RedirectIncompatibleRowSettings',
Expand Down Expand Up @@ -1361,6 +1376,10 @@
'ScheduleTrigger',
'ScheduleTriggerRecurrence',
'ScriptAction',
'ScriptActivity',
'ScriptActivityParameter',
'ScriptActivityScriptBlock',
'ScriptActivityTypePropertiesLogSettings',
'SecretBase',
'SecureString',
'SelfDependencyTumblingWindowTriggerReference',
Expand All @@ -1383,6 +1402,7 @@
'ShopifyObjectDataset',
'ShopifySource',
'SkipErrorFile',
'SmartsheetLinkedService',
'SnowflakeDataset',
'SnowflakeExportCopyCommand',
'SnowflakeImportCopyCommand',
Expand Down Expand Up @@ -1435,6 +1455,7 @@
'TabularTranslator',
'TarGZipReadSettings',
'TarReadSettings',
'TeamDeskLinkedService',
'TeradataLinkedService',
'TeradataPartitionSettings',
'TeradataSource',
Expand Down Expand Up @@ -1483,6 +1504,7 @@
'XmlDataset',
'XmlReadSettings',
'XmlSource',
'ZendeskLinkedService',
'ZipDeflateReadSettings',
'ZohoLinkedService',
'ZohoObjectDataset',
Expand Down Expand Up @@ -1557,6 +1579,10 @@
'SapHanaAuthenticationType',
'SapHanaPartitionOption',
'SapTablePartitionOption',
'ScriptActivityLogDestination',
'ScriptActivityParameterDirection',
'ScriptActivityParameterType',
'ScriptType',
'SelfHostedIntegrationRuntimeNodeStatus',
'ServiceNowAuthenticationType',
'ServicePrincipalCredentialType',
Expand All @@ -1573,6 +1599,7 @@
'SsisPackageLocationType',
'StoredProcedureParameterType',
'SybaseAuthenticationType',
'TeamDeskAuthenticationType',
'TeradataAuthenticationType',
'TeradataPartitionOption',
'TriggerRunStatus',
Expand All @@ -1582,4 +1609,5 @@
'WebActivityMethod',
'WebAuthenticationType',
'WebHookActivityMethod',
'ZendeskAuthenticationType',
]
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,45 @@ class SapTablePartitionOption(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)
PARTITION_ON_CALENDAR_DATE = "PartitionOnCalendarDate"
PARTITION_ON_TIME = "PartitionOnTime"

class ScriptActivityLogDestination(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The destination of logs. Type: string.
"""

ACTIVITY_OUTPUT = "ActivityOutput"
EXTERNAL_STORE = "ExternalStore"

class ScriptActivityParameterDirection(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The direction of the parameter.
"""

INPUT = "Input"
OUTPUT = "Output"
INPUT_OUTPUT = "InputOutput"

class ScriptActivityParameterType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The type of the parameter.
"""

BOOLEAN = "Boolean"
DATE_TIME = "DateTime"
DATE_TIME_OFFSET = "DateTimeOffset"
DECIMAL = "Decimal"
DOUBLE = "Double"
GUID = "Guid"
INT16 = "Int16"
INT32 = "Int32"
INT64 = "Int64"
SINGLE = "Single"
STRING = "String"
TIMESPAN = "Timespan"

class ScriptType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The type of the query. Type: string.
"""

QUERY = "Query"
NON_QUERY = "NonQuery"

class SelfHostedIntegrationRuntimeNodeStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Status of the integration runtime node.
"""
Expand Down Expand Up @@ -755,6 +794,13 @@ class SybaseAuthenticationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum
BASIC = "Basic"
WINDOWS = "Windows"

class TeamDeskAuthenticationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The authentication type to use.
"""

BASIC = "Basic"
TOKEN = "Token"

class TeradataAuthenticationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""AuthenticationType to be used for connection.
"""
Expand Down Expand Up @@ -824,3 +870,10 @@ class WebHookActivityMethod(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""

POST = "POST"

class ZendeskAuthenticationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The authentication type to use.
"""

BASIC = "Basic"
TOKEN = "Token"
Loading

0 comments on commit 24991fc

Please sign in to comment.