Class VirtualMachineScaleSetNetworkConfiguration

java.lang.Object
com.microsoft.azure.SubResource
com.microsoft.azure.management.compute.VirtualMachineScaleSetNetworkConfiguration

public class VirtualMachineScaleSetNetworkConfiguration extends com.microsoft.azure.SubResource
Describes a virtual machine scale set network profile's network configurations.
  • Constructor Details

    • VirtualMachineScaleSetNetworkConfiguration

      public VirtualMachineScaleSetNetworkConfiguration()
  • Method Details

    • name

      public String name()
      Get the network configuration name.
      Returns:
      the name value
    • withName

      Set the network configuration name.
      Parameters:
      name - the name value to set
      Returns:
      the VirtualMachineScaleSetNetworkConfiguration object itself.
    • 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

      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 VirtualMachineScaleSetNetworkConfiguration object itself.
    • enableAcceleratedNetworking

      public Boolean enableAcceleratedNetworking()
      Get specifies whether the network interface is accelerated networking-enabled.
      Returns:
      the enableAcceleratedNetworking value
    • withEnableAcceleratedNetworking

      public VirtualMachineScaleSetNetworkConfiguration withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
      Set specifies whether the network interface is accelerated networking-enabled.
      Parameters:
      enableAcceleratedNetworking - the enableAcceleratedNetworking value to set
      Returns:
      the VirtualMachineScaleSetNetworkConfiguration object itself.
    • enableFpga

      public Boolean enableFpga()
      Get specifies whether the network interface is FPGA networking-enabled.
      Returns:
      the enableFpga value
    • withEnableFpga

      public VirtualMachineScaleSetNetworkConfiguration withEnableFpga(Boolean enableFpga)
      Set specifies whether the network interface is FPGA networking-enabled.
      Parameters:
      enableFpga - the enableFpga value to set
      Returns:
      the VirtualMachineScaleSetNetworkConfiguration object itself.
    • networkSecurityGroup

      public com.microsoft.azure.SubResource networkSecurityGroup()
      Get the network security group.
      Returns:
      the networkSecurityGroup value
    • withNetworkSecurityGroup

      public VirtualMachineScaleSetNetworkConfiguration withNetworkSecurityGroup(com.microsoft.azure.SubResource networkSecurityGroup)
      Set the network security group.
      Parameters:
      networkSecurityGroup - the networkSecurityGroup value to set
      Returns:
      the VirtualMachineScaleSetNetworkConfiguration object itself.
    • dnsSettings

      Get the dns settings to be applied on the network interfaces.
      Returns:
      the dnsSettings value
    • withDnsSettings

      Set the dns settings to be applied on the network interfaces.
      Parameters:
      dnsSettings - the dnsSettings value to set
      Returns:
      the VirtualMachineScaleSetNetworkConfiguration object itself.
    • ipConfigurations

      public List<VirtualMachineScaleSetIPConfiguration> ipConfigurations()
      Get specifies the IP configurations of the network interface.
      Returns:
      the ipConfigurations value
    • withIpConfigurations

      Set specifies the IP configurations of the network interface.
      Parameters:
      ipConfigurations - the ipConfigurations value to set
      Returns:
      the VirtualMachineScaleSetNetworkConfiguration object itself.
    • enableIPForwarding

      public Boolean enableIPForwarding()
      Get whether IP forwarding enabled on this NIC.
      Returns:
      the enableIPForwarding value
    • withEnableIPForwarding

      public VirtualMachineScaleSetNetworkConfiguration withEnableIPForwarding(Boolean enableIPForwarding)
      Set whether IP forwarding enabled on this NIC.
      Parameters:
      enableIPForwarding - the enableIPForwarding value to set
      Returns:
      the VirtualMachineScaleSetNetworkConfiguration object itself.