Language

ImageTemplateManagedImageSource Class

Definition

Describes an image source that is a managed image in customer subscription. This image must reside in the same subscription and region as the Image Builder template.

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

Constructors

Name Description
ImageTemplateManagedImageSource()

Creates an new ImageTemplateManagedImageSource instance.

Properties

Name Description
ImageId

ARM resource id of the managed image in customer subscription

Type

Specifies the type of source image you want to start with.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageTemplateManagedImageSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageTemplateManagedImageSource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageTemplateManagedImageSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to