Class: Azure::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuitPeering

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb

Overview

Peering in an ExpressRouteCircuit resource.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#azure_asnInteger

Returns The Azure ASN.

Returns:

  • (Integer)

    The Azure ASN.


27
28
29
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 27

def azure_asn
  @azure_asn
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


77
78
79
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 77

def etag
  @etag
end

#gateway_manager_etagString

Returns The GatewayManager Etag.

Returns:

  • (String)

    The GatewayManager Etag.


62
63
64
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 62

def gateway_manager_etag
  @gateway_manager_etag
end

#last_modified_byString

modified the peering.

Returns:

  • (String)

    Gets whether the provider or the customer last


66
67
68
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 66

def last_modified_by
  @last_modified_by
end

#microsoft_peering_configExpressRouteCircuitPeeringConfig

configuration.

Returns:


52
53
54
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 52

def microsoft_peering_config
  @microsoft_peering_config
end

#nameString

resource group. This name can be used to access the resource.

Returns:

  • (String)

    Gets name of the resource that is unique within a


73
74
75
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 73

def name
  @name
end

#peer_asnInteger

Returns The peer ASN.

Returns:

  • (Integer)

    The peer ASN.


30
31
32
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 30

def peer_asn
  @peer_asn
end

#peering_typeExpressRouteCircuitPeeringType

values are: 'AzurePublicPeering', 'AzurePrivatePeering', and 'MicrosoftPeering'. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'

Returns:


19
20
21
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 19

def peering_type
  @peering_type
end

#primary_azure_portString

Returns The primary port.

Returns:

  • (String)

    The primary port.


39
40
41
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 39

def primary_azure_port
  @primary_azure_port
end

#primary_peer_address_prefixString

Returns The primary address prefix.

Returns:

  • (String)

    The primary address prefix.


33
34
35
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 33

def primary_peer_address_prefix
  @primary_peer_address_prefix
end

#provisioning_stateString

Possible values are: 'Updating', 'Deleting', and 'Failed'.

Returns:

  • (String)

    Gets the provisioning state of the public IP resource.


59
60
61
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 59

def provisioning_state
  @provisioning_state
end

#route_filterRouteFilter

Returns The reference of the RouteFilter resource.

Returns:

  • (RouteFilter)

    The reference of the RouteFilter resource.


69
70
71
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 69

def route_filter
  @route_filter
end

#secondary_azure_portString

Returns The secondary port.

Returns:

  • (String)

    The secondary port.


42
43
44
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 42

def secondary_azure_port
  @secondary_azure_port
end

#secondary_peer_address_prefixString

Returns The secondary address prefix.

Returns:

  • (String)

    The secondary address prefix.


36
37
38
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 36

def secondary_peer_address_prefix
  @secondary_peer_address_prefix
end

#shared_keyString

Returns The shared key.

Returns:

  • (String)

    The shared key.


45
46
47
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 45

def shared_key
  @shared_key
end

#stateExpressRouteCircuitPeeringState

Possible values are: 'Disabled' and 'Enabled'. Possible values include: 'Disabled', 'Enabled'

Returns:


24
25
26
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 24

def state
  @state
end

#statsExpressRouteCircuitStats

Returns Gets peering stats.

Returns:


55
56
57
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 55

def stats
  @stats
end

#vlan_idInteger

Returns The VLAN ID.

Returns:

  • (Integer)

    The VLAN ID.


48
49
50
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 48

def vlan_id
  @vlan_id
end

Class Method Details

.mapperObject

Mapper for ExpressRouteCircuitPeering class as Ruby Hash. This will be used for serialization/deserialization.


84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 84

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuitPeering',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitPeering',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        peering_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringType',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.state',
          type: {
            name: 'String'
          }
        },
        azure_asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.azureASN',
          type: {
            name: 'Number'
          }
        },
        peer_asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peerASN',
          type: {
            name: 'Number'
          }
        },
        primary_peer_address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.primaryPeerAddressPrefix',
          type: {
            name: 'String'
          }
        },
        secondary_peer_address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.secondaryPeerAddressPrefix',
          type: {
            name: 'String'
          }
        },
        primary_azure_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.primaryAzurePort',
          type: {
            name: 'String'
          }
        },
        secondary_azure_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.secondaryAzurePort',
          type: {
            name: 'String'
          }
        },
        shared_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sharedKey',
          type: {
            name: 'String'
          }
        },
        vlan_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vlanId',
          type: {
            name: 'Number'
          }
        },
        microsoft_peering_config: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.microsoftPeeringConfig',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitPeeringConfig'
          }
        },
        stats: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.stats',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitStats'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        gateway_manager_etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.gatewayManagerEtag',
          type: {
            name: 'String'
          }
        },
        last_modified_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastModifiedBy',
          type: {
            name: 'String'
          }
        },
        route_filter: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routeFilter',
          type: {
            name: 'Composite',
            class_name: 'RouteFilter'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end