Class: Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectConnection
- Inherits:
-
Object
- Object
- Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectConnection
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb
Overview
The properties that define a direct connection.
Instance Attribute Summary collapse
-
#bandwidth_in_mbps ⇒ Integer
The bandwidth of the connection.
-
#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.
-
#provisioned_bandwidth_in_mbps ⇒ Integer
The bandwidth that is actually provisioned.
-
#session_address_provider ⇒ SessionAddressProvider
provides session ip addresses.
-
#use_for_peering_service ⇒ Boolean
is used for peering service.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DirectConnection class as Ruby Hash.
Instance Attribute Details
#bandwidth_in_mbps ⇒ Integer
Returns The bandwidth of the connection.
16 17 18 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 16 def bandwidth_in_mbps @bandwidth_in_mbps end |
#bgp_session ⇒ BgpSession
Returns The BGP session associated with the connection.
40 41 42 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 40 def bgp_session @bgp_session end |
#connection_identifier ⇒ String
Returns The unique identifier (GUID) for the connection.
43 44 45 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 43 def connection_identifier @connection_identifier end |
#connection_state ⇒ ConnectionState
include: ‘None’, ‘PendingApproval’, ‘Approved’, ‘ProvisioningStarted’, ‘ProvisioningFailed’, ‘ProvisioningCompleted’, ‘Validating’, ‘Active’
37 38 39 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 37 def connection_state @connection_state end |
#peering_dbfacility_id ⇒ Integer
connection has to be set up.
32 33 34 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 32 def peering_dbfacility_id @peering_dbfacility_id end |
#provisioned_bandwidth_in_mbps ⇒ Integer
Returns The bandwidth that is actually provisioned.
19 20 21 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 19 def provisioned_bandwidth_in_mbps @provisioned_bandwidth_in_mbps end |
#session_address_provider ⇒ SessionAddressProvider
provides session ip addresses. Possible values include: ‘Microsoft’, ‘Peer’
24 25 26 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 24 def session_address_provider @session_address_provider end |
#use_for_peering_service ⇒ Boolean
is used for peering service.
28 29 30 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 28 def use_for_peering_service @use_for_peering_service end |
Class Method Details
.mapper ⇒ Object
Mapper for DirectConnection class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb', line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DirectConnection', type: { name: 'Composite', class_name: 'DirectConnection', model_properties: { bandwidth_in_mbps: { client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { name: 'Number' } }, provisioned_bandwidth_in_mbps: { client_side_validation: true, required: false, serialized_name: 'provisionedBandwidthInMbps', type: { name: 'Number' } }, session_address_provider: { client_side_validation: true, required: false, serialized_name: 'sessionAddressProvider', type: { name: 'String' } }, use_for_peering_service: { client_side_validation: true, required: false, serialized_name: 'useForPeeringService', type: { name: 'Boolean' } }, 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 |