Class: Azure::ARM::Network::Models::BGPCommunity

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#community_nameString

Returns The name of the bgp community. e.g. Skype.

Returns:

  • (String)

    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_prefixesArray<String>

Returns The prefixes that the bgp community contains.

Returns:

  • (Array<String>)

    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_valueString

Returns:

  • (String)

    The value of the bgp community. For more information:



26
27
28
# File 'lib/generated/azure_mgmt_network/models/bgpcommunity.rb', line 26

def community_value
  @community_value
end

#is_authorized_to_useBoolean

Returns Customer is authorized to use bgp community or not.

Returns:

  • (Boolean)

    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
  @is_authorized_to_use
end

#service_groupString

Returns The service group of the bgp community contains.

Returns:

  • (String)

    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_regionString

region is Global.

Returns:

  • (String)

    The region which the service support. e.g. For O365,



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

.mapperObject

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