Class VirtualMachineScaleSetUpdateNetworkConfigurationProperties

java.lang.Object
com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetUpdateNetworkConfigurationProperties

public final class VirtualMachineScaleSetUpdateNetworkConfigurationProperties extends Object
Describes a virtual machine scale set updatable network profile's IP configuration.Use this object for updating network profile's IP Configuration.
  • Constructor Details

    • VirtualMachineScaleSetUpdateNetworkConfigurationProperties

      public VirtualMachineScaleSetUpdateNetworkConfigurationProperties()
  • Method Details

    • primary

      public Boolean primary()
      Get the primary property: Whether this is a primary NIC on a virtual machine.
      Returns:
      the primary value.
    • withPrimary

      Set the primary property: Whether this is a primary NIC on a virtual machine.
      Parameters:
      primary - the primary value to set.
      Returns:
      the VirtualMachineScaleSetUpdateNetworkConfigurationProperties object itself.
    • enableAcceleratedNetworking

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

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

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

      Set the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.
      Parameters:
      enableFpga - the enableFpga value to set.
      Returns:
      the VirtualMachineScaleSetUpdateNetworkConfigurationProperties object itself.
    • networkSecurityGroup

      public com.azure.core.management.SubResource networkSecurityGroup()
      Get the networkSecurityGroup property: The network security group.
      Returns:
      the networkSecurityGroup value.
    • withNetworkSecurityGroup

      public VirtualMachineScaleSetUpdateNetworkConfigurationProperties withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)
      Set the networkSecurityGroup property: The network security group.
      Parameters:
      networkSecurityGroup - the networkSecurityGroup value to set.
      Returns:
      the VirtualMachineScaleSetUpdateNetworkConfigurationProperties object itself.
    • dnsSettings

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

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

      Get the ipConfigurations property: The virtual machine scale set IP Configuration.
      Returns:
      the ipConfigurations value.
    • withIpConfigurations

      Set the ipConfigurations property: The virtual machine scale set IP Configuration.
      Parameters:
      ipConfigurations - the ipConfigurations value to set.
      Returns:
      the VirtualMachineScaleSetUpdateNetworkConfigurationProperties object itself.
    • enableIpForwarding

      public Boolean enableIpForwarding()
      Get the enableIpForwarding property: Whether IP forwarding enabled on this NIC.
      Returns:
      the enableIpForwarding value.
    • withEnableIpForwarding

      public VirtualMachineScaleSetUpdateNetworkConfigurationProperties withEnableIpForwarding(Boolean enableIpForwarding)
      Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.
      Parameters:
      enableIpForwarding - the enableIpForwarding value to set.
      Returns:
      the VirtualMachineScaleSetUpdateNetworkConfigurationProperties object itself.
    • deleteOption

      public DeleteOptions deleteOption()
      Get the deleteOption property: Specify what happens to the network interface when the VM is deleted.
      Returns:
      the deleteOption value.
    • withDeleteOption

      Set the deleteOption property: Specify what happens to the network interface when the VM is deleted.
      Parameters:
      deleteOption - the deleteOption value to set.
      Returns:
      the VirtualMachineScaleSetUpdateNetworkConfigurationProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.