共用方式為


CachedImages Class

Definition

The cached image and OS type.

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

Properties

Image

The cached image name.

OSType

The OS type of the cached image.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CachedImages>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CachedImages>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CachedImages>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CachedImages>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CachedImages>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to