Sha256: c87b78642d64e917126677a0e4550f8c021ec0977a68cc999100eeda98780219

Contents?: true

Size: 1.53 KB

Versions: 34

Compression:

Stored size: 1.53 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::V2016_03_30
  module Models
    #
    # DHCPOptions contains an array of DNS servers available to VMs deployed in
    # the virtual networkStandard DHCP option for a subnet overrides VNET DHCP
    # options.
    #
    class DhcpOptions

      include MsRestAzure

      # @return [Array<String>] Gets or sets 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

34 entries across 34 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.5 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.4 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.3 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.2 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.1 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.18.0 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.17.4 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.17.3 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.17.2 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.17.1 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.17.0 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.16.0 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb
azure_mgmt_network-0.15.2 lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb