Sha256: 0b3939b3cea38e6f5d1d0ca5e85ee5105d38d0c80de4356d64e2a4bd8783f86e

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2016_04_30_preview
  module Models
    #
    # Describes a network interface reference.
    #
    class NetworkInterfaceReference < SubResource

      include MsRestAzure

      # @return [Boolean] Specifies the primary network interface in case the
      # virtual machine has more than 1 network interface.
      attr_accessor :primary


      #
      # Mapper for NetworkInterfaceReference class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'NetworkInterfaceReference',
          type: {
            name: 'Composite',
            class_name: 'NetworkInterfaceReference',
            model_properties: {
              id: {
                required: false,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              primary: {
                required: false,
                serialized_name: 'properties.primary',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.15.1 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.15.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb