Class: Azure::ARM::Network::Models::ExpressRouteCircuitStats

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb

Overview

Contains stats associated with the peering.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#primarybytes_inInteger

Returns Gets BytesIn of the peering.

Returns:

  • (Integer)

    Gets BytesIn of the peering.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 17

def primarybytes_in
  @primarybytes_in
end

#primarybytes_outInteger

Returns Gets BytesOut of the peering.

Returns:

  • (Integer)

    Gets BytesOut of the peering.



20
21
22
# File 'lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 20

def primarybytes_out
  @primarybytes_out
end

#secondarybytes_inInteger

Returns Gets BytesIn of the peering.

Returns:

  • (Integer)

    Gets BytesIn of the peering.



23
24
25
# File 'lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 23

def secondarybytes_in
  @secondarybytes_in
end

#secondarybytes_outInteger

Returns Gets BytesOut of the peering.

Returns:

  • (Integer)

    Gets BytesOut of the peering.



26
27
28
# File 'lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 26

def secondarybytes_out
  @secondarybytes_out
end

Class Method Details

.mapperObject

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



33
34
35
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
# File 'lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 33

def self.mapper()
  {
    required: false,
    serialized_name: 'ExpressRouteCircuitStats',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitStats',
      model_properties: {
        primarybytes_in: {
          required: false,
          serialized_name: 'primarybytesIn',
          type: {
            name: 'Number'
          }
        },
        primarybytes_out: {
          required: false,
          serialized_name: 'primarybytesOut',
          type: {
            name: 'Number'
          }
        },
        secondarybytes_in: {
          required: false,
          serialized_name: 'secondarybytesIn',
          type: {
            name: 'Number'
          }
        },
        secondarybytes_out: {
          required: false,
          serialized_name: 'secondarybytesOut',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end