共用方式為


ServiceResourceProperties interface

此類型描述服務資源的屬性。

Extends

繼承的屬性

autoScalingPolicies

自動調整原則

codePackages

描述形成服務的一組程式代碼套件。 程式代碼套件描述容器及其執行的屬性。 所有程式代碼套件都會在相同的主機上一起啟動,並共用相同的內容(網路、進程等)。

description

用戶可讀取的服務描述。

diagnostics

DiagnosticsDescription 中接收的參考。

healthState

描述應用程式資源的健全狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

networkRefs

此服務必須屬於的專用網名稱。

osType

服務中程式代碼所需的作業系統。

provisioningState

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

replicaCount

要建立之服務的複本數目。 如果未指定,則預設為1。

status

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

statusDetails

提供服務目前狀態的其他資訊。 注意:這個屬性不會串行化。 它只能由伺服器填入。

unhealthyEvaluation

當服務的健全狀態不是 「確定」時,Service Fabric Health Manager 會提供這個額外的詳細數據,讓使用者知道服務為何標示為狀況不良。 注意:這個屬性不會串行化。 它只能由伺服器填入。

繼承的屬性詳細資料

autoScalingPolicies

自動調整原則

autoScalingPolicies?: AutoScalingPolicy[]

屬性值

繼承自ServiceProperties.autoScalingPolicies

codePackages

描述形成服務的一組程式代碼套件。 程式代碼套件描述容器及其執行的屬性。 所有程式代碼套件都會在相同的主機上一起啟動,並共用相同的內容(網路、進程等)。

codePackages: ContainerCodePackageProperties[]

屬性值

繼承自ServiceReplicaProperties.codePackages

description

用戶可讀取的服務描述。

description?: string

屬性值

string

繼承自ServiceProperties.description

diagnostics

DiagnosticsDescription 中接收的參考。

diagnostics?: DiagnosticsRef

屬性值

繼承自ServiceReplicaProperties.diagnostics

healthState

描述應用程式資源的健全狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

healthState?: string

屬性值

string

繼承自ServiceProperties.healthState

networkRefs

此服務必須屬於的專用網名稱。

networkRefs?: NetworkRef[]

屬性值

繼承自ServiceReplicaProperties.networkRefs

osType

服務中程式代碼所需的作業系統。

osType: string

屬性值

string

繼承自ServiceReplicaProperties.osType

provisioningState

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

provisioningState?: string

屬性值

string

繼承自ProvisionedResourceProperties.provisioningState

replicaCount

要建立之服務的複本數目。 如果未指定,則預設為1。

replicaCount?: number

屬性值

number

繼承自ServiceProperties.replicaCount

status

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

status?: string

屬性值

string

繼承自ServiceProperties.status

statusDetails

提供服務目前狀態的其他資訊。 注意:這個屬性不會串行化。 它只能由伺服器填入。

statusDetails?: string

屬性值

string

繼承自ServiceProperties.statusDetails

unhealthyEvaluation

當服務的健全狀態不是 「確定」時,Service Fabric Health Manager 會提供這個額外的詳細數據,讓使用者知道服務為何標示為狀況不良。 注意:這個屬性不會串行化。 它只能由伺服器填入。

unhealthyEvaluation?: string

屬性值

string

繼承自ServiceProperties.unhealthyEvaluation