Class: Azure::ARM::Network::Models::TunnelConnectionHealth

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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:



22
23
24
# File 'lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb', line 22

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



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_transferredInteger

Returns The Ingress Bytes Transferred in this connection.

Returns:

  • (Integer)

    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_timeString

format.

Returns:

  • (String)

    The time at which connection was established in Utc



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

#tunnelString

Returns Tunnel name.

Returns:

  • (String)

    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

.mapperObject

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