java.lang.Object
com.microsoft.azure.SubResource
com.microsoft.azure.management.compute.NetworkInterfaceReference
public class NetworkInterfaceReference
extends com.microsoft.azure.SubResource
Describes a network interface reference.
-
Constructor Summary
Constructors
-
Method Summary
Get specifies the primary network interface in case the virtual machine has more than 1 network interface.
Set specifies the primary network interface in case the virtual machine has more than 1 network interface.
Methods inherited from class com.microsoft.azure.SubResource
id, withId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NetworkInterfaceReference
public NetworkInterfaceReference()
-
Method Details
-
primary
Get specifies the primary network interface in case the virtual machine has more than 1 network interface.
- Returns:
- the primary value
-
withPrimary
Set specifies the primary network interface in case the virtual machine has more than 1 network interface.
- Parameters:
primary
- the primary value to set
- Returns:
- the NetworkInterfaceReference object itself.