ArmMachineLearningModelFactory.ImageMetadata Method
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.
Returns metadata about the operating system image for this compute instance.
public static Azure.ResourceManager.MachineLearning.Models.ImageMetadata ImageMetadata(string currentImageVersion = default, string latestImageVersion = default, bool? isLatestOSImageVersion = default, Azure.ResourceManager.MachineLearning.Models.OSPatchingStatus osPatchingStatus = default);
static member ImageMetadata : string * string * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.OSPatchingStatus -> 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, Optional osPatchingStatus As OSPatchingStatus = 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.
Specifies whether this compute instance is running on the latest operating system image.
- osPatchingStatus
- OSPatchingStatus
Metadata about the os patching.
Returns
A new ImageMetadata instance for mocking.