- 43 YAML, 94 Go, 332 docs from deck-api-test.ngcloud.ru - STANDS.md, TESTING.md, API_TOKENS.md added - Never mix PROD/TEST again
25 lines
1.5 KiB
Markdown
25 lines
1.5 KiB
Markdown
# Resource nubes_postgres_user
|
|
|
|
Service: `nubes_postgres` (ID: 90)
|
|
|
|
[PostgreSQL (основной)](postgres.md) | [Operations](postgres_ops.md) | [User](postgres_user.md) | [Example](postgres_user_example.md)
|
|
|
|
## Create params
|
|
|
|
**Обязательные параметры**
|
|
|
|
<table class="resource-table resource-table-compact resource-table-required">
|
|
<thead><tr><th>ID</th><th>Code</th><th>Type</th><th>Description</th><th>Constraints</th></tr></thead>
|
|
<tbody>
|
|
<tr><td>733</td><td><strong><code class="code-no-wrap">username</code></strong></td><td><code>string</code></td><td></td><td>regex=^[A-Za-z0-9]+$; maxlength=62; minlength=2</td></tr>
|
|
<tr><td>740</td><td><strong><code class="code-no-wrap">role</code></strong></td><td><code>string</code></td><td>`app_user` — стандартный пользователь с базовым набором прав<br/>`ddl_user` — пользователь с расширенными правами, включая управление ролями и базами данных</td><td>value_list=app_user, ddl_user</td></tr>
|
|
</tbody></table>
|
|
|
|
## Delete params
|
|
|
|
<table class="resource-table resource-table-compact resource-table-required">
|
|
<thead><tr><th>ID</th><th>Code</th><th>Type</th><th>Description</th><th>Constraints</th></tr></thead>
|
|
<tbody>
|
|
<tr><td>739</td><td><strong><code class="code-no-wrap">username</code></strong></td><td><code>string</code></td><td>Пример: `username-admin`</td><td></td></tr>
|
|
</tbody></table>
|