Share via


ImagePurchasePlan Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ImagePurchasePlanTypeConverter))]
public class ImagePurchasePlan : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IImagePurchasePlan
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ImagePurchasePlanTypeConverter))>]
type ImagePurchasePlan = class
    interface IImagePurchasePlan
    interface IJsonSerializable
Public Class ImagePurchasePlan
Implements IImagePurchasePlan
Inheritance
ImagePurchasePlan
Attributes
Implements

Constructors

ImagePurchasePlan()

Creates an new ImagePurchasePlan instance.

Properties

Name

The plan ID.

Product

The product ID.

Publisher

The publisher ID.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImagePurchasePlan.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImagePurchasePlan.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IImagePurchasePlan.

FromJsonString(String)

Creates a new instance of ImagePurchasePlan, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImagePurchasePlan into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to