class Azure::Network::Mgmt::V2016_06_01::Models::BgpSettings
Model object.
Attributes
asn[RW]
@return [Integer] Gets or sets this BGP speaker's ASN
bgp_peering_address[RW]
@return [String] Gets or sets the BGP peering address and BGP identifier of this BGP speaker
peer_weight[RW]
@return [Integer] Gets or sets 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/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb, line 32 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