NetworkInterface Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. NetworkInterface
- com.
public final class NetworkInterface
Network Interface model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| NetworkInterface() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
deviceKey()
Get the device |
| List<String> |
ipAddresses()
Get the ip |
|
Nic |
ipSettings()
Get the ip |
| String |
label()
Get the label property: Gets or sets the label of the virtual network in v |
| String |
macAddress()
Get the mac |
| String |
name()
Get the name property: Gets or sets the name of the network interface. |
| String |
networkId()
Get the network |
| String |
networkMoName()
Get the network |
| String |
networkMoRefId()
Get the network |
|
Nic |
nicType()
Get the nic |
|
Power |
powerOnBoot()
Get the power |
| void |
validate()
Validates the instance. |
|
Network |
withDeviceKey(Integer deviceKey)
Set the device |
|
Network |
withIpSettings(NicIpSettings ipSettings)
Set the ip |
|
Network |
withName(String name)
Set the name property: Gets or sets the name of the network interface. |
|
Network |
withNetworkId(String networkId)
Set the network |
|
Network |
withNicType(NicType nicType)
Set the nic |
|
Network |
withPowerOnBoot(PowerOnBootOption powerOnBoot)
Set the power |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterface
public NetworkInterface()
Method Details
deviceKey
public Integer deviceKey()
Get the deviceKey property: Gets or sets the device key value.
Returns:
ipAddresses
public List<String> ipAddresses()
Get the ipAddresses property: Gets or sets the nic ip addresses.
Returns:
ipSettings
public NicIpSettings ipSettings()
Get the ipSettings property: Gets or sets the ipsettings.
Returns:
label
public String label()
Get the label property: Gets or sets the label of the virtual network in vCenter that the nic is connected to.
Returns:
macAddress
public String macAddress()
Get the macAddress property: Gets or sets the NIC MAC address.
Returns:
name
public String name()
Get the name property: Gets or sets the name of the network interface.
Returns:
networkId
public String networkId()
Get the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.
Returns:
networkMoName
public String networkMoName()
Get the networkMoName property: Gets or sets the name of the virtual network in vCenter that the nic is connected to.
Returns:
networkMoRefId
public String networkMoRefId()
Get the networkMoRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID of the virtual network that the nic is connected to.
Returns:
nicType
public NicType nicType()
Get the nicType property: NIC type.
Returns:
powerOnBoot
public PowerOnBootOption powerOnBoot()
Get the powerOnBoot property: Gets or sets the power on boot.
Returns:
validate
public void validate()
Validates the instance.
withDeviceKey
public NetworkInterface withDeviceKey(Integer deviceKey)
Set the deviceKey property: Gets or sets the device key value.
Parameters:
Returns:
withIpSettings
public NetworkInterface withIpSettings(NicIpSettings ipSettings)
Set the ipSettings property: Gets or sets the ipsettings.
Parameters:
Returns:
withName
public NetworkInterface withName(String name)
Set the name property: Gets or sets the name of the network interface.
Parameters:
Returns:
withNetworkId
public NetworkInterface withNetworkId(String networkId)
Set the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.
Parameters:
Returns:
withNicType
public NetworkInterface withNicType(NicType nicType)
Set the nicType property: NIC type.
Parameters:
Returns:
withPowerOnBoot
public NetworkInterface withPowerOnBoot(PowerOnBootOption powerOnBoot)
Set the powerOnBoot property: Gets or sets the power on boot.
Parameters:
Returns: