public class VirtualMachineScaleSetNetworkConfiguration
extends com.azure.core.management.SubResource
Constructor and Description |
---|
VirtualMachineScaleSetNetworkConfiguration() |
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
com.azure.core.management.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 |
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 |
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(com.azure.core.management.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.
|
public VirtualMachineScaleSetNetworkConfiguration()
public String name()
public VirtualMachineScaleSetNetworkConfiguration withName(String name)
name
- the name value to set.public Boolean primary()
public VirtualMachineScaleSetNetworkConfiguration withPrimary(Boolean primary)
primary
- the primary value to set.public Boolean enableAcceleratedNetworking()
public VirtualMachineScaleSetNetworkConfiguration withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
enableAcceleratedNetworking
- the enableAcceleratedNetworking value to set.public com.azure.core.management.SubResource networkSecurityGroup()
public VirtualMachineScaleSetNetworkConfiguration withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)
networkSecurityGroup
- the networkSecurityGroup value to set.public VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings()
public VirtualMachineScaleSetNetworkConfiguration withDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)
dnsSettings
- the dnsSettings value to set.public List<VirtualMachineScaleSetIpConfiguration> ipConfigurations()
public VirtualMachineScaleSetNetworkConfiguration withIpConfigurations(List<VirtualMachineScaleSetIpConfiguration> ipConfigurations)
ipConfigurations
- the ipConfigurations value to set.public Boolean enableIpForwarding()
public VirtualMachineScaleSetNetworkConfiguration withEnableIpForwarding(Boolean enableIpForwarding)
enableIpForwarding
- the enableIpForwarding value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.