class Azure::Network::Mgmt::V2019_04_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.

is_authorized_to_use[RW]

@return [Boolean] Customer is authorized to use bgp community or not.

service_group[RW]

@return [String] The service group of the bgp community contains.

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/2019-04-01/generated/azure_mgmt_network/models/bgpcommunity.rb, line 41
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'
                }
            }
          }
        },
        is_authorized_to_use: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isAuthorizedToUse',
          type: {
            name: 'Boolean'
          }
        },
        service_group: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceGroup',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end