Sdílet prostřednictvím


WebSiteManagementClient.ListGeoRegionsWithHttpMessagesAsync Metoda

Definice

Získejte seznam dostupných geografických oblastí.

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>>>
override this.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)))

Parametry

sku
SkuName

Název skladové položky použité k filtrování oblastí Mezi možné hodnoty patří: Free, Shared, Basic, Standard, Premium, Dynamic, Isolated, PremiumV2, ElasticPremium, ElasticIsolated.

linuxWorkersEnabled
Nullable<Boolean>

Pokud chcete filtrovat jenom do oblastí, které podporují pracovní procesy Linuxu, zadejte <hodnotu true</>code>.

xenonWorkersEnabled
Nullable<Boolean>

Pokud chcete filtrovat pouze do oblastí, které podporují pracovní procesy Xenonu, zadejte <hodnotu true</>code>.

linuxDynamicWorkersEnabled
Nullable<Boolean>

Pokud chcete filtrovat jenom do oblastí, které podporují pracovní procesy využití Linuxu, zadejte <hodnotu true</>code>.

customHeaders
Dictionary<String,List<String>>

Hlavičky, které budou přidány do žádosti.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Implementuje

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolána při nemožnosti deserializovat odpověď

Vyvolá se, když má požadovaný parametr hodnotu null.

Vyvolá se, když má požadovaný parametr hodnotu null.

Poznámky

Popis pro Získání seznamu dostupných geografických oblastí.

Platí pro