azure-arm-insights
Version:
Microsoft Azure Insights Management Client Library for node
70 lines (65 loc) • 1.76 kB
JavaScript
/*
* 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.
*/
;
/**
* @class
* Initializes a new instance of the AutoscaleSettingResourceCollection class.
* @constructor
* Represents a collection of autoscale setting resources.
*
* @member {string} [nextLink] URL to get the next set of results.
*
*/
class AutoscaleSettingResourceCollection extends Array {
constructor() {
super();
}
/**
* Defines the metadata of AutoscaleSettingResourceCollection
*
* @returns {object} metadata of AutoscaleSettingResourceCollection
*
*/
mapper() {
return {
required: false,
serializedName: 'AutoscaleSettingResourceCollection',
type: {
name: 'Composite',
className: 'AutoscaleSettingResourceCollection',
modelProperties: {
value: {
required: true,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'AutoscaleSettingResourceElementType',
type: {
name: 'Composite',
className: 'AutoscaleSettingResource'
}
}
}
},
nextLink: {
required: false,
serializedName: 'nextLink',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = AutoscaleSettingResourceCollection;