SubscriptionSupportTicketCollection.GetAll Method

Definition

Lists all the support tickets for an Azure subscription. You can also filter the support tickets by Status, CreatedDate, ServiceId, and ProblemClassificationId using the $filter parameter. Output will be a paged result with nextLink, 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: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets
  • Operation Id: SupportTickets_List
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionSupportTicketResource
public virtual Azure.Pageable<Azure.ResourceManager.Support.SubscriptionSupportTicketResource> 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.SubscriptionSupportTicketResource>
override this.GetAll : Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Support.SubscriptionSupportTicketResource>
Public Overridable Function GetAll (Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubscriptionSupportTicketResource)

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. Learn more. Status, ServiceId, and ProblemClassificationId filters can only be used with Equals ('eq') operator. For CreatedDate filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to