共用方式為


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

取消語彙基元。

傳回

備註

取得可用地理區域清單的描述。

適用於