Class: Azure::Network::Mgmt::V2020_07_01::Models::ExpressRouteCircuitPeering
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2020_07_01::Models::ExpressRouteCircuitPeering
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb
Overview
Peering in an ExpressRouteCircuit resource.
Instance Attribute Summary collapse
-
#azure_asn ⇒ Integer
The Azure ASN.
-
#connections ⇒ Array<ExpressRouteCircuitConnection>
connections associated with Azure Private Peering for this circuit.
-
#etag ⇒ String
resource is updated.
-
#express_route_connection ⇒ ExpressRouteConnectionId
The ExpressRoute connection.
-
#gateway_manager_etag ⇒ String
The GatewayManager Etag.
-
#ipv6peering_config ⇒ Ipv6ExpressRouteCircuitPeeringConfig
configuration.
-
#last_modified_by ⇒ String
Who was the last to modify the peering.
-
#microsoft_peering_config ⇒ ExpressRouteCircuitPeeringConfig
configuration.
-
#name ⇒ String
resource group.
-
#peer_asn ⇒ Integer
The peer ASN.
-
#peered_connections ⇒ Array<PeerExpressRouteCircuitConnection>
circuit connections associated with Azure Private Peering for this circuit.
-
#peering_type ⇒ ExpressRoutePeeringType
include: ‘AzurePublicPeering’, ‘AzurePrivatePeering’, ‘MicrosoftPeering’.
-
#primary_azure_port ⇒ String
The primary port.
-
#primary_peer_address_prefix ⇒ String
The primary address prefix.
-
#provisioning_state ⇒ ProvisioningState
circuit peering resource.
-
#route_filter ⇒ SubResource
The reference to the RouteFilter resource.
-
#secondary_azure_port ⇒ String
The secondary port.
-
#secondary_peer_address_prefix ⇒ String
The secondary address prefix.
-
#shared_key ⇒ String
The shared key.
-
#state ⇒ ExpressRoutePeeringState
include: ‘Disabled’, ‘Enabled’.
-
#stats ⇒ ExpressRouteCircuitStats
circuit.
-
#type ⇒ String
Type of the resource.
-
#vlan_id ⇒ Integer
The VLAN ID.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExpressRouteCircuitPeering class as Ruby Hash.
Instance Attribute Details
#azure_asn ⇒ Integer
Returns The Azure ASN.
25 26 27 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 25 def azure_asn @azure_asn end |
#connections ⇒ Array<ExpressRouteCircuitConnection>
connections associated with Azure Private Peering for this circuit.
79 80 81 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 79 def connections @connections end |
#etag ⇒ String
resource is updated.
92 93 94 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 92 def etag @etag end |
#express_route_connection ⇒ ExpressRouteConnectionId
Returns The ExpressRoute connection.
75 76 77 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 75 def express_route_connection @express_route_connection end |
#gateway_manager_etag ⇒ String
Returns The GatewayManager Etag.
62 63 64 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 62 def gateway_manager_etag @gateway_manager_etag end |
#ipv6peering_config ⇒ Ipv6ExpressRouteCircuitPeeringConfig
configuration.
72 73 74 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 72 def ipv6peering_config @ipv6peering_config end |
#last_modified_by ⇒ String
Returns Who was the last to modify the peering.
65 66 67 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 65 def last_modified_by @last_modified_by end |
#microsoft_peering_config ⇒ ExpressRouteCircuitPeeringConfig
configuration.
50 51 52 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 50 def microsoft_peering_config @microsoft_peering_config end |
#name ⇒ String
resource group. This name can be used to access the resource.
88 89 90 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 88 def name @name end |
#peer_asn ⇒ Integer
Returns The peer ASN.
28 29 30 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 28 def peer_asn @peer_asn end |
#peered_connections ⇒ Array<PeerExpressRouteCircuitConnection>
circuit connections associated with Azure Private Peering for this circuit.
84 85 86 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 84 def peered_connections @peered_connections end |
#peering_type ⇒ ExpressRoutePeeringType
include: ‘AzurePublicPeering’, ‘AzurePrivatePeering’, ‘MicrosoftPeering’
18 19 20 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 18 def peering_type @peering_type end |
#primary_azure_port ⇒ String
Returns The primary port.
37 38 39 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 37 def primary_azure_port @primary_azure_port end |
#primary_peer_address_prefix ⇒ String
Returns The primary address prefix.
31 32 33 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 31 def primary_peer_address_prefix @primary_peer_address_prefix end |
#provisioning_state ⇒ ProvisioningState
circuit peering resource. Possible values include: ‘Succeeded’, ‘Updating’, ‘Deleting’, ‘Failed’
59 60 61 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 59 def provisioning_state @provisioning_state end |
#route_filter ⇒ SubResource
Returns The reference to the RouteFilter resource.
68 69 70 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 68 def route_filter @route_filter end |
#secondary_azure_port ⇒ String
Returns The secondary port.
40 41 42 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 40 def secondary_azure_port @secondary_azure_port end |
#secondary_peer_address_prefix ⇒ String
Returns The secondary address prefix.
34 35 36 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 34 def secondary_peer_address_prefix @secondary_peer_address_prefix end |
#shared_key ⇒ String
Returns The shared key.
43 44 45 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 43 def shared_key @shared_key end |
#state ⇒ ExpressRoutePeeringState
include: ‘Disabled’, ‘Enabled’
22 23 24 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 22 def state @state end |
#stats ⇒ ExpressRouteCircuitStats
circuit.
54 55 56 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 54 def stats @stats end |
#type ⇒ String
Returns Type of the resource.
95 96 97 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 95 def type @type end |
#vlan_id ⇒ Integer
Returns The VLAN ID.
46 47 48 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 46 def vlan_id @vlan_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ExpressRouteCircuitPeering class as Ruby Hash. This will be used for serialization/deserialization.
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 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 102 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', constraints: { InclusiveMaximum: 4294967295, InclusiveMinimum: 1 }, 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, read_only: true, 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, read_only: true, serialized_name: 'properties.lastModifiedBy', type: { name: 'String' } }, route_filter: { client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { name: 'Composite', class_name: 'SubResource' } }, ipv6peering_config: { client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { name: 'Composite', class_name: 'Ipv6ExpressRouteCircuitPeeringConfig' } }, express_route_connection: { client_side_validation: true, required: false, serialized_name: 'properties.expressRouteConnection', type: { name: 'Composite', class_name: 'ExpressRouteConnectionId' } }, connections: { client_side_validation: true, required: false, serialized_name: 'properties.connections', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitConnectionElementType', type: { name: 'Composite', class_name: 'ExpressRouteCircuitConnection' } } } }, peered_connections: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peeredConnections', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PeerExpressRouteCircuitConnectionElementType', type: { name: 'Composite', class_name: 'PeerExpressRouteCircuitConnection' } } } }, 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' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |