Каталог сервисов
Общая информация¶
В API Нимбиус получение информации о шаблонах сервиса из каталога реализуется через следующие коллекции:
/api/service_templates— Шаблоны из каталога сервисов
Каталог сервисов¶
Список шаблонов сервисов¶
Формат запроса
GET /api/service_templates
Запрос
Пример запроса
curl -i 'https://nimbius-portal-admin:8443/api/service_templates?\
filter%5B%5D=display%3Dtrue&\
sort_by=name&\
sort_order=asc&\
expand=resources&\
attributes=service_template_catalog' \
-H 'accept: application/json' \
-H 'authorization: Basic dXNlck5hbWU6dXNlclBhc3N3b3Jk'
Ответ
Пример ответа
{
"name": "service_templates",
"count": 14,
"subcount": 14,
"subquery_count": 14,
"pages": 1,
"resources": [
{
"href": "https://nimbius-portal-admin/api/service_templates/7",
"id": "7",
"name": "Nginx",
"description": "Создание сервиса NGINX",
"guid": "8fd366f1-72f5-49d4-a5b3-2294563aa3fc",
"type": null,
"service_template_id": null,
"options": {},
"created_at": "2024-12-12T22:13:40Z",
"updated_at": "2024-12-17T08:28:10Z",
"display": true,
"evm_owner_id": null,
"miq_group_id": "2",
"service_type": "atomic",
"prov_type": "generic",
"provision_cost": null,
"service_template_catalog_id": "2",
"long_description": null,
"tenant_id": "1",
"generic_subtype": "custom",
"deleted_on": null,
"internal": false,
"zone_id": null,
"currency_id": null,
"price": null,
"picture": null,
"service_template_catalog": {
"id": "2",
"name": "Nimbius Services",
"description": null,
"tenant_id": "1"
},
"actions": [
{
"name": "edit",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/7"
},
{
"name": "edit",
"method": "patch",
"href": "https://nimbius-portal-admin/api/service_templates/7"
},
{
"name": "edit",
"method": "put",
"href": "https://nimbius-portal-admin/api/service_templates/7"
},
{
"name": "delete",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/7"
},
{
"name": "order",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/7"
},
{
"name": "archive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/7"
},
{
"name": "unarchive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/7"
},
{
"name": "set_ownership",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/7"
}
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4",
"id": "4",
"name": "Виртуальная машина",
"description": "Создание виртуальной машины в частном облаке",
"guid": "0283f899-2dcf-4a65-8e5e-eee78b0095b5",
"type": null,
"service_template_id": null,
"options": {},
"created_at": "2024-12-12T22:13:31Z",
"updated_at": "2024-12-17T08:28:01Z",
"display": true,
"evm_owner_id": null,
"miq_group_id": "2",
"service_type": "atomic",
"prov_type": "generic",
"provision_cost": null,
"service_template_catalog_id": "2",
"long_description": null,
"tenant_id": "1",
"generic_subtype": "custom",
"deleted_on": null,
"internal": false,
"zone_id": null,
"currency_id": null,
"price": null,
"picture": null,
"service_template_catalog": {
"id": "2",
"name": "Nimbius Services",
"description": null,
"tenant_id": "1"
},
"actions": [
{
"name": "edit",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "edit",
"method": "patch",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "edit",
"method": "put",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "delete",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "order",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "archive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "unarchive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "set_ownership",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
}
]
}
],
"actions": [
{
"name": "query",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
},
{
"name": "edit",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
},
{
"name": "delete",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
},
{
"name": "create",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
},
{
"name": "order",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
},
{
"name": "archive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
},
{
"name": "unarchive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
},
{
"name": "set_ownership",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates"
}
],
"links": {
"self": "https://nimbius-portal-admin/api/service_templates?filter[]=display%3Dtrue\u0026sort_by=name\u0026sort_order=asc\u0026expand=resources\u0026attributes=service_template_catalog\u0026offset=0",
"first": "https://nimbius-portal-admin/api/service_templates?filter[]=display%3Dtrue\u0026sort_by=name\u0026sort_order=asc\u0026expand=resources\u0026attributes=service_template_catalog\u0026offset=0",
"last": "https://nimbius-portal-admin/api/service_templates?filter[]=display%3Dtrue\u0026sort_by=name\u0026sort_order=asc\u0026expand=resources\u0026attributes=service_template_catalog\u0026offset=0"
}
}
Детальная информация о шаблоне¶
Формат запроса
GET /api/service_templates/{service_templates_id}
{service_templates_id}- ИД шаблона в каталоге сервисов
Запрос
Пример запроса
curl -i 'https://nimbius-portal-admin:8443/api/service_templates/4\
?expand=resources\
&attributes=resource_actions' \
-H 'accept: application/json' \
-H 'authorization: Basic dXNlck5hbWU6dXNlclBhc3N3b3Jk'
Ответ
Пример ответа
{
"href": "https://nimbius-portal-admin/api/service_templates/4",
"id": "4",
"name": "Виртуальная машина",
"description": "Создание виртуальной машины в частном облаке",
"guid": "0283f899-2dcf-4a65-8e5e-eee78b0095b5",
"type": null,
"service_template_id": null,
"options": {},
"created_at": "2024-12-12T22:13:31Z",
"updated_at": "2024-12-17T08:28:01Z",
"display": true,
"evm_owner_id": null,
"miq_group_id": "2",
"service_type": "atomic",
"prov_type": "generic",
"provision_cost": null,
"service_template_catalog_id": "2",
"long_description": null,
"tenant_id": "1",
"generic_subtype": "custom",
"deleted_on": null,
"internal": false,
"zone_id": null,
"currency_id": null,
"price": null,
"picture": null,
"resource_actions": [
{
"id": "237",
"action": "Retirement",
"dialog_id": "9",
"resource_id": "4",
"resource_type": "ServiceTemplate",
"created_at": "2024-12-12T22:13:31Z",
"updated_at": "2025-10-07T17:45:10Z",
"ae_namespace": "Service/Retirement/StateMachines",
"ae_class": "ServiceRetirement",
"ae_instance": "Default",
"ae_message": null,
"ae_attributes": {
"service_action": "Retirement"
},
"configuration_template_id": null,
"configuration_template_type": null,
"configuration_script_id": null
},
{
"id": "236",
"action": "Provision",
"dialog_id": "9",
"resource_id": "4",
"resource_type": "ServiceTemplate",
"created_at": "2024-12-12T22:13:31Z",
"updated_at": "2025-10-07T17:45:10Z",
"ae_namespace": "Service/Provisioning/StateMachines",
"ae_class": "ServiceProvision_Template",
"ae_instance": "NimbiusVM",
"ae_message": null,
"ae_attributes": {
"service_action": "Provision"
},
"configuration_template_id": null,
"configuration_template_type": null,
"configuration_script_id": null
}
],
"actions": [
{
"name": "edit",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "edit",
"method": "patch",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "edit",
"method": "put",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "delete",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "order",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "archive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "unarchive",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
},
{
"name": "set_ownership",
"method": "post",
"href": "https://nimbius-portal-admin/api/service_templates/4"
}
]
}
Диалоговые опции шаблона¶
Формат запроса
GET /api/service_templates/{service_templates_id}/service_dialogs
{service_templates_id}- ИД шаблона в каталоге сервисов
Запрос
Пример запроса
curl -i -X GET 'https://nimbius-portal-admin:8443/api/service_templates/4/service_dialogs\
?expand=resources\
&attributes=content' \
-H 'accept: application/json' \
-H 'authorization: Basic dXNlck5hbWU6dXNlclBhc3N3b3Jk'
Ответ
Пример ответа
{
"name": "service_dialogs",
"count": 21,
"subcount": 1,
"pages": 1,
"resources": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/9",
"id": "9",
"description": "The template is not directly selected. Based on the Environment tag (in the service) and the OS tag (in the VM), Automate will find a template later. In the real world, env and os might turn up several matching template, a random one would be chosen.\n\nNote that additional tags can be added to the setting `template_match_method_align_tags_consider_as_tags` and in the dialog to consider more tags for this template selection process.\n\nFurther note additional tiers can have different values their tags; that is different limit rules would apply to different tiers.",
"buttons": "submit,cancel",
"created_at": "2024-12-12T22:13:05Z",
"updated_at": "2024-12-12T22:13:05Z",
"label": "nimbius_vm_provision",
"system": false,
"content": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/9",
"id": "9",
"description": "The template is not directly selected. Based on the Environment tag (in the service) and the OS tag (in the VM), Automate will find a template later. In the real world, env and os might turn up several matching template, a random one would be chosen.\n\nNote that additional tags can be added to the setting `template_match_method_align_tags_consider_as_tags` and in the dialog to consider more tags for this template selection process.\n\nFurther note additional tiers can have different values their tags; that is different limit rules would apply to different tiers.",
"buttons": "submit,cancel",
"created_at": "2024-12-12T22:13:05Z",
"updated_at": "2024-12-12T22:13:05Z",
"label": "nimbius_vm_provision",
"system": false,
"dialog_tabs": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/3771",
"id": "3771",
"description": null,
"display": "edit",
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:29Z",
"label": "Build a VM",
"display_method": null,
"display_method_options": null,
"dialog_id": "9",
"position": 0,
"dialog_groups": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/8095",
"id": "8095",
"description": "Select Environment and Location to place VM into",
"display": "edit",
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:28Z",
"label": "Place VM to ...",
"display_method": null,
"display_method_options": null,
"dialog_tab_id": "3771",
"position": 0,
"dialog_fields": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27256",
"id": "27256",
"name": "tag_0_environment",
"description": "",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "spacevm",
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.809Z",
"updated_at": "2025-10-07T17:44:28.824Z",
"label": "Environment",
"dialog_group_id": "8095",
"position": 0,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "list_environments",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": [
"tag_0_location"
],
"values": [
[
"spacevm",
"SpaceVM Cloud"
],
[
"vmware",
"VMWare V-TST-CTR01"
],
[
"zvirt",
"zVirt LAB-Local"
]
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27257",
"id": "27257",
"name": "tag_0_location",
"description": "Locations available for selected environment",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "SpaceVm",
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.814Z",
"updated_at": "2025-10-07T17:44:28.825Z",
"label": "Location",
"dialog_group_id": "8095",
"position": 1,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "list_locations",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": [
"placement_rp_name",
"source_id",
"vlan"
],
"values": [
[
"SpaceVm",
"SpaceVm Location"
]
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27258",
"id": "27258",
"name": "placement_rp_name",
"description": "",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "",
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.818Z",
"updated_at": "2025-10-07T17:44:28.826Z",
"label": "Ресурсный пул",
"dialog_group_id": "8095",
"position": 2,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": false,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "list_resource_pools",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": [],
"values": [
[
null,
"\u003cNone\u003e"
]
]
}
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/8096",
"id": "8096",
"description": "",
"display": "edit",
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:28Z",
"label": "Наименование сервиса",
"display_method": null,
"display_method_options": null,
"dialog_tab_id": "3771",
"position": 1,
"dialog_fields": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27259",
"id": "27259",
"name": "service_name",
"description": "Это поле обязательно для заполнения.",
"data_type": null,
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": true,
"required_method": null,
"required_method_options": {},
"default_value": "",
"values": null,
"values_method": null,
"values_method_options": {},
"options": {
"protected": false,
"show_past_days": false,
"force_multi_value": false
},
"created_at": "2025-10-07T17:44:28.830Z",
"updated_at": "2025-10-07T17:44:28.840Z",
"label": "Имя сервиса",
"dialog_group_id": "8096",
"position": 0,
"validator_type": "f",
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldTextBox",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27260",
"id": "27260",
"name": "service_description",
"description": "",
"data_type": null,
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": null,
"values": null,
"values_method": null,
"values_method_options": {},
"options": {
"protected": false,
"show_past_days": false,
"force_multi_value": false
},
"created_at": "2025-10-07T17:44:28.835Z",
"updated_at": "2025-10-07T17:44:28.842Z",
"label": "Описание сервиса",
"dialog_group_id": "8096",
"position": 1,
"validator_type": "f",
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldTextBox",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "ololo",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
}
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/8097",
"id": "8097",
"description": "VM hardware resources configuration",
"display": "edit",
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:28Z",
"label": "VM Configuration",
"display_method": null,
"display_method_options": null,
"dialog_tab_id": "3771",
"position": 2,
"dialog_fields": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27261",
"id": "27261",
"name": "source_id",
"description": "Operating system template",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "1853",
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.845Z",
"updated_at": "2025-10-07T17:44:28.882Z",
"label": "Template",
"dialog_group_id": "8097",
"position": 0,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "list_templates",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": [
"vm_memory",
"base_disks_size"
],
"values": [
[
1853,
"astra-template"
],
[
4008,
"centos9-template"
],
[
1855,
"debian12-template"
]
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27262",
"id": "27262",
"name": "option_0_cpu_flavor",
"description": "cores per socket X number of sockets",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "1x1",
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.850Z",
"updated_at": "2025-10-07T17:44:28.884Z",
"label": "CPU",
"dialog_group_id": "8097",
"position": 1,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "list_cpu_flavors",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": [],
"values": [
[
"1x1",
"1x1"
],
[
"1x2",
"1x2"
],
[
"1x4",
"1x4"
],
[
"1x8",
"1x8"
],
[
"2x1",
"2x1"
],
[
"2x2",
"2x2"
],
[
"2x4",
"2x4"
],
[
"2x8",
"2x8"
],
[
"4x1",
"4x1"
],
[
"4x2",
"4x2"
],
[
"4x4",
"4x4"
],
[
"4x8",
"4x8"
],
[
"8x1",
"8x1"
],
[
"8x2",
"8x2"
],
[
"8x4",
"8x4"
],
[
"8x8",
"8x8"
]
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27263",
"id": "27263",
"name": "vm_memory",
"description": "",
"data_type": "integer",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": true,
"required_method": null,
"required_method_options": {},
"default_value": "2",
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "value",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.854Z",
"updated_at": "2025-10-07T17:44:28.885Z",
"label": "Memory (GB)",
"dialog_group_id": "8097",
"position": 2,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "list_memory",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": [],
"values": [
[
2,
2
],
[
4,
4
],
[
8,
8
],
[
12,
12
],
[
16,
16
],
[
32,
32
]
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27264",
"id": "27264",
"name": "base_disks_size",
"description": "Суммарный объем дисков шаблона виртуальной машины",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "30",
"values_method": null,
"values_method_options": {},
"options": {
"protected": false,
"show_past_days": false,
"force_multi_value": false
},
"created_at": "2025-10-07T17:44:28.860Z",
"updated_at": "2025-10-07T17:44:28.886Z",
"label": "Объем базовых дисков (Гб)",
"dialog_group_id": "8097",
"position": 3,
"validator_type": "f",
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": true,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldTextBox",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "baze_disks_size",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27265",
"id": "27265",
"name": "tag_0_disk_type",
"description": "",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "",
"values": [
[
null,
"\u003cNone\u003e"
],
[
"hdd",
"HDD"
],
[
"ssd",
"SSD"
]
],
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.865Z",
"updated_at": "2025-10-07T17:44:28.888Z",
"label": "Тип основных дисков",
"dialog_group_id": "8097",
"position": 4,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27266",
"id": "27266",
"name": "vlan",
"description": "",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": true,
"required_method": null,
"required_method_options": {},
"default_value": "virt243",
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.871Z",
"updated_at": "2025-10-07T17:44:28.889Z",
"label": "Network",
"dialog_group_id": "8097",
"position": 5,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": true,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": "Service",
"ae_class": "DynamicDialogs",
"ae_instance": "list_networks",
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": [],
"values": [
[
"virt243",
"virt243"
]
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27267",
"id": "27267",
"name": "sysprep_password",
"description": "",
"data_type": null,
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "template_password",
"values": null,
"values_method": null,
"values_method_options": {},
"options": {
"protected": true
},
"created_at": "2025-10-07T17:44:28.876Z",
"updated_at": "2025-10-07T17:44:28.891Z",
"label": "Admin password",
"dialog_group_id": "8097",
"position": 6,
"validator_type": "f",
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldTextBox",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
}
]
}
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/3772",
"id": "3772",
"description": "",
"display": "edit",
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:29Z",
"label": "Дополнительные опции",
"display_method": null,
"display_method_options": null,
"dialog_id": "9",
"position": 1,
"dialog_groups": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/8098",
"id": "8098",
"description": "",
"display": "edit",
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:28Z",
"label": "Наименование виртуальной машины",
"display_method": null,
"display_method_options": null,
"dialog_tab_id": "3772",
"position": 0,
"dialog_fields": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27268",
"id": "27268",
"name": "vm_name",
"description": "Префикс имени ВМ должен содержать не более 15 символов. Допускается использовать латинские буквы, цифры и дефис. Если префикс не указан, то имя ВМ будет присвоено автоматически.",
"data_type": null,
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "",
"values": null,
"values_method": null,
"values_method_options": {},
"options": {
"protected": false,
"show_past_days": false,
"force_multi_value": false
},
"created_at": "2025-10-07T17:44:28.900Z",
"updated_at": "2025-10-07T17:44:28.913Z",
"label": "Префикс имени ВМ",
"dialog_group_id": "8098",
"position": 0,
"validator_type": "regex",
"validator_rule": "(?=.{1,15}$)^[a-z]+(-|[a-z|\\d])*[a-z|\\d]$",
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldTextBox",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27269",
"id": "27269",
"name": "vm_description",
"description": "",
"data_type": null,
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "",
"values": null,
"values_method": null,
"values_method_options": {},
"options": {
"protected": false,
"show_past_days": false,
"force_multi_value": false
},
"created_at": "2025-10-07T17:44:28.906Z",
"updated_at": "2025-10-07T17:44:28.915Z",
"label": "Описание ВМ",
"dialog_group_id": "8098",
"position": 1,
"validator_type": "f",
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldTextBox",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
}
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/8099",
"id": "8099",
"description": null,
"display": null,
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:28Z",
"label": "Диски",
"display_method": null,
"display_method_options": null,
"dialog_tab_id": "3772",
"position": 1,
"dialog_fields": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27270",
"id": "27270",
"name": "additional_disk_size",
"description": "",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "",
"values": [
[
null,
"\u003cNone\u003e"
],
[
"20",
"20"
],
[
"40",
"40"
],
[
"60",
"60"
],
[
"80",
"80"
],
[
"100",
"100"
]
],
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "none",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.922Z",
"updated_at": "2025-10-07T17:44:28.939Z",
"label": "Дополнительный диск (Гб)",
"dialog_group_id": "8099",
"position": 0,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27271",
"id": "27271",
"name": "additional_disk_type",
"description": "",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": false,
"required_method": null,
"required_method_options": {},
"default_value": "",
"values": [
[
null,
"\u003cNone\u003e"
],
[
"hdd",
"HDD"
],
[
"ssd",
"SSD"
]
],
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.931Z",
"updated_at": "2025-10-07T17:44:28.941Z",
"label": "Тип дополнительного диска",
"dialog_group_id": "8099",
"position": 1,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": true,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
}
]
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/8100",
"id": "8100",
"description": "",
"display": "edit",
"created_at": "2025-10-07T17:44:28Z",
"updated_at": "2025-10-07T17:44:28Z",
"label": "Конфигурация сервиса",
"display_method": null,
"display_method_options": null,
"dialog_tab_id": "3772",
"position": 2,
"dialog_fields": [
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27272",
"id": "27272",
"name": "service_billing",
"description": "",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": true,
"required_method": null,
"required_method_options": {},
"default_value": "true",
"values": [
[
"true",
"Включить"
],
[
"false",
"Отключить"
]
],
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.946Z",
"updated_at": "2025-10-07T17:44:28.960Z",
"label": "Биллинг",
"dialog_group_id": "8100",
"position": 0,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": false,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
},
{
"href": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs/27273",
"id": "27273",
"name": "rollback_enable",
"description": "Откат изменений в случае ошибки",
"data_type": "string",
"notes": null,
"notes_display": null,
"display": "edit",
"display_method": null,
"display_method_options": {},
"required": true,
"required_method": null,
"required_method_options": {},
"default_value": "true",
"values": [
[
"true",
"Включить"
],
[
"false",
"Отключить"
]
],
"values_method": null,
"values_method_options": {},
"options": {
"sort_by": "description",
"sort_order": "ascending",
"force_multi_value": false,
"show_past_days": false,
"protected": false
},
"created_at": "2025-10-07T17:44:28.953Z",
"updated_at": "2025-10-07T17:44:28.962Z",
"label": "Откат изменений",
"dialog_group_id": "8100",
"position": 1,
"validator_type": null,
"validator_rule": null,
"reconfigurable": false,
"dynamic": false,
"show_refresh_button": false,
"load_values_on_init": true,
"read_only": false,
"auto_refresh": false,
"trigger_auto_refresh": false,
"visible": false,
"validator_message": null,
"type": "DialogFieldDropDownList",
"resource_action": {
"action": null,
"resource_type": "DialogField",
"ae_namespace": null,
"ae_class": null,
"ae_instance": null,
"ae_message": null,
"ae_attributes": {},
"configuration_script_id": null
},
"dialog_field_responders": []
}
]
}
]
}
],
"export_version": "5.11"
}
]
}
],
"links": {
"self": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs?expand=resources\u0026attributes=content\u0026offset=0",
"first": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs?expand=resources\u0026attributes=content\u0026offset=0",
"last": "https://nimbius-portal-admin/api/service_templates/4/service_dialogs?expand=resources\u0026attributes=content\u0026offset=0"
}
}