NetworkInterfaceInner 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
NetworkInterfaceInner() |
Initializes a new instance of the NetworkInterfaceInner class. |
NetworkInterfaceInner(String, String, String, String, IDictionary<String, String>, SubResource, SubResource, PrivateEndpointInner, IList<NetworkInterfaceIPConfigurationInner>, IList<NetworkInterfaceTapConfigurationInner>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, ProvisioningState, String) |
Initializes a new instance of the NetworkInterfaceInner class. |
NetworkInterfaceInner()
Initializes a new instance of the NetworkInterfaceInner class.
public NetworkInterfaceInner ();
Public Sub New ()
Applies to
NetworkInterfaceInner(String, String, String, String, IDictionary<String, String>, SubResource, SubResource, PrivateEndpointInner, IList<NetworkInterfaceIPConfigurationInner>, IList<NetworkInterfaceTapConfigurationInner>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, ProvisioningState, String)
Initializes a new instance of the NetworkInterfaceInner class.
public NetworkInterfaceInner (string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource virtualMachine = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default, Microsoft.Azure.Management.Network.Fluent.Models.PrivateEndpointInner privateEndpoint = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceIPConfigurationInner> ipConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceTapConfigurationInner> tapConfigurations = default, Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceDnsSettings dnsSettings = default, string macAddress = default, bool? primary = default, bool? enableAcceleratedNetworking = default, bool? enableIPForwarding = default, System.Collections.Generic.IList<string> hostedWorkloads = default, string resourceGuid = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Network.Fluent.Models.PrivateEndpointInner * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceIPConfigurationInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceTapConfigurationInner> * Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceDnsSettings * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * string -> Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceInner
Public Sub New (Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional virtualMachine As SubResource = Nothing, Optional networkSecurityGroup As SubResource = Nothing, Optional privateEndpoint As PrivateEndpointInner = Nothing, Optional ipConfigurations As IList(Of NetworkInterfaceIPConfigurationInner) = Nothing, Optional tapConfigurations As IList(Of NetworkInterfaceTapConfigurationInner) = 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 resourceGuid As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional etag As String = Nothing)
Parameters
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- virtualMachine
- SubResource
The reference of a virtual machine.
- networkSecurityGroup
- SubResource
The reference of the NetworkSecurityGroup resource.
- privateEndpoint
- PrivateEndpointInner
A reference to the private endpoint to which the network interface is linked.
- ipConfigurations
- IList<NetworkInterfaceIPConfigurationInner>
A list of IPConfigurations of the network interface.
- tapConfigurations
- IList<NetworkInterfaceTapConfigurationInner>
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.
If the network interface is accelerated networking enabled.
Indicates whether IP forwarding is enabled on this network interface.
- resourceGuid
- String
The resource GUID property of the network interface resource.
- provisioningState
- ProvisioningState
The provisioning state of the network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
- etag
- String
A unique read-only string that changes whenever the resource is updated.
Applies to
Azure SDK for .NET