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

IWebSiteManagementClient.ListGeoRegionsWithHttpMessagesAsync 方法

定义

获取可用地理区域的列表。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.GeoRegion>>> ListGeoRegionsWithHttpMessagesAsync (Microsoft.Azure.Management.AppService.Fluent.Models.SkuName sku = default, bool? linuxWorkersEnabled = default, bool? xenonWorkersEnabled = default, bool? linuxDynamicWorkersEnabled = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListGeoRegionsWithHttpMessagesAsync : Microsoft.Azure.Management.AppService.Fluent.Models.SkuName * Nullable<bool> * Nullable<bool> * Nullable<bool> * 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.AppService.Fluent.Models.GeoRegion>>>
Public Function ListGeoRegionsWithHttpMessagesAsync (Optional sku As SkuName = Nothing, Optional linuxWorkersEnabled As Nullable(Of Boolean) = Nothing, Optional xenonWorkersEnabled As Nullable(Of Boolean) = Nothing, Optional linuxDynamicWorkersEnabled As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of GeoRegion)))

参数

sku
SkuName

用于筛选区域的 SKU 的名称。 可能的值包括:“Free”、“Shared”、“Basic”、“Standard”、“Premium”、“Dynamic”、“Isolated”、“PremiumV2”、“ElasticPremium”、“ElasticIsolated”

linuxWorkersEnabled
Nullable<Boolean>

如果要仅筛选到支持 Linux 辅助角色的区域,请指定 <代码>true</code> 。

xenonWorkersEnabled
Nullable<Boolean>

如果要仅筛选为支持 Xenon 辅助角色的区域,请指定 <代码>true</code> 。

linuxDynamicWorkersEnabled
Nullable<Boolean>

如果要仅筛选为支持 Linux 消耗辅助角色的区域,请指定 <代码>true</code> 。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

注解

获取可用地理区域列表的说明。

适用于