Skip to content

Commit

Permalink
CodeGen from PR 20092 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
migrate to .net track 2 batch 2 (Azure#20092)
  • Loading branch information
SDKAuto committed Aug 5, 2022
1 parent 3f52cf8 commit d7fd3c0
Show file tree
Hide file tree
Showing 5 changed files with 636 additions and 30 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.16.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "6dc6ded9bad45a876f4a6e96df2d4f4eb5c26b12",
"commit": "63f4e39c20223c20941614e776d33e699c3e2777",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.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.7.0"
VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,12 @@
from ._models_py3 import AzureSqlSource
from ._models_py3 import AzureSqlTableDataset
from ._models_py3 import AzureStorageLinkedService
from ._models_py3 import AzureSynapseArtifactsLinkedService
from ._models_py3 import AzureTableDataset
from ._models_py3 import AzureTableSink
from ._models_py3 import AzureTableSource
from ._models_py3 import AzureTableStorageLinkedService
from ._models_py3 import BigDataPoolParametrizationReference
from ._models_py3 import BinaryDataset
from ._models_py3 import BinaryReadSettings
from ._models_py3 import BinarySink
Expand Down Expand Up @@ -436,6 +438,7 @@
from ._models_py3 import NetezzaPartitionSettings
from ._models_py3 import NetezzaSource
from ._models_py3 import NetezzaTableDataset
from ._models_py3 import NotebookParameter
from ._models_py3 import ODataLinkedService
from ._models_py3 import ODataResourceDataset
from ._models_py3 import ODataSource
Expand Down Expand Up @@ -657,6 +660,10 @@
from ._models_py3 import SybaseLinkedService
from ._models_py3 import SybaseSource
from ._models_py3 import SybaseTableDataset
from ._models_py3 import SynapseNotebookActivity
from ._models_py3 import SynapseNotebookReference
from ._models_py3 import SynapseSparkJobDefinitionActivity
from ._models_py3 import SynapseSparkJobReference
from ._models_py3 import TabularSource
from ._models_py3 import TabularTranslator
from ._models_py3 import TarGZipReadSettings
Expand Down Expand Up @@ -723,6 +730,7 @@
AvroCompressionCodec,
AzureFunctionActivityMethod,
AzureSearchIndexWriteBehaviorType,
BigDataPoolReferenceType,
BlobEventTypes,
CassandraSourceReadConsistencyLevels,
CompressionCodec,
Expand Down Expand Up @@ -771,6 +779,8 @@
ManagedVirtualNetworkReferenceType,
MongoDbAuthenticationType,
NetezzaPartitionOption,
NotebookParameterType,
NotebookReferenceType,
ODataAadServicePrincipalCredentialType,
ODataAuthenticationType,
OraclePartitionOption,
Expand Down Expand Up @@ -801,6 +811,7 @@
ServicePrincipalCredentialType,
SftpAuthenticationType,
SparkAuthenticationType,
SparkJobReferenceType,
SparkServerType,
SparkThriftTransportProtocol,
SqlAlwaysEncryptedAkvAuthType,
Expand All @@ -819,6 +830,7 @@
TriggerRunStatus,
TriggerRuntimeState,
TumblingWindowFrequency,
Type,
VariableType,
WebActivityMethod,
WebAuthenticationType,
Expand Down Expand Up @@ -938,10 +950,12 @@
'AzureSqlSource',
'AzureSqlTableDataset',
'AzureStorageLinkedService',
'AzureSynapseArtifactsLinkedService',
'AzureTableDataset',
'AzureTableSink',
'AzureTableSource',
'AzureTableStorageLinkedService',
'BigDataPoolParametrizationReference',
'BinaryDataset',
'BinaryReadSettings',
'BinarySink',
Expand Down Expand Up @@ -1259,6 +1273,7 @@
'NetezzaPartitionSettings',
'NetezzaSource',
'NetezzaTableDataset',
'NotebookParameter',
'ODataLinkedService',
'ODataResourceDataset',
'ODataSource',
Expand Down Expand Up @@ -1480,6 +1495,10 @@
'SybaseLinkedService',
'SybaseSource',
'SybaseTableDataset',
'SynapseNotebookActivity',
'SynapseNotebookReference',
'SynapseSparkJobDefinitionActivity',
'SynapseSparkJobReference',
'TabularSource',
'TabularTranslator',
'TarGZipReadSettings',
Expand Down Expand Up @@ -1543,6 +1562,7 @@
'AvroCompressionCodec',
'AzureFunctionActivityMethod',
'AzureSearchIndexWriteBehaviorType',
'BigDataPoolReferenceType',
'BlobEventTypes',
'CassandraSourceReadConsistencyLevels',
'CompressionCodec',
Expand Down Expand Up @@ -1591,6 +1611,8 @@
'ManagedVirtualNetworkReferenceType',
'MongoDbAuthenticationType',
'NetezzaPartitionOption',
'NotebookParameterType',
'NotebookReferenceType',
'ODataAadServicePrincipalCredentialType',
'ODataAuthenticationType',
'OraclePartitionOption',
Expand Down Expand Up @@ -1621,6 +1643,7 @@
'ServicePrincipalCredentialType',
'SftpAuthenticationType',
'SparkAuthenticationType',
'SparkJobReferenceType',
'SparkServerType',
'SparkThriftTransportProtocol',
'SqlAlwaysEncryptedAkvAuthType',
Expand All @@ -1639,6 +1662,7 @@
'TriggerRunStatus',
'TriggerRuntimeState',
'TumblingWindowFrequency',
'Type',
'VariableType',
'WebActivityMethod',
'WebAuthenticationType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ class AzureSearchIndexWriteBehaviorType(str, Enum, metaclass=CaseInsensitiveEnum
MERGE = "Merge"
UPLOAD = "Upload"

class BigDataPoolReferenceType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Big data pool reference type.
"""

BIG_DATA_POOL_REFERENCE = "BigDataPoolReference"

class BlobEventTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):

MICROSOFT_STORAGE_BLOB_CREATED = "Microsoft.Storage.BlobCreated"
Expand Down Expand Up @@ -444,6 +450,21 @@ class NetezzaPartitionOption(str, Enum, metaclass=CaseInsensitiveEnumMeta):
DATA_SLICE = "DataSlice"
DYNAMIC_RANGE = "DynamicRange"

class NotebookParameterType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Notebook parameter type.
"""

STRING = "string"
INT = "int"
FLOAT = "float"
BOOL = "bool"

class NotebookReferenceType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Synapse notebook reference type.
"""

NOTEBOOK_REFERENCE = "NotebookReference"

class ODataAadServicePrincipalCredentialType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specify the credential type (key or cert) is used for service principal.
"""
Expand Down Expand Up @@ -721,6 +742,12 @@ class SparkAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
USERNAME_AND_PASSWORD = "UsernameAndPassword"
WINDOWS_AZURE_HD_INSIGHT_SERVICE = "WindowsAzureHDInsightService"

class SparkJobReferenceType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Synapse spark job reference type.
"""

SPARK_JOB_DEFINITION_REFERENCE = "SparkJobDefinitionReference"

class SparkServerType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The type of Spark server.
"""
Expand Down Expand Up @@ -864,6 +891,12 @@ class TumblingWindowFrequency(str, Enum, metaclass=CaseInsensitiveEnumMeta):
HOUR = "Hour"
MONTH = "Month"

class Type(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Linked service reference type.
"""

LINKED_SERVICE_REFERENCE = "LinkedServiceReference"

class VariableType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Variable type.
"""
Expand Down
Loading

0 comments on commit d7fd3c0

Please sign in to comment.