In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.
Specifies the type of the extension; an example is "CustomScriptExtension".
string
typeHandlerVersion
Specifies the version of the script handler.
string
VirtualMachineExtensionProperties
Name
Description
Value
autoUpgradeMinorVersion
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.
bool
enableAutomaticUpgrade
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
bool
forceUpdateTag
How the extension handler should be forced to update even if the extension configuration has not changed.
Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
bool
type
Specifies the type of the extension; an example is "CustomScriptExtension".
string
typeHandlerVersion
Specifies the version of the script handler.
string
ARM template resource definition
The virtualMachineScaleSets/virtualMachines/extensions resource type can be deployed with operations that target:
Specifies the type of the extension; an example is "CustomScriptExtension".
string
typeHandlerVersion
Specifies the version of the script handler.
string
VirtualMachineExtensionProperties
Name
Description
Value
autoUpgradeMinorVersion
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.
bool
enableAutomaticUpgrade
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
bool
forceUpdateTag
How the extension handler should be forced to update even if the extension configuration has not changed.
Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
bool
type
Specifies the type of the extension; an example is "CustomScriptExtension".
string
typeHandlerVersion
Specifies the version of the script handler.
string
Terraform (AzAPI provider) resource definition
The virtualMachineScaleSets/virtualMachines/extensions resource type can be deployed with operations that target:
Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions resource, add the following Terraform to your template.
Specifies the type of the extension; an example is "CustomScriptExtension".
string
typeHandlerVersion
Specifies the version of the script handler.
string
VirtualMachineExtensionProperties
Name
Description
Value
autoUpgradeMinorVersion
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.
bool
enableAutomaticUpgrade
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
bool
forceUpdateTag
How the extension handler should be forced to update even if the extension configuration has not changed.
Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
bool
type
Specifies the type of the extension; an example is "CustomScriptExtension".