Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteCircuitStats

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/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 The Primary BytesIn of the peering.

Returns:

  • (Integer)

    The Primary BytesIn of the peering.


16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 16

def primarybytes_in
  @primarybytes_in
end

#primarybytes_outInteger

Returns The primary BytesOut of the peering.

Returns:

  • (Integer)

    The primary BytesOut of the peering.


19
20
21
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 19

def primarybytes_out
  @primarybytes_out
end

#secondarybytes_inInteger

Returns The secondary BytesIn of the peering.

Returns:

  • (Integer)

    The secondary BytesIn of the peering.


22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 22

def secondarybytes_in
  @secondarybytes_in
end

#secondarybytes_outInteger

Returns The secondary BytesOut of the peering.

Returns:

  • (Integer)

    The secondary BytesOut of the peering.


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

def secondarybytes_out
  @secondarybytes_out
end

Class Method Details

.mapperObject

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


32
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
73
74
75
76
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb', line 32

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