Class NetworkInterfaceReference

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 Details

    • NetworkInterfaceReference

      public NetworkInterfaceReference()
  • Method Details

    • primary

      public Boolean primary()
      Get specifies the primary network interface in case the virtual machine has more than 1 network interface.
      Returns:
      the primary value
    • withPrimary

      public NetworkInterfaceReference withPrimary(Boolean primary)
      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.