SupportTicketChatTranscriptCollection.GetIfExists 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: 2024-04-01
  • Resource: SupportTicketChatTranscriptResource
public virtual Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource> GetIfExists (string chatTranscriptName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>
Public Overridable Function GetIfExists (chatTranscriptName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SupportTicketChatTranscriptResource)

Parameters

chatTranscriptName
String

ChatTranscript name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

chatTranscriptName is null.

Applies to