Skip to content

Commit

Permalink
Generated from ddf58c37505bdf0964a5d9260bffbe8824dd78eb (#3329)
Browse files Browse the repository at this point in the history
fix incorrect url
  • Loading branch information
AutorestCI authored Sep 13, 2018
1 parent d36a529 commit bfaa26e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, client, config, serializer, deserializer):

def enable_console(
self, custom_headers=None, raw=False, **operation_config):
"""Enables Serial Console for a VM.
"""Enables Serial Console for a subscription.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -92,11 +92,11 @@ def enable_console(
return client_raw_response

return deserialized
enable_console.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/providers/consoleServices/{default}/enableConsole'}
enable_console.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/enableConsole'}

def disable_console(
self, custom_headers=None, raw=False, **operation_config):
"""Disables Serial Console for a VM.
"""Disables Serial Console for a subscription.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -148,4 +148,4 @@ def disable_console(
return client_raw_response

return deserialized
disable_console.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/providers/consoleServices/{default}/disableConsole'}
disable_console.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/disableConsole'}

0 comments on commit bfaa26e

Please sign in to comment.