Sha256: ccf9aefc862418b1b4c8e171ee562be264fc43b4f5f6e5c4c911ef811b8088fc

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

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

module Azure::ARM::Compute
  module Models
    #
    # Describes a network profile.
    #
    class NetworkProfile

      include MsRestAzure

      # @return [Array<NetworkInterfaceReference>] Specifies the list of
      # resource IDs for the network interfaces associated with the virtual
      # machine.
      attr_accessor :network_interfaces


      #
      # Mapper for NetworkProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'NetworkProfile',
          type: {
            name: 'Composite',
            class_name: 'NetworkProfile',
            model_properties: {
              network_interfaces: {
                required: false,
                serialized_name: 'networkInterfaces',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'NetworkInterfaceReferenceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'NetworkInterfaceReference'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.9.0 lib/generated/azure_mgmt_compute/models/network_profile.rb
azure_mgmt_compute-0.8.0 lib/generated/azure_mgmt_compute/models/network_profile.rb