Skip to content

Commit

Permalink
code and test (#34733)
Browse files Browse the repository at this point in the history
Co-authored-by: azure-sdk <PythonSdkPipelines>
  • Loading branch information
azure-sdk authored Mar 18, 2024
1 parent c1d6214 commit 26137ce
Show file tree
Hide file tree
Showing 8 changed files with 1,292 additions and 38 deletions.
18 changes: 18 additions & 0 deletions sdk/datafactory/azure-mgmt-datafactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Release History

## 6.1.0 (2024-03-18)

### Features Added

- Added model ExpressionV2
- Added model ExpressionV2Type
- Added model GoogleBigQueryV2AuthenticationType
- Added model GoogleBigQueryV2LinkedService
- Added model GoogleBigQueryV2ObjectDataset
- Added model GoogleBigQueryV2Source
- Added model PostgreSqlV2LinkedService
- Added model PostgreSqlV2Source
- Added model PostgreSqlV2TableDataset
- Added model ServiceNowV2AuthenticationType
- Added model ServiceNowV2LinkedService
- Added model ServiceNowV2ObjectDataset
- Added model ServiceNowV2Source

## 6.0.0 (2024-03-04)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/datafactory/azure-mgmt-datafactory/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commit": "6f8faf5da91b5b9af5f3512fe609e22e99383d41",
"commit": "c45a7f47c1901149828eb8a33c74898c554659c0",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
Expand Down
2 changes: 1 addition & 1 deletion sdk/datafactory/azure-mgmt-datafactory/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/datafactory/azure-mgmt-datafactory",
"Tag": "python/datafactory/azure-mgmt-datafactory_c7d25e34c8"
"Tag": "python/datafactory/azure-mgmt-datafactory_f7a42373ad"
}
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 = "6.0.0"
VERSION = "6.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
from ._models_py3 import ExposureControlRequest
from ._models_py3 import ExposureControlResponse
from ._models_py3 import Expression
from ._models_py3 import ExpressionV2
from ._models_py3 import Factory
from ._models_py3 import FactoryGitHubConfiguration
from ._models_py3 import FactoryIdentity
Expand Down Expand Up @@ -307,6 +308,9 @@
from ._models_py3 import GoogleBigQueryLinkedService
from ._models_py3 import GoogleBigQueryObjectDataset
from ._models_py3 import GoogleBigQuerySource
from ._models_py3 import GoogleBigQueryV2LinkedService
from ._models_py3 import GoogleBigQueryV2ObjectDataset
from ._models_py3 import GoogleBigQueryV2Source
from ._models_py3 import GoogleCloudStorageLinkedService
from ._models_py3 import GoogleCloudStorageLocation
from ._models_py3 import GoogleCloudStorageReadSettings
Expand Down Expand Up @@ -530,6 +534,9 @@
from ._models_py3 import PostgreSqlLinkedService
from ._models_py3 import PostgreSqlSource
from ._models_py3 import PostgreSqlTableDataset
from ._models_py3 import PostgreSqlV2LinkedService
from ._models_py3 import PostgreSqlV2Source
from ._models_py3 import PostgreSqlV2TableDataset
from ._models_py3 import PowerQuerySink
from ._models_py3 import PowerQuerySinkMapping
from ._models_py3 import PowerQuerySource
Expand Down Expand Up @@ -638,6 +645,9 @@
from ._models_py3 import ServiceNowLinkedService
from ._models_py3 import ServiceNowObjectDataset
from ._models_py3 import ServiceNowSource
from ._models_py3 import ServiceNowV2LinkedService
from ._models_py3 import ServiceNowV2ObjectDataset
from ._models_py3 import ServiceNowV2Source
from ._models_py3 import ServicePrincipalCredential
from ._models_py3 import SetVariableActivity
from ._models_py3 import SftpLocation
Expand Down Expand Up @@ -803,12 +813,14 @@
from ._data_factory_management_client_enums import DynamicsSinkWriteBehavior
from ._data_factory_management_client_enums import EventSubscriptionStatus
from ._data_factory_management_client_enums import ExpressionType
from ._data_factory_management_client_enums import ExpressionV2Type
from ._data_factory_management_client_enums import FactoryIdentityType
from ._data_factory_management_client_enums import FrequencyType
from ._data_factory_management_client_enums import FtpAuthenticationType
from ._data_factory_management_client_enums import GlobalParameterType
from ._data_factory_management_client_enums import GoogleAdWordsAuthenticationType
from ._data_factory_management_client_enums import GoogleBigQueryAuthenticationType
from ._data_factory_management_client_enums import GoogleBigQueryV2AuthenticationType
from ._data_factory_management_client_enums import HBaseAuthenticationType
from ._data_factory_management_client_enums import HDInsightActivityDebugInfoOption
from ._data_factory_management_client_enums import HdiNodeTypes
Expand Down Expand Up @@ -866,6 +878,7 @@
from ._data_factory_management_client_enums import ScriptType
from ._data_factory_management_client_enums import SelfHostedIntegrationRuntimeNodeStatus
from ._data_factory_management_client_enums import ServiceNowAuthenticationType
from ._data_factory_management_client_enums import ServiceNowV2AuthenticationType
from ._data_factory_management_client_enums import ServicePrincipalCredentialType
from ._data_factory_management_client_enums import SftpAuthenticationType
from ._data_factory_management_client_enums import SnowflakeAuthenticationType
Expand Down Expand Up @@ -1163,6 +1176,7 @@
"ExposureControlRequest",
"ExposureControlResponse",
"Expression",
"ExpressionV2",
"Factory",
"FactoryGitHubConfiguration",
"FactoryIdentity",
Expand Down Expand Up @@ -1202,6 +1216,9 @@
"GoogleBigQueryLinkedService",
"GoogleBigQueryObjectDataset",
"GoogleBigQuerySource",
"GoogleBigQueryV2LinkedService",
"GoogleBigQueryV2ObjectDataset",
"GoogleBigQueryV2Source",
"GoogleCloudStorageLinkedService",
"GoogleCloudStorageLocation",
"GoogleCloudStorageReadSettings",
Expand Down Expand Up @@ -1425,6 +1442,9 @@
"PostgreSqlLinkedService",
"PostgreSqlSource",
"PostgreSqlTableDataset",
"PostgreSqlV2LinkedService",
"PostgreSqlV2Source",
"PostgreSqlV2TableDataset",
"PowerQuerySink",
"PowerQuerySinkMapping",
"PowerQuerySource",
Expand Down Expand Up @@ -1533,6 +1553,9 @@
"ServiceNowLinkedService",
"ServiceNowObjectDataset",
"ServiceNowSource",
"ServiceNowV2LinkedService",
"ServiceNowV2ObjectDataset",
"ServiceNowV2Source",
"ServicePrincipalCredential",
"SetVariableActivity",
"SftpLocation",
Expand Down Expand Up @@ -1697,12 +1720,14 @@
"DynamicsSinkWriteBehavior",
"EventSubscriptionStatus",
"ExpressionType",
"ExpressionV2Type",
"FactoryIdentityType",
"FrequencyType",
"FtpAuthenticationType",
"GlobalParameterType",
"GoogleAdWordsAuthenticationType",
"GoogleBigQueryAuthenticationType",
"GoogleBigQueryV2AuthenticationType",
"HBaseAuthenticationType",
"HDInsightActivityDebugInfoOption",
"HdiNodeTypes",
Expand Down Expand Up @@ -1760,6 +1785,7 @@
"ScriptType",
"SelfHostedIntegrationRuntimeNodeStatus",
"ServiceNowAuthenticationType",
"ServiceNowV2AuthenticationType",
"ServicePrincipalCredentialType",
"SftpAuthenticationType",
"SnowflakeAuthenticationType",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,15 @@ class ExpressionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
EXPRESSION = "Expression"


class ExpressionV2Type(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Type of expressions supported by the system. Type: string."""

CONSTANT = "Constant"
FIELD = "Field"
UNARY = "Unary"
BINARY = "Binary"


class FactoryIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The identity type."""

Expand Down Expand Up @@ -323,6 +332,13 @@ class GoogleBigQueryAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumM
USER_AUTHENTICATION = "UserAuthentication"


class GoogleBigQueryV2AuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The OAuth 2.0 authentication mechanism used for authentication."""

SERVICE_AUTHENTICATION = "ServiceAuthentication"
USER_AUTHENTICATION = "UserAuthentication"


class HBaseAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The authentication mechanism to use to connect to the HBase server."""

Expand Down Expand Up @@ -819,6 +835,13 @@ class ServiceNowAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta)
O_AUTH2 = "OAuth2"


class ServiceNowV2AuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The authentication type to use."""

BASIC = "Basic"
O_AUTH2 = "OAuth2"


class ServicePrincipalCredentialType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""All available servicePrincipalCredentialType values."""

Expand Down
Loading

0 comments on commit 26137ce

Please sign in to comment.