class Azure::Network::Mgmt::V2017_03_01::Models::BGPCommunity
Contains bgp community information offered in Service Community resources.
Attributes
community_name[RW]
@return [String] The name of the bgp community. e.g. Skype.
community_prefixes[RW]
@return [Array<String>] The prefixes that the bgp community contains.
community_value[RW]
@return [String] The value of the bgp community. For more information: docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
service_supported_region[RW]
@return [String] The region which the service support. e.g. For O365, region is Global.
Public Class Methods
mapper()
click to toggle source
Mapper for BGPCommunity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { name: 'Composite', class_name: 'BGPCommunity', model_properties: { service_supported_region: { client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { name: 'String' } }, community_name: { client_side_validation: true, required: false, serialized_name: 'communityName', type: { name: 'String' } }, community_value: { client_side_validation: true, required: false, serialized_name: 'communityValue', type: { name: 'String' } }, community_prefixes: { client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end