Class: Azure::ARM::Network::Models::TunnelConnectionHealth
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::TunnelConnectionHealth
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb
Overview
VirtualNetworkGatewayConnection properties
Instance Attribute Summary collapse
-
#connection_status ⇒ VirtualNetworkGatewayConnectionStatus
connection status.
-
#egress_bytes_transferred ⇒ Integer
The Egress Bytes Transferred in this connection.
-
#ingress_bytes_transferred ⇒ Integer
The Ingress Bytes Transferred in this connection.
-
#last_connection_established_utc_time ⇒ String
format.
-
#tunnel ⇒ String
Tunnel name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TunnelConnectionHealth class as Ruby Hash.
Instance Attribute Details
#connection_status ⇒ VirtualNetworkGatewayConnectionStatus
connection status. Possible values include: ‘Unknown’, ‘Connecting’, ‘Connected’, ‘NotConnected’
22 23 24 |
# File 'lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 22 def connection_status @connection_status end |
#egress_bytes_transferred ⇒ Integer
Returns The Egress Bytes Transferred in this connection.
28 29 30 |
# File 'lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 28 def egress_bytes_transferred @egress_bytes_transferred end |
#ingress_bytes_transferred ⇒ Integer
Returns The Ingress Bytes Transferred in this connection.
25 26 27 |
# File 'lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 25 def ingress_bytes_transferred @ingress_bytes_transferred end |
#last_connection_established_utc_time ⇒ String
format.
32 33 34 |
# File 'lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 32 def last_connection_established_utc_time @last_connection_established_utc_time end |
#tunnel ⇒ String
Returns Tunnel name.
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 17 def tunnel @tunnel end |
Class Method Details
.mapper ⇒ Object
Mapper for TunnelConnectionHealth class as Ruby Hash. This will be used for serialization/deserialization.
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 82 83 84 85 86 87 88 89 90 |
# File 'lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 39 def self.mapper() { required: false, serialized_name: 'TunnelConnectionHealth', type: { name: 'Composite', class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { required: false, read_only: true, serialized_name: 'tunnel', type: { name: 'String' } }, connection_status: { required: false, read_only: true, serialized_name: 'connectionStatus', type: { name: 'String' } }, ingress_bytes_transferred: { required: false, read_only: true, serialized_name: 'ingressBytesTransferred', type: { name: 'Number' } }, egress_bytes_transferred: { required: false, read_only: true, serialized_name: 'egressBytesTransferred', type: { name: 'Number' } }, last_connection_established_utc_time: { required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', type: { name: 'String' } } } } } end |