ImageReference 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.
The image reference properties.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.ImageReferenceTypeConverter))]
public class ImageReference : Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IImageReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.ImageReferenceTypeConverter))>]
type ImageReference = class
interface IImageReference
interface IJsonSerializable
Public Class ImageReference
Implements IImageReference
- Inheritance
-
ImageReference
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ImageReference() |
Creates an new ImageReference instance. |
Properties
| Name | Description |
|---|---|
| ExactVersion |
Specifies in decimal numbers, the exact version of image used to create the virtual machine. |
| Offer |
Specifies the offer of the image used to create the virtual machine. |
| Publisher |
The image publisher. |
| Sku |
The image SKU. |
| Version |
Specifies the version of the image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ImageReference. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ImageReference. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IImageReference. |
| FromJsonString(String) |
Creates a new instance of ImageReference, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ImageReference into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |