Sha256: 704a488757d56bb5083e96b69a25c16bba36b986aa1c5b099e3dc41580f50e0a

Contents?: true

Size: 1.84 KB

Versions: 34

Compression:

Stored size: 1.84 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::V2015_06_15
  module Models
    #
    # Model object.
    #
    #
    class BgpSettings

      include MsRestAzure

      # @return [Integer] Gets or sets this BGP speaker's ASN
      attr_accessor :asn

      # @return [String] Gets or sets the BGP peering address and BGP
      # identifier of this BGP speaker
      attr_accessor :bgp_peering_address

      # @return [Integer] Gets or sets the weight added to routes learned from
      # this BGP speaker
      attr_accessor :peer_weight


      #
      # Mapper for BgpSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BgpSettings',
          type: {
            name: 'Composite',
            class_name: 'BgpSettings',
            model_properties: {
              asn: {
                client_side_validation: true,
                required: false,
                serialized_name: 'asn',
                type: {
                  name: 'Number'
                }
              },
              bgp_peering_address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'bgpPeeringAddress',
                type: {
                  name: 'String'
                }
              },
              peer_weight: {
                client_side_validation: true,
                required: false,
                serialized_name: 'peerWeight',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
azure_mgmt_network2-0.27.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network2-0.26.1 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.26.1 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.26.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.25.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.24.1 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.24.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.23.4 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.23.3 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.23.2 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.23.1 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.23.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.22.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.21.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.20.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.19.1 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.19.0 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.9 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.8 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.7 lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb