Udostępnij za pośrednictwem


ImagePurchasePlan Class

Definition

Describes the gallery image definition purchase plan. This is used by marketplace images.

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

Constructors

ImagePurchasePlan()

Initializes a new instance of ImagePurchasePlan.

Properties

Name

The plan ID.

Product

The product ID.

Publisher

The publisher ID.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ImagePurchasePlan>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImagePurchasePlan>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImagePurchasePlan>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImagePurchasePlan>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImagePurchasePlan>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to