UNPKG

azure-cli

Version:

Microsoft Azure Cross Platform Command Line tool

64 lines (58 loc) 1.61 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'); /** * SSH configuration for Linux-based VMs running on Azure. * */ class ContainerServiceSshConfiguration { /** * Create a ContainerServiceSshConfiguration. * @member {array} publicKeys the list of SSH public keys used to * authenticate with Linux-based VMs. */ constructor() { } /** * Defines the metadata of ContainerServiceSshConfiguration * * @returns {object} metadata of ContainerServiceSshConfiguration * */ mapper() { return { required: false, serializedName: 'ContainerServiceSshConfiguration', type: { name: 'Composite', className: 'ContainerServiceSshConfiguration', modelProperties: { publicKeys: { required: true, serializedName: 'publicKeys', type: { name: 'Sequence', element: { required: false, serializedName: 'ContainerServiceSshPublicKeyElementType', type: { name: 'Composite', className: 'ContainerServiceSshPublicKey' } } } } } } }; } } module.exports = ContainerServiceSshConfiguration;