Sha256: c1f4e60ad9eb14b6d75b866f3f1ddf944dc14ff1dc40716e73accea2535d5aa7

Contents?: true

Size: 1.8 KB

Versions: 34

Compression:

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

      include MsRestAzure

      # @return [Integer] The BGP speaker's ASN.
      attr_accessor :asn

      # @return [String] The BGP peering address and BGP identifier of this BGP
      # speaker.
      attr_accessor :bgp_peering_address

      # @return [Integer] 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_network-0.18.6 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.5 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.4 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.3 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.2 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.1 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.18.0 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.17.4 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.17.3 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.17.2 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.17.1 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.17.0 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.16.0 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb
azure_mgmt_network-0.15.2 lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb