UNPKG

azure-arm-insights

Version:

Microsoft Azure Insights Management Client Library for node

61 lines (56 loc) 1.46 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 AlertRuleResourceCollection class. * @constructor * Represents a collection of alert rule resources. * */ class AlertRuleResourceCollection extends Array { constructor() { super(); } /** * Defines the metadata of AlertRuleResourceCollection * * @returns {object} metadata of AlertRuleResourceCollection * */ mapper() { return { required: false, serializedName: 'AlertRuleResourceCollection', type: { name: 'Composite', className: 'AlertRuleResourceCollection', modelProperties: { value: { required: false, serializedName: '', type: { name: 'Sequence', element: { required: false, serializedName: 'AlertRuleResourceElementType', type: { name: 'Composite', className: 'AlertRuleResource' } } } } } } }; } } module.exports = AlertRuleResourceCollection;