你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineNetworkInterfaceConfiguration 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
VirtualMachineNetworkInterfaceConfiguration() |
初始化 VirtualMachineNetworkInterfaceConfiguration 类的新实例。 |
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource) |
初始化 VirtualMachineNetworkInterfaceConfiguration 类的新实例。 |
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource) |
初始化 VirtualMachineNetworkInterfaceConfiguration 类的新实例。 |
VirtualMachineNetworkInterfaceConfiguration()
初始化 VirtualMachineNetworkInterfaceConfiguration 类的新实例。
public VirtualMachineNetworkInterfaceConfiguration ();
Public Sub New ()
适用于
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource)
初始化 VirtualMachineNetworkInterfaceConfiguration 类的新实例。
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)
参数
- name
- String
网络接口配置名称。
- ipConfigurations
- IList<VirtualMachineNetworkInterfaceIPConfiguration>
指定网络接口的 IP 配置。
- deleteOption
- String
指定删除 VM 时网络接口会发生什么情况。 可能的值包括:“Delete”、“Detach”
- networkSecurityGroup
- SubResource
网络安全组。
要应用于网络接口的 DNS 设置。
- dscpConfiguration
- SubResource
适用于
VirtualMachineNetworkInterfaceConfiguration(String, IList<VirtualMachineNetworkInterfaceIPConfiguration>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineNetworkInterfaceDnsSettingsConfiguration, SubResource)
初始化 VirtualMachineNetworkInterfaceConfiguration 类的新实例。
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)
参数
- name
- String
网络接口配置名称。
- ipConfigurations
- IList<VirtualMachineNetworkInterfaceIPConfiguration>
指定网络接口的 IP 配置。
- deleteOption
- String
指定删除 VM 时网络接口会发生什么情况。 可能的值包括:“Delete”、“Detach”
- networkSecurityGroup
- SubResource
网络安全组。
要应用于网络接口的 DNS 设置。
- dscpConfiguration
- SubResource