DiskPurchasePlan Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
public class DiskPurchasePlan : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.DiskPurchasePlan>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.DiskPurchasePlan>
type DiskPurchasePlan = class
interface IJsonModel<DiskPurchasePlan>
interface IPersistableModel<DiskPurchasePlan>
Public Class DiskPurchasePlan
Implements IJsonModel(Of DiskPurchasePlan), IPersistableModel(Of DiskPurchasePlan)
- Inheritance
-
DiskPurchasePlan
- Implements
Constructors
DiskPurchasePlan(String, String, String) |
Initializes a new instance of DiskPurchasePlan. |
Properties
Name |
The plan ID. |
Product |
Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. |
PromotionCode |
The Offer Promotion Code. |
Publisher |
The publisher ID. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DiskPurchasePlan>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DiskPurchasePlan>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DiskPurchasePlan>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DiskPurchasePlan>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DiskPurchasePlan>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET