VirtualMachineScaleSetNetworkConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.VirtualMachineScaleSetNetworkConfiguration

public final class VirtualMachineScaleSetNetworkConfiguration

Describes a virtual machine scale set network profile's network configurations.

Constructor Summary

Constructor Description
VirtualMachineScaleSetNetworkConfiguration()

Creates an instance of VirtualMachineScaleSetNetworkConfiguration class.

Method Summary

Modifier and Type Method and Description
NetworkInterfaceAuxiliaryMode auxiliaryMode()

Get the auxiliaryMode property: Specifies whether the Auxiliary mode is enabled for the Network Interface resource.

NetworkInterfaceAuxiliarySku auxiliarySku()

Get the auxiliarySku property: Specifies whether the Auxiliary sku is enabled for the Network Interface resource.

DeleteOptions deleteOption()

Get the deleteOption property: Specify what happens to the network interface when the VM is deleted.

Boolean disableTcpStateTracking()

Get the disableTcpStateTracking property: Specifies whether the network interface is disabled for tcp state tracking.

VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings()

Get the dnsSettings property: The dns settings to be applied on the network interfaces.

Boolean enableAcceleratedNetworking()

Get the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated networking-enabled.

Boolean enableFpga()

Get the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.

Boolean enableIpForwarding()

Get the enableIpForwarding property: Whether IP forwarding enabled on this NIC.

List<VirtualMachineScaleSetIpConfiguration> ipConfigurations()

Get the ipConfigurations property: Specifies the IP configurations of the network interface.

String name()

Get the name property: The network configuration name.

SubResource networkSecurityGroup()

Get the networkSecurityGroup property: The network security group.

Boolean primary()

Get the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface.

void validate()

Validates the instance.

VirtualMachineScaleSetNetworkConfiguration withAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode)

Set the auxiliaryMode property: Specifies whether the Auxiliary mode is enabled for the Network Interface resource.

VirtualMachineScaleSetNetworkConfiguration withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku)

Set the auxiliarySku property: Specifies whether the Auxiliary sku is enabled for the Network Interface resource.

VirtualMachineScaleSetNetworkConfiguration withDeleteOption(DeleteOptions deleteOption)

Set the deleteOption property: Specify what happens to the network interface when the VM is deleted.

VirtualMachineScaleSetNetworkConfiguration withDisableTcpStateTracking(Boolean disableTcpStateTracking)

Set the disableTcpStateTracking property: Specifies whether the network interface is disabled for tcp state tracking.

VirtualMachineScaleSetNetworkConfiguration withDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)

Set the dnsSettings property: The dns settings to be applied on the network interfaces.

VirtualMachineScaleSetNetworkConfiguration withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)

Set the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated networking-enabled.

VirtualMachineScaleSetNetworkConfiguration withEnableFpga(Boolean enableFpga)

Set the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.

VirtualMachineScaleSetNetworkConfiguration withEnableIpForwarding(Boolean enableIpForwarding)

Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.

VirtualMachineScaleSetNetworkConfiguration withIpConfigurations(List<VirtualMachineScaleSetIpConfiguration> ipConfigurations)

Set the ipConfigurations property: Specifies the IP configurations of the network interface.

VirtualMachineScaleSetNetworkConfiguration withName(String name)

Set the name property: The network configuration name.

VirtualMachineScaleSetNetworkConfiguration withNetworkSecurityGroup(SubResource networkSecurityGroup)

Set the networkSecurityGroup property: The network security group.

VirtualMachineScaleSetNetworkConfiguration withPrimary(Boolean primary)

Set the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineScaleSetNetworkConfiguration

public VirtualMachineScaleSetNetworkConfiguration()

Creates an instance of VirtualMachineScaleSetNetworkConfiguration class.

Method Details

auxiliaryMode

public NetworkInterfaceAuxiliaryMode auxiliaryMode()

Get the auxiliaryMode property: Specifies whether the Auxiliary mode is enabled for the Network Interface resource.

Returns:

the auxiliaryMode value.

auxiliarySku

public NetworkInterfaceAuxiliarySku auxiliarySku()

Get the auxiliarySku property: Specifies whether the Auxiliary sku is enabled for the Network Interface resource.

Returns:

the auxiliarySku value.

deleteOption

public DeleteOptions deleteOption()

Get the deleteOption property: Specify what happens to the network interface when the VM is deleted.

Returns:

the deleteOption value.

disableTcpStateTracking

public Boolean disableTcpStateTracking()

Get the disableTcpStateTracking property: Specifies whether the network interface is disabled for tcp state tracking.

Returns:

the disableTcpStateTracking value.

dnsSettings

public VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings()

Get the dnsSettings property: The dns settings to be applied on the network interfaces.

Returns:

the dnsSettings value.

enableAcceleratedNetworking

public Boolean enableAcceleratedNetworking()

Get the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated networking-enabled.

Returns:

the enableAcceleratedNetworking value.

enableFpga

public Boolean enableFpga()

Get the enableFpga property: Specifies whether the network interface is FPGA networking-enabled.

Returns:

the enableFpga value.

enableIpForwarding

public Boolean enableIpForwarding()

Get the enableIpForwarding property: Whether IP forwarding enabled on this NIC.

Returns:

the enableIpForwarding value.

ipConfigurations

public List ipConfigurations()

Get the ipConfigurations property: Specifies the IP configurations of the network interface.

Returns:

the ipConfigurations value.

name

public String name()

Get the name property: The network configuration name.

Returns:

the name value.

networkSecurityGroup

public SubResource networkSecurityGroup()

Get the networkSecurityGroup property: The network security group.

Returns:

the networkSecurityGroup value.

primary

public Boolean primary()

Get the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface.

Returns:

the primary value.

validate

public void validate()

Validates the instance.

withAuxiliaryMode

public VirtualMachineScaleSetNetworkConfiguration withAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode)

Set the auxiliaryMode property: Specifies whether the Auxiliary mode is enabled for the Network Interface resource.

Parameters:

auxiliaryMode - the auxiliaryMode value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

withAuxiliarySku

public VirtualMachineScaleSetNetworkConfiguration withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku)

Set the auxiliarySku property: Specifies whether the Auxiliary sku is enabled for the Network Interface resource.

Parameters:

auxiliarySku - the auxiliarySku value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

withDeleteOption

public VirtualMachineScaleSetNetworkConfiguration 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 VirtualMachineScaleSetNetworkConfiguration object itself.

withDisableTcpStateTracking

public VirtualMachineScaleSetNetworkConfiguration withDisableTcpStateTracking(Boolean disableTcpStateTracking)

Set the disableTcpStateTracking property: Specifies whether the network interface is disabled for tcp state tracking.

Parameters:

disableTcpStateTracking - the disableTcpStateTracking value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

withDnsSettings

public VirtualMachineScaleSetNetworkConfiguration 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 VirtualMachineScaleSetNetworkConfiguration object itself.

withEnableAcceleratedNetworking

public VirtualMachineScaleSetNetworkConfiguration 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 VirtualMachineScaleSetNetworkConfiguration object itself.

withEnableFpga

public VirtualMachineScaleSetNetworkConfiguration 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 VirtualMachineScaleSetNetworkConfiguration object itself.

withEnableIpForwarding

public VirtualMachineScaleSetNetworkConfiguration withEnableIpForwarding(Boolean enableIpForwarding)

Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.

Parameters:

enableIpForwarding - the enableIpForwarding value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

withIpConfigurations

public VirtualMachineScaleSetNetworkConfiguration withIpConfigurations(List ipConfigurations)

Set the ipConfigurations property: Specifies the IP configurations of the network interface.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

withName

public VirtualMachineScaleSetNetworkConfiguration withName(String name)

Set the name property: The network configuration name.

Parameters:

name - the name value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

withNetworkSecurityGroup

public VirtualMachineScaleSetNetworkConfiguration withNetworkSecurityGroup(SubResource networkSecurityGroup)

Set the networkSecurityGroup property: The network security group.

Parameters:

networkSecurityGroup - the networkSecurityGroup value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

withPrimary

public VirtualMachineScaleSetNetworkConfiguration withPrimary(Boolean primary)

Set the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface.

Parameters:

primary - the primary value to set.

Returns:

the VirtualMachineScaleSetNetworkConfiguration object itself.

Applies to