Share via


ArmHciModelFactory.NetworkInterfaceData Method

Definition

Initializes a new instance of NetworkInterfaceData.

public static Azure.ResourceManager.Hci.NetworkInterfaceData NetworkInterfaceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Hci.Models.ArcVmExtendedLocation extendedLocation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.Models.IPConfiguration> ipConfigurations = default, string macAddress = default, System.Collections.Generic.IEnumerable<string> dnsServers = default, Azure.ResourceManager.Hci.Models.ProvisioningStateEnum? provisioningState = default, Azure.ResourceManager.Hci.Models.NetworkInterfaceStatus status = default);
static member NetworkInterfaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Hci.Models.ArcVmExtendedLocation * seq<Azure.ResourceManager.Hci.Models.IPConfiguration> * string * seq<string> * Nullable<Azure.ResourceManager.Hci.Models.ProvisioningStateEnum> * Azure.ResourceManager.Hci.Models.NetworkInterfaceStatus -> Azure.ResourceManager.Hci.NetworkInterfaceData
Public Shared Function NetworkInterfaceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As ArcVmExtendedLocation = Nothing, Optional ipConfigurations As IEnumerable(Of IPConfiguration) = Nothing, Optional macAddress As String = Nothing, Optional dnsServers As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of ProvisioningStateEnum) = Nothing, Optional status As NetworkInterfaceStatus = Nothing) As NetworkInterfaceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

extendedLocation
ArcVmExtendedLocation

The extendedLocation of the resource.

ipConfigurations
IEnumerable<IPConfiguration>

IPConfigurations - A list of IPConfigurations of the network interface.

macAddress
String

MacAddress - The MAC address of the network interface.

dnsServers
IEnumerable<String>

DNS Settings for the interface.

provisioningState
Nullable<ProvisioningStateEnum>

Provisioning state of the network interface.

status
NetworkInterfaceStatus

The observed state of network interfaces.

Returns

A new NetworkInterfaceData instance for mocking.

Applies to