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.
A reference to an Azure Virtual Machines Marketplace Image or a Azure Compute Gallery Image. To get the list of all Azure Marketplace Image references verified by Azure Batch, see the 'List Supported Images' operation.
public class ImageReference
type ImageReference = class
Public Class ImageReference
- Inheritance
-
ImageReference
Constructors
ImageReference() |
Initializes a new instance of the ImageReference class. |
ImageReference(String) |
Initializes a new instance of the ImageReference class. |
ImageReference(String, String, String, String) |
Initializes a new instance of the ImageReference class. |
Properties
ExactVersion |
Gets the specific version of the platform image or marketplace image used to create the node. This read-only field differs from 'version' only if the value specified for 'version' when the pool was created was 'latest'. |
Offer |
Gets the offer type of the Azure Virtual Machines Marketplace Image. |
Publisher |
Gets the publisher of the Azure Virtual Machines Marketplace Image. |
Sku |
Gets the SKU of the Azure Virtual Machines Marketplace Image. |
Version |
Gets the version of the Azure Virtual Machines Marketplace Image. |
VirtualMachineImageId |
Gets the ARM resource identifier of the Azure Compute Gallery Image. Compute Nodes in the Pool will be created using this Image Id. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{VersionId} or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName} for always defaulting to the latest image version. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應