ImageTemplatePlatformImageSource 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.
Describes an image source from Azure Gallery Images.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplatePlatformImageSourceTypeConverter))]
public class ImageTemplatePlatformImageSource : Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePlatformImageSource, Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplatePlatformImageSourceTypeConverter))>]
type ImageTemplatePlatformImageSource = class
interface IImageTemplatePlatformImageSource
interface IJsonSerializable
interface IImageTemplateSource
interface IValidates
Public Class ImageTemplatePlatformImageSource
Implements IImageTemplatePlatformImageSource, IValidates
- Inheritance
-
ImageTemplatePlatformImageSource
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ImageTemplatePlatformImageSource() |
Creates an new ImageTemplatePlatformImageSource instance. |
Properties
| Name | Description |
|---|---|
| ExactVersion |
Image version from the Azure Gallery Images. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. |
| Offer |
Image offer from the Azure Gallery Images. |
| PlanInfoPlanName |
Name of the purchase plan. |
| PlanInfoPlanProduct |
Product of the purchase plan. |
| PlanInfoPlanPublisher |
Publisher of the purchase plan. |
| Publisher |
Image Publisher in Azure Gallery Images. |
| Sku |
Image sku from the Azure Gallery Images. |
| Type |
Specifies the type of source image you want to start with. |
| Version |
Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ImageTemplatePlatformImageSource. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ImageTemplatePlatformImageSource. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePlatformImageSource. |
| FromJsonString(String) |
Creates a new instance of ImageTemplatePlatformImageSource, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ImageTemplatePlatformImageSource into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |