共用方式為


SupportTicketsOperationsExtensions.ListAsync 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 System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.SupportTicketDetails>> ListAsync (this Microsoft.Azure.Management.Support.ISupportTicketsOperations operations, int? top = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Support.ISupportTicketsOperations * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.SupportTicketDetails>>
<Extension()>
Public Function ListAsync (operations As ISupportTicketsOperations, Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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'.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to