-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ReleasePR serialconsole] [Hub Generated] Review request for Microsof…
…t.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)
- Loading branch information
Showing
1 changed file
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} | ||
} |