Class: Azure::Network::Mgmt::V2019_11_01::Models::VirtualNetworkBgpCommunities

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/virtual_network_bgp_communities.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#regional_communityString

virtual network.

Returns:

  • (String)

    The BGP community associated with the region of the


21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_network_bgp_communities.rb', line 21

def regional_community
  @regional_community
end

#virtual_network_communityString

Returns The BGP community associated with the virtual network.

Returns:

  • (String)

    The BGP community associated with the virtual network.


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_network_bgp_communities.rb', line 17

def virtual_network_community
  @virtual_network_community
end

Class Method Details

.mapperObject

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


28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2019-11-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