SupportTicketChatTranscriptCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}.
  • Operation Id. : ChatTranscripts_Get.
  • Default Api Version. : 2025-06-01-preview.
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>> GetIfExistsAsync(string chatTranscriptName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>>
Public Overridable Function GetIfExistsAsync (chatTranscriptName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SupportTicketChatTranscriptResource))

Parameters

chatTranscriptName
String

The name of the ChatTranscriptDetails.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

chatTranscriptName is null.

chatTranscriptName is an empty string, and was expected to be non-empty.

Applies to