Source code for azure.mgmt.datalake.analytics.account.models.data_lake_analytics_account_basic_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 .resource_py3 import Resource


[docs]class DataLakeAnalyticsAccountBasic(Resource): """A Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The resource identifer. :vartype id: str :ivar name: The resource name. :vartype name: str :ivar type: The resource type. :vartype type: str :ivar location: The resource location. :vartype location: str :ivar tags: The resource tags. :vartype tags: dict[str, str] :ivar account_id: The unique identifier associated with this Data Lake Analytics account. :vartype account_id: str :ivar provisioning_state: The provisioning status of the Data Lake Analytics account. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled' :vartype provisioning_state: str or ~azure.mgmt.datalake.analytics.account.models.DataLakeAnalyticsAccountStatus :ivar state: The state of the Data Lake Analytics account. Possible values include: 'Active', 'Suspended' :vartype state: str or ~azure.mgmt.datalake.analytics.account.models.DataLakeAnalyticsAccountState :ivar creation_time: The account creation time. :vartype creation_time: datetime :ivar last_modified_time: The account last modified time. :vartype last_modified_time: datetime :ivar endpoint: The full CName endpoint for this account. :vartype endpoint: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'readonly': True}, 'tags': {'readonly': True}, 'account_id': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'state': {'readonly': True}, 'creation_time': {'readonly': True}, 'last_modified_time': {'readonly': True}, 'endpoint': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'account_id': {'key': 'properties.accountId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'DataLakeAnalyticsAccountStatus'}, 'state': {'key': 'properties.state', 'type': 'DataLakeAnalyticsAccountState'}, 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, 'endpoint': {'key': 'properties.endpoint', 'type': 'str'}, } def __init__(self, **kwargs) -> None: super(DataLakeAnalyticsAccountBasic, self).__init__(**kwargs) self.account_id = None self.provisioning_state = None self.state = None self.creation_time = None self.last_modified_time = None self.endpoint = None