NetworkInterface 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
NetworkInterface()
public NetworkInterface ();
Public Sub New ()
Applies to
NetworkInterface(String, String, String, String, IDictionary<String, String>, SubResource, NetworkSecurityGroup, IList<NetworkInterfaceIPConfiguration>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String)
public NetworkInterface (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SubResource virtualMachine = default, Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkSecurityGroup networkSecurityGroup = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkInterfaceIPConfiguration> ipConfigurations = default, Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkInterfaceDnsSettings dnsSettings = default, string macAddress = default, bool? primary = default, bool? enableAcceleratedNetworking = default, bool? enableIPForwarding = default, string resourceGuid = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkInterface : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SubResource * Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkSecurityGroup * System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkInterfaceIPConfiguration> * Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkInterfaceDnsSettings * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Internal.Network.Version2017_03_01.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 virtualMachine As SubResource = Nothing, Optional networkSecurityGroup As NetworkSecurityGroup = Nothing, Optional ipConfigurations As IList(Of NetworkInterfaceIPConfiguration) = 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 resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional etag As String = Nothing)
Parameters
- id
- String
- name
- String
- type
- String
- location
- String
- tags
- IDictionary<String,String>
- virtualMachine
- SubResource
- networkSecurityGroup
- NetworkSecurityGroup
- ipConfigurations
- IList<NetworkInterfaceIPConfiguration>
- dnsSettings
- NetworkInterfaceDnsSettings
- macAddress
- String
- resourceGuid
- String
- provisioningState
- String
- etag
- String