VMSSExtension Class

Specifies set of extensions that should be installed onto the virtual machines.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
VMSSExtension

Constructor

VMSSExtension(*, name: str, publisher: str, type: str, type_handler_version: str, auto_upgrade_minor_version: Optional[bool] = None, settings: Optional[object] = None, protected_settings: Optional[object] = None, force_update_tag: Optional[str] = None, provision_after_extensions: Optional[List[str]] = None, **kwargs)

Parameters

name
str
Required

Required. The name of the extension.

publisher
str
Required

Required. The name of the extension handler publisher.

type
str
Required

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

type_handler_version
str
Required

Required. Specifies the version of the script handler.

auto_upgrade_minor_version
bool
Required

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
object
Required

Json formatted public settings for the extension.

protected_settings
object
Required

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

force_update_tag
str
Required

If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.

provision_after_extensions
list[str]
Required

Collection of extension names after which this extension needs to be provisioned.

Variables

provisioning_state
str

The provisioning state, which only appears in the response.