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

az communication chat thread

Note

此参考是 Azure CLI(版本 2.67.0 或更高版本) 的通信 扩展的一部分。 该扩展将在首次运行 az communication chat thread 命令时自动安装。 了解更多关于扩展的信息。

命令组“通信聊天”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

用于管理通信服务资源的聊天线程的命令。

命令

名称 说明 类型 Status
az communication chat thread create

创建聊天线程。

Extension Preview
az communication chat thread delete

删除聊天线程。

Extension Preview
az communication chat thread list

获取用户的聊天线程列表。

Extension Preview
az communication chat thread update-topic

更新聊天线程的主题。

Extension Preview

az communication chat thread create

预览

命令组“通信聊天线程”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

创建聊天线程。

az communication chat thread create --topic
                                    [--access-token]
                                    [--endpoint]
                                    [--idempotency-token]

示例

创建聊天线程

az communication chat thread create --topic "chat-topic"

必需参数

--topic

聊天主题。

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--access-token

通信访问令牌。 环境变量:AZURE_COMMUNICATION_ACCESS_TOKEN。

属性
参数组: Communication Arguments
--endpoint

通信终结点。 环境变量:AZURE_COMMUNICATION_ENDPOINT。

属性
参数组: Communication Arguments
--idempotency-token

幂等令牌。

全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

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

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

--subscription

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

--verbose

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

属性
默认值: False

az communication chat thread delete

预览

命令组“通信聊天线程”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

删除聊天线程。

az communication chat thread delete --thread
                                    [--access-token]
                                    [--endpoint]
                                    [--yes]

示例

删除聊天线程

az communication chat thread delete --thread "19:a-bcd=xyz"

必需参数

--thread -t

线程 ID。

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--access-token

通信访问令牌。 环境变量:AZURE_COMMUNICATION_ACCESS_TOKEN。

属性
参数组: Communication Arguments
--endpoint

通信终结点。 环境变量:AZURE_COMMUNICATION_ENDPOINT。

属性
参数组: Communication Arguments
--yes -y

不要提示确认。

属性
默认值: False
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

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

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

--subscription

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

--verbose

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

属性
默认值: False

az communication chat thread list

预览

命令组“通信聊天线程”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

获取用户的聊天线程列表。

az communication chat thread list [--access-token]
                                  [--endpoint]
                                  [--start-time]

示例

列出聊天会话

az communication chat thread list

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--access-token

通信访问令牌。 环境变量:AZURE_COMMUNICATION_ACCESS_TOKEN。

属性
参数组: Communication Arguments
--endpoint

通信终结点。 环境变量:AZURE_COMMUNICATION_ENDPOINT。

属性
参数组: Communication Arguments
--start-time

ISO8601格式的开始时间,例如:2022-07-14T10:21。

全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

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

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

--subscription

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

--verbose

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

属性
默认值: False

az communication chat thread update-topic

预览

命令组“通信聊天线程”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

更新聊天线程的主题。

az communication chat thread update-topic --thread
                                          --topic
                                          [--access-token]
                                          [--endpoint]

示例

更新聊天线程主题

az communication chat thread update-topic --thread "19:a-bcd=xyz" --topic "New topic!"

必需参数

--thread -t

线程 ID。

--topic

聊天主题。

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--access-token

通信访问令牌。 环境变量:AZURE_COMMUNICATION_ACCESS_TOKEN。

属性
参数组: Communication Arguments
--endpoint

通信终结点。 环境变量:AZURE_COMMUNICATION_ENDPOINT。

属性
参数组: Communication Arguments
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

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

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

--subscription

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

--verbose

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

属性
默认值: False