Share via


ArmNetworkCloudModelFactory.NetworkCloudNetworkInterface Method

Definition

Initializes a new instance of NetworkCloudNetworkInterface.

public static Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNetworkInterface NetworkCloudNetworkInterface (string address = default, Azure.ResourceManager.NetworkCloud.Models.DeviceConnectionType? deviceConnectionType = default, string model = default, long? physicalSlot = default, long? portCount = default, long? portSpeed = default, string vendor = default);
static member NetworkCloudNetworkInterface : string * Nullable<Azure.ResourceManager.NetworkCloud.Models.DeviceConnectionType> * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * string -> Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNetworkInterface
Public Shared Function NetworkCloudNetworkInterface (Optional address As String = Nothing, Optional deviceConnectionType As Nullable(Of DeviceConnectionType) = Nothing, Optional model As String = Nothing, Optional physicalSlot As Nullable(Of Long) = Nothing, Optional portCount As Nullable(Of Long) = Nothing, Optional portSpeed As Nullable(Of Long) = Nothing, Optional vendor As String = Nothing) As NetworkCloudNetworkInterface

Parameters

address
String

The partial address of Peripheral Component Interconnect (PCI).

deviceConnectionType
Nullable<DeviceConnectionType>

The connection type of the device.

model
String

The model name of the device.

physicalSlot
Nullable<Int64>

The physical slot for this device.

portCount
Nullable<Int64>

The number of ports on the device.

portSpeed
Nullable<Int64>

The maximum amount of data in GB that the line card transmits through a port at any given second.

vendor
String

The vendor name of the device.

Returns

A new NetworkCloudNetworkInterface instance for mocking.

Applies to