Sha256: 375d502b8292fd633f54a28b09ec83544a3361398b0d047244b8026049d10785

Contents?: true

Size: 1.52 KB

Versions: 33

Compression:

Stored size: 1.52 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::Network::Mgmt::V2017_11_01
  module Models
    #
    # DhcpOptions contains an array of DNS servers available to VMs deployed in
    # the virtual network. Standard DHCP option for a subnet overrides VNET
    # DHCP options.
    #
    class DhcpOptions

      include MsRestAzure

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


      #
      # Mapper for DhcpOptions class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DhcpOptions',
          type: {
            name: 'Composite',
            class_name: 'DhcpOptions',
            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

33 entries across 33 versions & 2 rubygems

Version Path
azure_mgmt_network2-0.27.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network2-0.26.1 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.26.1 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.26.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.25.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.24.1 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.24.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.23.4 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.23.3 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.23.2 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.23.1 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.23.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.22.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.21.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.20.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.19.1 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.19.0 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.9 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.8 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.7 lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb