Share via


ImageDeprecationStatus Class

Definition

Describes image deprecation status properties on the image.

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

Constructors

ImageDeprecationStatus()

Initializes a new instance of ImageDeprecationStatus.

Properties

AlternativeOption

Describes the alternative option specified by the Publisher for this image when this image is deprecated.

ImageState

Describes the state of the image.

ScheduledDeprecationOn

The time, in future, at which this image will be marked as deprecated. This scheduled time is chosen by the Publisher.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ImageDeprecationStatus>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImageDeprecationStatus>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageDeprecationStatus>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageDeprecationStatus>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImageDeprecationStatus>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to