Delen via


WebSiteManagementClientExtensions.ListGeoRegionsAsync Method

Definition

Get a list of available geographical regions.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.GeoRegion>> ListGeoRegionsAsync (this Microsoft.Azure.Management.WebSites.IWebSiteManagementClient operations, string sku = default, bool? linuxWorkersEnabled = default, bool? xenonWorkersEnabled = default, bool? linuxDynamicWorkersEnabled = default, System.Threading.CancellationToken cancellationToken = default);
static member ListGeoRegionsAsync : Microsoft.Azure.Management.WebSites.IWebSiteManagementClient * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.GeoRegion>>
<Extension()>
Public Function ListGeoRegionsAsync (operations As IWebSiteManagementClient, Optional sku As String = Nothing, Optional linuxWorkersEnabled As Nullable(Of Boolean) = Nothing, Optional xenonWorkersEnabled As Nullable(Of Boolean) = Nothing, Optional linuxDynamicWorkersEnabled As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of GeoRegion))

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

sku
String

Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'IsolatedV2', 'PremiumV2', 'PremiumV3', 'PremiumContainer', 'ElasticPremium', 'ElasticIsolated'

linuxWorkersEnabled
Nullable<Boolean>

Specify <code>true</code> if you want to filter to only regions that support Linux workers.

xenonWorkersEnabled
Nullable<Boolean>

Specify <code>true</code> if you want to filter to only regions that support Xenon workers.

linuxDynamicWorkersEnabled
Nullable<Boolean>

Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get a list of available geographical regions.

Applies to