共用方式為


NicIPSettings interface

定義網路介面IP設定。

屬性

allocationMethod

取得或設定 nic 配置方法。

dnsServers

取得或設定 DNS 伺服器。

gateway

取得或設定閘道。

ipAddress

取得或設定 nic 的 IP 位址。

ipAddressInfo

取得或設定要報告給這個 NIC 的 IP 位址資訊。 這包含上述相同的 IPv4 資訊加上 IPV6 資訊。 注意:這個屬性不會串行化。 它只能由伺服器填入。

primaryWinsServer

取得或設定主伺服器。 注意:這個屬性不會串行化。 它只能由伺服器填入。

secondaryWinsServer

取得或設定輔助伺服器。 注意:這個屬性不會串行化。 它只能由伺服器填入。

subnetMask

取得或設定遮罩。

屬性詳細資料

allocationMethod

取得或設定 nic 配置方法。

allocationMethod?: string

屬性值

string

dnsServers

取得或設定 DNS 伺服器。

dnsServers?: string[]

屬性值

string[]

gateway

取得或設定閘道。

gateway?: string[]

屬性值

string[]

ipAddress

取得或設定 nic 的 IP 位址。

ipAddress?: string

屬性值

string

ipAddressInfo

取得或設定要報告給這個 NIC 的 IP 位址資訊。 這包含上述相同的 IPv4 資訊加上 IPV6 資訊。 注意:這個屬性不會串行化。 它只能由伺服器填入。

ipAddressInfo?: NicIPAddressSettings[]

屬性值

primaryWinsServer

取得或設定主伺服器。 注意:這個屬性不會串行化。 它只能由伺服器填入。

primaryWinsServer?: string

屬性值

string

secondaryWinsServer

取得或設定輔助伺服器。 注意:這個屬性不會串行化。 它只能由伺服器填入。

secondaryWinsServer?: string

屬性值

string

subnetMask

取得或設定遮罩。

subnetMask?: string

屬性值

string