Class VirtualMachineScaleSetUpdateNetworkConfiguration
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateNetworkConfiguration
-
public final class VirtualMachineScaleSetUpdateNetworkConfiguration extends com.azure.core.management.SubResourceDescribes a virtual machine scale set network profile's network configurations.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetUpdateNetworkConfiguration()
-
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.Stringname()Get the name property: The network configuration name.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.VirtualMachineScaleSetUpdateNetworkConfigurationwithDeleteOption(DeleteOptions deleteOption)Set the deleteOption property: Specify what happens to the network interface when the VM is deleted.VirtualMachineScaleSetUpdateNetworkConfigurationwithDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)Set the dnsSettings property: The dns settings to be applied on the network interfaces.VirtualMachineScaleSetUpdateNetworkConfigurationwithEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)Set the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated networking-enabled.VirtualMachineScaleSetUpdateNetworkConfigurationwithEnableFpga(Boolean enableFpga)Set the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.VirtualMachineScaleSetUpdateNetworkConfigurationwithEnableIpForwarding(Boolean enableIpForwarding)Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.VirtualMachineScaleSetUpdateNetworkConfigurationwithId(String id)VirtualMachineScaleSetUpdateNetworkConfigurationwithIpConfigurations(List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations)Set the ipConfigurations property: The virtual machine scale set IP Configuration.VirtualMachineScaleSetUpdateNetworkConfigurationwithName(String name)Set the name property: The network configuration name.VirtualMachineScaleSetUpdateNetworkConfigurationwithNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)Set the networkSecurityGroup property: The network security group.VirtualMachineScaleSetUpdateNetworkConfigurationwithPrimary(Boolean primary)Set the primary property: Whether this is a primary NIC on a virtual machine.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The network configuration name.- Returns:
- the name value.
-
withName
public VirtualMachineScaleSetUpdateNetworkConfiguration withName(String name)
Set the name property: The network configuration name.- Parameters:
name- the name value to set.- Returns:
- the VirtualMachineScaleSetUpdateNetworkConfiguration object itself.
-
withId
public VirtualMachineScaleSetUpdateNetworkConfiguration withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
primary
public Boolean primary()
Get the primary property: Whether this is a primary NIC on a virtual machine.- Returns:
- the primary value.
-
withPrimary
public VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration object itself.
-
networkSecurityGroup
public com.azure.core.management.SubResource networkSecurityGroup()
Get the networkSecurityGroup property: The network security group.- Returns:
- the networkSecurityGroup value.
-
withNetworkSecurityGroup
public VirtualMachineScaleSetUpdateNetworkConfiguration withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)
Set the networkSecurityGroup property: The network security group.- Parameters:
networkSecurityGroup- the networkSecurityGroup value to set.- Returns:
- the VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration object itself.
-
ipConfigurations
public List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations()
Get the ipConfigurations property: The virtual machine scale set IP Configuration.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
public VirtualMachineScaleSetUpdateNetworkConfiguration withIpConfigurations(List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations)
Set the ipConfigurations property: The virtual machine scale set IP Configuration.- Parameters:
ipConfigurations- the ipConfigurations value to set.- Returns:
- the VirtualMachineScaleSetUpdateNetworkConfiguration object itself.
-
enableIpForwarding
public Boolean enableIpForwarding()
Get the enableIpForwarding property: Whether IP forwarding enabled on this NIC.- Returns:
- the enableIpForwarding value.
-
withEnableIpForwarding
public VirtualMachineScaleSetUpdateNetworkConfiguration withEnableIpForwarding(Boolean enableIpForwarding)
Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.- Parameters:
enableIpForwarding- the enableIpForwarding value to set.- Returns:
- the VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration 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 VirtualMachineScaleSetUpdateNetworkConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-