VirtualMachineExtension Class

Describes a Virtual Machine Extension.

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
azure.mgmt.compute.v2018_04_01.models._models_py3.Resource
VirtualMachineExtension

Constructor

VirtualMachineExtension(*, location: str, tags: Optional[Dict[str, str]] = None, force_update_tag: Optional[str] = None, publisher: Optional[str] = None, type_properties_type: Optional[str] = None, type_handler_version: Optional[str] = None, auto_upgrade_minor_version: Optional[bool] = None, settings: Optional[Any] = None, protected_settings: Optional[Any] = None, instance_view: Optional[azure.mgmt.compute.v2018_04_01.models._models_py3.VirtualMachineExtensionInstanceView] = None, **kwargs)

Parameters

location
str
Required

Required. Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

force_update_tag
str
Required

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

publisher
str
Required

The name of the extension handler publisher.

type_properties_type
str
Required

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

type_handler_version
str
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
any
Required

Json formatted public settings for the extension.

protected_settings
any
Required

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

instance_view
VirtualMachineExtensionInstanceView
Required

The virtual machine extension instance view.

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

provisioning_state
str

The provisioning state, which only appears in the response.