Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterPosition
- Inherits:
-
Object
- Object
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterPosition
- 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
-
#network_group ⇒ NetworkGroup
‘None’, ‘NonRDMA’, ‘RDMA’.
-
#port ⇒ Integer
The port.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NetworkAdapterPosition class as Ruby Hash.
Instance Attribute Details
#network_group ⇒ NetworkGroup
‘None’, ‘NonRDMA’, ‘RDMA’
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 |
#port ⇒ Integer
Returns 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
.mapper ⇒ Object
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 |