Skip to content

Commit

Permalink
CodeGen from PR 18419 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[DataFactory] Fix Expression mode for SqlServerStoredProcedureActivity (Azure#18419)

* update

* update

* fix

Co-authored-by: xiaojwan <[email protected]>
  • Loading branch information
SDKAuto and xiaojwan committed Mar 29, 2022
1 parent 5789e9f commit 51c62b2
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 45 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/[email protected]",
"@autorest/[email protected]"
],
"commit": "291dc1769270252821f53a9590d185dae8dc5775",
"commit": "29398c40ed5232523fa4af1c56c8a929ed9b37cd",
"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/[email protected] --use=@autorest/[email protected] --version=3.7.2",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/[email protected] --use=@autorest/[email protected] --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.3.0"
VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,10 @@
CopyBehaviorType,
CosmosDbConnectionMode,
CosmosDbServicePrincipalCredentialType,
CredentialReferenceType,
DataFlowComputeType,
DataFlowDebugCommandType,
DataFlowReferenceType,
DatasetCompressionLevel,
DayOfWeek,
DaysOfWeek,
Expand Down Expand Up @@ -754,6 +756,7 @@
JsonFormatFilePattern,
JsonWriteFilePattern,
ManagedIntegrationRuntimeNodeStatus,
ManagedVirtualNetworkReferenceType,
MongoDbAuthenticationType,
NetezzaPartitionOption,
ODataAadServicePrincipalCredentialType,
Expand Down Expand Up @@ -800,6 +803,7 @@
TeamDeskAuthenticationType,
TeradataAuthenticationType,
TeradataPartitionOption,
TriggerReferenceType,
TriggerRunStatus,
TriggerRuntimeState,
TumblingWindowFrequency,
Expand Down Expand Up @@ -1519,8 +1523,10 @@
'CopyBehaviorType',
'CosmosDbConnectionMode',
'CosmosDbServicePrincipalCredentialType',
'CredentialReferenceType',
'DataFlowComputeType',
'DataFlowDebugCommandType',
'DataFlowReferenceType',
'DatasetCompressionLevel',
'DayOfWeek',
'DaysOfWeek',
Expand Down Expand Up @@ -1556,6 +1562,7 @@
'JsonFormatFilePattern',
'JsonWriteFilePattern',
'ManagedIntegrationRuntimeNodeStatus',
'ManagedVirtualNetworkReferenceType',
'MongoDbAuthenticationType',
'NetezzaPartitionOption',
'ODataAadServicePrincipalCredentialType',
Expand Down Expand Up @@ -1602,6 +1609,7 @@
'TeamDeskAuthenticationType',
'TeradataAuthenticationType',
'TeradataPartitionOption',
'TriggerReferenceType',
'TriggerRunStatus',
'TriggerRuntimeState',
'TumblingWindowFrequency',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ class CosmosDbServicePrincipalCredentialType(with_metaclass(CaseInsensitiveEnumM
SERVICE_PRINCIPAL_KEY = "ServicePrincipalKey"
SERVICE_PRINCIPAL_CERT = "ServicePrincipalCert"

class CredentialReferenceType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Credential reference type.
"""

CREDENTIAL_REFERENCE = "CredentialReference"

class DataFlowComputeType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Compute type of the cluster which will execute data flow job.
"""
Expand All @@ -123,6 +129,12 @@ class DataFlowDebugCommandType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum
EXECUTE_STATISTICS_QUERY = "executeStatisticsQuery"
EXECUTE_EXPRESSION_QUERY = "executeExpressionQuery"

class DataFlowReferenceType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Data flow reference type.
"""

DATA_FLOW_REFERENCE = "DataFlowReference"

class DatasetCompressionLevel(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""All available compression levels.
"""
Expand Down Expand Up @@ -412,6 +424,12 @@ class ManagedIntegrationRuntimeNodeStatus(with_metaclass(CaseInsensitiveEnumMeta
RECYCLING = "Recycling"
UNAVAILABLE = "Unavailable"

class ManagedVirtualNetworkReferenceType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Managed Virtual Network reference type.
"""

MANAGED_VIRTUAL_NETWORK_REFERENCE = "ManagedVirtualNetworkReference"

class MongoDbAuthenticationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The authentication type to be used to connect to the MongoDB database.
"""
Expand Down Expand Up @@ -816,6 +834,12 @@ class TeradataPartitionOption(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)
HASH = "Hash"
DYNAMIC_RANGE = "DynamicRange"

class TriggerReferenceType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Trigger reference type.
"""

TRIGGER_REFERENCE = "TriggerReference"

class TriggerRunStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Trigger run status.
"""
Expand Down
Loading

0 comments on commit 51c62b2

Please sign in to comment.