共用方式為


VirtualMachineScaleSetNetworkConfiguration Constructors

Definition

Overloads

VirtualMachineScaleSetNetworkConfiguration()

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

VirtualMachineScaleSetNetworkConfiguration()

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

public VirtualMachineScaleSetNetworkConfiguration ();
Public Sub New ()

Applies to

VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

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)

Parameters

name
String

The network configuration name.

ipConfigurations
IList<VirtualMachineScaleSetIPConfiguration>

Specifies the IP configurations of the network interface.

primary
Nullable<Boolean>

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

enableAcceleratedNetworking
Nullable<Boolean>

Specifies whether the network interface is accelerated networking-enabled.

disableTcpStateTracking
Nullable<Boolean>

Specifies whether the network interface is disabled for tcp state tracking.

enableFpga
Nullable<Boolean>

Specifies whether the network interface is FPGA networking-enabled.

networkSecurityGroup
SubResource

The network security group.

dnsSettings
VirtualMachineScaleSetNetworkConfigurationDnsSettings

The dns settings to be applied on the network interfaces.

enableIPForwarding
Nullable<Boolean>

Whether IP forwarding enabled on this NIC.

deleteOption
String

Specify what happens to the network interface when the VM is deleted. Possible values include: 'Delete', 'Detach'

Applies to

VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

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)

Parameters

name
String

The network configuration name.

ipConfigurations
IList<VirtualMachineScaleSetIPConfiguration>

Specifies the IP configurations of the network interface.

id
String

Resource Id

primary
Nullable<Boolean>

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

enableAcceleratedNetworking
Nullable<Boolean>

Specifies whether the network interface is accelerated networking-enabled.

enableFpga
Nullable<Boolean>

Specifies whether the network interface is FPGA networking-enabled.

networkSecurityGroup
SubResource

The network security group.

dnsSettings
VirtualMachineScaleSetNetworkConfigurationDnsSettings

The dns settings to be applied on the network interfaces.

enableIPForwarding
Nullable<Boolean>

Whether IP forwarding enabled on this NIC.

deleteOption
String

Specify what happens to the network interface when the VM is deleted. Possible values include: 'Delete', 'Detach'

Applies to

VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>, String)

Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.

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)

Parameters

name
String

The network configuration name.

ipConfigurations
IList<VirtualMachineScaleSetIPConfiguration>

Specifies the IP configurations of the network interface.

id
String

Resource Id

primary
Nullable<Boolean>

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

enableAcceleratedNetworking
Nullable<Boolean>

Specifies whether the network interface is accelerated networking-enabled.

disableTcpStateTracking
Nullable<Boolean>

Specifies whether the network interface is disabled for tcp state tracking.

enableFpga
Nullable<Boolean>

Specifies whether the network interface is FPGA networking-enabled.

networkSecurityGroup
SubResource

The network security group.

dnsSettings
VirtualMachineScaleSetNetworkConfigurationDnsSettings

The dns settings to be applied on the network interfaces.

enableIPForwarding
Nullable<Boolean>

Whether IP forwarding enabled on this NIC.

deleteOption
String

Specify what happens to the network interface when the VM is deleted. Possible values include: 'Delete', 'Detach'

Applies to