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 datafactory/resource-manager] Update the public swagger by reference to private swagger #4570

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@
from .mongo_db_v2_collection_dataset_py3 import MongoDbV2CollectionDataset
from .mongo_db_collection_dataset_py3 import MongoDbCollectionDataset
from .file_share_dataset_py3 import FileShareDataset
from .azure_data_lake_store_cosmos_structured_stream_dataset_py3 import AzureDataLakeStoreCosmosStructuredStreamDataset
from .office365_dataset_py3 import Office365Dataset
from .azure_blob_fs_dataset_py3 import AzureBlobFSDataset
from .azure_data_lake_store_dataset_py3 import AzureDataLakeStoreDataset
Expand Down Expand Up @@ -644,7 +643,6 @@
from .mongo_db_v2_collection_dataset import MongoDbV2CollectionDataset
from .mongo_db_collection_dataset import MongoDbCollectionDataset
from .file_share_dataset import FileShareDataset
from .azure_data_lake_store_cosmos_structured_stream_dataset import AzureDataLakeStoreCosmosStructuredStreamDataset
from .office365_dataset import Office365Dataset
from .azure_blob_fs_dataset import AzureBlobFSDataset
from .azure_data_lake_store_dataset import AzureDataLakeStoreDataset
Expand Down Expand Up @@ -1118,7 +1116,6 @@
'MongoDbV2CollectionDataset',
'MongoDbCollectionDataset',
'FileShareDataset',
'AzureDataLakeStoreCosmosStructuredStreamDataset',
'Office365Dataset',
'AzureBlobFSDataset',
'AzureDataLakeStoreDataset',
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class AzureDataLakeStoreDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param folder_path: Required. Path to the folder in the Azure Data Lake
Store. Type: string (or Expression with resultType string).
:param folder_path: Path to the folder in the Azure Data Lake Store. Type:
string (or Expression with resultType string).
:type folder_path: object
:param file_name: The name of the file in the Azure Data Lake Store. Type:
string (or Expression with resultType string).
Expand All @@ -59,7 +59,6 @@ class AzureDataLakeStoreDataset(Dataset):
_validation = {
'linked_service_name': {'required': True},
'type': {'required': True},
'folder_path': {'required': True},
}

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class AzureDataLakeStoreDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param folder_path: Required. Path to the folder in the Azure Data Lake
Store. Type: string (or Expression with resultType string).
:param folder_path: Path to the folder in the Azure Data Lake Store. Type:
string (or Expression with resultType string).
:type folder_path: object
:param file_name: The name of the file in the Azure Data Lake Store. Type:
string (or Expression with resultType string).
Expand All @@ -59,7 +59,6 @@ class AzureDataLakeStoreDataset(Dataset):
_validation = {
'linked_service_name': {'required': True},
'type': {'required': True},
'folder_path': {'required': True},
}

_attribute_map = {
Expand All @@ -78,7 +77,7 @@ class AzureDataLakeStoreDataset(Dataset):
'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'},
}

def __init__(self, *, linked_service_name, folder_path, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, file_name=None, format=None, compression=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, folder_path=None, file_name=None, format=None, compression=None, **kwargs) -> None:
super(AzureDataLakeStoreDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.folder_path = folder_path
self.file_name = file_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@ class CustomDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param type_properties: Required. Custom dataset properties.
:param type_properties: Custom dataset properties.
:type type_properties: object
"""

_validation = {
'linked_service_name': {'required': True},
'type': {'required': True},
'type_properties': {'required': True},
}

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@ class CustomDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param type_properties: Required. Custom dataset properties.
:param type_properties: Custom dataset properties.
:type type_properties: object
"""

_validation = {
'linked_service_name': {'required': True},
'type': {'required': True},
'type_properties': {'required': True},
}

_attribute_map = {
Expand All @@ -66,7 +65,7 @@ class CustomDataset(Dataset):
'type_properties': {'key': 'typeProperties', 'type': 'object'},
}

def __init__(self, *, linked_service_name, type_properties, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, type_properties=None, **kwargs) -> None:
super(CustomDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.type_properties = type_properties
self.type = 'CustomDataset'
Loading