Class 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 Detail

      • VirtualMachineScaleSetUpdateNetworkConfigurationProperties

        public VirtualMachineScaleSetUpdateNetworkConfigurationProperties()
    • Method Detail

      • primary

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

        public VirtualMachineScaleSetUpdateNetworkConfigurationProperties withPrimary​(Boolean primary)
        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

        public VirtualMachineScaleSetUpdateNetworkConfigurationProperties withEnableFpga​(Boolean enableFpga)
        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.
      • 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

        public VirtualMachineScaleSetUpdateNetworkConfigurationProperties withDeleteOption​(DeleteOptions deleteOption)
        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.