Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-datafactory] Fix add x-ms-enum #9809

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
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": "291dc1769270252821f53a9590d185dae8dc5775",
"commit": "e6065e8fe96569bb0f72361cb761bdbc9e696265",
"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.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