class Azure::Network::Mgmt::V2018_07_01::Models::BgpSettings
BGP settings details
Attributes
asn[RW]
@return [Integer] The BGP speaker's ASN.
bgp_peering_address[RW]
@return [String] The BGP peering address and BGP identifier of this BGP speaker.
peer_weight[RW]
@return [Integer] The weight added to routes learned from this BGP speaker.
Public Class Methods
mapper()
click to toggle source
Mapper for BgpSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-07-01/generated/azure_mgmt_network/models/bgp_settings.rb, line 31 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