ComputePlan 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.
Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
public class ComputePlan : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.ComputePlan>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.ComputePlan>
type ComputePlan = class
interface IJsonModel<ComputePlan>
interface IPersistableModel<ComputePlan>
Public Class ComputePlan
Implements IJsonModel(Of ComputePlan), IPersistableModel(Of ComputePlan)
- Inheritance
-
ComputePlan
- Implements
Constructors
ComputePlan() |
Initializes a new instance of ComputePlan. |
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 promotion code. |
Publisher |
The publisher ID. |
Explicit Interface Implementations
IJsonModel<ComputePlan>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ComputePlan>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ComputePlan>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ComputePlan>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ComputePlan>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應