Class: Azure::Peering::Mgmt::V2019_08_01_preview::Models::ExchangeConnection
- Inherits:
-
Object
- Object
- Azure::Peering::Mgmt::V2019_08_01_preview::Models::ExchangeConnection
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_connection.rb
Overview
The properties that define an exchange connection.
Instance Attribute Summary collapse
-
#bgp_session ⇒ BgpSession
The BGP session associated with the connection.
-
#connection_identifier ⇒ String
The unique identifier (GUID) for the connection.
-
#connection_state ⇒ ConnectionState
include: ‘None’, ‘PendingApproval’, ‘Approved’, ‘ProvisioningStarted’, ‘ProvisioningFailed’, ‘ProvisioningCompleted’, ‘Validating’, ‘Active’.
-
#peering_dbfacility_id ⇒ Integer
connection has to be set up.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExchangeConnection class as Ruby Hash.
Instance Attribute Details
#bgp_session ⇒ BgpSession
Returns The BGP session associated with the connection.
25 26 27 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_connection.rb', line 25 def bgp_session @bgp_session end |
#connection_identifier ⇒ String
Returns The unique identifier (GUID) for the connection.
28 29 30 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_connection.rb', line 28 def connection_identifier @connection_identifier end |
#connection_state ⇒ ConnectionState
include: ‘None’, ‘PendingApproval’, ‘Approved’, ‘ProvisioningStarted’, ‘ProvisioningFailed’, ‘ProvisioningCompleted’, ‘Validating’, ‘Active’
22 23 24 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_connection.rb', line 22 def connection_state @connection_state end |
#peering_dbfacility_id ⇒ Integer
connection has to be set up.
17 18 19 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_connection.rb', line 17 def peering_dbfacility_id @peering_dbfacility_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ExchangeConnection class as Ruby Hash. This will be used for serialization/deserialization.
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_connection.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ExchangeConnection', type: { name: 'Composite', class_name: 'ExchangeConnection', model_properties: { peering_dbfacility_id: { client_side_validation: true, required: false, serialized_name: 'peeringDBFacilityId', type: { name: 'Number' } }, connection_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionState', type: { name: 'String' } }, bgp_session: { client_side_validation: true, required: false, serialized_name: 'bgpSession', type: { name: 'Composite', class_name: 'BgpSession' } }, connection_identifier: { client_side_validation: true, required: false, serialized_name: 'connectionIdentifier', type: { name: 'String' } } } } } end |