class Azure::Migrate::Mgmt::V2018_02_02::Models::NetworkAdapter

A network adapter discovered on a machine.

Attributes

ip_addresses[RW]

@return [Array<String>] List of IP Addresses on the network adapter.

mac_address[RW]

@return [String] MAC Address of the network adapter.

Private Class Methods

mapper() click to toggle source

Mapper for NetworkAdapter class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-02-02/generated/azure_mgmt_migrate/models/network_adapter.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkAdapter',
    type: {
      name: 'Composite',
      class_name: 'NetworkAdapter',
      model_properties: {
        mac_address: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'macAddress',
          type: {
            name: 'String'
          }
        },
        ip_addresses: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ipAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end