From bfaa26ef5efc1d243bedb9f6afecd04c0fa2043a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 13 Sep 2018 09:56:57 -0700 Subject: [PATCH] Generated from ddf58c37505bdf0964a5d9260bffbe8824dd78eb (#3329) fix incorrect url --- .../mgmt/serialconsole/operations/console_operations.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-mgmt-serialconsole/azure/mgmt/serialconsole/operations/console_operations.py b/azure-mgmt-serialconsole/azure/mgmt/serialconsole/operations/console_operations.py index 207e6ce9f922..6ff8a438b692 100644 --- a/azure-mgmt-serialconsole/azure/mgmt/serialconsole/operations/console_operations.py +++ b/azure-mgmt-serialconsole/azure/mgmt/serialconsole/operations/console_operations.py @@ -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 @@ -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 @@ -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'}