Share via


ArmMachineLearningModelFactory.ImageMetadata Method

Definition

Initializes a new instance of ImageMetadata.

public static Azure.ResourceManager.MachineLearning.Models.ImageMetadata ImageMetadata (string currentImageVersion = default, string latestImageVersion = default, bool? isLatestOSImageVersion = default);
static member ImageMetadata : string * string * Nullable<bool> -> Azure.ResourceManager.MachineLearning.Models.ImageMetadata
Public Shared Function ImageMetadata (Optional currentImageVersion As String = Nothing, Optional latestImageVersion As String = Nothing, Optional isLatestOSImageVersion As Nullable(Of Boolean) = Nothing) As ImageMetadata

Parameters

currentImageVersion
String

Specifies the current operating system image version this compute instance is running on.

latestImageVersion
String

Specifies the latest available operating system image version.

isLatestOSImageVersion
Nullable<Boolean>

Specifies whether this compute instance is running on the latest operating system image.

Returns

A new ImageMetadata instance for mocking.

Applies to