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

关闭虚拟机

“关闭虚拟机”活动,此活动会关闭 VMware 上的虚拟机。

UiPath.VMware.Activities.PowerOffVM

此活动将关闭虚拟机。

属性

常见

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

输入

  • “关闭访客操作系统” - 选中后,通过关闭访客操作系统来关闭虚拟机。默认值为True

  • Timeout - Specifies how long to wait (in seconds) for the activity to run before an error is thrown. The default value is 300 seconds (5 minutes).

  • VirtualMachine - Identifies the virtual machine on which the operation is performed.

    备注:

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

    • 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.
    • VMwareToolsVersionStatus - Specifies the current version status of VMware Tools. The possible values are Blacklisted, Current, NeedUpgrade, NotInstalled, SupportedNew, SupportedOld, TooNew, TooOld, Unmanaged.
    • IsTemplate - Indicates if the input represents a virtual machine template.
    • Tags - Specifies the list of tags assigned to the virtual machine or template.
  • WaitForCompletion - When selected, waits for the activity to be complete but cannot exceed the value specified in the Timeout field. When the option it's not selected, the activity ends immediately after the VMware API call is made. The default value is True.

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
    备注:

    If the value of ShutdownGuestOS parameter is True and the virtual machine has no Guest OS or VMWare Tools installed on it, the activity completes successfully (i.e. the exception thrown by trying to shutdown the Guest OS is ignored but written into the log files).

  • 属性
  • 常见
  • 输入
  • 其他

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新