Sha256: 4c25cd61a605a258fa18a586679472ef93ddd89e296aba1232b33f4de2f132f4

Contents?: true

Size: 1.47 KB

Versions: 19

Compression:

Stored size: 1.47 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()
        {
          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
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.21.1 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.20.0 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.19.3 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.19.2 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.19.1 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.19.0 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.7 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.6 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.5 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.4 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.3 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.2 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.1 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.18.0 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.17.1 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.17.0 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.16.0 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb
azure_mgmt_compute-0.15.2 lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb