共用方式為


VirtualMachineExtensionUpdate 類別

描述虛擬機器擴充功能。

繼承
azure.mgmt.compute.v2017_03_30.models._models_py3.UpdateResource
VirtualMachineExtensionUpdate

建構函式

VirtualMachineExtensionUpdate(*, tags: Dict[str, str] | None = None, force_update_tag: str | None = None, publisher: str | None = None, type: str | None = None, type_handler_version: str | None = None, auto_upgrade_minor_version: bool | None = None, settings: MutableMapping[str, Any] | None = None, protected_settings: MutableMapping[str, Any] | None = None, **kwargs: Any)

僅限關鍵字參數

名稱 Description
tags

資源標籤。

force_update_tag
str

延伸模組處理常式應該如何強制更新,即使延伸模組組態尚未變更也一樣。

publisher
str

擴充處理常式發行者的名稱。

type
str

指定延伸模組的類型;例如「CustomScriptExtension」。

type_handler_version
str

指定腳本處理常式的版本。

auto_upgrade_minor_version

指出擴充功能是否應該在部署時使用較新的次要版本。 不過,部署之後,除非重新部署延伸模組,否則延伸模組將不會升級次要版本,即使此屬性設定為 true 亦然。

settings
<xref:JSON>

延伸模組的 Json 格式化公用設定。

protected_settings
<xref:JSON>

延伸模組可以包含 protectedSettings 或 protectedSettingsFromKeyVault,或完全不包含受保護的設定。

變數

名稱 Description
tags

資源標籤。

force_update_tag
str

延伸模組處理常式應該如何強制更新,即使延伸模組組態尚未變更也一樣。

publisher
str

擴充處理常式發行者的名稱。

type
str

指定延伸模組的類型;例如「CustomScriptExtension」。

type_handler_version
str

指定腳本處理常式的版本。

auto_upgrade_minor_version

指出擴充功能是否應該在部署時使用較新的次要版本。 不過,部署之後,除非重新部署延伸模組,否則延伸模組將不會升級次要版本,即使此屬性設定為 true 亦然。

settings
<xref:JSON>

延伸模組的 Json 格式化公用設定。

protected_settings
<xref:JSON>

延伸模組可以包含 protectedSettings 或 protectedSettingsFromKeyVault,或完全不包含受保護的設定。