UNPKG

azure-cli

Version:

Microsoft Azure Cross Platform Command Line tool

88 lines (82 loc) 2.41 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'); /** * The instance view of the VM Agent running on the virtual machine. * */ class VirtualMachineAgentInstanceView { /** * Create a VirtualMachineAgentInstanceView. * @member {string} [vmAgentVersion] The VM Agent full version. * @member {array} [extensionHandlers] The virtual machine extension handler * instance view. * @member {array} [statuses] The resource status information. */ constructor() { } /** * Defines the metadata of VirtualMachineAgentInstanceView * * @returns {object} metadata of VirtualMachineAgentInstanceView * */ mapper() { return { required: false, serializedName: 'VirtualMachineAgentInstanceView', type: { name: 'Composite', className: 'VirtualMachineAgentInstanceView', modelProperties: { vmAgentVersion: { required: false, serializedName: 'vmAgentVersion', type: { name: 'String' } }, extensionHandlers: { required: false, serializedName: 'extensionHandlers', type: { name: 'Sequence', element: { required: false, serializedName: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { name: 'Composite', className: 'VirtualMachineExtensionHandlerInstanceView' } } } }, statuses: { required: false, serializedName: 'statuses', type: { name: 'Sequence', element: { required: false, serializedName: 'InstanceViewStatusElementType', type: { name: 'Composite', className: 'InstanceViewStatus' } } } } } } }; } } module.exports = VirtualMachineAgentInstanceView;