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 Summary
Constructors Constructor Description VirtualMachineScaleSetUpdateNetworkConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteOptionsdeleteOption()Get the deleteOption property: Specify what happens to the network interface when the VM is deleted.VirtualMachineScaleSetNetworkConfigurationDnsSettingsdnsSettings()Get the dnsSettings property: The dns settings to be applied on the network interfaces.BooleanenableAcceleratedNetworking()Get the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated networking-enabled.BooleanenableFpga()Get the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.BooleanenableIpForwarding()Get the enableIpForwarding property: Whether IP forwarding enabled on this NIC.List<VirtualMachineScaleSetUpdateIpConfiguration>ipConfigurations()Get the ipConfigurations property: The virtual machine scale set IP Configuration.com.azure.core.management.SubResourcenetworkSecurityGroup()Get the networkSecurityGroup property: The network security group.Booleanprimary()Get the primary property: Whether this is a primary NIC on a virtual machine.voidvalidate()Validates the instance.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithDeleteOption(DeleteOptions deleteOption)Set the deleteOption property: Specify what happens to the network interface when the VM is deleted.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)Set the dnsSettings property: The dns settings to be applied on the network interfaces.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)Set the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated networking-enabled.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithEnableFpga(Boolean enableFpga)Set the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithEnableIpForwarding(Boolean enableIpForwarding)Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithIpConfigurations(List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations)Set the ipConfigurations property: The virtual machine scale set IP Configuration.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)Set the networkSecurityGroup property: The network security group.VirtualMachineScaleSetUpdateNetworkConfigurationPropertieswithPrimary(Boolean primary)Set the primary property: Whether this is a primary NIC on a virtual machine.
-
-
-
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.
-
dnsSettings
public VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings()
Get the dnsSettings property: The dns settings to be applied on the network interfaces.- Returns:
- the dnsSettings value.
-
withDnsSettings
public VirtualMachineScaleSetUpdateNetworkConfigurationProperties withDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)
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
public List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations()
Get the ipConfigurations property: The virtual machine scale set IP Configuration.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
public VirtualMachineScaleSetUpdateNetworkConfigurationProperties withIpConfigurations(List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations)
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
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.
-
-