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) |
Initializes a new instance of the ImageReference class. |
ImageReference(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)
- Source:
- ImageReference.cs
Initializes a new instance of the ImageReference class.
public ImageReference (string virtualMachineImageId);
new Microsoft.Azure.Batch.ImageReference : string -> Microsoft.Azure.Batch.ImageReference
Public Sub New (virtualMachineImageId As String)
Parameters
- virtualMachineImageId
- String
The ARM resource identifier of the Shared Image Gallery Image. Compute Nodes of 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}.
Applies to
ImageReference(String, String, String, String)
- Source:
- ImageReference.cs
Initializes a new instance of the ImageReference class.
public ImageReference (string offer, string publisher, string sku, string version = default);
new Microsoft.Azure.Batch.ImageReference : string * string * string * string -> Microsoft.Azure.Batch.ImageReference
Public Sub New (offer As String, publisher As String, sku As String, Optional version As String = Nothing)
Parameters
- offer
- String
The offer type of the Azure Virtual Machines Marketplace image.
- publisher
- String
The publisher 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.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기