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 Summary
Constructors
-
Method Summary
Get the deleteOption property: Specify what happens to the network interface when the VM is deleted.
Get the dnsSettings property: The dns settings to be applied on the network interfaces.
Get the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated
networking-enabled.
Get the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.
Get the enableIpForwarding property: Whether IP forwarding enabled on this NIC.
Get the ipConfigurations property: The virtual machine scale set IP Configuration.
com.azure.core.management.SubResource
Get the networkSecurityGroup property: The network security group.
Get the primary property: Whether this is a primary NIC on a virtual machine.
void
Set the deleteOption property: Specify what happens to the network interface when the VM is deleted.
Set the dnsSettings property: The dns settings to be applied on the network interfaces.
Set the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated
networking-enabled.
Set the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.
Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.
Set the ipConfigurations property: The virtual machine scale set IP Configuration.
Set the networkSecurityGroup property: The network security group.
Set the primary property: Whether this is a primary NIC on a virtual machine.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VirtualMachineScaleSetUpdateNetworkConfigurationProperties
public VirtualMachineScaleSetUpdateNetworkConfigurationProperties()
-
Method Details
-
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
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
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
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
Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.
- Parameters:
enableIpForwarding - the enableIpForwarding value to set.
- Returns:
- the VirtualMachineScaleSetUpdateNetworkConfigurationProperties object itself.
-
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.