Sprache

NetworkInterface Constructors

Definition

Overloads

NetworkInterface()

Initializes a new instance of the NetworkInterface class.

public NetworkInterface();
Public Sub New ()

Applies to

NetworkInterface(String, String, String, String, IDictionary<String, String>, ExtendedLocation, String, PrivateEndpoint, String, SubResource, NetworkSecurityGroup, IList<NetworkInterfaceIPConfiguration>, IList<NetworkInterfaceTapConfiguration>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>, SubResource, String)

Initializes a new instance of the NetworkInterface class.

public NetworkInterface(string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.ExtendedLocation extendedLocation = default, string etag = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.PrivateEndpoint privateEndpoint = default, string provisioningState = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SubResource virtualMachine = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkSecurityGroup networkSecurityGroup = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterfaceIPConfiguration> ipConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterfaceTapConfiguration> tapConfigurations = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterfaceDnsSettings dnsSettings = default, string macAddress = default, bool? primary = default, bool? enableAcceleratedNetworking = default, bool? enableIPForwarding = default, System.Collections.Generic.IList<string> hostedWorkloads = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SubResource dscpConfiguration = default, string resourceGuid = default);
new Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterface : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.ExtendedLocation * string * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.PrivateEndpoint * string * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SubResource * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkSecurityGroup * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterfaceIPConfiguration> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterfaceTapConfiguration> * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterfaceDnsSettings * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SubResource * string -> Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterface
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional etag As String = Nothing, Optional privateEndpoint As PrivateEndpoint = Nothing, Optional provisioningState As String = Nothing, Optional virtualMachine As SubResource = Nothing, Optional networkSecurityGroup As NetworkSecurityGroup = Nothing, Optional ipConfigurations As IList(Of NetworkInterfaceIPConfiguration) = Nothing, Optional tapConfigurations As IList(Of NetworkInterfaceTapConfiguration) = Nothing, Optional dnsSettings As NetworkInterfaceDnsSettings = Nothing, Optional macAddress As String = Nothing, Optional primary As Nullable(Of Boolean) = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional hostedWorkloads As IList(Of String) = Nothing, Optional dscpConfiguration As SubResource = Nothing, Optional resourceGuid As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

extendedLocation
ExtendedLocation

The extended location of the network interface.

etag
String

A unique read-only string that changes whenever the resource is updated.

privateEndpoint
PrivateEndpoint

A reference to the private endpoint to which the network interface is linked.

provisioningState
String

The provisioning state of the network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

virtualMachine
SubResource

The reference to a virtual machine.

networkSecurityGroup
NetworkSecurityGroup

The reference to the NetworkSecurityGroup resource.

ipConfigurations
IList<NetworkInterfaceIPConfiguration>

A list of IPConfigurations of the network interface.

tapConfigurations
IList<NetworkInterfaceTapConfiguration>

A list of TapConfigurations of the network interface.

dnsSettings
NetworkInterfaceDnsSettings

The DNS settings in network interface.

macAddress
String

The MAC address of the network interface.

primary
Nullable<Boolean>

Whether this is a primary network interface on a virtual machine.

enableAcceleratedNetworking
Nullable<Boolean>

If the network interface is accelerated networking enabled.

enableIPForwarding
Nullable<Boolean>

Indicates whether IP forwarding is enabled on this network interface.

hostedWorkloads
IList<String>

A list of references to linked BareMetal resources.

dscpConfiguration
SubResource

A reference to the dscp configuration to which the network interface is linked.

resourceGuid
String

The resource GUID property of the network interface resource.

Applies to