SupportTicketCommunicationCollection.GetAllAsync Method

Definition

Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by CreatedDate or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications
  • Operation Id: Communications_List
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Support.SupportTicketCommunicationResource> GetAllAsync (int? top = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Support.SupportTicketCommunicationResource>
override this.GetAllAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Support.SupportTicketCommunicationResource>
Public Overridable Function GetAllAsync (Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SupportTicketCommunicationResource)

Parameters

top
Nullable<Int32>

The number of values to return in the collection. Default is 10 and max is 10.

filter
String

The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SupportTicketCommunicationResource that may take multiple service requests to iterate over.

Applies to