UNPKG

azure-cli

Version:

Microsoft Azure Cross Platform Command Line tool

57 lines (51 loc) 1.22 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'; const models = require('./index'); /** * Class representing a SubResourceReadOnly. * @extends models['BaseResource'] */ class SubResourceReadOnly extends models['BaseResource'] { /** * Create a SubResourceReadOnly. * @member {string} [id] Resource Id */ constructor() { super(); } /** * Defines the metadata of SubResourceReadOnly * * @returns {object} metadata of SubResourceReadOnly * */ mapper() { return { required: false, serializedName: 'SubResourceReadOnly', type: { name: 'Composite', className: 'SubResourceReadOnly', modelProperties: { id: { required: false, readOnly: true, serializedName: 'id', type: { name: 'String' } } } } }; } } module.exports = SubResourceReadOnly;