class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapter

Represents the networkAdapter on a device.

Attributes

adapter_id[RW]

@return [String] Instance ID of network adapter.

adapter_position[RW]

@return [NetworkAdapterPosition] Hardware position of network adapter.

dhcp_status[RW]

@return [NetworkAdapterDHCPStatus] Value indicating whether this adapter has DHCP enabled. Possible values include: 'Disabled', 'Enabled'

dns_servers[RW]

@return [Array<String>] The list of DNS Servers of the device.

index[RW]

@return [Integer] Logical index of the adapter.

ipv4configuration[RW]

@return [Ipv4Config] The IPv4 configuration of the network adapter.

ipv6configuration[RW]

@return [Ipv6Config] The IPv6 configuration of the network adapter.

label[RW]

@return [String] Hardware label for the adapter.

mac_address[RW]

@return [String] MAC address.

network_adapter_name[RW]

@return [String] Network adapter name.

node_id[RW]

@return [String] Node ID of the network adapter.

rdma_status[RW]

@return [NetworkAdapterRDMAStatus] Value indicating whether this adapter is RDMA capable. Possible values include: 'Incapable', 'Capable'

status[RW]

@return [NetworkAdapterStatus] Value indicating whether this adapter is valid. Possible values include: 'Inactive', 'Active'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter.rb, line 70
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkAdapter',
    type: {
      name: 'Composite',
      class_name: 'NetworkAdapter',
      model_properties: {
        adapter_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'adapterId',
          type: {
            name: 'String'
          }
        },
        adapter_position: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'adapterPosition',
          type: {
            name: 'Composite',
            class_name: 'NetworkAdapterPosition'
          }
        },
        index: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'index',
          type: {
            name: 'Number'
          }
        },
        node_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'nodeId',
          type: {
            name: 'String'
          }
        },
        network_adapter_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'networkAdapterName',
          type: {
            name: 'String'
          }
        },
        label: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'label',
          type: {
            name: 'String'
          }
        },
        mac_address: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'macAddress',
          type: {
            name: 'String'
          }
        },
        link_speed: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'linkSpeed',
          type: {
            name: 'Number'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        rdma_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rdmaStatus',
          type: {
            name: 'String'
          }
        },
        dhcp_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dhcpStatus',
          type: {
            name: 'String'
          }
        },
        ipv4configuration: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ipv4Configuration',
          type: {
            name: 'Composite',
            class_name: 'Ipv4Config'
          }
        },
        ipv6configuration: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ipv6Configuration',
          type: {
            name: 'Composite',
            class_name: 'Ipv6Config'
          }
        },
        ipv6link_local_address: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ipv6LinkLocalAddress',
          type: {
            name: 'String'
          }
        },
        dns_servers: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'dnsServers',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end