Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRoutePortsLocationBandwidths

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

Overview

Real-time inventory of available ExpressRoute port bandwidths.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#offer_nameString

Returns Bandwidth descriptive name.

Returns:

  • (String)

    Bandwidth descriptive name.


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

def offer_name
  @offer_name
end

#value_in_gbpsInteger

Returns Bandwidth value in Gbps.

Returns:

  • (Integer)

    Bandwidth value in Gbps.


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

def value_in_gbps
  @value_in_gbps
end

Class Method Details

.mapperObject

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


28
29
30
31
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
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_ports_location_bandwidths.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRoutePortsLocationBandwidths',
    type: {
      name: 'Composite',
      class_name: 'ExpressRoutePortsLocationBandwidths',
      model_properties: {
        offer_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'offerName',
          type: {
            name: 'String'
          }
        },
        value_in_gbps: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'valueInGbps',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end