次の方法で共有


NetworkInterface Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedvmware.models.NetworkInterface

public final class NetworkInterface

Network Interface model.

Constructor Summary

Constructor Description
NetworkInterface()

Method Summary

Modifier and Type Method and Description
Integer deviceKey()

Get the deviceKey property: Gets or sets the device key value.

List<String> ipAddresses()

Get the ipAddresses property: Gets or sets the nic ip addresses.

NicIpSettings ipSettings()

Get the ipSettings property: Gets or sets the ipsettings.

String label()

Get the label property: Gets or sets the label of the virtual network in vCenter that the nic is connected to.

String macAddress()

Get the macAddress property: Gets or sets the NIC MAC address.

String name()

Get the name property: Gets or sets the name of the network interface.

String networkId()

Get the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.

String networkMoName()

Get the networkMoName property: Gets or sets the name of the virtual network in vCenter that the nic is connected to.

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.

NicType nicType()

Get the nicType property: NIC type.

PowerOnBootOption powerOnBoot()

Get the powerOnBoot property: Gets or sets the power on boot.

void validate()

Validates the instance.

NetworkInterface withDeviceKey(Integer deviceKey)

Set the deviceKey property: Gets or sets the device key value.

NetworkInterface withIpSettings(NicIpSettings ipSettings)

Set the ipSettings property: Gets or sets the ipsettings.

NetworkInterface withName(String name)

Set the name property: Gets or sets the name of the network interface.

NetworkInterface withNetworkId(String networkId)

Set the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.

NetworkInterface withNicType(NicType nicType)

Set the nicType property: NIC type.

NetworkInterface withPowerOnBoot(PowerOnBootOption powerOnBoot)

Set the powerOnBoot property: Gets or sets the power on boot.

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:

the deviceKey value.

ipAddresses

public List<String> ipAddresses()

Get the ipAddresses property: Gets or sets the nic ip addresses.

Returns:

the ipAddresses value.

ipSettings

public NicIpSettings ipSettings()

Get the ipSettings property: Gets or sets the ipsettings.

Returns:

the ipSettings value.

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:

the label value.

macAddress

public String macAddress()

Get the macAddress property: Gets or sets the NIC MAC address.

Returns:

the macAddress value.

name

public String name()

Get the name property: Gets or sets the name of the network interface.

Returns:

the name value.

networkId

public String networkId()

Get the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.

Returns:

the networkId value.

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:

the networkMoName value.

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:

the networkMoRefId value.

nicType

public NicType nicType()

Get the nicType property: NIC type.

Returns:

the nicType value.

powerOnBoot

public PowerOnBootOption powerOnBoot()

Get the powerOnBoot property: Gets or sets the power on boot.

Returns:

the powerOnBoot value.

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:

deviceKey - the deviceKey value to set.

Returns:

the NetworkInterface object itself.

withIpSettings

public NetworkInterface withIpSettings(NicIpSettings ipSettings)

Set the ipSettings property: Gets or sets the ipsettings.

Parameters:

ipSettings - the ipSettings value to set.

Returns:

the NetworkInterface object itself.

withName

public NetworkInterface withName(String name)

Set the name property: Gets or sets the name of the network interface.

Parameters:

name - the name value to set.

Returns:

the NetworkInterface object itself.

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:

networkId - the networkId value to set.

Returns:

the NetworkInterface object itself.

withNicType

public NetworkInterface withNicType(NicType nicType)

Set the nicType property: NIC type.

Parameters:

nicType - the nicType value to set.

Returns:

the NetworkInterface object itself.

withPowerOnBoot

public NetworkInterface withPowerOnBoot(PowerOnBootOption powerOnBoot)

Set the powerOnBoot property: Gets or sets the power on boot.

Parameters:

powerOnBoot - the powerOnBoot value to set.

Returns:

the NetworkInterface object itself.

Applies to