UNPKG

azure-arm-timeseriesinsights

Version:
70 lines (65 loc) 1.76 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 required to create any resource tracked by Azure Resource * Manager. * */ class CreateOrUpdateTrackedResourceProperties { /** * Create a CreateOrUpdateTrackedResourceProperties. * @member {string} location The location of the resource. * @member {object} [tags] Key-value pairs of additional properties for the * resource. */ constructor() { } /** * Defines the metadata of CreateOrUpdateTrackedResourceProperties * * @returns {object} metadata of CreateOrUpdateTrackedResourceProperties * */ mapper() { return { required: false, serializedName: 'CreateOrUpdateTrackedResourceProperties', type: { name: 'Composite', className: 'CreateOrUpdateTrackedResourceProperties', modelProperties: { location: { required: true, serializedName: 'location', type: { name: 'String' } }, tags: { required: false, serializedName: 'tags', type: { name: 'Dictionary', value: { required: false, serializedName: 'StringElementType', type: { name: 'String' } } } } } } }; } } module.exports = CreateOrUpdateTrackedResourceProperties;