|
7 | 7 | "inputKeyword": "name", |
8 | 8 | "inputType": "text", |
9 | 9 | "inputPlaceholder": "Name", |
| 10 | + "inputTooltip": "Choose a friendly connection name", |
10 | 11 | "validation": { |
11 | 12 | "regex": "([^\\s])" |
12 | 13 | } |
|
17 | 18 | "inputKeyword": "gremlinEndpoint", |
18 | 19 | "inputType": "text", |
19 | 20 | "inputPlaceholder": "wss://*.gremlin.cosmos.azure.com:443/", |
| 21 | + "inputTooltip": "Paste Gremlin endpoint", |
20 | 22 | "defaultValue": "", |
21 | 23 | "validation": { |
22 | 24 | "regex": "([^\\s])" |
|
25 | 27 | { |
26 | 28 | "inputLabel": "Account key", |
27 | 29 | "inputKeyword": "accountKey", |
28 | | - "inputType": "text", |
| 30 | + "inputType": "password", |
29 | 31 | "inputPlaceholder": "", |
30 | 32 | "defaultValue": "", |
| 33 | + "inputTooltip": "Paste the account Primary or Secondary (Read-Only) Key", |
31 | 34 | "isHiddenKey": true, |
32 | 35 | "validation": { |
33 | 36 | "regex": "([^\\s])" |
|
36 | 39 | ] |
37 | 40 | }, |
38 | 41 | { |
39 | | - "tab": "SSL", |
| 42 | + "tab": "Control Plane parameters", |
40 | 43 | "structure": [ |
41 | 44 | { |
42 | | - "inputLabel": "SSL", |
43 | | - "inputKeyword": "sslType", |
44 | | - "inputType": "select", |
45 | | - "options": [{ |
46 | | - "value": "Off", |
47 | | - "label": "Off" |
48 | | - }, { |
49 | | - "value": "TRUST_ALL_CERTIFICATES", |
50 | | - "label": "Unvalidated" |
51 | | - },{ |
52 | | - "value": "TRUST_CUSTOM_CA_SIGNED_CERTIFICATES", |
53 | | - "label": "Server validation" |
54 | | - |
55 | | - },{ |
56 | | - "value": "TRUST_SERVER_CLIENT_CERTIFICATES", |
57 | | - "label": "Server and client validation" |
58 | | - },{ |
59 | | - "value": "TRUST_SYSTEM_CA_SIGNED_CERTIFICATES", |
60 | | - "label": "SYSTEMCA" |
61 | | - }] |
62 | | - }, |
63 | | - { |
64 | | - "inputLabel": "Certificate Authority", |
65 | | - "inputKeyword": "certAuthority", |
66 | | - "inputType": "file", |
67 | | - "inputPlaceholder": "Certificate Authority", |
68 | | - "extensions": ["pem", "crt", "key"], |
69 | | - "dependency": { |
70 | | - "key": "sslType", |
71 | | - "value": ["TRUST_CUSTOM_CA_SIGNED_CERTIFICATES", "TRUST_SERVER_CLIENT_CERTIFICATES"] |
72 | | - } |
73 | | - }, |
74 | | - { |
75 | | - "inputLabel": "PFX", |
76 | | - "inputKeyword": "pfx", |
77 | | - "inputType": "file", |
78 | | - "inputPlaceholder": "PFX or PKCS12 encoded private key and certificate chain", |
79 | | - "extensions": ["pfx"], |
80 | | - "dependency": { |
81 | | - "key": "sslType", |
82 | | - "value": "TRUST_SERVER_CLIENT_CERTIFICATES" |
83 | | - } |
84 | | - } |
85 | | - ] |
86 | | - }, |
87 | | - { |
88 | | - "tab": "SSH", |
89 | | - "structure": [ |
90 | | - { |
91 | | - "inputLabel": "Use SSH Tunnel", |
92 | | - "inputKeyword": "ssh", |
| 45 | + "inputLabel": "Enable REST API connection", |
| 46 | + "inputKeyword": "includeAccountInformation", |
93 | 47 | "inputType": "checkbox", |
94 | | - "defaultValue": false |
| 48 | + "inputTooltip": "Check this box if you want to include Cosmos DB account information" |
95 | 49 | }, |
96 | 50 | { |
97 | | - "inputLabel": "SSH Address", |
98 | | - "inputKeyword": "ssh_host", |
| 51 | + "inputLabel": "Resource group name", |
| 52 | + "inputKeyword": "resourceGroupName", |
99 | 53 | "inputType": "text", |
100 | | - "inputPlaceholder": "SSH Address", |
101 | | - "disable": { |
102 | | - "key": "ssh", |
103 | | - "value": false |
104 | | - } |
105 | | - }, |
106 | | - { |
107 | | - "inputLabel": "Port", |
108 | | - "inputKeyword": "ssh_port", |
109 | | - "inputType": "numeric", |
110 | | - "inputPlaceholder": "Port", |
111 | | - "defaultValue": 22, |
112 | | - "disable": { |
113 | | - "key": "ssh", |
114 | | - "value": false |
| 54 | + "inputTooltip": "Specify the Resource group name from the Overview screen of the Cosmos DB instance", |
| 55 | + "dependency": { |
| 56 | + "key": "includeAccountInformation", |
| 57 | + "value": [true, "true"] |
115 | 58 | } |
116 | 59 | }, |
117 | 60 | { |
118 | | - "inputLabel": "SSH User Name", |
119 | | - "inputKeyword": "ssh_user", |
| 61 | + "inputLabel": "Subscription ID", |
| 62 | + "inputKeyword": "subscriptionId", |
120 | 63 | "inputType": "text", |
121 | | - "inputPlaceholder": "SSH User Name", |
122 | | - "disable": { |
123 | | - "key": "ssh", |
124 | | - "value": false |
| 64 | + "inputTooltip": "Specify the Subscription ID from the Overview screen of the Cosmos DB instance", |
| 65 | + "dependency": { |
| 66 | + "key": "includeAccountInformation", |
| 67 | + "value": [true, "true"] |
125 | 68 | } |
126 | 69 | }, |
127 | 70 | { |
128 | | - "inputLabel": "SSH Auth Method", |
129 | | - "inputKeyword": "ssh_method", |
130 | | - "inputType": "select", |
131 | | - "options": [{ |
132 | | - "value": "privateKey", |
133 | | - "label": "Private Key" |
134 | | - }, { |
135 | | - "value": "password", |
136 | | - "label": "Password" |
137 | | - }], |
138 | | - "disable": { |
139 | | - "key": "ssh", |
140 | | - "value": false |
141 | | - }, |
142 | | - "defaultValue": "privateKey" |
143 | | - }, |
144 | | - { |
145 | | - "inputLabel": "Private Key", |
146 | | - "inputKeyword": "ssh_key_file", |
147 | | - "inputType": "file", |
148 | | - "inputPlaceholder": "Private Key", |
149 | | - "extensions": ["*"], |
| 71 | + "inputLabel": "Application (client) ID", |
| 72 | + "inputKeyword": "clientId", |
| 73 | + "inputType": "text", |
| 74 | + "inputTooltip": "Azure Active Directory application id from the Overview screen of the App registration", |
150 | 75 | "dependency": { |
151 | | - "key": "ssh_method", |
152 | | - "value": ["privateKey", ""] |
153 | | - }, |
154 | | - "disable": { |
155 | | - "key": "ssh", |
156 | | - "value": false |
| 76 | + "key": "includeAccountInformation", |
| 77 | + "value": [true, "true"] |
157 | 78 | } |
158 | 79 | }, |
159 | 80 | { |
160 | | - "inputLabel": "Passphrase", |
161 | | - "inputKeyword": "ssh_key_passphrase", |
162 | | - "inputType": "password", |
163 | | - "inputPlaceholder": "Passphrase", |
164 | | - "isHiddenKey": true, |
| 81 | + "inputLabel": "Directory (tenant) ID", |
| 82 | + "inputKeyword": "tenantId", |
| 83 | + "inputType": "text", |
| 84 | + "inputTooltip": "Specify the Directory (tenant) ID from the Overview screen of the App registration", |
165 | 85 | "dependency": { |
166 | | - "key": "ssh_method", |
167 | | - "value": ["privateKey", ""] |
168 | | - }, |
169 | | - "disable": { |
170 | | - "key": "ssh", |
171 | | - "value": false |
| 86 | + "key": "includeAccountInformation", |
| 87 | + "value": [true, "true"] |
172 | 88 | } |
173 | 89 | }, |
174 | 90 | { |
175 | | - "inputLabel": "Client key password", |
176 | | - "inputKeyword": "ssh_password", |
| 91 | + "inputLabel": "Application secret", |
| 92 | + "inputKeyword": "appSecret", |
177 | 93 | "inputType": "password", |
178 | | - "inputPlaceholder": "Password", |
| 94 | + "inputTooltip": "Specify the Application secret string", |
179 | 95 | "isHiddenKey": true, |
180 | 96 | "dependency": { |
181 | | - "key": "ssh_method", |
182 | | - "value": ["password", ""] |
183 | | - }, |
184 | | - "disable": { |
185 | | - "key": "ssh", |
186 | | - "value": false |
| 97 | + "key": "includeAccountInformation", |
| 98 | + "value": [true, "true"] |
187 | 99 | } |
188 | 100 | } |
189 | 101 | ] |
|
0 commit comments