你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmNetworkCloudModelFactory.NetworkCloudNetworkInterface 方法

定义

初始化 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

参数

address
String

外围组件互连的部分地址 (PCI) 。

deviceConnectionType
Nullable<DeviceConnectionType>

设备的连接类型。

model
String

设备的型号名称。

physicalSlot
Nullable<Int64>

此设备的物理槽。

portCount
Nullable<Int64>

设备上的端口数。

portSpeed
Nullable<Int64>

线路卡在任何给定秒通过端口传输的最大数据量(以 GB 为单位)。

vendor
String

设备的供应商名称。

返回

用于模拟的新 NetworkCloudNetworkInterface 实例。

适用于