UNPKG

azure-arm-timeseriesinsights

Version:
65 lines (60 loc) 1.64 kB
/* * 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. */ 'use strict'; /** * Properties that are common to all tracked resources. * */ class ResourceProperties { /** * Create a ResourceProperties. * @member {string} [provisioningState] Provisioning state of the resource. * Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', * 'Failed', 'Deleting' * @member {date} [creationTime] The time the resource was created. */ constructor() { } /** * Defines the metadata of ResourceProperties * * @returns {object} metadata of ResourceProperties * */ mapper() { return { required: false, serializedName: 'ResourceProperties', type: { name: 'Composite', className: 'ResourceProperties', modelProperties: { provisioningState: { required: false, serializedName: 'provisioningState', type: { name: 'Enum', allowedValues: [ 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting' ] } }, creationTime: { required: false, readOnly: true, serializedName: 'creationTime', type: { name: 'DateTime' } } } } }; } } module.exports = ResourceProperties;