Language

ImageTemplateSharedImageVersionSource Class

Definition

Describes an image source that is an image version in an Azure Compute Gallery or a Direct Shared Gallery.

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

Constructors

Name Description
ImageTemplateSharedImageVersionSource()

Creates an new ImageTemplateSharedImageVersionSource instance.

Properties

Name Description
ExactVersion

Exact ARM resource id of the image version. This readonly field differs from the image version Id in 'imageVersionId' only if the version name specified in 'imageVersionId' field is 'latest'.

ImageVersionId

ARM resource id of the image version. When image version name is 'latest', the version is evaluated when the image build takes place.

Type

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageTemplateSharedImageVersionSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageTemplateSharedImageVersionSource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageTemplateSharedImageVersionSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to