Share via


ImageTemplateWindowsUpdateCustomizer Class

Definition

Installs Windows Updates. Corresponds to Packer Windows Update Provisioner (https://github.com/rgl/packer-provisioner-windows-update)

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateWindowsUpdateCustomizerTypeConverter))]
public class ImageTemplateWindowsUpdateCustomizer : Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateWindowsUpdateCustomizer, Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateWindowsUpdateCustomizerTypeConverter))>]
type ImageTemplateWindowsUpdateCustomizer = class
    interface IImageTemplateWindowsUpdateCustomizer
    interface IJsonSerializable
    interface IImageTemplateCustomizer
    interface IValidates
Public Class ImageTemplateWindowsUpdateCustomizer
Implements IImageTemplateWindowsUpdateCustomizer, IValidates
Inheritance
ImageTemplateWindowsUpdateCustomizer
Attributes
Implements

Constructors

Name Description
ImageTemplateWindowsUpdateCustomizer()

Creates an new ImageTemplateWindowsUpdateCustomizer instance.

Properties

Name Description
Filter

Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.

Name

Friendly Name to provide context on what this customization step does

SearchCriterion

Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.

Type

The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer

UpdateLimit

Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageTemplateWindowsUpdateCustomizer.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageTemplateWindowsUpdateCustomizer.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateWindowsUpdateCustomizer.

FromJsonString(String)

Creates a new instance of ImageTemplateWindowsUpdateCustomizer, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageTemplateWindowsUpdateCustomizer into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to