Get-AzSupportChatTranscript
返回订阅下支持票证的 chatTranscript 详细信息。
语法
List (默认值)
Get-AzSupportChatTranscript
-SupportTicketName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentitySupportTicket
Get-AzSupportChatTranscript
-Name <String>
-SupportTicketInputObject <ISupportIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzSupportChatTranscript
-Name <String>
-SupportTicketName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzSupportChatTranscript
-InputObject <ISupportIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
返回订阅下支持票证的 chatTranscript 详细信息。
示例
示例 1:获取订阅级别的聊天脚本列表
Get-AzSupportChatTranscript -SupportTicketName "58cf91d7-bedfb285-617ecf73-d627-4bfd-9298-5950da2170b7"
Name StartTime
---- ---------
595df7b4-167f-4f3e-8292-f0ba2b8a53f9 8/11/2023 7:27:49 PM
f8b45cd6-a8ec-40e2-b846-a28b848553cf 8/11/2023 7:52:44 PM
列出订阅下支持票证的所有聊天脚本
示例 2:在订阅级别获取单个聊天脚本
Get-AzSupportChatTranscript -SupportTicketName "58cf91d7-bedfb285-617ecf73-d627-4bfd-9298-5950da2170b7" -Name "595df7b4-167f-4f3e-8292-f0ba2b8a53f9"
Id : /subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportT
ickets/58cf91d7-bedfb285-617ecf73-d627-4bfd-9298-5950da2170b7/chatTranscripts/595df7b4-1
67f-4f3e-8292-f0ba2b8a53f9
Message : {{
"contentType": "text",
"communicationDirection": "Inbound",
"sender": "",
"body": "Hey",
"createdDate": "2023-08-11T19:19:33.0000000Z"
}, {
"contentType": "text",
"communicationDirection": "Outbound",
"sender": "Aditi Takle",
"body": "hi",
"createdDate": "2023-08-11T19:19:38.0000000Z"
}, {
"contentType": "text",
"communicationDirection": "Outbound",
"sender": "Damian Spoltore",
"body": "hi Aditi, I\u0027m Damian",
"createdDate": "2023-08-11T19:24:19.0000000Z"
}, {
"contentType": "text",
"communicationDirection": "Outbound",
"sender": "Damian Spoltore",
"body": "I was entering to test",
"createdDate": "2023-08-11T19:24:24.0000000Z"
}}
Name : 595df7b4-167f-4f3e-8292-f0ba2b8a53f9
ResourceGroupName :
StartTime : 8/11/2023 7:27:49 PM
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.Support/chatTranscripts
返回订阅下支持票证的 chatTranscript 详细信息。
参数
-DefaultProfile
DefaultProfile 参数不起作用。
如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
参数属性
| 类型: | PSObject
|
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
| 别名: | AzureRMContext, AzureCredential |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
标识参数
GetViaIdentity
| Position: | Named |
| 必需: | True |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Name
ChatTranscript 名称。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
| 别名: | ChatTranscriptName |
参数集
GetViaIdentitySupportTicket
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
Get
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-SubscriptionId
目标订阅的 ID。
该值必须是 UUID。
参数属性
| 类型: | String[]
|
| 默认值: | (Get-AzContext).Subscription.Id |
| 支持通配符: | False |
| 不显示: | False |
参数集
List
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
Get
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
标识参数
GetViaIdentitySupportTicket
| Position: | Named |
| 必需: | True |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-SupportTicketName
支持票证名称。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
List
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
Get
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持以下常用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。
输出