ImageReference Constructors
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.
Overloads
ImageReference() |
Initializes a new instance of the ImageReference class. |
ImageReference(String, String, String, String, String, String) |
Initializes a new instance of the ImageReference class. |
ImageReference()
- Source:
- ImageReference.cs
Initializes a new instance of the ImageReference class.
public ImageReference ();
Public Sub New ()
Applies to
ImageReference(String, String, String, String, String, String)
- Source:
- ImageReference.cs
Initializes a new instance of the ImageReference class.
public ImageReference (string publisher = default, string offer = default, string sku = default, string version = default, string virtualMachineImageId = default, string exactVersion = default);
new Microsoft.Azure.Batch.Protocol.Models.ImageReference : string * string * string * string * string * string -> Microsoft.Azure.Batch.Protocol.Models.ImageReference
Public Sub New (Optional publisher As String = Nothing, Optional offer As String = Nothing, Optional sku As String = Nothing, Optional version As String = Nothing, Optional virtualMachineImageId As String = Nothing, Optional exactVersion As String = Nothing)
Parameters
- publisher
- String
The publisher of the Azure Virtual Machines Marketplace Image.
- offer
- String
The offer type of the Azure Virtual Machines Marketplace Image.
- sku
- String
The SKU of the Azure Virtual Machines Marketplace Image.
- version
- String
The version of the Azure Virtual Machines Marketplace Image.
- virtualMachineImageId
- String
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.
- exactVersion
- String
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'.
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk