ArmNetworkModelFactory.NetworkInterfaceData Method

Definition

Initializes a new instance of NetworkInterfaceData.

public static Azure.ResourceManager.Network.NetworkInterfaceData NetworkInterfaceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier virtualMachineId = default, Azure.ResourceManager.Network.NetworkSecurityGroupData networkSecurityGroup = default, Azure.ResourceManager.Network.PrivateEndpointData privateEndpoint = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData> ipConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationData> tapConfigurations = default, Azure.ResourceManager.Network.Models.NetworkInterfaceDnsSettings dnsSettings = default, string macAddress = default, bool? primary = default, bool? vnetEncryptionSupported = default, bool? enableAcceleratedNetworking = default, bool? disableTcpStateTracking = default, bool? enableIPForwarding = default, System.Collections.Generic.IEnumerable<string> hostedWorkloads = default, Azure.Core.ResourceIdentifier dscpConfigurationId = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string workloadType = default, Azure.ResourceManager.Network.Models.NetworkInterfaceNicType? nicType = default, Azure.ResourceManager.Network.PrivateLinkServiceData privateLinkService = default, Azure.ResourceManager.Network.Models.NetworkInterfaceMigrationPhase? migrationPhase = default, Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliaryMode? auxiliaryMode = default, Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliarySku? auxiliarySku = default);
static member NetworkInterfaceData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.NetworkSecurityGroupData * Azure.ResourceManager.Network.PrivateEndpointData * seq<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData> * seq<Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationData> * Azure.ResourceManager.Network.Models.NetworkInterfaceDnsSettings * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * seq<string> * Azure.Core.ResourceIdentifier * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceNicType> * Azure.ResourceManager.Network.PrivateLinkServiceData * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceMigrationPhase> * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliaryMode> * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliarySku> -> Azure.ResourceManager.Network.NetworkInterfaceData
Public Shared Function NetworkInterfaceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional virtualMachineId As ResourceIdentifier = Nothing, Optional networkSecurityGroup As NetworkSecurityGroupData = Nothing, Optional privateEndpoint As PrivateEndpointData = Nothing, Optional ipConfigurations As IEnumerable(Of NetworkInterfaceIPConfigurationData) = Nothing, Optional tapConfigurations As IEnumerable(Of NetworkInterfaceTapConfigurationData) = Nothing, Optional dnsSettings As NetworkInterfaceDnsSettings = Nothing, Optional macAddress As String = Nothing, Optional primary As Nullable(Of Boolean) = Nothing, Optional vnetEncryptionSupported As Nullable(Of Boolean) = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing, Optional disableTcpStateTracking As Nullable(Of Boolean) = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional hostedWorkloads As IEnumerable(Of String) = Nothing, Optional dscpConfigurationId As ResourceIdentifier = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional workloadType As String = Nothing, Optional nicType As Nullable(Of NetworkInterfaceNicType) = Nothing, Optional privateLinkService As PrivateLinkServiceData = Nothing, Optional migrationPhase As Nullable(Of NetworkInterfaceMigrationPhase) = Nothing, Optional auxiliaryMode As Nullable(Of NetworkInterfaceAuxiliaryMode) = Nothing, Optional auxiliarySku As Nullable(Of NetworkInterfaceAuxiliarySku) = Nothing) As NetworkInterfaceData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

extendedLocation
ExtendedLocation

The extended location of the network interface.

etag
Nullable<ETag>

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

virtualMachineId
ResourceIdentifier

The reference to a virtual machine.

networkSecurityGroup
NetworkSecurityGroupData

The reference to the NetworkSecurityGroup resource.

privateEndpoint
PrivateEndpointData

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

ipConfigurations
IEnumerable<NetworkInterfaceIPConfigurationData>

A list of IPConfigurations of the network interface.

tapConfigurations
IEnumerable<NetworkInterfaceTapConfigurationData>

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.

vnetEncryptionSupported
Nullable<Boolean>

Whether the virtual machine this nic is attached to supports encryption.

enableAcceleratedNetworking
Nullable<Boolean>

If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.

disableTcpStateTracking
Nullable<Boolean>

Indicates whether to disable tcp state tracking.

enableIPForwarding
Nullable<Boolean>

Indicates whether IP forwarding is enabled on this network interface.

hostedWorkloads
IEnumerable<String>

A list of references to linked BareMetal resources.

dscpConfigurationId
ResourceIdentifier

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

resourceGuid
Nullable<Guid>

The resource GUID property of the network interface resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the network interface resource.

workloadType
String

WorkloadType of the NetworkInterface for BareMetal resources.

nicType
Nullable<NetworkInterfaceNicType>

Type of Network Interface resource.

privateLinkService
PrivateLinkServiceData

Privatelinkservice of the network interface resource.

migrationPhase
Nullable<NetworkInterfaceMigrationPhase>

Migration phase of Network Interface resource.

auxiliaryMode
Nullable<NetworkInterfaceAuxiliaryMode>

Auxiliary mode of Network Interface resource.

auxiliarySku
Nullable<NetworkInterfaceAuxiliarySku>

Auxiliary sku of Network Interface resource.

Returns

A new NetworkInterfaceData instance for mocking.

Applies to