IImageReference Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.ImageReferenceTypeConverter))]
public interface IImageReference : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.ImageReferenceTypeConverter))>]
type IImageReference = interface
    interface IJsonSerializable
Public Interface IImageReference
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Id

Specifies the ARM resource ID of the Azure Compute Gallery image version used for creating ACSS VMs. You will need to provide this input when you choose to deploy virtual machines in ACSS with OS image from the Azure Compute gallery.

Offer

Specifies the offer of the platform image or marketplace image used to create the virtual machine.

Publisher

The image publisher.

Sku

The image SKU.

Version

Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to