你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineScaleSetNetworkConfiguration 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
VirtualMachineScaleSetNetworkConfiguration()
初始化 VirtualMachineScaleSetNetworkConfiguration 类的新实例。
public VirtualMachineScaleSetNetworkConfiguration ();
Public Sub New ()
适用于
VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)
初始化 VirtualMachineScaleSetNetworkConfiguration 类的新实例。
public VirtualMachineScaleSetNetworkConfiguration (string name, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> ipConfigurations, bool? primary = default, bool? enableAcceleratedNetworking = default, bool? disableTcpStateTracking = default, bool? enableFpga = default, Microsoft.Azure.Management.Compute.Models.SubResource networkSecurityGroup = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings = default, bool? enableIPForwarding = default, string deleteOption = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfiguration : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings * Nullable<bool> * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfiguration
Public Sub New (name As String, ipConfigurations As IList(Of VirtualMachineScaleSetIPConfiguration), Optional primary As Nullable(Of Boolean) = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing, Optional disableTcpStateTracking As Nullable(Of Boolean) = Nothing, Optional enableFpga As Nullable(Of Boolean) = Nothing, Optional networkSecurityGroup As SubResource = Nothing, Optional dnsSettings As VirtualMachineScaleSetNetworkConfigurationDnsSettings = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional deleteOption As String = Nothing)
参数
- name
- String
网络配置名称。
- ipConfigurations
- IList<VirtualMachineScaleSetIPConfiguration>
指定网络接口的 IP 配置。
- networkSecurityGroup
- SubResource
网络安全组。
要应用于网络接口的 dns 设置。
- deleteOption
- String
指定删除 VM 时网络接口会发生什么情况。 可能的值包括:“Delete”、“Detach”
适用于
VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)
初始化 VirtualMachineScaleSetNetworkConfiguration 类的新实例。
public VirtualMachineScaleSetNetworkConfiguration (string name, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> ipConfigurations, string id, bool? primary, bool? enableAcceleratedNetworking, bool? enableFpga, Microsoft.Azure.Management.Compute.Models.SubResource networkSecurityGroup = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings = default, bool? enableIPForwarding = default, string deleteOption = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfiguration : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings * Nullable<bool> * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfiguration
Public Sub New (name As String, ipConfigurations As IList(Of VirtualMachineScaleSetIPConfiguration), id As String, primary As Nullable(Of Boolean), enableAcceleratedNetworking As Nullable(Of Boolean), enableFpga As Nullable(Of Boolean), Optional networkSecurityGroup As SubResource = Nothing, Optional dnsSettings As VirtualMachineScaleSetNetworkConfigurationDnsSettings = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional deleteOption As String = Nothing)
参数
- name
- String
网络配置名称。
- ipConfigurations
- IList<VirtualMachineScaleSetIPConfiguration>
指定网络接口的 IP 配置。
- id
- String
资源 ID
- networkSecurityGroup
- SubResource
网络安全组。
要应用于网络接口的 dns 设置。
- deleteOption
- String
指定删除 VM 时网络接口会发生什么情况。 可能的值包括:“Delete”、“Detach”
适用于
VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)
初始化 VirtualMachineScaleSetNetworkConfiguration 类的新实例。
public VirtualMachineScaleSetNetworkConfiguration (string name, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> ipConfigurations, string id, bool? primary = default, bool? enableAcceleratedNetworking = default, bool? disableTcpStateTracking = default, bool? enableFpga = default, Microsoft.Azure.Management.Compute.Models.SubResource networkSecurityGroup = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings = default, bool? enableIPForwarding = default, string deleteOption = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfiguration : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings * Nullable<bool> * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfiguration
Public Sub New (name As String, ipConfigurations As IList(Of VirtualMachineScaleSetIPConfiguration), id As String, Optional primary As Nullable(Of Boolean) = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing, Optional disableTcpStateTracking As Nullable(Of Boolean) = Nothing, Optional enableFpga As Nullable(Of Boolean) = Nothing, Optional networkSecurityGroup As SubResource = Nothing, Optional dnsSettings As VirtualMachineScaleSetNetworkConfigurationDnsSettings = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional deleteOption As String = Nothing)
参数
- name
- String
网络配置名称。
- ipConfigurations
- IList<VirtualMachineScaleSetIPConfiguration>
指定网络接口的 IP 配置。
- id
- String
资源 ID
- networkSecurityGroup
- SubResource
网络安全组。
要应用于网络接口的 dns 设置。
- deleteOption
- String
指定删除 VM 时网络接口会发生什么情况。 可能的值包括:“Delete”、“Detach”