TenantSupportTicketCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.Support.TenantSupportTicketResource> GetAllAsync (int? top = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Support.TenantSupportTicketResource>
override this.GetAllAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Support.TenantSupportTicketResource>
Public Overridable Function GetAllAsync (Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TenantSupportTicketResource)
Parameters
- 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
An async collection of TenantSupportTicketResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET