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

IResourceSkusOperations.ListWithHttpMessagesAsync 方法

定义

重载

ListWithHttpMessagesAsync(String, Dictionary<String,List<String>>)
ListWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

获取可用于订阅的 Microsoft.Compute SKU 列表。

ListWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

获取可用于订阅的 Microsoft.Compute SKU 列表。

ListWithHttpMessagesAsync(String, Dictionary<String,List<String>>)

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ResourceSku>>> ListWithHttpMessagesAsync (string filter, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders);
abstract member ListWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ResourceSku>>>
Public Function ListWithHttpMessagesAsync (filter As String, customHeaders As Dictionary(Of String, List(Of String))) As Task(Of AzureOperationResponse(Of IPage(Of ResourceSku)))

参数

filter
String
customHeaders
Dictionary<String,List<String>>

返回

适用于

ListWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

获取可用于订阅的 Microsoft.Compute SKU 列表。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ResourceSku>>> ListWithHttpMessagesAsync (string filter, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken);
abstract member ListWithHttpMessagesAsync : 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.Compute.Models.ResourceSku>>>
Public Function ListWithHttpMessagesAsync (filter As String, customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse(Of IPage(Of ResourceSku)))

参数

filter
String

要应用于操作的筛选器。 目前仅支持 位置 筛选器。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

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

无法反序列化响应时引发

当所需的参数为 null 时引发

适用于

ListWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

获取可用于订阅的 Microsoft.Compute SKU 列表。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ResourceSku>>> ListWithHttpMessagesAsync (string filter = default, string includeExtendedLocations = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * 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.Compute.Models.ResourceSku>>>
Public Function ListWithHttpMessagesAsync (Optional filter As String = Nothing, Optional includeExtendedLocations 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 ResourceSku)))

参数

filter
String

要应用于操作的筛选器。 目前仅支持 位置 筛选器。

includeExtendedLocations
String

若要在响应中包含扩展位置信息,则为 。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

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

无法反序列化响应时引发

当所需的参数为 null 时引发

适用于