取得 VM 清單活動Get VM List Activity

重要

此版本的 Orchestrator 已達終止支援,建議您 升級至 Orchestrator 2019This version of Orchestrator has reached the end of support, we recommend you to upgrade to Orchestrator 2019.

「取得 VM 清單」活動是在 runbook 中用來取得 VMware vSphere 清查中虛擬機器的虛擬硬體資訊。The Get VM List activity is used in a runbook retrieve the virtual hardware information about a virtual machine in the VMware vSphere inventory. 這可讓 runbook 取出虛擬機器的資訊,並將其填入至 CMDB。This allows the runbook to retrieve the information of the virtual machine and populate it into a CMDB.

下表列出此活動的必要和選擇性內容以及已發佈資料。The following tables list the required and optional properties and published data for this activity.

此活動會將來自必要和選擇性內容的所有資料,發佈成已發佈資料。The activity publishes all of the data from the required and optional properties into published data. 系統會根據您在定義活動時選取的類別來產生其他已發佈資料。Additional published data is generated based on the class that you select when you define the activity.

取得 VM 清單活動所需的屬性Get VM List Activity Required Properties

未提供此活動的必要屬性。No required properties are provided for this activity.

取得 VM 清單活動的選擇性屬性Get VM List Activity Optional Properties

未提供此活動的選擇性屬性。No optional properties are provided for this activity.

取得 VM 清單活動篩選Get VM List Activity Filters

名稱Name 描述Description 實值類型Value Type 關係Relations
資料中心Datacenter 裝載 Vm 的資料中心。The datacenter hosting the VMs. StringString 等於Equals
主機/叢集Host/Cluster 裝載 Vm 的 vSphere 主機。The vSphere Host hosting the VMs. StringString 等於Equals
識別碼ID VM 的識別碼。The identifier of the VM. StringString 等於、不等於、包含、不包含、符合模式、不符合模式、開頭為、結尾為。Equals, Does not equal, Contains, Does not contain, Matches pattern, Does not match pattern, Starts with, Ends with.
虛擬機器名稱VM Name VM 的名稱。The name of the VM. StringString 等於、不等於、包含、不包含、符合模式、不符合模式、開頭為、結尾為。Equals, Does not equal, Contains, Does not contain, Matches pattern, Does not match pattern, Starts with, Ends with.
VM 路徑VM path VM 的完整路徑。The full path of the VM. StringString 等於、不等於、包含、不包含、符合模式、不符合模式、開頭為、結尾為。Equals, Does not equal, Contains, Does not contain, Matches pattern, Does not match pattern, Starts with, Ends with.

取得 VM 清單活動已發佈資料Get VM List Activity Published Data

名稱Name 描述Description 實值類型Value Type
識別碼ID VM 的識別碼。The identifier of the VM. StringString
VM 計數VM Count 傳回的 Vm 數目。The number of VMs returned. StringString
虛擬機器名稱VM Name VM 的名稱。The name of the VM. StringString
VM 路徑VM Path VCenter server 上 VM 的完整路徑。The full path of the VM on the vCenter server. StringString

設定取得 VM 清單活動Configuring the Get VM List Activity

下列程式說明設定取得 VM 清單活動所需的步驟。The following procedure describes the steps required to configure a Get VM List activity.

設定取得 VM 清單活動To configure the Get VM List Activity

  1. 在 [ 活動 ] 窗格中,將 [ 取得 VM 清單 ] 活動拖曳至使用中的 runbook。From the Activities pane, drag a Get VM List activity to the active runbook.

  2. 按兩下 [ 取得 VM 清單 ] 活動圖示。Double-click the Get VM List activity icon. [ 屬性 ] 對話方塊隨即開啟。The Properties dialog box opens.

  3. 在 [ 屬性 ] 索引標籤中設定設定,如下所示:Configure the settings in the Properties tab as follows:

    1. 在 [設定] 區段中,按一下省略號按鈕 (] **) **,然後選取您要用於此活動 VMware vSphere 伺服器連線。In the Configuration section, click the ellipsis button (...), and then select the VMware vSphere server connection that you want to use for this activity. 按一下 [確定]。Click OK.
  4. 在 [ 篩選 ] 索引標籤上,按一下 [ 新增 ],加入限制已發佈資料所需的篩選準則。On the Filters tab, click Add to add the filters required to restrict the published data.

  5. 按一下 [完成] 。Click Finish.