public class VirtualMachineScaleSetNetworkConfiguration extends SubResource
Constructor and Description |
---|
VirtualMachineScaleSetNetworkConfiguration() |
Modifier and Type | Method and Description |
---|---|
VirtualMachineScaleSetNetworkConfigurationDnsSettings |
dnsSettings()
Get the dns settings to be applied on the network interfaces.
|
Boolean |
enableAcceleratedNetworking()
Get specifies whether the network interface is accelerated networking-enabled.
|
Boolean |
enableIPForwarding()
Get whether IP forwarding enabled on this NIC.
|
List<VirtualMachineScaleSetIPConfiguration> |
ipConfigurations()
Get specifies the IP configurations of the network interface.
|
String |
name()
Get the network configuration name.
|
SubResource |
networkSecurityGroup()
Get the network security group.
|
Boolean |
primary()
Get specifies the primary network interface in case the virtual machine has more than 1 network interface.
|
VirtualMachineScaleSetNetworkConfiguration |
withDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)
Set the dns settings to be applied on the network interfaces.
|
VirtualMachineScaleSetNetworkConfiguration |
withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
Set specifies whether the network interface is accelerated networking-enabled.
|
VirtualMachineScaleSetNetworkConfiguration |
withEnableIPForwarding(Boolean enableIPForwarding)
Set whether IP forwarding enabled on this NIC.
|
VirtualMachineScaleSetNetworkConfiguration |
withIpConfigurations(List<VirtualMachineScaleSetIPConfiguration> ipConfigurations)
Set specifies the IP configurations of the network interface.
|
VirtualMachineScaleSetNetworkConfiguration |
withName(String name)
Set the network configuration name.
|
VirtualMachineScaleSetNetworkConfiguration |
withNetworkSecurityGroup(SubResource networkSecurityGroup)
Set the network security group.
|
VirtualMachineScaleSetNetworkConfiguration |
withPrimary(Boolean primary)
Set specifies the primary network interface in case the virtual machine has more than 1 network interface.
|
id, withId
public VirtualMachineScaleSetNetworkConfiguration()
public String name()
public VirtualMachineScaleSetNetworkConfiguration withName(String name)
name
- the name value to setpublic Boolean primary()
public VirtualMachineScaleSetNetworkConfiguration withPrimary(Boolean primary)
primary
- the primary value to setpublic Boolean enableAcceleratedNetworking()
public VirtualMachineScaleSetNetworkConfiguration withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
enableAcceleratedNetworking
- the enableAcceleratedNetworking value to setpublic SubResource networkSecurityGroup()
public VirtualMachineScaleSetNetworkConfiguration withNetworkSecurityGroup(SubResource networkSecurityGroup)
networkSecurityGroup
- the networkSecurityGroup value to setpublic VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings()
public VirtualMachineScaleSetNetworkConfiguration withDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)
dnsSettings
- the dnsSettings value to setpublic List<VirtualMachineScaleSetIPConfiguration> ipConfigurations()
public VirtualMachineScaleSetNetworkConfiguration withIpConfigurations(List<VirtualMachineScaleSetIPConfiguration> ipConfigurations)
ipConfigurations
- the ipConfigurations value to setpublic Boolean enableIPForwarding()
public VirtualMachineScaleSetNetworkConfiguration withEnableIPForwarding(Boolean enableIPForwarding)
enableIPForwarding
- the enableIPForwarding value to setCopyright © 2019. All rights reserved.