Class: Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringPropertiesExchange
- Inherits:
-
Object
- Object
- Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringPropertiesExchange
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_properties_exchange.rb
Overview
The properties that define an exchange peering.
Instance Attribute Summary collapse
-
#connections ⇒ Array<ExchangeConnection>
constitute an exchange peering.
-
#peer_asn ⇒ SubResource
The reference of the peer ASN.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PeeringPropertiesExchange class as Ruby Hash.
Instance Attribute Details
#connections ⇒ Array<ExchangeConnection>
constitute an exchange peering.
17 18 19 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_properties_exchange.rb', line 17 def connections @connections end |
#peer_asn ⇒ SubResource
Returns The reference of the peer ASN.
20 21 22 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_properties_exchange.rb', line 20 def peer_asn @peer_asn end |
Class Method Details
.mapper ⇒ Object
Mapper for PeeringPropertiesExchange class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_properties_exchange.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PeeringPropertiesExchange', type: { name: 'Composite', class_name: 'PeeringPropertiesExchange', model_properties: { connections: { client_side_validation: true, required: false, serialized_name: 'connections', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ExchangeConnectionElementType', type: { name: 'Composite', class_name: 'ExchangeConnection' } } } }, peer_asn: { client_side_validation: true, required: false, serialized_name: 'peerAsn', type: { name: 'Composite', class_name: 'SubResource' } } } } } end |