MachineExtensionUpdateProperties interface
描述機器擴充功能的屬性。
屬性
auto |
指出擴充功能是否應該在部署時間使用較新的次要版本。 不過,部署之後,除非重新部署延伸模組,否則延伸模組將不會升級次要版本,即使此屬性設定為 true 亦然。 |
force |
延伸模組處理常式應該如何強制更新,即使延伸模組組態尚未變更也一樣。 |
protected |
此延伸模組可以包含 protectedSettings 或 protectedSettingsFromKeyVault 或完全沒有受保護的設定。 |
publisher | 擴充處理常式發行者的名稱。 |
settings | 擴充功能的 Json 格式化公用設定。 |
type | 指定延伸模組的類型;範例為 「CustomScriptExtension」。 |
type |
指定腳本處理常式的版本。 |
屬性詳細資料
autoUpgradeMinorVersion
指出擴充功能是否應該在部署時間使用較新的次要版本。 不過,部署之後,除非重新部署延伸模組,否則延伸模組將不會升級次要版本,即使此屬性設定為 true 亦然。
autoUpgradeMinorVersion?: boolean
屬性值
boolean
forceUpdateTag
延伸模組處理常式應該如何強制更新,即使延伸模組組態尚未變更也一樣。
forceUpdateTag?: string
屬性值
string
protectedSettings
此延伸模組可以包含 protectedSettings 或 protectedSettingsFromKeyVault 或完全沒有受保護的設定。
protectedSettings?: Record<string, unknown>
屬性值
Record<string, unknown>
publisher
擴充處理常式發行者的名稱。
publisher?: string
屬性值
string
settings
擴充功能的 Json 格式化公用設定。
settings?: Record<string, unknown>
屬性值
Record<string, unknown>
type
指定延伸模組的類型;範例為 「CustomScriptExtension」。
type?: string
屬性值
string
typeHandlerVersion
指定腳本處理常式的版本。
typeHandlerVersion?: string
屬性值
string