lib/services/computeManagement2/lib/models/oSDisk.js
/**
   * Defines the metadata of OSDisk
   *
   * @returns {object} metadata of OSDisk
   *
   */
Defines the metadata of OSDisk
@returns {object} metadata of OSDisk
Defines the metadata of OSDisk @returns { object } metadata of OSDisk
mapper() {
    return {
      required: false,
      serializedName: 'OSDisk',
      type: {
        name: 'Composite',
        className: 'OSDisk',
        modelProperties: {
          osType: {
            required: false,
            serializedName: 'osType',
            type: {
              name: 'Enum',
              allowedValues: [ 'Windows', 'Linux' ]
            }
          },
          encryptionSettings: {
            required: false,
            serializedName: 'encryptionSettings',
            type: {
              name: 'Composite',
              className: 'DiskEncryptionSettings'
            }
          },
          name: {
            required: false,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          vhd: {
            required: false,
            serializedName: 'vhd',
            type: {
              name: 'Composite',
              className: 'VirtualHardDisk'
            }
          },
          image: {
            required: false,
            serializedName: 'image',
            type: {
              name: 'Composite',
              className: 'VirtualHardDisk'
            }
          },
          caching: {
            required: false,
            serializedName: 'caching',
            type: {
              name: 'Enum',
              allowedValues: [ 'None', 'ReadOnly', 'ReadWrite' ]
            }
          },
          writeAcceleratorEnabled: {
            required: false,
            serializedName: 'writeAcceleratorEnabled',
            type: {
              name: 'Boolean'
            }
          },
          createOption: {
            required: true,
            serializedName: 'createOption',
            type: {
              name: 'String'
            }
          },
          diskSizeGB: {
            required: false,
            serializedName: 'diskSizeGB',
            type: {
              name: 'Number'
            }
          },
          managedDisk: {
            required: false,
            serializedName: 'managedDisk',
            type: {
              name: 'Composite',
              className: 'ManagedDiskParameters'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'OSDisk' , type : { name : 'Composite' , className : 'OSDisk' , modelProperties : { osType : { required : false , serializedName : 'osType' , type : { name : 'Enum' , allowedValues : [ 'Windows' , 'Linux' ] } } , encryptionSettings : { required : false , serializedName : 'encryptionSettings' , type : { name : 'Composite' , className : 'DiskEncryptionSettings' } } , name : { required : false , serializedName : 'name' , type : { name : 'String' } } , vhd : { required : false , serializedName : 'vhd' , type : { name : 'Composite' , className : 'VirtualHardDisk' } } , image : { required : false , serializedName : 'image' , type : { name : 'Composite' , className : 'VirtualHardDisk' } } , caching : { required : false , serializedName : 'caching' , type : { name : 'Enum' , allowedValues : [ 'None' , 'ReadOnly' , 'ReadWrite' ] } } , writeAcceleratorEnabled : { required : false , serializedName : 'writeAcceleratorEnabled' , type : { name : 'Boolean' } } , createOption : { required : true , serializedName : 'createOption' , type : { name : 'String' } } , diskSizeGB : { required : false , serializedName : 'diskSizeGB' , type : { name : 'Number' } } , managedDisk : { required : false , serializedName : 'managedDisk' , type : { name : 'Composite' , className : 'ManagedDiskParameters' } } } } } ; }
Defines the metadata of OSDisk
 @returns {object} metadata of OSDisk
Defines the metadata of OSDisk @returns { object } metadata of OSDisk