Source code for azure.mgmt.datalake.store.models.data_lake_store_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 DataLakeStoreAccountBasic(Resource): """Basic Data Lake Store account information, returned on list calls. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The resource identifier. :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 Store account. :vartype account_id: str :ivar provisioning_state: The provisioning status of the Data Lake Store account. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled' :vartype provisioning_state: str or ~azure.mgmt.datalake.store.models.DataLakeStoreAccountStatus :ivar state: The state of the Data Lake Store account. Possible values include: 'Active', 'Suspended' :vartype state: str or ~azure.mgmt.datalake.store.models.DataLakeStoreAccountState :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': 'DataLakeStoreAccountStatus'}, 'state': {'key': 'properties.state', 'type': 'DataLakeStoreAccountState'}, '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(DataLakeStoreAccountBasic, 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