Skip to content

Commit 12d2b44

Browse files
author
msftbot[bot]
authored
[ReleasePR serialconsole] [Hub Generated] Review request for Microsoft.SerialConsole to add version stable/2018-05-01 (#1456)
Create to sync Azure/azure-rest-api-specs#12109 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/master...AzureSDKAutomation:sdkAuto/serialconsole?expand=1)
2 parents 8ac8a7d + 77af661 commit 12d2b44

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.SerialConsole.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.SerialConsole",
5+
"description": "Microsoft SerialConsole Resource Types",
6+
"resourceDefinitions": {},
7+
"extension_resourceDefinitions": {
8+
"serialPorts": {
9+
"type": "object",
10+
"properties": {
11+
"apiVersion": {
12+
"type": "string",
13+
"enum": [
14+
"2018-05-01"
15+
]
16+
},
17+
"name": {
18+
"type": "string",
19+
"description": "The name of the serial port to create."
20+
},
21+
"properties": {
22+
"oneOf": [
23+
{
24+
"$ref": "#/definitions/SerialPortProperties"
25+
},
26+
{
27+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
28+
}
29+
],
30+
"description": "The properties of the serial port."
31+
},
32+
"type": {
33+
"type": "string",
34+
"enum": [
35+
"Microsoft.SerialConsole/serialPorts"
36+
]
37+
}
38+
},
39+
"required": [
40+
"apiVersion",
41+
"name",
42+
"properties",
43+
"type"
44+
],
45+
"description": "Microsoft.SerialConsole/serialPorts"
46+
}
47+
},
48+
"definitions": {
49+
"SerialPortProperties": {
50+
"type": "object",
51+
"properties": {
52+
"state": {
53+
"oneOf": [
54+
{
55+
"type": "string",
56+
"enum": [
57+
"enabled",
58+
"disabled"
59+
]
60+
},
61+
{
62+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
63+
}
64+
],
65+
"description": "Specifies whether the port is enabled for a serial console connection."
66+
}
67+
},
68+
"description": "The properties of the serial port."
69+
}
70+
}
71+
}

0 commit comments

Comments
 (0)