UpdateConfiguration 建構函式

定義

多載

UpdateConfiguration()

初始化 UpdateConfiguration 類別的新實例。

UpdateConfiguration(OperatingSystemType, WindowsProperties, LinuxProperties, Nullable<TimeSpan>, IList<String>, IList<String>, TargetProperties)

初始化 UpdateConfiguration 類別的新實例。

UpdateConfiguration()

初始化 UpdateConfiguration 類別的新實例。

public UpdateConfiguration ();
Public Sub New ()

適用於

UpdateConfiguration(OperatingSystemType, WindowsProperties, LinuxProperties, Nullable<TimeSpan>, IList<String>, IList<String>, TargetProperties)

初始化 UpdateConfiguration 類別的新實例。

public UpdateConfiguration (Microsoft.Azure.Management.Automation.Models.OperatingSystemType operatingSystem, Microsoft.Azure.Management.Automation.Models.WindowsProperties windows = default, Microsoft.Azure.Management.Automation.Models.LinuxProperties linux = default, TimeSpan? duration = default, System.Collections.Generic.IList<string> azureVirtualMachines = default, System.Collections.Generic.IList<string> nonAzureComputerNames = default, Microsoft.Azure.Management.Automation.Models.TargetProperties targets = default);
new Microsoft.Azure.Management.Automation.Models.UpdateConfiguration : Microsoft.Azure.Management.Automation.Models.OperatingSystemType * Microsoft.Azure.Management.Automation.Models.WindowsProperties * Microsoft.Azure.Management.Automation.Models.LinuxProperties * Nullable<TimeSpan> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Automation.Models.TargetProperties -> Microsoft.Azure.Management.Automation.Models.UpdateConfiguration
Public Sub New (operatingSystem As OperatingSystemType, Optional windows As WindowsProperties = Nothing, Optional linux As LinuxProperties = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional azureVirtualMachines As IList(Of String) = Nothing, Optional nonAzureComputerNames As IList(Of String) = Nothing, Optional targets As TargetProperties = Nothing)

參數

operatingSystem
OperatingSystemType

目的電腦的作業系統。 可能的值包括:'Windows'、'Linux'

windows
WindowsProperties

Windows 特定的更新組態。

linux
LinuxProperties

Linux 特定的更新組態。

duration
Nullable<TimeSpan>

軟體更新組態執行所允許的最大時間。 必須根據 ISO8601 使用 PT[n]H[n]M[n]S 格式來指定持續時間

azureVirtualMachines
IList<String>

以軟體更新組態為目標之 Azure 虛擬機器的 Azure 資源識別碼清單。

nonAzureComputerNames
IList<String>

以軟體更新組態為目標的非 Azure 機器名稱清單。

targets
TargetProperties

軟體更新組態的群組目標。

適用於