Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update serial console swagger #7444

Merged
merged 9 commits into from
Oct 29, 2019
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"disabled": true
}
},
"default": {
"404": {
"body": {
"errorMessage": "This message will contain details on failure"
"code": "SubscriptionNotFound",
"message": "The subscription '00000000-00000-0000-0000-000000000000' could not be found."
}
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"disabled": false
}
},
"default": {
"404": {
"body": {
"errorMessage": "This message will contain details on failure"
"code": "SubscriptionNotFound",
"message": "The subscription '00000000-00000-0000-0000-000000000000' could not be found."
}
}
}
}

Original file line number Diff line number Diff line change
@@ -1,12 +1,42 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000"
"api-version": "2018-05-01"
},
"responses": {
"200": {
"body": {
"value": "Get operations response"
"value": [
{
"name": "Microsoft.SerialConsole/consoleServices/read",
"isDataAction": "false",
"display": {
"provider": "Microsoft.SerialConsole",
"resource": "Serial Console instance",
"operation": "Default",
"description": "Retrieves the current subscription state"
}
},
{
"name": "Microsoft.SerialConsole/consoleServices/disableConsole/action",
"isDataAction": "false",
"display": {
"provider": "Microsoft.SerialConsole",
"resource": "Serial Console instance",
"operation": "Disable Console",
"description": "Disable Serial Console for a subscription"
}
},
{
"name": "Microsoft.SerialConsole/consoleServices/enableConsole/action",
"isDataAction": "false",
"display": {
"provider": "Microsoft.SerialConsole",
"resource": "Serial Console instance",
"operation": "Enable Console",
"description": "Enable Serial Console for a subscription"
}
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"disabled": true
}
},
"default": {
"404": {
"body": {
"errorMessage": "This message contains details on failure"
"code": "SubscriptionNotFound",
"message": "The subscription '00000000-00000-0000-0000-000000000000' could not be found."
}
}
}
}

Loading