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.
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
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.
string
protectedSettings
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
any
protectedSettingsFromKeyVault
The extensions protected settings that are passed by reference, and consumed from key vault
Collection of extension names after which this extension needs to be provisioned.
string[]
publisher
The name of the extension handler publisher.
string
settings
Json formatted public settings for the extension.
any
suppressFailures
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
Quickstart samples
The following quickstart samples deploy this resource type.
This template allows you to deploy a trusted launch capable VM Scale Set of Windows VMs using the latest patched version of Windows Server 2016, Windows Server 2019 or Windows Server 2022 Azure Edition. These VMs are behind a load balancer with NAT rules for RDP connections. If you enable Secureboot and vTPM, the Guest Attestation extension will be installed on your VMSS. This extension will perform remote attestation by the cloud.
ARM template resource definition
The virtualMachineScaleSets/extensions resource type can be deployed with operations that target:
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
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.
string
protectedSettings
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
any
protectedSettingsFromKeyVault
The extensions protected settings that are passed by reference, and consumed from key vault
Collection of extension names after which this extension needs to be provisioned.
string[]
publisher
The name of the extension handler publisher.
string
settings
Json formatted public settings for the extension.
any
suppressFailures
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
Quickstart templates
The following quickstart templates deploy this resource type.
This template allows you to deploy a simple VM Scale Set of Windows VMs using the lastest patched version of serveral Windows versions. This template also deploys a jumpbox with a public IP address in the same virtual network. You can connect to the jumpbox via this public IP address, then connect from there to VMs in the scale set via private IP addresses.This template enables encryption on the VM Scale Set of Windows VMs.
This template allows you to deploy a trusted launch capable VM Scale Set of Windows VMs using the latest patched version of Windows Server 2016, Windows Server 2019 or Windows Server 2022 Azure Edition. These VMs are behind a load balancer with NAT rules for RDP connections. If you enable Secureboot and vTPM, the Guest Attestation extension will be installed on your VMSS. This extension will perform remote attestation by the cloud.
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
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.
string
protectedSettings
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
any
protectedSettingsFromKeyVault
The extensions protected settings that are passed by reference, and consumed from key vault
Collection of extension names after which this extension needs to be provisioned.
string[]
publisher
The name of the extension handler publisher.
string
settings
Json formatted public settings for the extension.
any
suppressFailures
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".