Class: Azure::ARM::Network::Models::BGPCommunity
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::BGPCommunity
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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
-
#is_authorized_to_use ⇒ Boolean
Customer is authorized to use bgp community or not.
-
#service_group ⇒ String
The service group of the bgp community contains.
-
#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.
22 23 24 |
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 22 def community_name @community_name end |
#community_prefixes ⇒ Array<String>
Returns The prefixes that the bgp community contains.
29 30 31 |
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 29 def community_prefixes @community_prefixes end |
#community_value ⇒ String
26 27 28 |
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 26 def community_value @community_value end |
#is_authorized_to_use ⇒ Boolean
Returns Customer is authorized to use bgp community or not.
32 33 34 |
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 32 def @is_authorized_to_use end |
#service_group ⇒ String
Returns The service group of the bgp community contains.
35 36 37 |
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 35 def service_group @service_group end |
#service_supported_region ⇒ String
region is Global.
19 20 21 |
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 19 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.
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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 42 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' } } } }, is_authorized_to_use: { required: false, serialized_name: 'isAuthorizedToUse', type: { name: 'Boolean' } }, service_group: { required: false, serialized_name: 'serviceGroup', type: { name: 'String' } } } } } end |