SapImageReference Class

Definition

Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.

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

Constructors

SapImageReference()

Initializes a new instance of SapImageReference.

Properties

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.

Explicit Interface Implementations

IJsonModel<SapImageReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SapImageReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SapImageReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SapImageReference>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SapImageReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to