Mysql
Mysql resource type schema.
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "properties": { |
| 4 | "host": { |
| 5 | "type": "string", |
| 6 | "description": "instance host", |
| 7 | "default": "" |
| 8 | }, |
| 9 | "port": { |
| 10 | "type": "number", |
| 11 | "description": "instance port", |
| 12 | "default": 3306 |
| 13 | }, |
| 14 | "user": { |
| 15 | "type": "string", |
| 16 | "description": "username", |
| 17 | "default": "" |
| 18 | }, |
| 19 | "database": { |
| 20 | "type": "string", |
| 21 | "description": "database name", |
| 22 | "default": "" |
| 23 | }, |
| 24 | "password": { |
| 25 | "type": "string", |
| 26 | "description": "user's password", |
| 27 | "default": "" |
| 28 | }, |
| 29 | "ssl": { |
| 30 | "type": "boolean", |
| 31 | "description": "use ssl", |
| 32 | "default": false |
| 33 | }, |
| 34 | "root_certificate_pem": { |
| 35 | "type": "string", |
| 36 | "description": "", |
| 37 | "default": "" |
| 38 | } |
| 39 | }, |
| 40 | "required": [ |
| 41 | "user", |
| 42 | "database", |
| 43 | "password" |
| 44 | ], |
| 45 | "type": "object", |
| 46 | "order": [ |
| 47 | "host", |
| 48 | "port", |
| 49 | "user", |
| 50 | "database", |
| 51 | "password", |
| 52 | "ssl", |
| 53 | "root_certificate_pem" |
| 54 | ] |
| 55 | } |