@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api MicrosoftSerialConsoleClient
@base https://management.azure.com
@version 2018-05-01
@auth OAuth2
@endpoints 4
@toc providers(1), subscriptions(3)

@group providers
@endpoint GET /providers/Microsoft.SerialConsole/operations
@desc Gets a list of Serial Console API operations.
@required {api-version: any # The API version to use for this operation.}
@returns(200) OK - returns a JSON object

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}
@desc Get the disabled status for a subscription
@required {api-version: any # The API version to use for this operation., subscriptionId: any # Subscription ID which uniquely identifies the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call requiring it., default: any # Default parameter. Leave the value as "default".}
@returns(200) OK - Returns a JSON object
@errors {404: Subscription not found - returns a JSON object with error details}

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/disableConsole
@desc Disable Serial Console for a subscription
@required {api-version: any # The API version to use for this operation., subscriptionId: any # Subscription ID which uniquely identifies the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call requiring it., default: any # Default parameter. Leave the value as "default".}
@returns(200) OK - Returns a JSON object
@errors {404: Subscription not found - returns a JSON object with error details}

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/enableConsole
@desc Enable Serial Console for a subscription
@required {api-version: any # The API version to use for this operation., subscriptionId: any # Subscription ID which uniquely identifies the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call requiring it., default: any # Default parameter. Leave the value as "default".}
@returns(200) OK - Serial Console disabled
@errors {404: Subscription not found - returns a JSON object with error details}

@endgroup

@end
