Language

ImageTemplateVmProfile Class

Definition

Describes the virtual machines used to build and validate images.

public class ImageTemplateVmProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateVmProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateVmProfile>
type ImageTemplateVmProfile = class
    interface IJsonModel<ImageTemplateVmProfile>
    interface IPersistableModel<ImageTemplateVmProfile>
Public Class ImageTemplateVmProfile
Implements IJsonModel(Of ImageTemplateVmProfile), IPersistableModel(Of ImageTemplateVmProfile)
Inheritance
ImageTemplateVmProfile
Implements

Constructors

Name Description
ImageTemplateVmProfile()

Initializes a new instance of ImageTemplateVmProfile.

Properties

Name Description
OSDiskSizeGB

Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.

UserAssignedIdentities

Optional array of resource IDs of user assigned managed identities to be configured on the build VM and validation VM. This may include the identity of the image template.

VmSize

Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).

VnetConfig

Optional configuration of the virtual network to use to deploy the build VM and validation VM in. Omit if no specific virtual network needs to be used.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ImageTemplateVmProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ImageTemplateVmProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ImageTemplateVmProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ImageTemplateVmProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ImageTemplateVmProfile>.Write(ModelReaderWriterOptions)

Applies to