UNPKG

azure-arm-insights

Version:

Microsoft Azure Insights Management Client Library for node

59 lines (54 loc) 1.29 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'; /** * @class * Initializes a new instance of the RuleDataSource class. * @constructor * The resource from which the rule collects its data. * * @member {string} odatatype Polymorphic Discriminator * */ class RuleDataSource { constructor() { } /** * Defines the metadata of RuleDataSource * * @returns {object} metadata of RuleDataSource * */ mapper() { return { required: false, serializedName: 'RuleDataSource', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'odata.type', clientName: 'odatatype' }, uberParent: 'RuleDataSource', className: 'RuleDataSource', modelProperties: { odatatype: { required: true, serializedName: 'odata\\.type', type: { name: 'String' } } } } }; } } module.exports = RuleDataSource;