VirtualMachineExtensionArgs

data class VirtualMachineExtensionArgs(val autoUpgradeMinorVersion: Output<Boolean>? = null, val enableAutomaticUpgrade: Output<Boolean>? = null, val forceUpdateTag: Output<String>? = null, val instanceView: Output<VirtualMachineExtensionInstanceViewArgs>? = null, val location: Output<String>? = null, val protectedSettings: Output<Any>? = null, val publisher: Output<String>? = null, val resourceGroupName: Output<String>? = null, val settings: Output<Any>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null, val typeHandlerVersion: Output<String>? = null, val vmExtensionName: Output<String>? = null, val vmName: Output<String>? = null) : ConvertibleToJava<VirtualMachineExtensionArgs>

Describes a Virtual Machine Extension. API Version: 2021-03-01.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:compute:VirtualMachineExtension myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}

Constructors

Link copied to clipboard
constructor(autoUpgradeMinorVersion: Output<Boolean>? = null, enableAutomaticUpgrade: Output<Boolean>? = null, forceUpdateTag: Output<String>? = null, instanceView: Output<VirtualMachineExtensionInstanceViewArgs>? = null, location: Output<String>? = null, protectedSettings: Output<Any>? = null, publisher: Output<String>? = null, resourceGroupName: Output<String>? = null, settings: Output<Any>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null, typeHandlerVersion: Output<String>? = null, vmExtensionName: Output<String>? = null, vmName: Output<String>? = null)

Properties

Link copied to clipboard
val autoUpgradeMinorVersion: Output<Boolean>? = null

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.

Link copied to clipboard
val enableAutomaticUpgrade: Output<Boolean>? = null

Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.

Link copied to clipboard
val forceUpdateTag: Output<String>? = null

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

Link copied to clipboard

The virtual machine extension instance view.

Link copied to clipboard
val location: Output<String>? = null

Resource location

Link copied to clipboard
val protectedSettings: Output<Any>? = null

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

Link copied to clipboard
val publisher: Output<String>? = null

The name of the extension handler publisher.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard
val settings: Output<Any>? = null

Json formatted public settings for the extension.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags

Link copied to clipboard
val type: Output<String>? = null

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

Link copied to clipboard
val typeHandlerVersion: Output<String>? = null

Specifies the version of the script handler.

Link copied to clipboard
val vmExtensionName: Output<String>? = null

The name of the virtual machine extension.

Link copied to clipboard
val vmName: Output<String>? = null

The name of the virtual machine where the extension should be created or updated.

Functions

Link copied to clipboard
open override fun toJava(): VirtualMachineExtensionArgs