-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema_UIDefinition.json
91 lines (88 loc) · 3 KB
/
schema_UIDefinition.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"$schema":"https://gallery.azure.com/schemas/2015-02-12/UIDefinition.json",
"createDefinition":{
"createBlade":{
"name":"CreateBlade",
"extension":"WebsitesExtension"
},
"startboardPart":{
"name":"SingleWebsitePart",
"extension":"WebsitesExtension"
},
"startboardPartKeyId":"id"
},
"initialData":{
"mySqlTypes":[ // This is optional. Add this property only if the app needs a MySQL database.
"cleardb",
"local",
"orcas"
],
"sql": true,// This is optional . Add this only if the app needs SQL database
"gitHubDeployment":{ //Required for app deployment
"repoUrl":"my-application-github-repo-url",
"branch":"branch-name"
},
"hiddenAppConfigSettings":[ //This is optional. Use this if your app needs to pass some hidden values to the application as app settings.
{
"name":"myhiddenappsettings",
"value":"some-value"
}
],
"parameters":{
// This is optional and should be used iff you require the user to provide some information for the deployment of the template .These parameters will become AppSettings for the web app
"user-defined-list-pararmeter1":{
"defaultValue":"default-value1",
"parameterValue":"user-defined-pararmeter1",
"displayName":"display text label",
"hidden":false,
"description":"text for the parameter",
"toolTip":"tool tip text",
"type":"dropdown",
"constraints":{
"required":true,
"hidden":false,
"allowedValues":[
{
"text":"option1",
"value":"value1"
},
{
"text":"option2",
"value":"value2"
}
],
"hasDigit":false,
"hasLetter":false,
"hasUpperCaseLetter":false,
"hasLowerCaseLetter":false,
"hasPunctuation":false,
"numeric":false,
"custom":[
]
}
},
"userdefined-textfield-optional-parameter":{
"parameterValue":"userdefined-textfield-parameter",
"displayName":"display text label",
"hidden":true,
"description":"description of the input field",
"toolTip":"tool tip description",
"type":"text",
"constraints":{
"required":false,
"hidden":false,
"allowedValues":[
],
"hasDigit":false,
"hasLetter":false,
"hasUpperCaseLetter":false,
"hasLowerCaseLetter":false,
"hasPunctuation":false,
"numeric":false,
"custom":[
]
}
}
}
}
}