azure-cli
Version:
Microsoft Azure Cross Platform Command Line tool
55 lines (50 loc) • 1.19 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.
*/
;
/**
* Contains the os disk image information.
*
*/
class OSDiskImage {
/**
* Create a OSDiskImage.
* @member {string} operatingSystem The operating system of the osDiskImage.
* Possible values include: 'Windows', 'Linux'
*/
constructor() {
}
/**
* Defines the metadata of OSDiskImage
*
* @returns {object} metadata of OSDiskImage
*
*/
mapper() {
return {
required: false,
serializedName: 'OSDiskImage',
type: {
name: 'Composite',
className: 'OSDiskImage',
modelProperties: {
operatingSystem: {
required: true,
serializedName: 'operatingSystem',
type: {
name: 'Enum',
allowedValues: [ 'Windows', 'Linux' ]
}
}
}
}
};
}
}
module.exports = OSDiskImage;