你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineInstallPatchesParameters 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
VirtualMachineInstallPatchesParameters() |
初始化 VirtualMachineInstallPatchesParameters 类的新实例。 |
VirtualMachineInstallPatchesParameters(String, String, WindowsParameters, LinuxParameters) |
初始化 VirtualMachineInstallPatchesParameters 类的新实例。 |
VirtualMachineInstallPatchesParameters()
初始化 VirtualMachineInstallPatchesParameters 类的新实例。
public VirtualMachineInstallPatchesParameters ();
Public Sub New ()
适用于
VirtualMachineInstallPatchesParameters(String, String, WindowsParameters, LinuxParameters)
初始化 VirtualMachineInstallPatchesParameters 类的新实例。
public VirtualMachineInstallPatchesParameters (string rebootSetting, string maximumDuration = default, Microsoft.Azure.Management.Compute.Models.WindowsParameters windowsParameters = default, Microsoft.Azure.Management.Compute.Models.LinuxParameters linuxParameters = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters : string * string * Microsoft.Azure.Management.Compute.Models.WindowsParameters * Microsoft.Azure.Management.Compute.Models.LinuxParameters -> Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters
Public Sub New (rebootSetting As String, Optional maximumDuration As String = Nothing, Optional windowsParameters As WindowsParameters = Nothing, Optional linuxParameters As LinuxParameters = Nothing)
参数
- rebootSetting
- String
定义在软件更新操作期间重新启动 VM 的可接受时间。 可能的值包括:“IfRequired”、“Never”、“Always”
- maximumDuration
- String
指定操作将运行的最长时间。 它必须是符合 ISO 8601 的持续时间字符串,例如 PT4H (4 小时)
- windowsParameters
- WindowsParameters
Windows VM 上 InstallPatches 的输入,由 API 直接接收
- linuxParameters
- LinuxParameters
Linux VM 上 InstallPatches 的输入,由 API 直接接收