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

az support in-subscription communication

注释

此参考是 Azure CLI(版本 2.57.0 或更高版本)支持 扩展的一部分。 该扩展将在首次运行 az support in-subscription communication 命令时自动安装。 了解更多关于扩展 的相关信息。

管理支持票证通信。

命令

名称 说明 类型 Status
az support in-subscription communication create

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

扩展 GA
az support in-subscription communication list

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

还可以使用 $filter 参数 CreatedDateCommunicationType 来筛选支持票证通信。 目前支持的唯一通信类型是 Web。 输出将是一个分页结果,nextLink,使用该结果可以检索下一组通信结果。

支持票证数据在票证创建后的 18 个月内可用。 如果在 18 个多月前创建了票证,则对数据的请求可能会导致错误。

扩展 GA
az support in-subscription communication show

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

扩展 GA

az support in-subscription communication create

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

az support in-subscription communication create --communication-body
                                                --communication-name
                                                --communication-subject
                                                --ticket-name
                                                [--communication-sender]
                                                [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

示例

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

az support in-subscription communication create  --ticket-name "TestTicketName "--communication-name "TestTicketCommunicationName" --communication-body "TicketCommunicationBody" --communication-subject "TicketCommunicationSubject"

必需参数

--communication-body

通信正文。

--communication-name

通信名称。

--communication-subject

沟通的主题。

--ticket-name

支持票证名称。

可选参数

--communication-sender

发件人的电子邮件地址。 如果服务主体调用此属性,则需要此属性。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
全局参数
--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 in-subscription communication list

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

还可以使用 $filter 参数 CreatedDateCommunicationType 来筛选支持票证通信。 目前支持的唯一通信类型是 Web。 输出将是一个分页结果,nextLink,使用该结果可以检索下一组通信结果。

支持票证数据在票证创建后的 18 个月内可用。 如果在 18 个多月前创建了票证,则对数据的请求可能会导致错误。

az support in-subscription communication list --ticket-name
                                              [--filter]
                                              [--max-items]
                                              [--next-token]

示例

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

az support in-subscription communication list --ticket-name "TestTicketName" --filter "CreatedDate ge 2024-01-01"

必需参数

--ticket-name

支持票证名称。

可选参数

--filter

要应用于作的筛选器。 可以按 communicationType 和 createdDate 属性进行筛选。 CommunicationType 支持 Equals ('eq') 运算符,并且 createdDate 支持大于 ('gt') 和大于或等于 ('ge') 运算符。 可以按逻辑 And ('and') 运算符合并 CommunicationType 和 CreatedDate 筛选器。

--max-items

命令输出中要返回的项总数。 如果可用的项总数大于指定的值,则会在命令的输出中提供令牌。 若要恢复分页,请在后续命令的 --next-token 参数中提供令牌值。

--next-token

用于指定开始分页的位置的令牌。 这是先前截断的响应中的令牌值。

全局参数
--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 in-subscription communication show

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

az support in-subscription communication show --communication-name
                                              --ticket-name

示例

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

az support in-subscription communication 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 获取完整的调试日志。