name: vc_vm_v2
service_id: 27
service_display_name: VM в Cloud Director (vc_vmV2)
service_short_name: vc_vm_v2
lifecycle:
suspend_on_destroy_default: true
adopt_existing_on_create_default: false
outputs:
params:
- code: state_params
type: map
- code: state_out
type: map
- code: state_params_flat
type: map
- code: state_out_flat
type: map
- code: vault_secrets
type: map
sensitive: true
- code: vault_url
type: string
- code: vault_user_path
type: string
- code: vault_fields
type: list
operations:
- name: create
id: 100
kind: instance
action: create
params:
- id: 301
code: serverListJson
data_type: json
required: true
default: '[{}]'
maxlength: 65536
minlength: 10
descr: Необходимо изменить vappUid и ipSpaceName
Пример конфигурации взять по ссылке ниже
Объект серверов вида [{}] (Map(Object))
Более подробнее смотреть в README.md (https://gitea.mgmt.nubes.ru/cloudServices/vcVmV2)
sort: 20
is_modifiable: true
- name: delete
id: 101
kind: instance
action: delete
params: []
- name: modify
id: 104
kind: instance
action: modify
params:
- id: 302
code: serverListJson
data_type: json
required: true
default: '[{}]'
maxlength: 65536
minlength: 10
descr: Объект серверов вида [{}] (Map(Object))
Более подробнее смотреть в README.md (https://gitea.mgmt.nubes.ru/cloudServices/vcVmV2)
sort: 10
- name: resume
id: 102
kind: instance
action: resume
params: []
- name: suspend
id: 103
kind: instance
action: suspend
params: []