UiPath Documentation
activities
latest
false
IT 自动化活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

将虚拟机还原为快照

将虚拟机还原为快照活动可将指定虚拟机还原为 VMware 上的给定快照。

UiPath.VMware.Activities.RevertVMToSnapshot

将指定的虚拟机还原到给定的快照。 如果未指定快照,则虚拟机保持不变。

属性

常见

  • “显示名称”- 活动的显示名称。

输入

  • Host - The Host of the virtual machine, stored in a Host variable. This field is used in case the activity needs to power on the machine at runtime. This field supports only Host variables.
  • Snapshot - The snapshot you want to revert the virtual machine to. If empty, the machine reverts to the current snapshot. This field supports only Snapshot variables.
  • SuppressPowerOn - If selected, the virtual machine is not powered on when the activity runs, regardless of the power state specified in the snapshot. By default, this check box is cleared.
  • Timeout (seconds) - Specifies the amount of time (in seconds) to wait for the activity to complete before an error is thrown. The default value is 300 seconds. This field supports only Int32 variables.
  • VirtualMachine - The virtual machine that you want to revert to a specified snapshot. This field supports only VirtualMachine variables.
    备注:

    “虚拟机”参数提供以下信息:

    • ID - Specifies the ID of the virtual machine.
    • Name - Specifies the name Virtual machine.
    • Host - Specifies the host on which the virtual machine is running.
    • FullPath - Specifies the full path to the virtual machine, including datacenter and folder hierarchy.
    • IPAddress - Specifies the primary IP address assigned to the guest operating system, if known.
    • DNSName - Specifies the hostname of the guest operating system, if known.
    • GuestOS - Specifies the guest's operating system full name, if known.
    • GuestOSState - Specifies the guest's operating system state. Possible values are Running, ShuttingDown, Resetting, Standby, NotRunning, Unknown.
    • PowerState - Specifies the virtual machine power state. Possible values are PoweredOn, PoweredOff, Suspended.
    • VMwareToolsState - Specifies the current running status of VMware Tools in the guest operating system, if known. Possible values are NotRunning, Running, ExecutingScripts.
    • VMware 工具版本状态- 指定 VMware 工具的当前版本状态。可能的值包括“已列入黑名单”“当前”“需要升级”、“未安装”“支持新”“支持旧”“太新”“太旧”“非托管”
    • IsTemplate - Indicates if the input represents a virtual machine template.
    • Tags - Specifies the list of tags assigned to the virtual machine or template.
  • WaitForCompletion - If selected, the activity waits for the action to complete before moving forward, but no more than the period specified in the Timeout (seconds) property. By default, this check box is selected.

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
  • 属性
  • 常见
  • 输入
  • 其他

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新