Class: Azure::Compute::Mgmt::V2019_03_01::Models::NetworkInterfaceReference
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Compute::Mgmt::V2019_03_01::Models::NetworkInterfaceReference
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-01/generated/azure_mgmt_compute/models/network_interface_reference.rb
Overview
Describes a network interface reference.
Instance Attribute Summary collapse
-
#primary ⇒ Boolean
virtual machine has more than 1 network interface.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NetworkInterfaceReference class as Ruby Hash.
Instance Attribute Details
#primary ⇒ Boolean
virtual machine has more than 1 network interface.
17 18 19 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/network_interface_reference.rb', line 17 def primary @primary end |
Class Method Details
.mapper ⇒ Object
Mapper for NetworkInterfaceReference class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 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 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/network_interface_reference.rb', line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { name: 'Composite', class_name: 'NetworkInterfaceReference', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, primary: { client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { name: 'Boolean' } } } } } end |