refactor: restructure project — separate tools, config, generated, provider
TOOLS/ — generators + scripts + config + ARCHITECTURE.md ├── yaml-generator/ (code) ├── resource-generator/ (code) ├── docs-generator/ (code) ├── scripts/ (← devops/*.sh) ├── config/ (← devops/profiles/ + devops/config/) │ ├── test/ profile.env, services_list.txt, operation_timeouts.json │ ├── prod/ │ └── dev/ └── ARCHITECTURE.md (← devops/ARCHITECTURE.md) generated/ — pipeline output only (gitignored) ├── test/resources_yaml/, go/, docs/, provider_build/ ├── prod/ └── dev/ provider/ — code only, no generated files resources_yaml/ — DELETED (generated) internal/resources_gen/ — DELETED (generated) devops/ — removed (replaced by TOOLS/scripts + TOOLS/config + generated/) Generators now fail if NUBES_*_DIR not set (no defaults to provider/). Provider requires pipeline to populate resources_gen/ before build.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Resource nubes_vmpostgre
|
||||
|
||||
Service ID: `32`
|
||||
|
||||
Service Name: vc_vm_postgresql_std
|
||||
|
||||
[Manual](vmpostgre.md) | [Create params](vmpostgre_params_create.md) | [Modify params](vmpostgre_params_modify.md) | [Output params](vmpostgre_outputs.md) | [Operations](vmpostgre_ops.md) | [Example](vmpostgre_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>43</td><td><strong><code class="code-no-wrap">vdc_uid</code></strong></td><td><code>uuid</code></td><td>InstanceUid vdc. Vdc должен быть создан<br/></td><td>ref_svc_id=21</td></tr>
|
||||
<tr><td>44</td><td><strong><code class="code-no-wrap">nsxt_uid</code></strong></td><td><code>uuid</code></td><td>InstanceUid nsxt. Nsxt должен быть создан<br/></td><td>ref_svc_id=22</td></tr>
|
||||
<tr><td>45</td><td><strong><code class="code-no-wrap">vm_uid</code></strong></td><td><code>uuid</code></td><td>InstanceUid ВМ. ВМ должна быть создана<br/></td><td>ref_svc_id=23</td></tr>
|
||||
<tr><td>859</td><td><strong><code class="code-no-wrap">resource_realm</code></strong></td><td><code>string</code></td><td>Ресурсная платформа</td><td>func=getAvailableResourceRealms</td></tr>
|
||||
</tbody></table>
|
||||
|
||||
**Параметры, имеющие значение по умолчанию, если не меняете - эти параметры не обязательно прописывать в манифесте**
|
||||
<table class="resource-table resource-table-compact">
|
||||
<thead><tr><th>ID</th><th>Code</th><th>Type</th><th>Default</th><th>Description</th><th>Constraints</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>46</td><td><strong><code class="code-no-wrap">user_db</code></strong></td><td><code>string</code></td><td><code>servicedb</code></td><td>Наименование Базы данных<br/></td><td></td></tr>
|
||||
<tr><td>47</td><td><strong><code class="code-no-wrap">user_login</code></strong></td><td><code>string</code></td><td><code>serviceuser</code></td><td>Пользователь базы данных<br/></td><td></td></tr>
|
||||
<tr><td>48</td><td><strong><code class="code-no-wrap">user_password</code></strong></td><td><code>string</code></td><td><code>fj29gm48fm!d374mc9</code></td><td>Пароль от доступа к Базе данных<br/></td><td></td></tr>
|
||||
</tbody></table>
|
||||
Reference in New Issue
Block a user