WebSiteManagementClient.ListGeoRegionsWithHttpMessagesAsync Method

Definition

Get a list of available geographical regions.

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)))

Parameters

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.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Implements

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Thrown when a required parameter is null

Remarks

Description for Get a list of available geographical regions.

Applies to