Sha256: 09d300dd6fc9939ab4efb72cc46969c10a7c854da7a208b4ee37c32d7637e9af

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_06_01
  module Models
    #
    # Describes a virtual machines scale sets network configuration's DNS
    # settings.
    #
    class VirtualMachineScaleSetNetworkConfigurationDnsSettings

      include MsRestAzure

      # @return [Array<String>] List of DNS servers IP addresses
      attr_accessor :dns_servers


      #
      # Mapper for VirtualMachineScaleSetNetworkConfigurationDnsSettings class
      # as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings',
            model_properties: {
              dns_servers: {
                client_side_validation: true,
                required: false,
                serialized_name: 'dnsServers',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb