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 headers and schema definition #5648

Closed
wants to merge 1 commit into from
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
@@ -1,11 +1,11 @@
{
"commit": "ed84b11847785792767b0b84cc6f98f4ea08ca77",
"commit": "55c40f57f0057d9d3d17d0819cdda5174bcbd26d",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"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 = "4.0.0"
VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,16 @@
from ._models_py3 import SalesforceServiceCloudObjectDataset
from ._models_py3 import SalesforceServiceCloudSink
from ._models_py3 import SalesforceServiceCloudSource
from ._models_py3 import SalesforceServiceCloudV2LinkedService
from ._models_py3 import SalesforceServiceCloudV2ObjectDataset
from ._models_py3 import SalesforceServiceCloudV2Sink
from ._models_py3 import SalesforceServiceCloudV2Source
from ._models_py3 import SalesforceSink
from ._models_py3 import SalesforceSource
from ._models_py3 import SalesforceV2LinkedService
from ._models_py3 import SalesforceV2ObjectDataset
from ._models_py3 import SalesforceV2Sink
from ._models_py3 import SalesforceV2Source
from ._models_py3 import SapBWLinkedService
from ._models_py3 import SapBwCubeDataset
from ._models_py3 import SapBwSource
Expand Down Expand Up @@ -839,6 +847,8 @@
from ._data_factory_management_client_enums import RunQueryOrderByField
from ._data_factory_management_client_enums import SalesforceSinkWriteBehavior
from ._data_factory_management_client_enums import SalesforceSourceReadBehavior
from ._data_factory_management_client_enums import SalesforceV2SinkWriteBehavior
from ._data_factory_management_client_enums import SalesforceV2SourceReadBehavior
from ._data_factory_management_client_enums import SapCloudForCustomerSinkWriteBehavior
from ._data_factory_management_client_enums import SapHanaAuthenticationType
from ._data_factory_management_client_enums import SapHanaPartitionOption
Expand Down Expand Up @@ -1464,8 +1474,16 @@
"SalesforceServiceCloudObjectDataset",
"SalesforceServiceCloudSink",
"SalesforceServiceCloudSource",
"SalesforceServiceCloudV2LinkedService",
"SalesforceServiceCloudV2ObjectDataset",
"SalesforceServiceCloudV2Sink",
"SalesforceServiceCloudV2Source",
"SalesforceSink",
"SalesforceSource",
"SalesforceV2LinkedService",
"SalesforceV2ObjectDataset",
"SalesforceV2Sink",
"SalesforceV2Source",
"SapBWLinkedService",
"SapBwCubeDataset",
"SapBwSource",
Expand Down Expand Up @@ -1715,6 +1733,8 @@
"RunQueryOrderByField",
"SalesforceSinkWriteBehavior",
"SalesforceSourceReadBehavior",
"SalesforceV2SinkWriteBehavior",
"SalesforceV2SourceReadBehavior",
"SapCloudForCustomerSinkWriteBehavior",
"SapHanaAuthenticationType",
"SapHanaPartitionOption",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,20 @@ class SalesforceSourceReadBehavior(str, Enum, metaclass=CaseInsensitiveEnumMeta)
QUERY_ALL = "QueryAll"


class SalesforceV2SinkWriteBehavior(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The write behavior for the operation. Default is Insert."""

INSERT = "Insert"
UPSERT = "Upsert"


class SalesforceV2SourceReadBehavior(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The Salesforce read behavior for the operation."""

QUERY = "query"
QUERY_ALL = "queryAll"


class SapCloudForCustomerSinkWriteBehavior(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The write behavior for the operation. Default is 'Insert'."""

Expand Down
Loading