Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions src/command_modules/azure-cli-appservice/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@

Release History
===============

0.2.17
++++++
* functionapp: fix `az functionapp devops-build create` command azure-pipelines.yml generation issues
* functionapp: improve `az functionapp devops-build create` error handlings and error indications
* functionapp: remove `--local_git` flag in devops-build command, local git detection and handling are compulsory for creating Azure DevOps pipelines
* functionapp: add support for linux functions plan creation
* webapp, functionapp: Updating to use the new Python SDK version
* appservice: adminSiteName property of SKU object is deprecated

0.2.16
++++++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def load_arguments(self, _):
completer=get_resource_name_completion_list('Microsoft.Web/serverFarms'),
configured_default='appserviceplan', id_part='name')
c.argument('number_of_workers', help='Number of workers to be allocated.', type=int, default=1)
c.argument('admin_site_name', help='The name of the admin web app.')
c.argument('admin_site_name', help='The name of the admin web app.', deprecate_info=c.deprecate(expiration='0.2.17'))

with self.argument_context('appservice plan create') as c:
c.argument('name', options_list=['--name', '-n'], help="Name of the new app service plan", completer=None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1149,8 +1149,7 @@ def create_app_service_plan(cmd, resource_group_name, name, is_linux, hyper_v, s
return client.app_service_plans.create_or_update(resource_group_name, name, plan_def)


def update_app_service_plan(instance, sku=None, number_of_workers=None,
admin_site_name=None):
def update_app_service_plan(instance, sku=None, number_of_workers=None):
sku_def = instance.sku
if sku is not None:
sku = _normalize_sku(sku)
Expand All @@ -1159,11 +1158,7 @@ def update_app_service_plan(instance, sku=None, number_of_workers=None,

if number_of_workers is not None:
sku_def.capacity = number_of_workers

instance.sku = sku_def
instance.sku = sku_def
if admin_site_name is not None:
instance.admin_site_name = admin_site_name
return instance


Expand Down
Loading