Get-AzSupportChatTranscript
傳回訂用帳戶下支援票證的 chatTranscript 詳細數據。
語法
Get-AzSupportChatTranscript
[-SubscriptionId <String[]>]
-SupportTicketName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSupportChatTranscript
-Name <String>
-SupportTicketInputObject <ISupportIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSupportChatTranscript
-Name <String>
[-SubscriptionId <String[]>]
-SupportTicketName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSupportChatTranscript
-InputObject <ISupportIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
傳回訂用帳戶下支援票證的 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 |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
Identity 參數
類型: | ISupportIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
ChatTranscript 名稱。
類型: | String |
別名: | ChatTranscriptName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
目標訂用帳戶的標識碼。 此值必須是 UUID。
類型: | String[] |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-SupportTicketInputObject
Identity 參數
類型: | ISupportIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-SupportTicketName
支援票證名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |