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

获取虚拟机

“获取虚拟机”活动,该活动会检索有关 VMware 上指定虚拟机或模板的详细信息。

UiPath.VMware.Activities.CrossPlatform.VirtualMachine.GetVM

描述

检索有关指定虚拟机或模板的详细信息。

项目兼容性

Windows | 跨平台

配置

  • 虚拟机 ID - 指定虚拟机或模板的唯一标识符。
  • 虚拟机名称- 指定新虚拟机的完整路径,包括数据中心及其文件夹。
    备注:

    必须至少有一个“虚拟机 ID”“虚拟机名称”参数具有值;如果两者都有值,则“VirtualMachineId”优先。

输入

  • 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).

输出

  • 虚拟机- 提供有关新创建的虚拟机的详细信息。
    备注:

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

    • 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.
备注:

For retrieving the DNS Name and IP Address, you need to install the VMware tools on the Guest OS and to power on the machine at least once before initiating the request.

  • 描述
  • 项目兼容性
  • 配置
  • 输入
  • 输出

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新