Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion azure-mgmt-web/azure/mgmt/web/web_site_management_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ def get_subscription_deployment_locations(
get_subscription_deployment_locations.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations'}

def list_geo_regions(
self, sku=None, linux_workers_enabled=None, xenon_workers_enabled=None, custom_headers=None, raw=False, **operation_config):
self, sku=None, linux_workers_enabled=None, xenon_workers_enabled=None, linux_dynamic_workers_enabled=None, custom_headers=None, raw=False, **operation_config):
"""Get a list of available geographical regions.

Get a list of available geographical regions.
Expand All @@ -667,6 +667,9 @@ def list_geo_regions(
:param xenon_workers_enabled: Specify <code>true</code> if you want to
filter to only regions that support Xenon workers.
:type xenon_workers_enabled: bool
:param linux_dynamic_workers_enabled: Specify <code>true</code> if you
want to filter to only regions that support Linux Consumption Workers.
:type linux_dynamic_workers_enabled: bool
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -696,6 +699,8 @@ def internal_paging(next_link=None, raw=False):
query_parameters['linuxWorkersEnabled'] = self._serialize.query("linux_workers_enabled", linux_workers_enabled, 'bool')
if xenon_workers_enabled is not None:
query_parameters['xenonWorkersEnabled'] = self._serialize.query("xenon_workers_enabled", xenon_workers_enabled, 'bool')
if linux_dynamic_workers_enabled is not None:
query_parameters['linuxDynamicWorkersEnabled'] = self._serialize.query("linux_dynamic_workers_enabled", linux_dynamic_workers_enabled, 'bool')
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')

else:
Expand Down