From b315e301fc07bfb4e987a9bdc71a9885bc41763e Mon Sep 17 00:00:00 2001 From: Quinn McHugh Date: Wed, 4 Nov 2020 15:16:33 -0500 Subject: [PATCH] CreateUiDefinition: added ServicePrincipalSelector --- .../CreateUIDefinition.CommonControl.json | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) diff --git a/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json b/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json index 336fc48442..9e4b555c16 100644 --- a/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json +++ b/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json @@ -43,6 +43,9 @@ }, { "$ref": "#/definitions/Microsoft.Common.EditableGrid" + }, + { + "$ref": "#/definitions/Microsoft.Common.ServicePrincipalSelector" } ], "definitions": { @@ -974,6 +977,109 @@ "ariaLabel", "constraints" ] + }, + "Microsoft.Common.ServicePrincipalSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.ServicePrincipalSelector" + ] + }, + "label": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "password": { + "type": "string" + }, + "certificateThumbprint": { + "type": "string" + }, + "authenticationType": { + "type": "string" + }, + "sectionHeader": { + "type": "string" + } + } + }, + "toolTip": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "password": { + "type": "string" + }, + "certificateThumbprint": { + "type": "string" + }, + "authenticationType": { + "type": "string" + } + } + }, + "defaultValue": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "options": { + "type": "object", + "properties": { + "hideCertificate": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "regex": { + "type": "string" + }, + "validationMessage": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] } } } \ No newline at end of file