@@ -335,16 +335,18 @@ def _application_deployment_command(client, resource_group_name, account_name, a
335335 request = azure .core .rest .HttpRequest (
336336 method = "POST" ,
337337 url = _app_deployment_url (client , resource_group_name , account_name , application_name , application_deployment_name ) + f"/{ opname } " ,
338- params = {'api-version' : '2025-11-15 -preview' }
338+ params = {'api-version' : '2025-10-01 -preview' }
339339 )
340340 response = client ._send_request (
341341 request
342342 )
343343 response .raise_for_status ()
344344
345- def application_deployment_start (client , resource_group_name , account_name , application_name , application_deployment_name ):
346- return _application_deployment_command (client , resource_group_name , account_name , application_name , application_deployment_name , 'start' )
345+ def application_deployment_start (client , resource_group_name , account_name , appname , appdeploymentname ):
346+ """Start an application deployment."""
347+ return _application_deployment_command (client , resource_group_name , account_name , appname , appdeploymentname , 'start' )
347348
348- def application_deployment_stop (client , resource_group_name , account_name , application_name , application_deployment_name ):
349- return _application_deployment_command (client , resource_group_name , account_name , application_name , application_deployment_name , 'stop' )
349+ def application_deployment_stop (client , resource_group_name , account_name , appname , appdeploymentname ):
350+ """Stop an application deployment."""
351+ return _application_deployment_command (client , resource_group_name , account_name , appname , appdeploymentname , 'stop' )
350352
0 commit comments