共用方式為


JobService interface

作業端點定義

屬性

endpoint

端點的 URL。

errorMessage

服務中的任何錯誤。 注意:這個屬性不會串行化。 它只能由伺服器填入。

jobServiceType

端點類型。

nodes

使用者想要啟動服務的節點。 如果未將 Nodes 設定或設定為 null,則服務只會在領導者節點上啟動。

port

端點的埠。

properties

在端點上設定的其他屬性。

status

端點的狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

endpoint

端點的 URL。

endpoint?: string

屬性值

string

errorMessage

服務中的任何錯誤。 注意:這個屬性不會串行化。 它只能由伺服器填入。

errorMessage?: string

屬性值

string

jobServiceType

端點類型。

jobServiceType?: string

屬性值

string

nodes

使用者想要啟動服務的節點。 如果未將 Nodes 設定或設定為 null,則服務只會在領導者節點上啟動。

nodes?: NodesUnion

屬性值

port

端點的埠。

port?: number

屬性值

number

properties

在端點上設定的其他屬性。

properties?: {[propertyName: string]: string | null}

屬性值

{[propertyName: string]: string | null}

status

端點的狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

status?: string

屬性值

string