Source code for azure.mgmt.datalake.analytics.catalog.models.usql_credential_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 USqlCredential(CatalogItem): """A Data Lake Analytics catalog U-SQL credential 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 name: the name of the credential. :type name: str """ _attribute_map = { 'compute_account_name': {'key': 'computeAccountName', 'type': 'str'}, 'version': {'key': 'version', 'type': 'str'}, 'name': {'key': 'credentialName', 'type': 'str'}, } def __init__(self, *, compute_account_name: str=None, version: str=None, name: str=None, **kwargs) -> None: super(USqlCredential, self).__init__(compute_account_name=compute_account_name, version=version, **kwargs) self.name = name