UNPKG

azure-arm-insights

Version:

Microsoft Azure Insights Management Client Library for node

60 lines (55 loc) 1.32 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 RuleAction class. * @constructor * The action that is performed when the alert rule becomes active, and when an * alert condition is resolved. * * @member {string} odatatype Polymorphic Discriminator * */ class RuleAction { constructor() { } /** * Defines the metadata of RuleAction * * @returns {object} metadata of RuleAction * */ mapper() { return { required: false, serializedName: 'RuleAction', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'odata.type', clientName: 'odatatype' }, uberParent: 'RuleAction', className: 'RuleAction', modelProperties: { odatatype: { required: true, serializedName: 'odata\\.type', type: { name: 'String' } } } } }; } } module.exports = RuleAction;