lib/services/batch/lib/models/dataDisk.js
/**
   * Defines the metadata of DataDisk
   *
   * @returns {object} metadata of DataDisk
   *
   */
Defines the metadata of DataDisk
@returns {object} metadata of DataDisk
Defines the metadata of DataDisk @returns { object } metadata of DataDisk
mapper() {
    return {
      required: false,
      serializedName: 'DataDisk',
      type: {
        name: 'Composite',
        className: 'DataDisk',
        modelProperties: {
          lun: {
            required: true,
            serializedName: 'lun',
            type: {
              name: 'Number'
            }
          },
          caching: {
            required: false,
            serializedName: 'caching',
            type: {
              name: 'Enum',
              allowedValues: [ 'none', 'readOnly', 'readWrite' ]
            }
          },
          diskSizeGB: {
            required: true,
            serializedName: 'diskSizeGB',
            type: {
              name: 'Number'
            }
          },
          storageAccountType: {
            required: false,
            serializedName: 'storageAccountType',
            type: {
              name: 'Enum',
              allowedValues: [ 'StandardLRS', 'PremiumLRS' ]
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'DataDisk' , type : { name : 'Composite' , className : 'DataDisk' , modelProperties : { lun : { required : true , serializedName : 'lun' , type : { name : 'Number' } } , caching : { required : false , serializedName : 'caching' , type : { name : 'Enum' , allowedValues : [ 'none' , 'readOnly' , 'readWrite' ] } } , diskSizeGB : { required : true , serializedName : 'diskSizeGB' , type : { name : 'Number' } } , storageAccountType : { required : false , serializedName : 'storageAccountType' , type : { name : 'Enum' , allowedValues : [ 'StandardLRS' , 'PremiumLRS' ] } } } } } ; }
Defines the metadata of DataDisk
 @returns {object} metadata of DataDisk
Defines the metadata of DataDisk @returns { object } metadata of DataDisk