你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISupportTicketsOperations.ListWithHttpMessagesAsync 方法

定义

列出 Azure 订阅的所有支持票证。 还可以使用 $filter 参数按 StatusCreatedDate 筛选支持票证。 输出将是 带有 nextLink 的分页结果,使用该结果可以检索下一组支持票证。 <br/><br/>支持票证数据在票证创建后的 12 个月内可用。 如果票证是在 12 个月前创建的,则数据请求可能会导致错误。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.SupportTicketDetails>>> ListWithHttpMessagesAsync (int? top = default, string filter = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : Nullable<int> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.SupportTicketDetails>>>
Public Function ListWithHttpMessagesAsync (Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SupportTicketDetails)))

参数

top
Nullable<Int32>

集合中要返回的值数。 默认值为 25,最大值为 100。

filter
String

要应用于操作的筛选器。 我们支持“odata v4.0”筛选器语义。 了解详细信息状态 筛选器只能与 equals ('eq') 运算符一起使用。 对于 CreatedDate 筛选器,支持的运算符是大于 ('gt') 和大于或等于s ('ge') 。 使用这两个筛选器时,请使用逻辑“AND”将它们合并。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

操作返回无效状态代码时引发

无法反序列化响应时引发

当所需的参数为 null 时引发

适用于