/*
 * 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';

/**
 * @class
 * Initializes a new instance of the VirtualMachineScaleSetNetworkConfigurationDnsSettings class.
 * @constructor
 * Describes a virtual machines scale sets network configuration's DNS
 * settings.
 *
 * @member {array} [dnsServers] List of DNS servers IP addresses
 *
 */
class VirtualMachineScaleSetNetworkConfigurationDnsSettings {
  constructor() {
  }

  /**
   * Defines the metadata of VirtualMachineScaleSetNetworkConfigurationDnsSettings
   *
   * @returns {object} metadata of VirtualMachineScaleSetNetworkConfigurationDnsSettings
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings',
      type: {
        name: 'Composite',
        className: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings',
        modelProperties: {
          dnsServers: {
            required: false,
            serializedName: 'dnsServers',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          }
        }
      }
    };
  }
}

module.exports = VirtualMachineScaleSetNetworkConfigurationDnsSettings;
