WebSiteManagementClientExtensions.ListGeoRegionsAsync Method

Definition

Get a list of available geographical regions.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.GeoRegion>> ListGeoRegionsAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient operations, Microsoft.Azure.Management.AppService.Fluent.Models.SkuName sku = default, bool? linuxWorkersEnabled = default, bool? xenonWorkersEnabled = default, bool? linuxDynamicWorkersEnabled = default, System.Threading.CancellationToken cancellationToken = default);
static member ListGeoRegionsAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * Microsoft.Azure.Management.AppService.Fluent.Models.SkuName * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.GeoRegion>>
<Extension()>
Public Function ListGeoRegionsAsync (operations As IWebSiteManagementClient, 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 cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of GeoRegion))

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

sku
SkuName

Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', '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