Sha256: 60c9abc0da57d13250c730e59a542bbcfa5a02aed22519a78196eeac20977aa4

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 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_03_30
  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-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.15.0 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb