Skip to content

Commit

Permalink
[ReleasePR serialconsole] [Hub Generated] Review request for Microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] authored Jan 11, 2021
2 parents 8ac8a7d + 77af661 commit 12d2b44
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions schemas/2018-05-01/Microsoft.SerialConsole.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"id": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.SerialConsole.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.SerialConsole",
"description": "Microsoft SerialConsole Resource Types",
"resourceDefinitions": {},
"extension_resourceDefinitions": {
"serialPorts": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2018-05-01"
]
},
"name": {
"type": "string",
"description": "The name of the serial port to create."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/SerialPortProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of the serial port."
},
"type": {
"type": "string",
"enum": [
"Microsoft.SerialConsole/serialPorts"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.SerialConsole/serialPorts"
}
},
"definitions": {
"SerialPortProperties": {
"type": "object",
"properties": {
"state": {
"oneOf": [
{
"type": "string",
"enum": [
"enabled",
"disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies whether the port is enabled for a serial console connection."
}
},
"description": "The properties of the serial port."
}
}
}

0 comments on commit 12d2b44

Please sign in to comment.