Class: Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionHealth

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb

Overview

VirtualNetworkGatewayConnection properties

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#connection_statusVirtualNetworkGatewayConnectionStatus

connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'

Returns:


21
22
23
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 21

def connection_status
  @connection_status
end

#egress_bytes_transferredInteger

Returns The Egress Bytes Transferred in this connection.

Returns:

  • (Integer)

    The Egress Bytes Transferred in this connection


27
28
29
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 27

def egress_bytes_transferred
  @egress_bytes_transferred
end

#ingress_bytes_transferredInteger

Returns The Ingress Bytes Transferred in this connection.

Returns:

  • (Integer)

    The Ingress Bytes Transferred in this connection


24
25
26
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 24

def ingress_bytes_transferred
  @ingress_bytes_transferred
end

#last_connection_established_utc_timeString

format.

Returns:

  • (String)

    The time at which connection was established in Utc


31
32
33
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 31

def last_connection_established_utc_time
  @last_connection_established_utc_time
end

#tunnelString

Returns Tunnel name.

Returns:

  • (String)

    Tunnel name.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 16

def tunnel
  @tunnel
end

Class Method Details

.mapperObject

Mapper for TunnelConnectionHealth class as Ruby Hash. This will be used for serialization/deserialization.


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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TunnelConnectionHealth',
    type: {
      name: 'Composite',
      class_name: 'TunnelConnectionHealth',
      model_properties: {
        tunnel: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tunnel',
          type: {
            name: 'String'
          }
        },
        connection_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'connectionStatus',
          type: {
            name: 'String'
          }
        },
        ingress_bytes_transferred: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ingressBytesTransferred',
          type: {
            name: 'Number'
          }
        },
        egress_bytes_transferred: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'egressBytesTransferred',
          type: {
            name: 'Number'
          }
        },
        last_connection_established_utc_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastConnectionEstablishedUtcTime',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end