你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.Api20210501.ImageReferenceTypeConverter))]
public class ImageReference : Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IImageReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.ImageReferenceTypeConverter))>]
type ImageReference = class
interface IImageReference
interface IJsonSerializable
Public Class ImageReference
Implements IImageReference
- Inheritance
-
ImageReference
- Attributes
- Implements
Constructors
ImageReference() |
Creates an new ImageReference instance. |
Properties
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
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.Api20210501.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() |