Share via


SecretResourceProperties

描述秘密資源的屬性。

屬性

名稱 類型 必要
description string No
status 字串 (列舉)
statusDetails 字串
contentType 字串 No

description

類型:字串
必要:否

使用者可讀取的秘密描述。


status

類型:字串 (列舉)
必要:否

資源的狀態。

可能的值包括:

  • Unknown - 表示資源狀態未知。 值為零。
  • Ready - 指出資源已就緒。 值為 1。
  • Upgrading - 表示資源正在升級。 值為 2。
  • Creating - 指出正在建立資源。 此值為 3。
  • Deleting - 指出正在刪除資源。 值為 4。
  • Failed - 表示資源因為持續失敗而無法運作。 如需詳細資訊,請參閱 statusDetails 屬性。 值為 5。

statusDetails

類型:字串
必要:否

提供有關秘密目前狀態的其他資訊。


contentType

類型:字串
必要:否

儲存在秘密值中的內容類型。 這個屬性的值對 Service Fabric 不透明。 設定之後,就無法變更此屬性的值。