Freigeben über


TenantSupportTicketCollection.GetAll Method

Definition

Lists all the support tickets. <br/><br/>You can also filter the support tickets by <i>Status</i>, <i>CreatedDate</i>, , <i>ServiceId</i>, and <i>ProblemClassificationId</i> using the $filter parameter. Output will be a paged result with <i>nextLink</i>, using which you can retrieve the next set of support tickets. <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
  • Operation Id: SupportTicketsNoSubscription_List
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
public virtual Azure.Pageable<Azure.ResourceManager.Support.TenantSupportTicketResource> 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.TenantSupportTicketResource>
override this.GetAll : Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Support.TenantSupportTicketResource>
Public Overridable Function GetAll (Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TenantSupportTicketResource)

Parameters

top
Nullable<Int32>

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

filter
String

The filter to apply on the operation. We support 'odata v4.0' filter semantics. <a target='_blank' href='https://docs.microsoft.com/odata/concepts/queryoptions-overview'>Learn more</a> <br/><i>Status</i> , <i>ServiceId</i>, and <i>ProblemClassificationId</i> filters can only be used with 'eq' operator. For <i>CreatedDate</i> filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to