---
schema_version: "1"
id: f6a05e31b106dffe0e1f0e1f21c4adde9ed8c014cc50a927443d52b6dba45961
title: tsm pending-changes
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server/cli_pending-changes.md
canonical_url: https://help.tableau.com/v0.0/server/zh-cn/cli_pending-changes.htm
source_site: help.tableau.com
content_type: documentation
content_hash: e1a5071023090fbd388dd20d2d53edb9f51c00104cd7dab3d9f5bd718020f9fb
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/v0.0/server/zh-cn/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/v0.0/server/zh-cn/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/v0.0/server/zh-cn/tsm_overview.htm#Connecti)。

\-u, --username <user>

在会话不是活动状态的情况下为必需，`-p` 或 `--password` 也为必需。

指定用户帐户。如果未包括此选项，则使用您登录所使用的凭据运行该命令。