NetworkInterface Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. NetworkInterface
- com.
Implements
public final class NetworkInterface
implements JsonSerializable<NetworkInterface>
NetworkInterface represents properties of the network interface.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkInterface() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
address()
Get the address property: The partial address of Peripheral Component Interconnect (PCI). |
|
Device |
deviceConnectionType()
Get the device |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
model()
Get the model property: The model name of the device. |
| Long |
physicalSlot()
Get the physical |
| Long |
portCount()
Get the port |
| Long |
portSpeed()
Get the port |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
vendor()
Get the vendor property: The vendor name of the device. |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterface
public NetworkInterface()
Creates an instance of NetworkInterface class.
Method Details
address
public String address()
Get the address property: The partial address of Peripheral Component Interconnect (PCI).
Returns:
deviceConnectionType
public DeviceConnectionType deviceConnectionType()
Get the deviceConnectionType property: The connection type of the device.
Returns:
fromJson
public static NetworkInterface fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterface from the JsonReader.
Parameters:
Returns:
Throws:
model
public String model()
Get the model property: The model name of the device.
Returns:
physicalSlot
public Long physicalSlot()
Get the physicalSlot property: The physical slot for this device.
Returns:
portCount
public Long portCount()
Get the portCount property: The number of ports on the device.
Returns:
portSpeed
public Long portSpeed()
Get the portSpeed property: The maximum amount of data in gigabits that the line card transmits through a port at any given second.
Returns:
toJson
validate
public void validate()
Validates the instance.
vendor
public String vendor()
Get the vendor property: The vendor name of the device.
Returns: