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
System.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
System.Nullable<System.Boolean>

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

xenonWorkersEnabled
System.Nullable<System.Boolean>

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

linuxDynamicWorkersEnabled
System.Nullable<System.Boolean>

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<GeoRegion>>

Remarks

Description for Get a list of available geographical regions.

Applies to