Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterPosition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_position.rb

Overview

The network adapter position.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#network_groupNetworkGroup

‘None’, ‘NonRDMA’, ‘RDMA’

Returns:

  • (NetworkGroup)

    The network group. Possible values include:



17
18
19
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_position.rb', line 17

def network_group
  @network_group
end

#portInteger

Returns The port.

Returns:

  • (Integer)

    The port.



20
21
22
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_position.rb', line 20

def port
  @port
end

Class Method Details

.mapperObject

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



27
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
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_position.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkAdapterPosition',
    type: {
      name: 'Composite',
      class_name: 'NetworkAdapterPosition',
      model_properties: {
        network_group: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'networkGroup',
          type: {
            name: 'String'
          }
        },
        port: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end