Class: Azure::Network::Mgmt::V2019_09_01::Models::VpnClientConnectionHealth

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-09-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb

Overview

VpnClientConnectionHealth properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#allocated_ip_addressesArray<String>

p2s vpn clients.

Returns:

  • (Array<String>)

    List of allocated ip addresses to the connected



29
30
31
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb', line 29

def allocated_ip_addresses
  @allocated_ip_addresses
end

#total_egress_bytes_transferredInteger

connection.

Returns:

  • (Integer)

    Total of the Egress Bytes Transferred in this



21
22
23
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb', line 21

def total_egress_bytes_transferred
  @total_egress_bytes_transferred
end

#total_ingress_bytes_transferredInteger

Vpn connection.

Returns:

  • (Integer)

    Total of the Ingress Bytes Transferred in this P2S



17
18
19
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb', line 17

def total_ingress_bytes_transferred
  @total_ingress_bytes_transferred
end

#vpn_client_connections_countInteger

to this P2SVpnGateway.

Returns:

  • (Integer)

    The total of p2s vpn clients connected at this time



25
26
27
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb', line 25

def vpn_client_connections_count
  @vpn_client_connections_count
end

Class Method Details

.mapperObject

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



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
82
83
84
85
86
87
88
89
90
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VpnClientConnectionHealth',
    type: {
      name: 'Composite',
      class_name: 'VpnClientConnectionHealth',
      model_properties: {
        total_ingress_bytes_transferred: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'totalIngressBytesTransferred',
          type: {
            name: 'Number'
          }
        },
        total_egress_bytes_transferred: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'totalEgressBytesTransferred',
          type: {
            name: 'Number'
          }
        },
        vpn_client_connections_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vpnClientConnectionsCount',
          type: {
            name: 'Number'
          }
        },
        allocated_ip_addresses: {
          client_side_validation: true,
          required: false,
          serialized_name: 'allocatedIpAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end