Sdílet prostřednictvím


VirtualMachineExtensionUpdate Class

Describes a Virtual Machine Extension.

Constructor

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)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
force_update_tag
str

How the extension handler should be forced to update even if the extension configuration has not changed.

Default value: None
publisher
str

The name of the extension handler publisher.

Default value: None
type
str

Specifies the type of the extension; an example is "CustomScriptExtension".

Default value: None
type_handler_version
str

Specifies the version of the script handler.

Default value: None
auto_upgrade_minor_version

Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

Default value: None
settings
<xref:JSON>

Json formatted public settings for the extension.

Default value: None
protected_settings
<xref:JSON>

The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

Default value: None

Variables

Name Description
tags

Resource tags.

force_update_tag
str

How the extension handler should be forced to update even if the extension configuration has not changed.

publisher
str

The name of the extension handler publisher.

type
str

Specifies the type of the extension; an example is "CustomScriptExtension".

type_handler_version
str

Specifies the version of the script handler.

auto_upgrade_minor_version

Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

settings
<xref:JSON>

Json formatted public settings for the extension.

protected_settings
<xref:JSON>

The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.