Share via


SupportTicketNoSubCommunicationCollection.GetAll 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: /providers/Microsoft.Support/supportTickets/{supportTicketName}/communications
  • Operation Id: CommunicationsNoSubscription_List
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketNoSubCommunicationResource
public virtual Azure.Pageable<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource> GetAll (int? top = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>
override this.GetAll : Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>
Public Overridable Function GetAll (Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SupportTicketNoSubCommunicationResource)

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

A collection of SupportTicketNoSubCommunicationResource that may take multiple service requests to iterate over.

Applies to