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>]

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
預設值:None
支援萬用字元:False
不要顯示:False
別名:AzureRMContext, AzureCredential

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-InputObject

Identity 參數

參數屬性

類型:ISupportIdentity
預設值:None
支援萬用字元:False
不要顯示:False

參數集

GetViaIdentity
Position:Named
必要:True
來自管線的值:True
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Name

ChatTranscript 名稱。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False
別名:ChatTranscript名稱

參數集

GetViaIdentitySupportTicket
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
Get
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-SubscriptionId

目標訂用帳戶的標識碼。 此值必須是 UUID。

參數屬性

類型:

String[]

預設值:(Get-AzContext).Subscription.Id
支援萬用字元:False
不要顯示:False

參數集

List
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
Get
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-SupportTicketInputObject

Identity 參數

參數屬性

類型:ISupportIdentity
預設值:None
支援萬用字元: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。

輸入

ISupportIdentity

輸出

IChatTranscriptDetails