Source code for azure.mgmt.datalake.analytics.catalog.models.usql_external_data_source_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .catalog_item_py3 import CatalogItem


[docs]class USqlExternalDataSource(CatalogItem): """A Data Lake Analytics catalog U-SQL external datasource item. :param compute_account_name: the name of the Data Lake Analytics account. :type compute_account_name: str :param version: the version of the catalog item. :type version: str :param database_name: the name of the database. :type database_name: str :param name: the name of the external data source. :type name: str :param provider: the name of the provider for the external data source. :type provider: str :param provider_string: the name of the provider string for the external data source. :type provider_string: str :param pushdown_types: the list of types to push down from the external data source. :type pushdown_types: list[str] """ _attribute_map = { 'compute_account_name': {'key': 'computeAccountName', 'type': 'str'}, 'version': {'key': 'version', 'type': 'str'}, 'database_name': {'key': 'databaseName', 'type': 'str'}, 'name': {'key': 'externalDataSourceName', 'type': 'str'}, 'provider': {'key': 'provider', 'type': 'str'}, 'provider_string': {'key': 'providerString', 'type': 'str'}, 'pushdown_types': {'key': 'pushdownTypes', 'type': '[str]'}, } def __init__(self, *, compute_account_name: str=None, version: str=None, database_name: str=None, name: str=None, provider: str=None, provider_string: str=None, pushdown_types=None, **kwargs) -> None: super(USqlExternalDataSource, self).__init__(compute_account_name=compute_account_name, version=version, **kwargs) self.database_name = database_name self.name = name self.provider = provider self.provider_string = provider_string self.pushdown_types = pushdown_types