azure-arm-datalake-store
Version:
Microsoft Azure Data Lake Store Management Client Library for node
157 lines (151 loc) • 4.43 kB
JavaScript
/*
* 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.
*/
;
const models = require('./index');
/**
* Basic Data Lake Store account information, returned on list calls.
*
* @extends models['Resource']
*/
class DataLakeStoreAccountBasic extends models['Resource'] {
/**
* Create a DataLakeStoreAccountBasic.
* @property {uuid} [accountId] The unique identifier associated with this
* Data Lake Store account.
* @property {string} [provisioningState] The provisioning status of the Data
* Lake Store account. Possible values include: 'Failed', 'Creating',
* 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting',
* 'Deleted', 'Undeleting', 'Canceled'
* @property {string} [state] The state of the Data Lake Store account.
* Possible values include: 'Active', 'Suspended'
* @property {date} [creationTime] The account creation time.
* @property {date} [lastModifiedTime] The account last modified time.
* @property {string} [endpoint] The full CName endpoint for this account.
*/
constructor() {
super();
}
/**
* Defines the metadata of DataLakeStoreAccountBasic
*
* @returns {object} metadata of DataLakeStoreAccountBasic
*
*/
mapper() {
return {
required: false,
serializedName: 'DataLakeStoreAccountBasic',
type: {
name: 'Composite',
className: 'DataLakeStoreAccountBasic',
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
location: {
required: false,
readOnly: true,
serializedName: 'location',
type: {
name: 'String'
}
},
tags: {
required: false,
readOnly: true,
serializedName: 'tags',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
accountId: {
required: false,
readOnly: true,
serializedName: 'properties.accountId',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
serializedName: 'properties.provisioningState',
type: {
name: 'Enum',
allowedValues: [ 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled' ]
}
},
state: {
required: false,
readOnly: true,
serializedName: 'properties.state',
type: {
name: 'Enum',
allowedValues: [ 'Active', 'Suspended' ]
}
},
creationTime: {
required: false,
readOnly: true,
serializedName: 'properties.creationTime',
type: {
name: 'DateTime'
}
},
lastModifiedTime: {
required: false,
readOnly: true,
serializedName: 'properties.lastModifiedTime',
type: {
name: 'DateTime'
}
},
endpoint: {
required: false,
readOnly: true,
serializedName: 'properties.endpoint',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = DataLakeStoreAccountBasic;