Exemple #1
0
 /// <summary>
 /// Get a list of available geographical regions.
 /// </summary>
 /// <remarks>
 /// Get a list of available geographical regions.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='sku'>
 /// Name of SKU used to filter the regions. Possible values include: 'Free',
 /// 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated',
 /// 'PremiumV2', 'ElasticPremium', 'ElasticIsolated'
 /// </param>
 /// <param name='linuxWorkersEnabled'>
 /// Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions
 /// that support Linux workers.
 /// </param>
 /// <param name='xenonWorkersEnabled'>
 /// Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions
 /// that support Xenon workers.
 /// </param>
 /// <param name='linuxDynamicWorkersEnabled'>
 /// Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions
 /// that support Linux Consumption Workers.
 /// </param>
 public static IPage <GeoRegion> ListGeoRegions(this IWebSiteManagementClient operations, string sku = default(string), bool?linuxWorkersEnabled = default(bool?), bool?xenonWorkersEnabled = default(bool?), bool?linuxDynamicWorkersEnabled = default(bool?))
 {
     return(operations.ListGeoRegionsAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled).GetAwaiter().GetResult());
 }