Dela via


SupportTicketsOperationsExtensions.List Method

Definition

Lists all the support tickets for an Azure subscription. You can also filter the support tickets by Status or CreatedDate 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 12 months after ticket creation. If a ticket was created more than 12 months ago, a request for data might cause an error.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.SupportTicketDetails> List (this Microsoft.Azure.Management.Support.ISupportTicketsOperations operations, int? top = default, string filter = default);
static member List : Microsoft.Azure.Management.Support.ISupportTicketsOperations * Nullable<int> * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.SupportTicketDetails>
<Extension()>
Public Function List (operations As ISupportTicketsOperations, Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing) As IPage(Of SupportTicketDetails)

Parameters

operations
ISupportTicketsOperations

The operations group for this extension method.

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 filter 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'.

Returns

Applies to