你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az support tickets communications

注意

此参考是 Azure CLI(版本 2.0.81 或更高版本)的支持扩展的一部分。 该扩展将在首次运行 az support tickets communications 命令时自动安装。 详细了解扩展。

此命令组已隐式弃用,因为命令组“支持票证”已弃用,将在将来的版本中删除。

管理支持票证通信。

命令

名称 说明 类型 状态
az support tickets communications create

向 Azure 支持票证添加新的客户通信。

扩展 已放弃
az support tickets communications list

列出支持票证的所有通信(不包括附件)。

扩展 已放弃
az support tickets communications show

获取支持票证的通信详细信息。

扩展 已放弃

az support tickets communications create

已放弃

此命令已隐式弃用,因为命令组“支持票证通信”已弃用,将在将来的版本中删除。

向 Azure 支持票证添加新的客户通信。

az support tickets communications create --communication-body
                                         --communication-name
                                         --communication-subject
                                         --ticket-name
                                         [--communication-sender]

示例

将通信添加到订阅票证。

az support tickets communications create \
  --ticket-name "TestTicketName" \
  --communication-name "TestTicketCommunicationName" \
  --communication-body "TicketCommunicationBody" \
  --communication-subject "TicketCommunicationSubject"

必需参数

--communication-body

通信的文本。

--communication-name

通信名称。

--communication-subject

通信的主题。

--ticket-name

支持票证名称。

可选参数

--communication-sender

发件人的电子邮件地址。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az support tickets communications list

已放弃

此命令已隐式弃用,因为命令组“支持票证通信”已弃用,将在将来的版本中删除。

列出支持票证的所有通信(不包括附件)。

az support tickets communications list --ticket-name
                                       [--filters]

示例

列出订阅支持票证的通信。

az support tickets communications list --ticket-name "TestTicketName"

列出订阅支持票证的 Web 通信。

az support tickets communications list \
  --ticket-name "TestTicketName" \
  --filters "communicationType eq 'Web'"

列出在订阅支持票证的特定日期或之后创建的 Web 通信。

az support tickets communications list \
  --ticket-name "TestTicketName" \
  --filters "CreatedDate ge 2020-01-01 and communicationType eq 'Web'"

必需参数

--ticket-name

支持票证名称。

可选参数

--filters

要对操作应用的筛选器。 我们支持 OData v4.0 semtantics。 可以使用 eq 运算符在“CommunicationType”或使用 gt/ge 的“CreatedDate”上指定筛选器。 若要合并这两个筛选器,请使用逻辑和运算符。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az support tickets communications show

已放弃

此命令已隐式弃用,因为命令组“支持票证通信”已弃用,将在将来的版本中删除。

获取支持票证的通信详细信息。

az support tickets communications show --communication-name
                                       --ticket-name

示例

获取订阅支持票证的通信详细信息。

az support tickets communications show \
  --ticket-name "TestTicketName" \
  --communication-name "TestTicketCommunicationName"

必需参数

--communication-name

通信名称。

--ticket-name

支持票证名称。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。