语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmMachineLearningModelFactory.OSPatchingStatus Method

Definition

Returns metadata about the os patching.

public static Azure.ResourceManager.MachineLearning.Models.OSPatchingStatus OSPatchingStatus(Azure.ResourceManager.MachineLearning.Models.PatchStatus? patchStatus = default, string latestPatchTime = default, bool? isRebootPending = default, string scheduledRebootTime = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.MachineLearningError> osPatchingErrors = default);
static member OSPatchingStatus : Nullable<Azure.ResourceManager.MachineLearning.Models.PatchStatus> * string * Nullable<bool> * string * seq<Azure.ResourceManager.MachineLearning.Models.MachineLearningError> -> Azure.ResourceManager.MachineLearning.Models.OSPatchingStatus
Public Shared Function OSPatchingStatus (Optional patchStatus As Nullable(Of PatchStatus) = Nothing, Optional latestPatchTime As String = Nothing, Optional isRebootPending As Nullable(Of Boolean) = Nothing, Optional scheduledRebootTime As String = Nothing, Optional osPatchingErrors As IEnumerable(Of MachineLearningError) = Nothing) As OSPatchingStatus

Parameters

patchStatus
Nullable<PatchStatus>

The os patching status.

latestPatchTime
String

Time of the latest os patching.

isRebootPending
Nullable<Boolean>

Specifies whether this compute instance is pending for reboot to finish os patching.

scheduledRebootTime
String

Time of scheduled reboot.

osPatchingErrors
IEnumerable<MachineLearningError>

Collection of errors encountered when doing os patching.

Returns

A new OSPatchingStatus instance for mocking.

Applies to