VirtualMachineNetworkInterfaceConfiguration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
VirtualMachineNetworkInterfaceConfiguration() |
Initializes a new instance of the VirtualMachineNetworkInterfaceConfiguration class. |
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource) |
Initializes a new instance of the VirtualMachineNetworkInterfaceConfiguration class. |
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource) |
Initializes a new instance of the VirtualMachineNetworkInterfaceConfiguration class. |
VirtualMachineNetworkInterfaceConfiguration()
Initializes a new instance of the VirtualMachineNetworkInterfaceConfiguration class.
public VirtualMachineNetworkInterfaceConfiguration ();
Public Sub New ()
Applies to
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource)
Initializes a new instance of the VirtualMachineNetworkInterfaceConfiguration class.
public VirtualMachineNetworkInterfaceConfiguration (string name, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration> ipConfigurations, bool? primary, string deleteOption, bool? enableAcceleratedNetworking, bool? enableFpga, bool? enableIPForwarding = default, Microsoft.Azure.Management.Compute.Models.SubResource networkSecurityGroup = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceDnsSettingsConfiguration dnsSettings = default, Microsoft.Azure.Management.Compute.Models.SubResource dscpConfiguration = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceConfiguration : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceDnsSettingsConfiguration * Microsoft.Azure.Management.Compute.Models.SubResource -> Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceConfiguration
Public Sub New (name As String, ipConfigurations As IList(Of VirtualMachineNetworkInterfaceIPConfiguration), primary As Nullable(Of Boolean), deleteOption As String, enableAcceleratedNetworking As Nullable(Of Boolean), enableFpga As Nullable(Of Boolean), Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional networkSecurityGroup As SubResource = Nothing, Optional dnsSettings As VirtualMachineNetworkInterfaceDnsSettingsConfiguration = Nothing, Optional dscpConfiguration As SubResource = Nothing)
Parameters
- name
- String
The network interface configuration name.
- ipConfigurations
- IList<VirtualMachineNetworkInterfaceIPConfiguration>
Specifies the IP configurations of the network interface.
Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- deleteOption
- String
Specify what happens to the network interface when the VM is deleted. Possible values include: 'Delete', 'Detach'
Specifies whether the network interface is accelerated networking-enabled.
- networkSecurityGroup
- SubResource
The network security group.
The dns settings to be applied on the network interfaces.
- dscpConfiguration
- SubResource
Applies to
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource)
Initializes a new instance of the VirtualMachineNetworkInterfaceConfiguration class.
public VirtualMachineNetworkInterfaceConfiguration (string name, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration> ipConfigurations, bool? primary = default, string deleteOption = default, bool? enableAcceleratedNetworking = default, bool? disableTcpStateTracking = default, bool? enableFpga = default, bool? enableIPForwarding = default, Microsoft.Azure.Management.Compute.Models.SubResource networkSecurityGroup = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceDnsSettingsConfiguration dnsSettings = default, Microsoft.Azure.Management.Compute.Models.SubResource dscpConfiguration = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceConfiguration : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceDnsSettingsConfiguration * Microsoft.Azure.Management.Compute.Models.SubResource -> Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceConfiguration
Public Sub New (name As String, ipConfigurations As IList(Of VirtualMachineNetworkInterfaceIPConfiguration), Optional primary As Nullable(Of Boolean) = Nothing, Optional deleteOption As String = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing, Optional disableTcpStateTracking As Nullable(Of Boolean) = Nothing, Optional enableFpga As Nullable(Of Boolean) = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional networkSecurityGroup As SubResource = Nothing, Optional dnsSettings As VirtualMachineNetworkInterfaceDnsSettingsConfiguration = Nothing, Optional dscpConfiguration As SubResource = Nothing)
Parameters
- name
- String
The network interface configuration name.
- ipConfigurations
- IList<VirtualMachineNetworkInterfaceIPConfiguration>
Specifies the IP configurations of the network interface.
Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- deleteOption
- String
Specify what happens to the network interface when the VM is deleted. Possible values include: 'Delete', 'Detach'
Specifies whether the network interface is accelerated networking-enabled.
Specifies whether the network interface is disabled for tcp state tracking.
- networkSecurityGroup
- SubResource
The network security group.
The dns settings to be applied on the network interfaces.
- dscpConfiguration
- SubResource
Applies to
Azure SDK for .NET