Class: Azure::Network::Mgmt::V2017_03_01::Models::BGPCommunity
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2017_03_01::Models::BGPCommunity
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb
Overview
Contains bgp community information offered in Service Community resources.
Instance Attribute Summary collapse
-
#community_name ⇒ String
The name of the bgp community.
-
#community_prefixes ⇒ Array<String>
The prefixes that the bgp community contains.
- #community_value ⇒ String
-
#service_supported_region ⇒ String
region is Global.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BGPCommunity class as Ruby Hash.
Instance Attribute Details
#community_name ⇒ String
Returns The name of the bgp community. e.g. Skype.
21 22 23 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb', line 21 def community_name @community_name end |
#community_prefixes ⇒ Array<String>
Returns The prefixes that the bgp community contains.
28 29 30 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb', line 28 def community_prefixes @community_prefixes end |
#community_value ⇒ String
25 26 27 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb', line 25 def community_value @community_value end |
#service_supported_region ⇒ String
region is Global.
18 19 20 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb', line 18 def service_supported_region @service_supported_region end |
Class Method Details
.mapper ⇒ Object
Mapper for BGPCommunity class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb', line 35 def self.mapper() { required: false, serialized_name: 'BGPCommunity', type: { name: 'Composite', class_name: 'BGPCommunity', model_properties: { service_supported_region: { required: false, serialized_name: 'serviceSupportedRegion', type: { name: 'String' } }, community_name: { required: false, serialized_name: 'communityName', type: { name: 'String' } }, community_value: { required: false, serialized_name: 'communityValue', type: { name: 'String' } }, community_prefixes: { required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |