class Azure::Network::Mgmt::V2020_03_01::Models::VpnLinkBgpSettings

BGP settings details for a link.

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.

Public Class Methods

mapper() click to toggle source

Mapper for VpnLinkBgpSettings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-03-01/generated/azure_mgmt_network/models/vpn_link_bgp_settings.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VpnLinkBgpSettings',
    type: {
      name: 'Composite',
      class_name: 'VpnLinkBgpSettings',
      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'
          }
        }
      }
    }
  }
end