---
schema_version: "1"
id: 3adfa73b0102cb8b52f7e240c56e77dc5b6fe15622f9c84151ba6a8567f04f80
title: tsm pending-changes
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server-linux/cli_pending-changes.md
canonical_url: https://help.tableau.com/current/server-linux/zh-tw/cli_pending-changes.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 44c7f8720096a8c24509c0d24487d33bfe36594c2c73550c8648516fc306949a
description: Reference for tsm pending-changes commands to apply, discard, or list pending Tableau Server changes.
---
[跳至主要內容](#main-content)

# tsm pending-changes

使用 `tsm pending-changes` 命令以套用、丟棄或檢視 Tableau Server 的擱置組態和拓撲變更。

您在 TSM 設定期間輸入的密碼會在您加以儲存後進行加密。在您套用擱置的變更期間及其前後，秘密都會保持在加密狀態。有關密碼儲存的詳情，請參閱[管理伺服器密碼](https://help.tableau.com/current/server-linux/zh-tw/security_secret_storage.htm#Understa)。

- [tsm pending-changes apply](#pending-changes-apply)
- [tsm pending-changes discard](#pending-changes-discard)
- [tsm pending-changes list](#pending-changes-view)

## tsm pending-changes apply

使用 `tsm pending-changes apply` 命令以套用 Tableau Server 的擱置組態和拓撲變更。

如果擱置組態需要重新啟動伺服器，`pending-changes apply` 命令將顯示提示，讓您知道即將重新啟動。即使伺服器已停止，也會顯示提示，但在這種情況下不會重新啟動。您可以使用 `--ignore-prompt` 選項隱藏提示，但這樣做不會改變重新啟動行為。如果變更不需要重新啟動，則不會出現提示即可套用變更。

### 概要

`tsm pending-changes apply [global options]`

### 選項

\-iw，--ignore-warnings

可選。

忽略警告級約束。

\--ignore-prompt

可選。

隱藏重新啟動提示。這樣做只會隱藏提示。重新啟動行為不會變更。

\--request-timeout <timeout in seconds>

可選。

等待指定的時間以完成命令。預設值為 1800（30 分鐘）。

## tsm pending-changes discard

使用 `tsm pending-changes discard` 命令，丟棄 Tableau Server 的擱置組態和拓撲變更。

### 概要

`tsm pending-changes discard [options] [global options]`

### 選項

\--config-only

可選。

只丟棄待定設定變更。

\--topology-only

可選。

只丟棄待定拓撲變更。

## tsm pending-changes list

列出 Tableau Server 的擱置組態和拓撲變更。不需要重新啟動伺服器的任何變更將會列為不需要重新啟動。如果沒有任何擱置變更需要重新啟動，則會出現一則訊息，指出變更不需要重新啟動伺服器。如果清單中的任何變更需要重新啟動，則整個擱置變更清單將導致重新啟動。有關動態設定或拓撲變更的詳細資訊，請參閱 [Tableau Server 動態拓撲變更](https://help.tableau.com/current/server-linux/zh-tw/server_process_hot_topo.htm)。

### 概要

`tsm pending-changes list [options] [global options]`

### 選項

\--config-only

可選。

只列出待定設定變更。

\--topology-only

可選。

只列出待定拓撲變更。

## 全域選項

\-h, --help

可選。

顯示命令說明。

\-p, --password <password>

在會話不是活動狀態的情況下為必需，`-u` 或 `--username` 也為必需。

為在 `-u` 或 `--username` 中指定的使用者指定密碼。

如果密碼包括窗格或特殊字元，請將其括在引號中：

`--password 'my password'`

\-s, --server https://<hostname>:8850

可選。

對 Tableau 服務管理器使用指定的位址。URL 必須以 `https` 開頭（包括連接埠 8850），並使用伺服器名稱而不是 IP 位址。例如 `https://<tsm_hostname>:8850`。如果沒有指定伺服器，則假定為 `https://<localhost | dnsname>:8850`。

\--trust-admin-controller-cert

可選。

使用此旗標來信任 TSM 控制器上的自我簽署憑證。如需有關憑證信任和 CLI 連線的詳細資訊，請參閱[連接 TSM 用戶端](https://help.tableau.com/current/server-linux/zh-tw/tsm_overview.htm#Connecti)。

\-u, --username <user>

在會話不是活動狀態的情況下為必需，`-p` 或 `--password` 也為必需。

請指定使用者名稱。如果未包括此選項，則使用您登入所使用的認證執行該命令。