class Azure::Network::Mgmt::V2020_07_01::Models::VirtualNetworkBgpCommunities

Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.

Attributes

regional_community[RW]

@return [String] The BGP community associated with the region of the virtual network.

virtual_network_community[RW]

@return [String] The BGP community associated with the virtual network.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-07-01/generated/azure_mgmt_network/models/virtual_network_bgp_communities.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualNetworkBgpCommunities',
    type: {
      name: 'Composite',
      class_name: 'VirtualNetworkBgpCommunities',
      model_properties: {
        virtual_network_community: {
          client_side_validation: true,
          required: true,
          serialized_name: 'virtualNetworkCommunity',
          type: {
            name: 'String'
          }
        },
        regional_community: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'regionalCommunity',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end