public class VirtualMachineScaleSetUpdateNetworkConfiguration
extends com.azure.core.management.SubResource
Constructor and Description |
---|
VirtualMachineScaleSetUpdateNetworkConfiguration() |
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<VirtualMachineScaleSetUpdateIpConfiguration> |
ipConfigurations()
Get the ipConfigurations property: The virtual machine scale set IP Configuration.
|
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: Whether this is a primary NIC on a virtual machine.
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetUpdateNetworkConfiguration |
withDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)
Set the dnsSettings property: The dns settings to be applied on the network interfaces.
|
VirtualMachineScaleSetUpdateNetworkConfiguration |
withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
Set the enableAcceleratedNetworking property: Specifies whether the network interface is accelerated
networking-enabled.
|
VirtualMachineScaleSetUpdateNetworkConfiguration |
withEnableIpForwarding(Boolean enableIpForwarding)
Set the enableIpForwarding property: Whether IP forwarding enabled on this NIC.
|
VirtualMachineScaleSetUpdateNetworkConfiguration |
withIpConfigurations(List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations)
Set the ipConfigurations property: The virtual machine scale set IP Configuration.
|
VirtualMachineScaleSetUpdateNetworkConfiguration |
withName(String name)
Set the name property: The network configuration name.
|
VirtualMachineScaleSetUpdateNetworkConfiguration |
withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)
Set the networkSecurityGroup property: The network security group.
|
VirtualMachineScaleSetUpdateNetworkConfiguration |
withPrimary(Boolean primary)
Set the primary property: Whether this is a primary NIC on a virtual machine.
|
public VirtualMachineScaleSetUpdateNetworkConfiguration()
public String name()
public VirtualMachineScaleSetUpdateNetworkConfiguration withName(String name)
name
- the name value to set.public Boolean primary()
public VirtualMachineScaleSetUpdateNetworkConfiguration withPrimary(Boolean primary)
primary
- the primary value to set.public Boolean enableAcceleratedNetworking()
public VirtualMachineScaleSetUpdateNetworkConfiguration withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
enableAcceleratedNetworking
- the enableAcceleratedNetworking value to set.public com.azure.core.management.SubResource networkSecurityGroup()
public VirtualMachineScaleSetUpdateNetworkConfiguration withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)
networkSecurityGroup
- the networkSecurityGroup value to set.public VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings()
public VirtualMachineScaleSetUpdateNetworkConfiguration withDnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings)
dnsSettings
- the dnsSettings value to set.public List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations()
public VirtualMachineScaleSetUpdateNetworkConfiguration withIpConfigurations(List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations)
ipConfigurations
- the ipConfigurations value to set.public Boolean enableIpForwarding()
public VirtualMachineScaleSetUpdateNetworkConfiguration 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.