Compare commits
11
Commits
1.4.0
...
2.1.latest
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c198850849 | ||
|
|
00fa013feb | ||
|
|
68064479d2 | ||
|
|
ea196f03a0 | ||
|
|
6ffea46b8a | ||
|
|
1ee16914bc | ||
|
|
a52ec3f1bb | ||
|
|
04f9c28eb0 | ||
|
|
cd6422373e | ||
|
|
69be98db48 | ||
|
|
7df3848866 |
No files matched your search
+52
-377
@@ -1,385 +1,60 @@
|
|||||||
# Список изменений в версии 1.4.0
|
# Список изменений в версии 2.1.4
|
||||||
|
|
||||||
|
## Изменено
|
||||||
|
|
||||||
## Добавлено
|
## Добавлено
|
||||||
|
|
||||||
| Идентификатор<br>задачи | Описание |
|
| Идентификатор<br>задачи | Описание |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| BPYS-750 | Добавлена функция `cloudbroker.account.set_cpu_allocation_parameter`. |
|
| BPYS-2628 | Добавлена функция `cloudbroker.disks.replication_promote`. |
|
||||||
| BPYS-733 | Функция `cloudapi.account.get`: добавлен атрибут `CloudapiAccountGetResultModel.sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2629 | Добавлена функция `cloudbroker.disks.replication_set_copy_rate`. |
|
||||||
| BPYS-733 | Функция `cloudapi.account.update`: добавлен параметр `sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2633 | Добавлена функция `cloudbroker.disks.replication_suspend`. |
|
||||||
| BPYS-733 | Функция `cloudapi.rg.get`: добавлен атрибут `CloudapiRgGetResultModel.sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2615 | Добавлена функция `cloudbroker.disks.migrate_v2_cleanup`. |
|
||||||
| BPYS-733 | Функция `cloudapi.rg.list_deleted`: добавлен атрибут `CloudapiRgListDeletedResultModel.data.sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2625 | Добавлена функция `cloudbroker.disks.resize2`. |
|
||||||
| BPYS-733 | Функция `cloudapi.rg.list`: добавлен атрибут `CloudapiRgListResultModel.data.sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2616 | Добавлена функция `cloudbroker.disks.migrate_v2_get`. |
|
||||||
| BPYS-733 | Функция `cloudapi.rg.update`: добавлен параметр `clear_sep_pools` в связи с переименованием из `clear_uniq_pools`. |
|
| BPYS-2630 | Добавлена функция `cloudbroker.disks.replication_resume`. |
|
||||||
| BPYS-733 | Функция `cloudapi.rg.update`: добавлен параметр `sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2631 | Добавлена функция `cloudbroker.disks.replication_reverse`. |
|
||||||
| BPYS-733 | Функция `cloudbroker.account.create`: добавлен параметр `sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2637 | Добавлена функция `cloudbroker.disks.unshare`. |
|
||||||
| BPYS-733 | Функция `cloudbroker.account.get`: добавлен атрибут `CloudbrokerAccountGetResultModel.sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2617 | Добавлена функция `cloudbroker.disks.migrate_v2_list`. |
|
||||||
| BPYS-733 | Функция `cloudbroker.account.list_deleted`: добавлен атрибут `CloudbrokerAccountListDeletedResultModel.data.sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2618 | Добавлена функция `cloudbroker.disks.migrate_v2_resolve`. |
|
||||||
| BPYS-733 | Функция `cloudbroker.account.list`: добавлен атрибут `CloudbrokerAccountListResultModel.data.sep_pools` в связи с переименованием из `uniq_pools`. |
|
| BPYS-2632 | Добавлена функция `cloudbroker.disks.replication_status`. |
|
||||||
| BPYS-751 | Добавлена функция `cloudbroker.account.set_cpu_allocation_ratio`. |
|
| BPYS-2627 | Добавлена функция `cloudbroker.pcidevice.list`. |
|
||||||
| BPYS-754 | Добавлена функция `cloudbroker.account.update_resource_types`. |
|
| BPYS-2652 | Добавлена функция `cloudbroker.pcidevice.create`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_remove`, `cloudapi.compute.anti_affinity_rule_add`, `cloudapi.compute.anti_affinity_rule_remove`: в перечисляемый тип `AffinityTopology` было добавлено значение `VM` в связи с переименованием из `vm`.|
|
| BPYS-2654 | Добавлена функция `cloudbroker.pcidevice.enable`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_remove`, `cloudapi.compute.anti_affinity_rule_add`, `cloudapi.compute.anti_affinity_rule_remove`: в перечисляемый тип `AffinityTopology` было добавлено значение `NODE` в связи с переименованием из `node`.|
|
| BPYS-2655 | Добавлена функция `cloudbroker.pcidevice.disable`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в перечисляемый тип `BootDevice` было добавлено значение `CDROM` в связи с переименованием из `cdrom`.|
|
| BPYS-2658 | Добавлена функция `cloudbroker.network_qos_policy.create`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в перечисляемый тип `BootDevice` было добавлено значение `HD` в связи с переименованием из `hd`.|
|
| BPYS-2659 | Добавлена функция `cloudbroker.network_qos_policy.create_rule`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.compute.update`, `cloudapi.bservice.group_get`, `cloudapi.bservice.group_add`, `cloudapi.bservice.group_resize`, `cloudapi.k8s.create`, `cloudapi.k8s.worker_add`, `cloudapi.k8s.workers_group_add`, `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: в перечисляемый тип `Chipset` было добавлено значение `I440FX` в связи с переименованием из `i440fx`.|
|
| BPYS-2660 | Добавлена функция `cloudbroker.network_qos_policy.delete`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create`: в перечисляемый тип `NumaAffinity` было добавлено значение `NONE` в связи с переименованием из `none`.|
|
| BPYS-2661 | Добавлена функция `cloudbroker.network_qos_policy.delete_rule`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create`: в перечисляемый тип `NumaAffinity` было добавлено значение `STRICT` в связи с переименованием из `strict`.|
|
| BPYS-2663 | Добавлена функция `cloudbroker.network_qos_policy.list`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create`: в перечисляемый тип `NumaAffinity` было добавлено значение `LOOSE` в связи с переименованием из `loose`.|
|
| BPYS-2662 | Добавлена функция `cloudbroker.network_qos_policy.get`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `TXMode` было добавлено значение `IOTHREAD` в связи с переименованием из `iothread`.|
|
| BPYS-2664 | Добавлена функция `cloudbroker.network_qos_policy.update`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `TXMode` было добавлено значение `SELECTED_BY_HYPERVISOR` в связи с переименованием из `selected by hypervisor`.|
|
| BPYS-2626 | Добавлена функция `cloudbroker.disks.restore`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `TXMode` было добавлено значение `TIMER` в связи с переименованием из `timer`.|
|
| BPYS-2636 | Добавлена функция `cloudbroker.disks.share`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `Ioeventfd` было добавлено значение `OFF` в связи с переименованием из `off`.|
|
| BPYS-2638 | Добавлена функция `cloudbroker.disks.snapshot_delete`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `Ioeventfd` было добавлено значение `ON` в связи с переименованием из `on`.|
|
| BPYS-2653 | Добавлена функция `cloudbroker.pcidevice.delete`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `Ioeventfd` было добавлено значение `SELECTED_BY_HYPERVISOR` в связи с переименованием из `selected by hypervisor`.|
|
| BPYS-2656 | Добавлена функция `cloudbroker.pcidevice.access_grant`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `EventIdx` было добавлено значение `OFF` в связи с переименованием из `off`.|
|
| BPYS-2657 | Добавлена функция `cloudbroker.pcidevice.access_revoke`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `EventIdx` было добавлено значение `ON` в связи с переименованием из `on`.|
|
| BPYS-2639 | Добавлена функция `cloudbroker.disks.snapshot_rollback`. |
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемый тип `EventIdx` было добавлено значение `SELECTED_BY_HYPERVISOR` в связи с переименованием из `selected by hypervisor`.|
|
| BPYS-2668 | Добавлена функция `cloudbroker.vfpool.create`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `VMFeature` было добавлено значение `CHANGEMAC` в связи с переименованием из `changemac`.|
|
| BPYS-2670 | Добавлена функция `cloudbroker.vfpool.disable`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `VMFeature` было добавлено значение `CPUPIN` в связи с переименованием из `cpupin`.|
|
| BPYS-2650 | Добавлена функция `cloudbroker.milestones.list`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `VMFeature` было добавлено значение `DPDK` в связи с переименованием из `dpdk`.|
|
| BPYS-2675 | Добавлена функция `cloudbroker.storage_policy.add_access_replication_profile`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `VMFeature` было добавлено значение `HUGEPAGES` в связи с переименованием из `hugepages`.|
|
| BPYS-2676 | Добавлена функция `cloudbroker.storage_policy.create_replication_profile`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `VMFeature` было добавлено значение `NUMA` в связи с переименованием из `numa`.|
|
| BPYS-2677 | Добавлена функция `cloudbroker.storage_policy.delete_replication_profile`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `VMFeature` было добавлено значение `TRUNK` в связи с переименованием из `trunk`.|
|
| BPYS-2678 | Добавлена функция `cloudbroker.storage_policy.get_replication_profile`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `VMFeature` было добавлено значение `VFNIC` в связи с переименованием из `vfnic`.|
|
| BPYS-2679 | Добавлена функция `cloudbroker.storage_policy.list_replication_profile`. |
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `RGResourceType` было добавлено значение `VM` в связи с переименованием из `vm`.|
|
| BPYS-2669 | Добавлена функция `cloudbroker.vfpool.delete`. |
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `RGResourceType` было добавлено значение `K8S` в связи с переименованием из `k8s`.|
|
| BPYS-2671 | Добавлена функция `cloudbroker.vfpool.enable`. |
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `RGResourceType` было добавлено значение `LB` в связи с переименованием из `lb`.|
|
| BPYS-2674 | Добавлена функция `cloudbroker.vfpool.update`. |
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемый тип `RGResourceType` было добавлено значение `VINS` в связи с переименованием из `vins`.|
|
| BPYS-2672 | Добавлена функция `cloudbroker.vfpool.get`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемый тип `AccountResourceType` было добавлено значение `VM` в связи с переименованием из `vm`.|
|
| BPYS-2651 | Добавлена функция `cloudbroker.vnfdev.add_mgmt_addr`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемый тип `AccountResourceType` было добавлено значение `K8S` в связи с переименованием из `k8s`.|
|
| BPYS-2684 | Добавлена функция `cloudbroker.vnfdev.apply_config`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемый тип `AccountResourceType` было добавлено значение `LB` в связи с переименованием из `lb`.|
|
| BPYS-2687 | Добавлена функция `cloudbroker.vnfdev.config_save`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемый тип `AccountResourceType` было добавлено значение `VINS` в связи с переименованием из `vins`.|
|
| BPYS-2692 | Добавлена функция `cloudbroker.vnfdev.iface_remove`. |
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемый тип `AccountResourceType` было добавлено значение `FLIPGROUP` в связи с переименованием из `flipgroup`.|
|
| BPYS-2690 | Добавлена функция `cloudbroker.vnfdev.list`. |
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `ImageType` было добавлено значение `CDROM` в связи с переименованием из `cdrom`.|
|
| BPYS-2697 | Добавлена функция `cloudbroker.vnfdev.migrate`. |
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `ImageType` было добавлено значение `LINUX` в связи с переименованием из `linux`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `ImageType` было добавлено значение `UNKNOWN` в связи с переименованием из `unknown`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `ImageType` было добавлено значение `VIRTUAL` в связи с переименованием из `virtual`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `ImageType` было добавлено значение `WINDOWS` в связи с переименованием из `windows`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `NetIfaceNamingTemplate` было добавлено значение `ENS` в связи с переименованием из `ens`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `NetIfaceNamingTemplate` было добавлено значение `ETH` в связи с переименованием из `eth`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.vins.get`, `cloudapi.vins.nat_rule_add`, `cloudapi.vins.nat_rule_list`, `cloudapi.compute.pfw_list`, `cloudapi.compute.pfw_add`, `cloudapi.compute.pfw_del`: в перечисляемый тип `NATRuleProtocol` было добавлено значение `TCP` в связи с переименованием из `tcp`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.vins.get`, `cloudapi.vins.nat_rule_add`, `cloudapi.vins.nat_rule_list`, `cloudapi.compute.pfw_list`, `cloudapi.compute.pfw_add`, `cloudapi.compute.pfw_del`: в перечисляемый тип `NATRuleProtocol` было добавлено значение `UDP` в связи с переименованием из `udp`.|
|
|
||||||
| BPYS-755 | Функция `cloudapi.vins.get`: в перечисляемый тип `VNFDevType` было добавлено значение `VYOS` в связи с переименованием из `vyos`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `BootMode` было добавлено значение `BIOS` в связи с переименованием из `bios`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемый тип `BootMode` было добавлено значение `UEFI` в связи с переименованием из `uefi`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`: в перечисляемый тип `BootLoaderType` было добавлено значение `LINUX` в связи с переименованием из `linux`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`: в перечисляемый тип `BootLoaderType` было добавлено значение `UNKNOWN` в связи с переименованием из `unknown`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`: в перечисляемый тип `BootLoaderType` было добавлено значение `WINDOWS` в связи с переименованием из `windows`.|
|
|
||||||
| BPYS-755 | Функция `cloudapi.compute.change_link_state`: в перечисляемый тип `LinkState` было добавлено значение `ON` в связи с переименованием из `on`.|
|
|
||||||
| BPYS-755 | Функция `cloudapi.compute.change_link_state`: в перечисляемый тип `LinkState` было добавлено значение `OFF` в связи с переименованием из `off`.|
|
|
||||||
| BPYS-768 | Добавлена функция `cloudbroker.account.update_user`. |
|
|
||||||
| BPYS-752 | Добавлена функция `cloudbroker.account.update`. |
|
|
||||||
| BPYS-756 | Добавлен атрибут `status_code` в классе `RequestException`. |
|
|
||||||
| BPYS-767 | Функция `cloudapi.rg.update`: добавлен параметр `storage_policies_quotas` в связи с переименованием из `storage_policies`. |
|
|
||||||
| BPYS-762 | Функция `cloudbroker.compute.migrate_storage_list`: добавлен атрибут `CloudbrokerComputeMigrateStorageListResultModel.data.source_node_id` в связи с переименованием из `source_stack_id`. |
|
|
||||||
| BPYS-763 | Функция `cloudbroker.compute.migrate_storage_list`: добавлен атрибут `CloudbrokerComputeMigrateStorageListResultModel.data.target_node_id` в связи с переименованием из `target_stack_id`. |
|
|
||||||
| BPYS-800 | Добавлена функция `cloudbroker.account.update_compute_features`. |
|
|
||||||
| BPYS-787 | Функция `cloudapi.bservice.group_add`: у параметра `chipset` изменено значение по умолчанию с `Chipset.I440FX` на `Chipset.Q35`. |
|
|
||||||
| BPYS-789 | Функция `cloudapi.bservice.group_resize`: у параметра `chipset` изменено значение по умолчанию с `Chipset.I440FX` на `Chipset.Q35`. |
|
|
||||||
| BPYS-791 | Функция `cloudapi.k8s.create`: у параметра `chipset` изменено значение по умолчанию с `Chipset.I440FX` на `Chipset.Q35`. |
|
|
||||||
| BPYS-793 | Функция `cloudapi.k8s.worker_add`: у параметра `chipset` изменено значение по умолчанию с `Chipset.I440FX` на `Chipset.Q35`. |
|
|
||||||
| BPYS-795 | Функция `cloudapi.k8s.workers_group_add`: у параметра `chipset` изменено значение по умолчанию с `Chipset.I440FX` на `Chipset.Q35`. |
|
|
||||||
| BPYS-797 | Функция `cloudapi.kvmx86.create`: у параметра `chipset` изменено значение по умолчанию с `Chipset.I440FX` на `Chipset.Q35`. |
|
|
||||||
| BPYS-799 | Функция `cloudapi.kvmx86.create_blank`: у параметра `chipset` изменено значение по умолчанию с `Chipset.I440FX` на `Chipset.Q35`. |
|
|
||||||
| BPYS-810 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.pinned_to_node` в связи с переименованием из `pinned_to_stack`. |
|
|
||||||
| BPYS-811 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.read_only`. |
|
|
||||||
| BPYS-807 | Добавлена функция `cloudapi.compute.pin_to_node` в связи с переименованием из `cloudapi.compute.pin_to_stack`. |
|
|
||||||
| BPYS-808 | Добавлена функция `cloudapi.compute.unpin_from_node` в связи с переименованием из `cloudapi.compute.unpin_from_stack`. |
|
|
||||||
| BPYS-833 | Добавлена функция `cloudbroker.compute.change_read_only`. |
|
|
||||||
| BPYS-813 | Функция `cloudapi.kvmx86.create_blank`: добавлен параметр `cpu_pin`. |
|
|
||||||
| BPYS-814 | Функция `cloudapi.kvmx86.create_blank`: добавлен параметр `hp_backed`. |
|
|
||||||
| BPYS-815 | Функция `cloudapi.kvmx86.create_blank`: добавлен параметр `numa_affinity`. |
|
|
||||||
| BPYS-830 | Функция `cloudapi.vins.get`: добавлен атрибут `CloudapiVinsGetResultModel.vnfdev.config.resources.node_id` в связи с переименованием из `stack_id`. |
|
|
||||||
| BPYS-828 | Функция `cloudapi.bservice.get`: добавлен атрибут `CloudapiBserviceGetResultModel.vms.node_id` в связи с переименованием из `stack_id`. |
|
|
||||||
| BPYS-824 | Функция `cloudbroker.compute.start_migration_in`: добавлен параметр `node_id` в связи с переименованием из `stack_id`. |
|
|
||||||
| BPYS-821 | Функция `cloudapi.compute.list`: добавлен атрибут `CloudapiComputeListResultModel.data.pinned_to_node` в связи с переименованием из `pinned_to_stack`. |
|
|
||||||
| BPYS-821 | Функция `cloudapi.compute.list_deleted`: добавлен атрибут `CloudapiComputeListDeletedResultModel.data.pinned_to_node` в связи с переименованием из `pinned_to_stack`. |
|
|
||||||
| BPYS-822 | Функция `cloudapi.compute.list`: добавлен атрибут `CloudapiComputeListResultModel.data.read_only`. |
|
|
||||||
| BPYS-822 | Функция `cloudapi.compute.list_deleted`: добавлен атрибут `CloudapiComputeListDeletedResultModel.data.read_only`. |
|
|
||||||
| BPYS-758 | Добавлена возможность обращаться к аттрибутам `cloudapi`, `cloudbroker`, `system` через аттрибуты `ca`, `cb`, `sys`. |
|
|
||||||
| BPYS-803 | Функция `cloudapi.compute.list`: добавлен атрибут `CloudapiComputeListResultModel.data.total_disks_size_gb` в связи с переименованием из `total_disks_size`. |
|
|
||||||
| BPYS-803 | Функция `cloudapi.compute.list_deleted`: добавлен атрибут `CloudapiComputeListDeletedResultModel.data.total_disks_size_gb` в связи с переименованием из `total_disks_size`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.size_used_gb` в связи с переименованием из `size_used`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.get`: добавлен атрибут `CloudapiDiskGetResultModel.size_used_gb` в связи с переименованием из `size_used`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.list_deleted`: добавлен атрибут `CloudapiDiskListDeletedResultModel.data.size_used_gb` в связи с переименованием из `size_used`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.list_unattached`: добавлен атрибут `CloudapiDiskListUnattachedResultModel.data.size_used_gb` в связи с переименованием из `size_used`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.list`: добавлен атрибут `CloudapiDiskListResultModel.data.size_used_gb` в связи с переименованием из `size_used`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.size_available_gb` в связи с переименованием из `size_available`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.get`: добавлен атрибут `CloudapiDiskGetResultModel.size_available_gb` в связи с переименованием из `size_available`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.list_deleted`: добавлен атрибут `CloudapiDiskListDeletedResultModel.data.size_available_gb` в связи с переименованием из `size_available`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.list_unattached`: добавлен атрибут `CloudapiDiskListUnattachedResultModel.data.size_available_gb` в связи с переименованием из `size_available`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.list`: добавлен атрибут `CloudapiDiskListResultModel.data.size_available_gb` в связи с переименованием из `size_available`. |
|
|
||||||
| BPYS-832 | Функция `cloudapi.pcidevice.list`: добавлен атрибут `CloudapiPcideviceListResultModel.data.node_id` в связи с переименованием из `stack_id`. |
|
|
||||||
| BPYS-834 | Реализовано добавление генерируемых полей моделей в словарь, возвращаемый методом `model_dump`. |
|
|
||||||
| BPYS-844 | Функция `cloudapi.compute.redeploy`: у параметра `storage_policy_id` добавлено значение по умолчанию `None`. |
|
|
||||||
| BPYS-839 | Функция `cloudapi.disks.list_types`: в перечисляемом типе `PoolDiskType` был добавлен атрибут `BOOT` в связи с переименованием из `B`.|
|
|
||||||
| BPYS-839 | Функция `cloudapi.disks.list_types`: в перечисляемом типе `PoolDiskType` был добавлен атрибут `DATA` в связи с переименованием из `D`.|
|
|
||||||
| BPYS-839 | Функции `cloudapi.compute.disk_add`, `cloudapi.compute.disk_attach`, `cloudapi.compute.get`, `cloudapi.disks.get`, `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudapi.disks.list_unattached`: в перечисляемом типе `DiskType` был добавлен атрибут `BOOT` в связи с переименованием из `B`.|
|
|
||||||
| BPYS-839 | Функции `cloudapi.compute.disk_add`, `cloudapi.compute.disk_attach`, `cloudapi.compute.get`, `cloudapi.disks.get`, `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudapi.disks.list_unattached`: в перечисляемом типе `DiskType` был добавлен атрибут `DATA` в связи с переименованием из `D`.|
|
|
||||||
| BPYS-836 | Функция `cloudapi.account.get`: добавлен атрибут `CloudapiAccountGetResultModel.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.account.list_deleted`: добавлен атрибут `CloudapiAccountListDeletedResultModel.data.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.account.list`: добавлен атрибут `CloudapiAccountListResultModel.data.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.acl.account.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.acl.rg.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.acl.vm.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.user_list`: добавлен атрибут `CloudapiComputeUserListResultModel.data.acl.account.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.user_list`: добавлен атрибут `CloudapiComputeUserListResultModel.data.acl.rg.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.user_list`: добавлен атрибут `CloudapiComputeUserListResultModel.data.acl.vm.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.k8s.get`: добавлен атрибут `CloudapiK8sGetResultModel.acl.account.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.k8s.get`: добавлен атрибут `CloudapiK8sGetResultModel.acl.k8s.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.k8s.get`: добавлен атрибут `CloudapiK8sGetResultModel.acl.rg.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.get`: добавлен атрибут `CloudapiRgGetResultModel.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.list_deleted`: добавлен атрибут `CloudapiRgListDeletedResultModel.data.account_acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.list_deleted`: добавлен атрибут `CloudapiRgListDeletedResultModel.data.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.list`: добавлен атрибут `CloudapiRgListResultModel.data.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudbroker.account.get`: добавлен атрибут `CloudbrokerAccountGetResultModel.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudbroker.account.list_deleted`: добавлен атрибут `CloudbrokerAccountListDeletedResultModel.data.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-836 | Функция `cloudbroker.account.list`: добавлен атрибут `CloudbrokerAccountListResultModel.data.acl.user_name` в связи с переименованием из `user_group_id`. |
|
|
||||||
| BPYS-838 | Функция `cloudapi.bservice.group_parent_add`: добавлен параметр `child_id` в связи с переименованием из `bsgroup_id`. |
|
|
||||||
| BPYS-838 | Функция `cloudapi.bservice.group_parent_remove`: добавлен параметр `child_id` в связи с переименованием из `bsgroup_id`. |
|
|
||||||
| BPYS-840 | Функция `cloudapi.compute.list_deleted`: добавлен атрибут `CloudapiComputeListDeletedResultModel.data.pci_devices` в связи с переименованием из `devices`. |
|
|
||||||
| BPYS-840 | Функция `cloudapi.compute.list`: добавлен атрибут `CloudapiComputeListResultModel.data.pci_devices` в связи с переименованием из `devices`. |
|
|
||||||
| BPYS-853 | Функция `cloudapi.vins.get`: добавлен атрибут `CloudapiVinsGetResultModel.vnfdev.config.mgmt.user_name` в связи с переименованием из `user`. |
|
|
||||||
| BPYS-866 | Функция `cloudbroker.user.create`: добавлен параметр `email_address` в связи с переименованием из `email_addresses`. |
|
|
||||||
| BPYS-866 | Функция `cloudbroker.user.create`: у параметра `email_address` изменен тип с `list[str]` на `str`. |
|
|
||||||
| BPYS-866 | Функция `cloudbroker.user.create`: тип ответа функции изменен с `bool` на `str`. |
|
|
||||||
| BPYS-869 | Функция `cloudbroker.user.list`: добавлено значение по умолчанию `1` для параметра `page_number`. |
|
|
||||||
| BPYS-870 | Функция `cloudbroker.user.list`: добавлено значение по умолчанию `100` для параметра `page_size`. |
|
|
||||||
| BPYS-858 | Функция `cloudapi.storage_policy.list`: добавлен параметр `sep_tech_status`. |
|
|
||||||
| BPYS-864 | Функция `cloudbroker.storage_policy.list`: добавлен параметр `sep_tech_status`. |
|
|
||||||
| BPYS-860 | Функция `cloudapi.storage_policy.list`: добавлен атрибут `CloudapiStoragePolicyListResultModel.data.sep_pools.sep_tech_status`. |
|
|
||||||
| BPYS-860 | Функция `cloudbroker.storage_policy.list`: добавлен атрибут `CloudbrokerStoragePolicyListResultModel.data.sep_pools.sep_tech_status`. |
|
|
||||||
| BPYS-885 | Функции `cloudapi.trunk.list`, `cloudapi.trunk.get`: добавлен атрибут `TrunkAPIResultNM.mtu`. |
|
|
||||||
| BPYS-875 | Функция `cloudapi.compute.list`: добавлен атрибут `CloudapiComputeListResultModel.data.disks.sep_id`. |
|
|
||||||
| BPYS-878 | Функция `cloudapi.kvmx86.create`: добавлен параметр `interfaces.net_prefix`. |
|
|
||||||
| BPYS-878 | Функция `cloudapi.kvmx86.create_blank`: добавлен параметр `interfaces.net_prefix`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.account.get`: добавлен атрибут `CloudapiAccountGetResultModel.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.account.list_deleted`: добавлен атрибут `CloudapiAccountListDeletedResultModel.data.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.account.list`: добавлен атрибут `CloudapiAccountListResultModel.data.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.acl.account.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.acl.rg.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.get`: добавлен атрибут `CloudapiComputeGetResultModel.acl.vm.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.user_list`: добавлен атрибут `CloudapiComputeUserListResultModel.data.acl.account.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.user_list`: добавлен атрибут `CloudapiComputeUserListResultModel.data.acl.rg.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.user_list`: добавлен атрибут `CloudapiComputeUserListResultModel.data.acl.vm.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.k8s.get`: добавлен атрибут `CloudapiK8sGetResultModel.acl.account.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.k8s.get`: добавлен атрибут `CloudapiK8sGetResultModel.acl.k8s.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.k8s.get`: добавлен атрибут `CloudapiK8sGetResultModel.acl.rg.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.get`: добавлен атрибут `CloudapiRgGetResultModel.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.list_deleted`: добавлен атрибут `CloudapiRgListDeletedResultModel.data.account_acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.list_deleted`: добавлен атрибут `CloudapiRgListDeletedResultModel.data.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.list`: добавлен атрибут `CloudapiRgListResultModel.data.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudbroker.account.get`: добавлен атрибут `CloudbrokerAccountGetResultModel.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudbroker.account.list_deleted`: добавлен атрибут `CloudbrokerAccountListDeletedResultModel.data.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudbroker.account.list`: добавлен атрибут `CloudbrokerAccountListResultModel.data.acl.user_emails` в связи с переименованием из `emails`. |
|
|
||||||
| BPYS-895 | Функции `cloudapi.disks.get`, `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudapi.sep.list_available_sep_and_pools`: в перечисляемый тип `SEPType` добавлен атрибут `USTOR`. |
|
|
||||||
| BPYS-910 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `disks.cache_mode`. |
|
|
||||||
| BPYS-912 | Функция `cloudapi.disks.get`: в модель результата добавлено поле `cache_mode`. |
|
|
||||||
| BPYS-911 | Функции `cloudapi.disks.list`, `cloudapi.disks.list_deleted`: в модели результата добавлено поле `cache_mode`. |
|
|
||||||
| BPYS-880 | Функция `cloudapi.compute.net_attach`: добавлен параметр `net_prefix`. |
|
|
||||||
| BPYS-941 | Функция `cloudapi.zone.get`: в модель результата добавлено поле `node_auto_start`. |
|
|
||||||
| BPYS-942 | Функция `cloudapi.zone.list`: в модель результата добавлено поле `data.node_auto_start`. |
|
|
||||||
| BPYS-976 | Функция `cloudapi.compute.net_attach`: добавлен параметр `sdn_segment_id`. |
|
|
||||||
| BPYS-977 | Функция `cloudapi.compute.net_attach`: добавлен параметр `sdn_object_group_id`. |
|
|
||||||
| BPYS-978 | Функция `cloudapi.compute.net_attach`: добавлен параметр `sdn_logical_port_display_name`. |
|
|
||||||
| BPYS-979 | Функция `cloudapi.compute.net_attach`: добавлен параметр `sdn_logical_port_description`. |
|
|
||||||
| BPYS-984 | Функции `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: добавлен параметр `interfaces.sdn_segment_id`. |
|
|
||||||
| BPYS-985 | Функции `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: добавлен параметр `interfaces.sdn_object_group_id`. |
|
|
||||||
| BPYS-986 | Функции `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: добавлен параметр `interfaces.sdn_logical_port_display_name`. |
|
|
||||||
| BPYS-987 | Функции `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: добавлен параметр `interfaces.sdn_logical_port_description`. |
|
|
||||||
| BPYS-996 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `disks.blkdiscard`. |
|
|
||||||
| BPYS-997 | Функция `cloudapi.disks.get`: в модель результата добавлено поле `blkdiscard`. |
|
|
||||||
| BPYS-998 | Функции `cloudapi.disks.list`, `cloudapi.disks.list_deleted`: в модели результата добавлено поле `data.blkdiscard`. |
|
|
||||||
|
|
||||||
## Удалено
|
## Удалено
|
||||||
|
|
||||||
| Идентификатор<br>задачи | Описание |
|
|
||||||
| --- | --- |
|
|
||||||
| BPYS-733 | Функция `cloudapi.account.get`: удален атрибут `CloudapiAccountGetResultModel.uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudapi.account.update`: удален параметр `uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudapi.rg.get`: удален атрибут `CloudapiRgGetResultModel.uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudapi.rg.list_deleted`: удален атрибут `CloudapiRgListDeletedResultModel.data.uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudapi.rg.list`: удален атрибут `CloudapiRgListResultModel.data.uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudapi.rg.update`: удален параметр `clear_uniq_pools` в связи с переименованием из `clear_sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudapi.rg.update`: удален параметр `uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudbroker.account.create`: удален параметр `uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudbroker.account.get`: удален атрибут `CloudbrokerAccountGetResultModel.uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudbroker.account.list_deleted`: удален атрибут `CloudbrokerAccountListDeletedResultModel.data.uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-733 | Функция `cloudbroker.account.list`: удален атрибут `CloudbrokerAccountListResultModel.data.uniq_pools` в связи с переименованием в `sep_pools`. |
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_remove`, `cloudapi.compute.anti_affinity_rule_add`, `cloudapi.compute.anti_affinity_rule_remove`: в перечисляемом типе `AffinityTopology` было удалено значение `vm` в связи с переименованием в `VM`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.affinity_rule_remove`, `cloudapi.compute.anti_affinity_rule_add`, `cloudapi.compute.anti_affinity_rule_remove`: в перечисляемом типе `AffinityTopology` было удалено значение `node` в связи с переименованием в `NODE`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в перечисляемом типе `BootDevice` было удалено значение `cdrom` в связи с переименованием в `CDROM`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в перечисляемом типе `BootDevice` было удалено значение `hd` в связи с переименованием в `HD`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.compute.update`, `cloudapi.bservice.group_get`, `cloudapi.bservice.group_add`, `cloudapi.bservice.group_resize`, `cloudapi.k8s.create`, `cloudapi.k8s.worker_add`, `cloudapi.k8s.workers_group_add`, `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: в перечисляемом типе `Chipset` было удалено значение `i440fx` в связи с переименованием в `I440FX`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create`: в перечисляемом типе `NumaAffinity` было удалено значение `none` в связи с переименованием в `NONE`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create`: в перечисляемом типе `NumaAffinity` было удалено значение `strict` в связи с переименованием в `STRICT`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create`: в перечисляемом типе `NumaAffinity` было удалено значение `loose` в связи с переименованием в `LOOSE`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `TXMode` было удалено значение `iothread` в связи с переименованием в `IOTHREAD`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `TXMode` было удалено значение `selected by hypervisor` в связи с переименованием в `SELECTED_BY_HYPERVISOR`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `TXMode` было удалено значение `timer` в связи с переименованием в `TIMER`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `Ioeventfd` было удалено значение `off` в связи с переименованием в `OFF`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `Ioeventfd` было удалено значение `on` в связи с переименованием в `ON`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `Ioeventfd` было удалено значение `selected by hypervisor` в связи с переименованием в `SELECTED_BY_HYPERVISOR`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `EventIdx` было удалено значение `off` в связи с переименованием в `OFF`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `EventIdx` было удалено значение `on` в связи с переименованием в `ON`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.net_attach`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.vins.get`: в перечисляемом типе `EventIdx` было удалено значение `selected by hypervisor` в связи с переименованием в `SELECTED_BY_HYPERVISOR`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `VMFeature` было удалено значение `changemac` в связи с переименованием в `CHANGEMAC`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `VMFeature` было удалено значение `cpupin` в связи с переименованием в `CPUPIN`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `VMFeature` было удалено значение `dpdk` в связи с переименованием в `DPDK`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `VMFeature` было удалено значение `hugepages` в связи с переименованием в `HUGEPAGES`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `VMFeature` было удалено значение `numa` в связи с переименованием в `NUMA`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `VMFeature` было удалено значение `trunk` в связи с переименованием в `TRUNK`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted` `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.create`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `VMFeature` было удалено значение `vfnic` в связи с переименованием в `VFNIC`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `RGResourceType` было удалено значение `vm` в связи с переименованием в `VM`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `RGResourceType` было удалено значение `k8s` в связи с переименованием в `K8S`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `RGResourceType` было удалено значение `lb` в связи с переименованием в `LB`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`: в перечисляемом типе `RGResourceType` было удалено значение `vins` в связи с переименованием в `VINS`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемом типе `AccountResourceType` было удалено значение `vm` в связи с переименованием в `VM`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемом типе `AccountResourceType` было удалено значение `k8s` в связи с переименованием в `K8S`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемом типе `AccountResourceType` было удалено значение `lb` в связи с переименованием в `LB`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемом типе `AccountResourceType` было удалено значение `vins` в связи с переименованием в `VINS`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.account.get`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`: в перечисляемом типе `AccountResourceType` было удалено значение `flipgroup` в связи с переименованием в `FLIPGROUP`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `ImageType` было удалено значение `cdrom` в связи с переименованием в `CDROM`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `ImageType` было удалено значение `linux` в связи с переименованием в `LINUX`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `ImageType` было удалено значение `unknown` в связи с переименованием в `UNKNOWN`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `ImageType` было удалено значение `virtual` в связи с переименованием в `VIRTUAL`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `ImageType` было удалено значение `windows` в связи с переименованием в `WINDOWS`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `NetIfaceNamingTemplate` было удалено значение `ens` в связи с переименованием в `ENS`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `NetIfaceNamingTemplate` было удалено значение `eth` в связи с переименованием в `ETH`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.vins.get`, `cloudapi.vins.nat_rule_add`, `cloudapi.vins.nat_rule_list`, `cloudapi.compute.pfw_list`, `cloudapi.compute.pfw_add`, `cloudapi.compute.pfw_del`: в перечисляемом типе `NATRuleProtocol` было удалено значение `tcp` в связи с переименованием в `TCP`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.vins.get`, `cloudapi.vins.nat_rule_add`, `cloudapi.vins.nat_rule_list`, `cloudapi.compute.pfw_list`, `cloudapi.compute.pfw_add`, `cloudapi.compute.pfw_del`: в перечисляемом типе `NATRuleProtocol` было удалено значение `udp` в связи с переименованием в `UDP`.|
|
|
||||||
| BPYS-755 | Функция `cloudapi.vins.get`: в перечисляемом типе `VNFDevType` было удалено значение `vyos` в связи с переименованием в `VYOS`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `BootMode` было удалено значение `bios` в связи с переименованием в `BIOS`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`, `cloudapi.image.list`: в перечисляемом типе `BootMode` было удалено значение `uefi` в связи с переименованием в `UEFI`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`: в перечисляемом типе `BootLoaderType` было удалено значение `linux` в связи с переименованием в `LINUX`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`: в перечисляемом типе `BootLoaderType` было удалено значение `unknown` в связи с переименованием в `UNKNOWN`.|
|
|
||||||
| BPYS-755 | Функции `cloudapi.compute.get`, `cloudapi.compute.update`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.kvmx86.create_blank`, `cloudapi.image.create`, `cloudapi.image.get`: в перечисляемом типе `BootLoaderType` было удалено значение `windows` в связи с переименованием в `WINDOWS`.|
|
|
||||||
| BPYS-755 | Функция `cloudapi.compute.change_link_state`: в перечисляемом типе `LinkState` было удалено значение `on` в связи с переименованием в `ON`.|
|
|
||||||
| BPYS-755 | Функция `cloudapi.compute.change_link_state`: в перечисляемом типе `LinkState` было удалено значение `off` в связи с переименованием в `OFF`.|
|
|
||||||
| BPYS-767 | Функция `cloudapi.rg.update`: удален параметр `storage_policies` в связи с переименованием в `storage_policies_quotas`. |
|
|
||||||
| BPYS-762 | Функция `cloudbroker.compute.migrate_storage_list`: удален атрибут `CloudbrokerComputeMigrateStorageListResultModel.data.source_stack_id` в связи с переименованием в `source_node_id`. |
|
|
||||||
| BPYS-763 | Функция `cloudbroker.compute.migrate_storage_list`: удален атрибут `CloudbrokerComputeMigrateStorageListResultModel.data.target_stack_id` в связи с переименованием в `target_node_id`. |
|
|
||||||
| BPYS-765 | Функция `cloudapi.account.update`: удален параметр `ext_traffic_quota`. |
|
|
||||||
| BPYS-771 | Функция `cloudbroker.account.create`: удален параметр `ext_traffic_quota`. |
|
|
||||||
| BPYS-783 | Функция `cloudapi.rg.update`: удален параметр `ext_traffic_quota`. |
|
|
||||||
| BPYS-810 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.pinned_to_stack` в связи с переименованием в `pinned_to_node`. |
|
|
||||||
| BPYS-807 | Удалена функция `cloudapi.compute.pin_to_stack` в связи с переименованием в `cloudapi.compute.pin_to_node`. |
|
|
||||||
| BPYS-808 | Удалена функция `cloudapi.compute.unpin_from_stack` в связи с переименованием в `cloudapi.compute.unpin_from_node`. |
|
|
||||||
| BPYS-830 | Функция `cloudapi.vins.get`: удален атрибут `CloudapiVinsGetResultModel.vnfdev.config.resources.stack_id` в связи с переименованием в `node_id`. |
|
|
||||||
| BPYS-828 | Функция `cloudapi.bservice.get`: удален атрибут `CloudapiBserviceGetResultModel.vms.stack_id` в связи с переименованием в `node_id`. |
|
|
||||||
| BPYS-824 | Функция `cloudbroker.compute.start_migration_in`: удален параметр `stack_id` в связи с переименованием в `node_id`. |
|
|
||||||
| BPYS-818 | Удалена функция `cloudapi.stack.get`. |
|
|
||||||
| BPYS-785 | Функция `cloudapi.rg.create`: удален параметр `ext_traffic_quota`. |
|
|
||||||
| BPYS-821 | Функция `cloudapi.compute.list`: удален атрибут `CloudapiComputeListResultModel.data.pinned_to_stack` в связи с переименованием в `pinned_to_node`. |
|
|
||||||
| BPYS-821 | Функция `cloudapi.compute.list_deleted`: удален атрибут `CloudapiComputeListDeletedResultModel.data.pinned_to_stack` в связи с переименованием в `pinned_to_node`. |
|
|
||||||
| BPYS-803 | Функция `cloudapi.compute.list`: удален атрибут `CloudapiComputeListResultModel.data.total_disks_size` в связи с переименованием в `total_disks_size_gb`. |
|
|
||||||
| BPYS-803 | Функция `cloudapi.compute.list_deleted`: удален атрибут `CloudapiComputeListDeletedResultModel.data.total_disks_size` в связи с переименованием в `total_disks_size_gb`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.size_used` в связи с переименованием в `size_used_gb`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.get`: удален атрибут `CloudapiDiskGetResultModel.size_used` в связи с переименованием в `size_used_gb`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.list_deleted`: удален атрибут `CloudapiDiskListDeletedResultModel.data.size_used` в связи с переименованием в `size_used_gb`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.list_unattached`: удален атрибут `CloudapiDiskListUnattachedResultModel.data.size_used` в связи с переименованием в `size_used_gb`. |
|
|
||||||
| BPYS-804 | Функция `cloudapi.disk.list`: удален атрибут `CloudapiDiskListResultModel.data.size_used` в связи с переименованием в `size_used_gb`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.size_available` в связи с переименованием в `size_available_gb`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.get`: удален атрибут `CloudapiDiskGetResultModel.size_available` в связи с переименованием в `size_available_gb`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.list_deleted`: удален атрибут `CloudapiDiskListDeletedResultModel.data.size_available` в связи с переименованием в `size_available_gb`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.list_unattached`: удален атрибут `CloudapiDiskListUnattachedResultModel.data.size_available` в связи с переименованием в `size_available_gb`. |
|
|
||||||
| BPYS-805 | Функция `cloudapi.disk.list`: удален атрибут `CloudapiDiskListResultModel.data.size_available` в связи с переименованием в `size_available_gb`. |
|
|
||||||
| BPYS-766 | Функция `cloudapi.account.get`: удален атрибут `CloudapiAccountGetResultModel.quotas.ext_traffic`. |
|
|
||||||
| BPYS-766 | Функция `cloudbroker.account.get`: удален атрибут `CloudbrokerAccountGetResultModel.quotas.ext_traffic`. |
|
|
||||||
| BPYS-766 | Функция `cloudbroker.account.list`: удален атрибут `CloudbrokerAccountListResultModel.data.quotas.ext_traffic`. |
|
|
||||||
| BPYS-766 | Функция `cloudbroker.account.list_deleted`: удален атрибут `CloudbrokerAccountListDeletedResultModel.data.quotas.ext_traffic`. |
|
|
||||||
| BPYS-766 | Функция `cloudapi.rg.get`: удален атрибут `CloudapiRgGetResultModel.quotas.ext_traffic`. |
|
|
||||||
| BPYS-766 | Функция `cloudapi.rg.list`: удален атрибут `CloudapiRgListResultModel.data.quotas.ext_traffic`. |
|
|
||||||
| BPYS-766 | Функция `cloudapi.rg.list_deleted`: удален атрибут `CloudapiRgListDeletedResultModel.data.quotas.ext_traffic`. |
|
|
||||||
| BPYS-819 | Удалена функция `cloudapi.stack.list`. |
|
|
||||||
| BPYS-832 | Функция `cloudapi.pcidevice.list`: удален атрибут `CloudapiPcideviceListResultModel.data.stack_id` в связи с переименованием в `node_id`. |
|
|
||||||
| BPYS-850 | Функция `cloudapi.account.get_resource_consumption`: удален атрибут `CloudapiAccountGetResourceConsumptionResultModel.consumed.ext_traffic`. |
|
|
||||||
| BPYS-850 | Функция `cloudapi.rg.get_resource_consumption`: удален атрибут `CloudapiRgGetResourceConsumptionResultModel.consumed.ext_traffic`. |
|
|
||||||
| BPYS-850 | Функция `cloudapi.user.get_resource_consumption`: удален атрибут `CloudapiUserGetResourceConsumptionResultModel.consumed.ext_traffic`. |
|
|
||||||
| BPYS-850 | Функция `cloudbroker.account.get_resource_consumption`: удален атрибут `CloudbrokerAccountGetResourceConsumptionResultModel.consumed.ext_traffic`. |
|
|
||||||
| BPYS-851 | Функция `cloudapi.account.get_resource_consumption`: удален атрибут `CloudapiAccountGetResourceConsumptionResultModel.reserved.ext_traffic`. |
|
|
||||||
| BPYS-851 | Функция `cloudapi.rg.get_resource_consumption`: удален атрибут `CloudapiRgGetResourceConsumptionResultModel.reserved.ext_traffic`. |
|
|
||||||
| BPYS-851 | Функция `cloudapi.user.get_resource_consumption`: удален атрибут `CloudapiUserGetResourceConsumptionResultModel.reserved.ext_traffic`. |
|
|
||||||
| BPYS-851 | Функция `cloudbroker.account.get_resource_consumption`: удален атрибут `CloudbrokerAccountGetResourceConsumptionResultModel.reserved.ext_traffic`. |
|
|
||||||
| BPYS-852 | Функция `cloudapi.account.get_resource_consumption`: удален атрибут `CloudapiAccountGetResourceConsumptionResultModel.quotas.ext_traffic`. |
|
|
||||||
| BPYS-852 | Функция `cloudapi.rg.get_resource_consumption`: удален атрибут `CloudapiRgGetResourceConsumptionResultModel.quotas.ext_traffic`. |
|
|
||||||
| BPYS-852 | Функция `cloudbroker.account.get_resource_consumption`: удален атрибут `CloudbrokerAccountGetResourceConsumptionResultModel.quotas.ext_traffic`. |
|
|
||||||
| BPYS-839 | Функция `cloudapi.disks.list_types`: в перечисляемом типе `PoolDiskType` был удален атрибут `B` в связи с переименованием в `BOOT`.|
|
|
||||||
| BPYS-839 | Функция `cloudapi.disks.list_types`: в перечисляемом типе `PoolDiskType` был удален атрибут `D` в связи с переименованием в `DATA`.|
|
|
||||||
| BPYS-839 | Функции `cloudapi.compute.disk_add`, `cloudapi.compute.disk_attach`, `cloudapi.compute.get`, `cloudapi.disks.get`, `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudapi.disks.list_unattached`: в перечисляемом типе `DiskType` был удален атрибут `B` в связи с переименованием в `BOOT`.|
|
|
||||||
| BPYS-839 | Функции `cloudapi.compute.disk_add`, `cloudapi.compute.disk_attach`, `cloudapi.compute.get`, `cloudapi.disks.get`, `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudapi.disks.list_unattached`: в перечисляемом типе `DiskType` был удален атрибут `D` в связи с переименованием в `DATA`.|
|
|
||||||
| BPYS-836 | Функция `cloudapi.account.get`: удален атрибут `CloudapiAccountGetResultModel.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.account.list_deleted`: удален атрибут `CloudapiAccountListDeletedResultModel.data.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.account.list`: удален атрибут `CloudapiAccountListResultModel.data.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.acl.account.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.acl.rg.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.acl.vm.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.user_list`: удален атрибут `CloudapiComputeUserListResultModel.data.acl.account.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.user_list`: удален атрибут `CloudapiComputeUserListResultModel.data.acl.rg.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.compute.user_list`: удален атрибут `CloudapiComputeUserListResultModel.data.acl.vm.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.k8s.get`: удален атрибут `CloudapiK8sGetResultModel.acl.account.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.k8s.get`: удален атрибут `CloudapiK8sGetResultModel.acl.k8s.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.k8s.get`: удален атрибут `CloudapiK8sGetResultModel.acl.rg.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.get`: удален атрибут `CloudapiRgGetResultModel.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.list_deleted`: удален атрибут `CloudapiRgListDeletedResultModel.data.account_acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.list_deleted`: удален атрибут `CloudapiRgListDeletedResultModel.data.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudapi.rg.list`: удален атрибут `CloudapiRgListResultModel.data.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudbroker.account.get`: удален атрибут `CloudbrokerAccountGetResultModel.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudbroker.account.list_deleted`: удален атрибут `CloudbrokerAccountListDeletedResultModel.data.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-836 | Функция `cloudbroker.account.list`: удален атрибут `CloudbrokerAccountListResultModel.data.acl.user_group_id` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-838 | Функция `cloudapi.bservice.group_parent_add`: удален параметр `bsgroup_id` в связи с переименованием в `child_id`. |
|
|
||||||
| BPYS-838 | Функция `cloudapi.bservice.group_parent_remove`: удален параметр `bsgroup_id` в связи с переименованием в `child_id`. |
|
|
||||||
| BPYS-840 | Функция `cloudapi.compute.list_deleted`: удален атрибут `CloudapiComputeListDeletedResultModel.data.devices` в связи с переименованием в `pci_devices`. |
|
|
||||||
| BPYS-840 | Функция `cloudapi.compute.list`: удален атрибут `CloudapiComputeListResultModel.data.devices` в связи с переименованием в `pci_devices`. |
|
|
||||||
| BPYS-853 | Функция `cloudapi.vins.get`: удален атрибут `CloudapiVinsGetResultModel.vnfdev.config.mgmt.user` в связи с переименованием в `user_name`. |
|
|
||||||
| BPYS-866 | Функция `cloudbroker.user.create`: удален параметр `email_addresses` в связи с переименованием в `email_address`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.account.get`: удален атрибут `CloudapiAccountGetResultModel.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.account.list_deleted`: удален атрибут `CloudapiAccountListDeletedResultModel.data.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.account.list`: удален атрибут `CloudapiAccountListResultModel.data.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.acl.account.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.acl.rg.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.get`: удален атрибут `CloudapiComputeGetResultModel.acl.vm.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.user_list`: удален атрибут `CloudapiComputeUserListResultModel.data.acl.account.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.user_list`: удален атрибут `CloudapiComputeUserListResultModel.data.acl.rg.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.compute.user_list`: удален атрибут `CloudapiComputeUserListResultModel.data.acl.vm.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.k8s.get`: удален атрибут `CloudapiK8sGetResultModel.acl.account.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.k8s.get`: удален атрибут `CloudapiK8sGetResultModel.acl.k8s.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.k8s.get`: удален атрибут `CloudapiK8sGetResultModel.acl.rg.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.get`: удален атрибут `CloudapiRgGetResultModel.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.list_deleted`: удален атрибут `CloudapiRgListDeletedResultModel.data.account_acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.list_deleted`: удален атрибут `CloudapiRgListDeletedResultModel.data.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudapi.rg.list`: удален атрибут `CloudapiRgListResultModel.data.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudbroker.account.get`: удален атрибут `CloudbrokerAccountGetResultModel.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudbroker.account.list_deleted`: удален атрибут `CloudbrokerAccountListDeletedResultModel.data.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-874 | Функция `cloudbroker.account.list`: удален атрибут `CloudbrokerAccountListResultModel.data.acl.emails` в связи с переименованием в `user_emails`. |
|
|
||||||
| BPYS-899 | Функция `cloudbroker.compute.clone`: удалена возможность не задавать параметр `storage_policy_id`. |
|
|
||||||
| BPYS-900 | Функции `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: из модели результата удалено поле `data.snapshot_sets.disks` в связи с переименованием в `data.snapshot_sets.disk_ids`. |
|
|
||||||
| BPYS-900 | Функция `cloudapi.compute.get`: из модели результата удалено поле `snapshot_sets.disks` в связи с переименованием в `snapshot_sets.disk_ids`. |
|
|
||||||
| BPYS-900 | Функция `cloudapi.compute.snapshot_list`: из модели результата удалено поле `data.disks` в связи с переименованием в `data.disk_ids`. |
|
|
||||||
| BPYS-887 | Функции `cloudapi.security_group.get`, `cloudapi.security_group.update`, `cloudbroker.security_group.get`, `cloudbroker.security_group.update`: из модели результата удалено поле `rules.remote_ip_prefix` в связи с переименованием в `rules.remote_net_cidr`. |
|
|
||||||
| BPYS-887 | Функции `cloudapi.security_group.list`, `cloudbroker.security_group.list`: из модели результата удалено поле `data.rules.remote_ip_prefix` в связи с переименованием в `data.rules.remote_net_cidr`. |
|
|
||||||
| BPYS-887 | Функции `cloudapi.security_group.create_rule`, `cloudbroker.security_group.create_rule`: удален параметр `remote_ip_prefix` в связи с переименованием в `remote_net_cidr`. |
|
|
||||||
| BPYS-928 | Функция `cloudapi.image.get`: в моделе ответа тип поля `res_id` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-924 | Функция `cloudbroker.account.update`: для параметра `send_access_emails` изменено значение по умолчанию с `False` на `None` . |
|
|
||||||
| BPYS-919 | Функция `cloudapi.account.update`: для параметра `send_access_emails` изменено значение по умолчанию с `False` на `None` . |
|
|
||||||
| BPYS-944 | Функция `cloudapi.bservice.group_add`: удален параметр `driver` . |
|
|
||||||
| BPYS-936 | Функции `cloudbroker.account.get`, `cloudapi.account.get`, `cloudapi.rg.get`: в моделе ответа тип поля `acl.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функции `cloudapi.account.list_deleted`, `cloudapi.account.list`, `cloudapi.rg.list`, `cloudbroker.account.list`, `cloudapi.rg.list_deleted`, `cloudbroker.account.list_deleted`: в моделе ответа тип поля `data.acl.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функции `cloudapi.k8s.get`, `cloudapi.compute.get`: в моделе ответа тип поля `acl.account.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функции `cloudapi.compute.get`, `cloudapi.k8s.get`: в моделе ответа тип поля `acl.rg.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функция `cloudapi.compute.get`: в моделе ответа тип поля `acl.vm.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функция `cloudapi.compute.user_list`: в моделе ответа тип поля `data.acl.account.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функция `cloudapi.compute.user_list`: в моделе ответа тип поля `data.acl.rg.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функция `cloudapi.compute.user_list`: в моделе ответа тип поля `data.acl.vm.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-936 | Функция `cloudapi.k8s.get`: в моделе ответа тип поля `acl.k8s.guid` изменен с `str` на `str \| None`. |
|
|
||||||
| BPYS-956 | Функция `cloudapi.flipgroup.list`: удален параметр `rg_id`. |
|
|
||||||
| BPYS-952 | Функция `cloudapi.flipgroup.get`: из модели результата удалено поле `rg_id` . |
|
|
||||||
| BPYS-953 | Функция `cloudapi.flipgroup.get`: из модели результата удалено поле `rg_name` . |
|
|
||||||
| BPYS-999 | Функция `cloudapi.image.get`: из модели результата удалено поле `ckey` . |
|
|
||||||
|
|
||||||
## Исправлено
|
## Исправлено
|
||||||
|
|
||||||
| Идентификатор<br>задачи | Описание |
|
|
||||||
| --- | --- |
|
|
||||||
| BPYS-842 | Функция `cloudbroker.user.get`: вызов функции завершался ошибкой валидации полей `_ckey` и `_meta`. |
|
|
||||||
| BPYS-922 | Функция `cloudbroker.account.add_user`: вызов функции завершался ошибкой: `HTTPError: 400 Client Error` при передаче значения `CXDRAU` из перечисляемого типа `AccessType`. Тип параметра был исправлен с `AccessType` на `AccessTypeForSet`. |
|
|
||||||
+11
-5
@@ -5,16 +5,22 @@ authors = [
|
|||||||
{name = "Vladislav Nesterov"},
|
{name = "Vladislav Nesterov"},
|
||||||
{name = "Stanislav Karimov"},
|
{name = "Stanislav Karimov"},
|
||||||
]
|
]
|
||||||
version = "1.4.0"
|
version = "2.1.4"
|
||||||
|
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12, <3.15"
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"requests>=2.32.3",
|
"requests==2.34.2",
|
||||||
"pydantic==2.10.5",
|
"pydantic==2.13.5",
|
||||||
"pyyaml>=6.0.2",
|
"pyyaml==6.0.3",
|
||||||
|
]
|
||||||
|
|
||||||
|
[dependency-groups]
|
||||||
|
dev = [
|
||||||
|
"pre-commit==4.6.2",
|
||||||
|
"pytest==9.1.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
|
|||||||
@@ -13,6 +13,16 @@ class AccessType(str, _AutoNameEnum):
|
|||||||
R = _enum_auto()
|
R = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class ACLType(str, _AutoNameEnum):
|
||||||
|
U = _enum_auto()
|
||||||
|
G = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class ACLStatus(str, _AutoNameEnum):
|
||||||
|
INVITED = _enum_auto()
|
||||||
|
CONFIRMED = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
class AffinityMode(str, _AutoNameEnum):
|
class AffinityMode(str, _AutoNameEnum):
|
||||||
ANY = _enum_auto()
|
ANY = _enum_auto()
|
||||||
EQ = _enum_auto()
|
EQ = _enum_auto()
|
||||||
@@ -29,6 +39,25 @@ class AffinityTopology(str, _AutoNameEnum):
|
|||||||
NODE = 'node'
|
NODE = 'node'
|
||||||
|
|
||||||
|
|
||||||
|
class ComputeAffinityRuleMigrationStatus(str, _AutoNameEnum):
|
||||||
|
MIGRATED = 'migrated'
|
||||||
|
SKIPPED = 'skipped'
|
||||||
|
NOT_STARTED = 'not_started'
|
||||||
|
NOT_COMPLETED = 'not_completed'
|
||||||
|
|
||||||
|
|
||||||
|
class ComputeMigrateV2Mode(str, _AutoNameEnum):
|
||||||
|
COMPUTE = 'compute'
|
||||||
|
DISKS = 'disks'
|
||||||
|
COMPUTE_AND_DISKS = 'compute_and_disks'
|
||||||
|
|
||||||
|
|
||||||
|
class ComputeMigrateV2AbortStatus(str, _AutoNameEnum):
|
||||||
|
ACCEPTED = 'accepted'
|
||||||
|
REJECTED = 'rejected'
|
||||||
|
UNKNOWN = 'unknown'
|
||||||
|
|
||||||
|
|
||||||
class BootDevice(str, _AutoNameEnum):
|
class BootDevice(str, _AutoNameEnum):
|
||||||
CDROM = 'cdrom'
|
CDROM = 'cdrom'
|
||||||
HD = 'hd'
|
HD = 'hd'
|
||||||
@@ -102,16 +131,32 @@ class LockStatus(str, _AutoNameEnum):
|
|||||||
UNLOCKED = _enum_auto()
|
UNLOCKED = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class MemoryBalloonMode(str, _AutoNameEnum):
|
||||||
|
AUTO = 'auto'
|
||||||
|
LEGACY = 'legacy'
|
||||||
|
NONE = 'none'
|
||||||
|
|
||||||
|
|
||||||
class VMFeature(str, _AutoNameEnum):
|
class VMFeature(str, _AutoNameEnum):
|
||||||
CHANGEMAC = 'changemac'
|
CHANGEMAC = 'changemac'
|
||||||
CPUPIN = 'cpupin'
|
CPUPIN = 'cpupin'
|
||||||
DPDK = 'dpdk'
|
DPDK = 'dpdk'
|
||||||
HUGEPAGES = 'hugepages'
|
HUGEPAGES = 'hugepages'
|
||||||
NUMA = 'numa'
|
NUMA = 'numa'
|
||||||
|
PCIDEVICE = 'pcidevice'
|
||||||
TRUNK = 'trunk'
|
TRUNK = 'trunk'
|
||||||
|
VGPU = 'vgpu'
|
||||||
VFNIC = 'vfnic'
|
VFNIC = 'vfnic'
|
||||||
|
|
||||||
|
|
||||||
|
class WatchdogAction(str, _AutoNameEnum):
|
||||||
|
RESET = 'reset'
|
||||||
|
SHUTDOWN = 'shutdown'
|
||||||
|
POWEROFF = 'poweroff'
|
||||||
|
PAUSE = 'pause'
|
||||||
|
NONE = 'none'
|
||||||
|
|
||||||
|
|
||||||
class RGDefaultNetTypeForSet(str, _AutoNameEnum):
|
class RGDefaultNetTypeForSet(str, _AutoNameEnum):
|
||||||
PRIVATE = _enum_auto()
|
PRIVATE = _enum_auto()
|
||||||
PUBLIC = _enum_auto()
|
PUBLIC = _enum_auto()
|
||||||
@@ -184,11 +229,6 @@ class VMTechStatus(str, _AutoNameEnum):
|
|||||||
STOPPING = _enum_auto()
|
STOPPING = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
class DiskType(str, _AutoNameEnum):
|
|
||||||
BOOT = 'B'
|
|
||||||
DATA = 'D'
|
|
||||||
|
|
||||||
|
|
||||||
class AccountStatus(str, _AutoNameEnum):
|
class AccountStatus(str, _AutoNameEnum):
|
||||||
CONFIRMED = _enum_auto()
|
CONFIRMED = _enum_auto()
|
||||||
DISABLED = _enum_auto()
|
DISABLED = _enum_auto()
|
||||||
@@ -221,9 +261,11 @@ class ImageStatus(str, _AutoNameEnum):
|
|||||||
class ImageType(str, _AutoNameEnum):
|
class ImageType(str, _AutoNameEnum):
|
||||||
CDROM = 'cdrom'
|
CDROM = 'cdrom'
|
||||||
LINUX = 'linux'
|
LINUX = 'linux'
|
||||||
|
MULTI = 'multi'
|
||||||
UNKNOWN = 'unknown'
|
UNKNOWN = 'unknown'
|
||||||
VIRTUAL = 'virtual'
|
VIRTUAL = 'virtual'
|
||||||
WINDOWS = 'windows'
|
WINDOWS = 'windows'
|
||||||
|
MEMORY_DUMP = 'memorydump'
|
||||||
|
|
||||||
|
|
||||||
class NetIfaceNamingTemplate(str, _AutoNameEnum):
|
class NetIfaceNamingTemplate(str, _AutoNameEnum):
|
||||||
@@ -359,6 +401,17 @@ class SEPType(str, _AutoNameEnum):
|
|||||||
DORADO = _enum_auto()
|
DORADO = _enum_auto()
|
||||||
SHARED = _enum_auto()
|
SHARED = _enum_auto()
|
||||||
USTOR = _enum_auto()
|
USTOR = _enum_auto()
|
||||||
|
AERODISK = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class ImageListSEPType(str, _AutoNameEnum):
|
||||||
|
HITACHI = _enum_auto()
|
||||||
|
DES = _enum_auto()
|
||||||
|
LOCAL = _enum_auto()
|
||||||
|
TATLIN = _enum_auto()
|
||||||
|
DORADO = _enum_auto()
|
||||||
|
SHARED = _enum_auto()
|
||||||
|
USTOR = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
class ExtNetStatus(str, _AutoNameEnum):
|
class ExtNetStatus(str, _AutoNameEnum):
|
||||||
@@ -398,6 +451,11 @@ class PoolDiskType(str, _AutoNameEnum):
|
|||||||
ANY = _enum_auto()
|
ANY = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class TatlinPoolType(str, _AutoNameEnum):
|
||||||
|
DIRECT = 'direct'
|
||||||
|
INDIRECT = 'indirect'
|
||||||
|
|
||||||
|
|
||||||
class CountChangeMode(str, _AutoNameEnum):
|
class CountChangeMode(str, _AutoNameEnum):
|
||||||
ABSOLUTE = _enum_auto()
|
ABSOLUTE = _enum_auto()
|
||||||
RELATIVE = _enum_auto()
|
RELATIVE = _enum_auto()
|
||||||
@@ -475,6 +533,13 @@ class K8sNetworkPlugin(str, _AutoNameEnum):
|
|||||||
WEAVENET = 'weavenet'
|
WEAVENET = 'weavenet'
|
||||||
|
|
||||||
|
|
||||||
|
class NetworkMode(str, _AutoNameEnum):
|
||||||
|
OVS = 'ovs'
|
||||||
|
BRIDGE = 'bridge'
|
||||||
|
DPDK = 'dpdk'
|
||||||
|
SDN = 'sdn'
|
||||||
|
|
||||||
|
|
||||||
class K8CIStatus(str, _AutoNameEnum):
|
class K8CIStatus(str, _AutoNameEnum):
|
||||||
CREATED = _enum_auto()
|
CREATED = _enum_auto()
|
||||||
DELETED = _enum_auto()
|
DELETED = _enum_auto()
|
||||||
@@ -530,6 +595,20 @@ class ZoneStatus(str, _AutoNameEnum):
|
|||||||
DESTROYED = _enum_auto()
|
DESTROYED = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class LoggingLevel(str, _AutoNameEnum):
|
||||||
|
CRITICAL = _enum_auto()
|
||||||
|
ERROR = _enum_auto()
|
||||||
|
WARNING = _enum_auto()
|
||||||
|
NOTICE = _enum_auto()
|
||||||
|
INFO = _enum_auto()
|
||||||
|
DEBUG = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class SDRSMode(str, _AutoNameEnum):
|
||||||
|
AUTO = 'auto'
|
||||||
|
MANUAL = 'manual'
|
||||||
|
|
||||||
|
|
||||||
class TrafficDirection(str, _AutoNameEnum):
|
class TrafficDirection(str, _AutoNameEnum):
|
||||||
INBOUND = 'inbound'
|
INBOUND = 'inbound'
|
||||||
OUTBOUND = 'outbound'
|
OUTBOUND = 'outbound'
|
||||||
@@ -557,10 +636,38 @@ class TrunkStatus(str, _AutoNameEnum):
|
|||||||
|
|
||||||
|
|
||||||
class StoragePolicyStatus(str, _AutoNameEnum):
|
class StoragePolicyStatus(str, _AutoNameEnum):
|
||||||
|
DESTROYED = _enum_auto()
|
||||||
DISABLED = _enum_auto()
|
DISABLED = _enum_auto()
|
||||||
ENABLED = _enum_auto()
|
ENABLED = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class ReplicationType(str, _AutoNameEnum):
|
||||||
|
SYNC = 'sync'
|
||||||
|
ASYNC = 'async'
|
||||||
|
|
||||||
|
|
||||||
|
class ReplicationProfileScheduleType(str, _AutoNameEnum):
|
||||||
|
INTERVAL = 'interval'
|
||||||
|
CALENDAR = 'calendar'
|
||||||
|
MANUAL_SYNC = 'manualSync'
|
||||||
|
|
||||||
|
|
||||||
|
class NetworkQosPolicyStatus(str, _AutoNameEnum):
|
||||||
|
DESTROYED = _enum_auto()
|
||||||
|
DISABLED = _enum_auto()
|
||||||
|
ENABLED = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class NetworkQosPolicyRuleDirection(str, _AutoNameEnum):
|
||||||
|
OUTBOUND = 'outbound'
|
||||||
|
|
||||||
|
|
||||||
|
class NetworkQosPolicyRuleProtocol(str, _AutoNameEnum):
|
||||||
|
ICMP = 'icmp'
|
||||||
|
TCP = 'tcp'
|
||||||
|
UDP = 'udp'
|
||||||
|
|
||||||
|
|
||||||
class JobStatus(str, _AutoNameEnum):
|
class JobStatus(str, _AutoNameEnum):
|
||||||
ABORTED = _enum_auto()
|
ABORTED = _enum_auto()
|
||||||
CLEANUPED = _enum_auto()
|
CLEANUPED = _enum_auto()
|
||||||
@@ -580,13 +687,7 @@ class PGPUMode(str, _AutoNameEnum):
|
|||||||
|
|
||||||
|
|
||||||
class VGPUStatus(str, _AutoNameEnum):
|
class VGPUStatus(str, _AutoNameEnum):
|
||||||
ALLOCATED = _enum_auto()
|
|
||||||
ALLOCATING = _enum_auto()
|
|
||||||
CLAIMED = _enum_auto()
|
|
||||||
CLAIMING = _enum_auto()
|
|
||||||
CREATED = _enum_auto()
|
CREATED = _enum_auto()
|
||||||
DEALLOCATED = _enum_auto()
|
|
||||||
DEALLOCATING = _enum_auto()
|
|
||||||
DESTROYED = _enum_auto()
|
DESTROYED = _enum_auto()
|
||||||
ERROR = _enum_auto()
|
ERROR = _enum_auto()
|
||||||
|
|
||||||
@@ -624,3 +725,60 @@ class SEPTechStatus(str, _AutoNameEnum):
|
|||||||
class DiskCacheMode(str, _AutoNameEnum):
|
class DiskCacheMode(str, _AutoNameEnum):
|
||||||
NONE = 'none'
|
NONE = 'none'
|
||||||
WRITETHROUGH = 'writethrough'
|
WRITETHROUGH = 'writethrough'
|
||||||
|
|
||||||
|
|
||||||
|
class DiskBlockSize(str, _AutoNameEnum):
|
||||||
|
VAL_512 = '512'
|
||||||
|
VAL_512E = '512e'
|
||||||
|
VAL_4K = '4k'
|
||||||
|
|
||||||
|
|
||||||
|
class CPUAllocationParam(str, _AutoNameEnum):
|
||||||
|
STRICT = 'strict'
|
||||||
|
LOOSE = 'loose'
|
||||||
|
NONE = ''
|
||||||
|
|
||||||
|
|
||||||
|
class DiskProvisionType(str, _AutoNameEnum):
|
||||||
|
THICK = 'thick'
|
||||||
|
THIN = 'thin'
|
||||||
|
|
||||||
|
|
||||||
|
class DRSDXSSOType(str, _AutoNameEnum):
|
||||||
|
BVS = 'bvs'
|
||||||
|
DECS3O = 'decs3o'
|
||||||
|
NONE = ''
|
||||||
|
|
||||||
|
|
||||||
|
class ClockSyncMode(str, _AutoNameEnum):
|
||||||
|
DEFAULT = 'default'
|
||||||
|
LINUX = 'linux'
|
||||||
|
WINDOWS = 'windows'
|
||||||
|
NONE = 'none'
|
||||||
|
|
||||||
|
|
||||||
|
class DiskDiscard(str, _AutoNameEnum):
|
||||||
|
UNMAP = 'unmap'
|
||||||
|
IGNORE = 'ignore'
|
||||||
|
|
||||||
|
|
||||||
|
class VMFolderStatus(str, _AutoNameEnum):
|
||||||
|
CREATED = _enum_auto()
|
||||||
|
DESTROYED = _enum_auto()
|
||||||
|
|
||||||
|
|
||||||
|
class PrometheusMetricID(str, _AutoNameEnum):
|
||||||
|
COMPUTE_CPU_LOAD = 'computeCPUload'
|
||||||
|
COMPUTE_MEMORY_USAGE = 'computeMemoryUsage'
|
||||||
|
COMPUTE_MEMORY_USABLE = 'computeMemoryUsable'
|
||||||
|
COMPUTE_MEMORY_UNUSED = 'computeMemoryUnused'
|
||||||
|
COMPUTE_MEMORY_USED = 'computeMemoryUsed'
|
||||||
|
COMPUTE_MEMORY_AVAILABLE = 'computeMemoryAvailable'
|
||||||
|
COMPUTE_READ_BYTES = 'computeReadBytes'
|
||||||
|
COMPUTE_READ_REQUESTS = 'computeReadRequests'
|
||||||
|
COMPUTE_RECEIVE_BYTES = 'computeReceiveBytes'
|
||||||
|
COMPUTE_TRANSMIT_BYTES = 'computeTransmitBytes'
|
||||||
|
COMPUTE_TRANSMIT_PACKETS = 'computeTransmitPackets'
|
||||||
|
COMPUTE_WRITE_BYTES = 'computeWriteBytes'
|
||||||
|
COMPUTE_WRITE_REQUESTS = 'computeWriteRequests'
|
||||||
|
COMPUTE_RECEIVE_PACKETS = 'computeReceivePackets'
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
from pydantic import Field
|
||||||
|
|
||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
from . import enums as _enums
|
from . import enums as _enums
|
||||||
|
|
||||||
@@ -11,6 +13,7 @@ class DiskAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
|||||||
image_id: None | int = None
|
image_id: None | int = None
|
||||||
sep_id: None | int = None
|
sep_id: None | int = None
|
||||||
sep_pool_name: None | str = None
|
sep_pool_name: None | str = None
|
||||||
|
read_only: bool = False
|
||||||
|
|
||||||
|
|
||||||
class InterfaceAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
class InterfaceAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
||||||
@@ -25,18 +28,63 @@ class InterfaceAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
|||||||
sdn_object_group_id: None | str = None
|
sdn_object_group_id: None | str = None
|
||||||
sdn_logical_port_display_name: None | str = None
|
sdn_logical_port_display_name: None | str = None
|
||||||
sdn_logical_port_description: None | str = None
|
sdn_logical_port_description: None | str = None
|
||||||
|
qos_policies: list[int] | None = None
|
||||||
|
|
||||||
ip_addr: None | str = None
|
ip_addr: None | str = None
|
||||||
mac: None | str = None
|
mac: None | str = None
|
||||||
mtu: None | int = None
|
mtu: None | int = None
|
||||||
|
|
||||||
|
|
||||||
|
class CloudbrokerKvmx86CreateDataDiskAPIParamsNM(
|
||||||
|
_base.BaseAPIParamsNestedModel,
|
||||||
|
):
|
||||||
|
disk_name: str
|
||||||
|
size: int
|
||||||
|
storage_policy_id: int
|
||||||
|
sep_id: int | None = None
|
||||||
|
pool: str | None = None
|
||||||
|
desc: str | None = None
|
||||||
|
image_id: int | None = None
|
||||||
|
cache: _enums.DiskCacheMode | None = None
|
||||||
|
discard: _enums.DiskDiscard | None = None
|
||||||
|
read_only: bool = False
|
||||||
|
|
||||||
|
|
||||||
|
class CloudbrokerKvmx86CreateInterfaceAPIParamsNM(
|
||||||
|
_base.BaseAPIParamsNestedModel,
|
||||||
|
):
|
||||||
|
net_type: _enums.NetType
|
||||||
|
net_id: int
|
||||||
|
ip_addr: str | None = None
|
||||||
|
net_mask: int | None = None
|
||||||
|
mtu: int | None = None
|
||||||
|
mac: str | None = None
|
||||||
|
sdn_interface_id: str | None = None
|
||||||
|
sdn_segment_id: str | None = None
|
||||||
|
sdn_object_group_ids: list[str] | None = None
|
||||||
|
sdn_logical_port_display_name: str | None = None
|
||||||
|
sdn_logical_port_description: str | None = None
|
||||||
|
enable_default_gateway: bool = True
|
||||||
|
security_groups: list[int] | None = None
|
||||||
|
enable_secgroups: bool = False
|
||||||
|
enabled: bool = True
|
||||||
|
qos_policies: list[int] | None = None
|
||||||
|
|
||||||
|
|
||||||
class RouteAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
class RouteAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
||||||
dst_net_ip: str
|
dst_net_ip: str
|
||||||
dst_net_mask: str
|
dst_net_mask: str
|
||||||
gateway: str
|
gateway: str
|
||||||
|
|
||||||
|
|
||||||
|
class CloudbrokerVinsCreateRouteAPIParamsNM(
|
||||||
|
_base.BaseAPIParamsNestedModel,
|
||||||
|
):
|
||||||
|
destination: str
|
||||||
|
netmask: str
|
||||||
|
gateway: str
|
||||||
|
|
||||||
|
|
||||||
class StoragePolicyQuotasAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
class StoragePolicyQuotasAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
||||||
id: int
|
id: int
|
||||||
storage_size_gb: int
|
storage_size_gb: int
|
||||||
@@ -58,3 +106,15 @@ class NetMapConfigAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
|||||||
target_dev: str
|
target_dev: str
|
||||||
source_type: _enums.NetMapSourceType
|
source_type: _enums.NetMapSourceType
|
||||||
source_value: str
|
source_value: str
|
||||||
|
|
||||||
|
|
||||||
|
class BackupDiskAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
||||||
|
disk_id: int = Field(serialization_alias='diskId')
|
||||||
|
backup_path: str = Field(serialization_alias='backupPath')
|
||||||
|
speed: int | None = Field(serialization_alias='speed', default=None)
|
||||||
|
|
||||||
|
|
||||||
|
class VFNicAPIParamsNM(_base.BaseAPIParamsNestedModel):
|
||||||
|
fn_id: int = Field(serialization_alias='fnId')
|
||||||
|
spoofchk: bool = True
|
||||||
|
trust: bool = True
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -13,6 +13,7 @@ from .k8s import *
|
|||||||
from .kvmx86 import *
|
from .kvmx86 import *
|
||||||
from .lb import *
|
from .lb import *
|
||||||
from .locations import *
|
from .locations import *
|
||||||
|
from .network_qos_policy import *
|
||||||
from .pcidevice import *
|
from .pcidevice import *
|
||||||
from .rg import *
|
from .rg import *
|
||||||
from .security_group import *
|
from .security_group import *
|
||||||
@@ -24,6 +25,7 @@ from .user import *
|
|||||||
from .vfpool import *
|
from .vfpool import *
|
||||||
from .vgpu import *
|
from .vgpu import *
|
||||||
from .vins import *
|
from .vins import *
|
||||||
|
from .vmfolder import *
|
||||||
from .zone import *
|
from .zone import *
|
||||||
|
|
||||||
|
|
||||||
@@ -42,6 +44,7 @@ class CloudapiAPI(_base.BaseAPI):
|
|||||||
kvmx86: CloudapiKvmx86API
|
kvmx86: CloudapiKvmx86API
|
||||||
lb: CloudapiLbAPI
|
lb: CloudapiLbAPI
|
||||||
locations: CloudapiLocationsAPI
|
locations: CloudapiLocationsAPI
|
||||||
|
network_qos_policy: CloudapiNetworkQosPolicyAPI
|
||||||
pcidevice: CloudapiPcideviceAPI
|
pcidevice: CloudapiPcideviceAPI
|
||||||
rg: CloudapiRgAPI
|
rg: CloudapiRgAPI
|
||||||
security_group: CloudapiSecurityGroupAPI
|
security_group: CloudapiSecurityGroupAPI
|
||||||
@@ -53,4 +56,5 @@ class CloudapiAPI(_base.BaseAPI):
|
|||||||
vfpool: CloudapiVfpoolAPI
|
vfpool: CloudapiVfpoolAPI
|
||||||
vgpu: CloudapiVgpuAPI
|
vgpu: CloudapiVgpuAPI
|
||||||
vins: CloudapiVinsAPI
|
vins: CloudapiVinsAPI
|
||||||
|
vmfolder: CloudapiVmfolderAPI
|
||||||
zone: CloudapiZoneAPI
|
zone: CloudapiZoneAPI
|
||||||
@@ -1,31 +1,30 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
from .add_acl_access import *
|
||||||
from .add_user import *
|
from .add_user import *
|
||||||
from .delete import *
|
from .del_acl_access import *
|
||||||
from .delete_user import *
|
from .delete_user import *
|
||||||
from .disable import *
|
|
||||||
from .enable import *
|
|
||||||
from .get import *
|
from .get import *
|
||||||
from .get_resource_consumption import *
|
from .get_resource_consumption import *
|
||||||
from .list import *
|
from .list import *
|
||||||
from .list_deleted import *
|
from .list_deleted import *
|
||||||
from .restore import *
|
from .restore import *
|
||||||
from .update import *
|
from .update import *
|
||||||
|
from .update_acl_access import *
|
||||||
from .update_user import *
|
from .update_user import *
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountAPI(
|
class CloudapiAccountAPI(
|
||||||
_base.BaseAPI,
|
_base.BaseAPI,
|
||||||
CloudapiAccountAddUserProtocol,
|
|
||||||
CloudapiAccountDeleteProtocol,
|
|
||||||
CloudapiAccountDeleteUserProtocol,
|
|
||||||
CloudapiAccountDisableProtocol,
|
|
||||||
CloudapiAccountEnableProtocol,
|
|
||||||
CloudapiAccountGetProtocol,
|
|
||||||
CloudapiAccountGetResourceConsumptionProtocol,
|
|
||||||
CloudapiAccountListDeletedProtocol,
|
|
||||||
CloudapiAccountListProtocol,
|
|
||||||
CloudapiAccountRestoreProtocol,
|
|
||||||
CloudapiAccountUpdateProtocol,
|
|
||||||
CloudapiAccountUpdateUserProtocol,
|
|
||||||
):
|
):
|
||||||
pass
|
add_acl_access: CloudapiAccountAddAclAccessImpl
|
||||||
|
add_user: CloudapiAccountAddUserImpl
|
||||||
|
del_acl_access: CloudapiAccountDelAclAccessImpl
|
||||||
|
restore: CloudapiAccountRestoreImpl
|
||||||
|
delete_user: CloudapiAccountDeleteUserImpl
|
||||||
|
list: CloudapiAccountListImpl
|
||||||
|
update_user: CloudapiAccountUpdateUserImpl
|
||||||
|
get: CloudapiAccountGetImpl
|
||||||
|
get_resource_consumption: CloudapiAccountGetResourceConsumptionImpl
|
||||||
|
update: CloudapiAccountUpdateImpl
|
||||||
|
update_acl_access: CloudapiAccountUpdateAclAccessImpl
|
||||||
|
list_deleted: CloudapiAccountListDeletedImpl
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiAccountAddAclAccessImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
id: int,
|
||||||
|
accesstype: _nested.AccessTypeForSet,
|
||||||
|
apiaccesses: list[int] | None = None,
|
||||||
|
usernames: list[str] | None = None,
|
||||||
|
async_mode: bool = False,
|
||||||
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -2,16 +2,15 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountAddUserResultBool(_base.BaseAPIResultBool):
|
class CloudapiAccountAddUserImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiAccountAddUserProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def add_user(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int,
|
account_id: int,
|
||||||
access_type: _nested.AccessTypeForSet,
|
access_type: _nested.AccessTypeForSet,
|
||||||
user_name: str,
|
user_name: str,
|
||||||
) -> CloudapiAccountAddUserResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiAccountDelAclAccessImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
id: int,
|
||||||
|
apiaccesses: list[int] | None = None,
|
||||||
|
usernames: list[str] | None = None,
|
||||||
|
async_mode: bool = False,
|
||||||
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
import dynamix_sdk.base as _base
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountDeleteResultStr(_base.BaseAPIResultStr):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountDeleteProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def delete(
|
|
||||||
self,
|
|
||||||
*,
|
|
||||||
account_id: int,
|
|
||||||
permanently: bool = False,
|
|
||||||
) -> CloudapiAccountDeleteResultStr:
|
|
||||||
...
|
|
||||||
@@ -1,15 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountDeleteUserResultBool(_base.BaseAPIResultBool):
|
class CloudapiAccountDeleteUserImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiAccountDeleteUserProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def delete_user(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int,
|
account_id: int,
|
||||||
user_name: str,
|
user_name: str,
|
||||||
) -> CloudapiAccountDeleteUserResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
import dynamix_sdk.base as _base
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountDisableResultBool(_base.BaseAPIResultBool):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountDisableProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def disable(
|
|
||||||
self,
|
|
||||||
*,
|
|
||||||
account_id: int,
|
|
||||||
) -> CloudapiAccountDisableResultBool:
|
|
||||||
...
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
import dynamix_sdk.base as _base
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountEnableResultBool(_base.BaseAPIResultBool):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountEnableProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def enable(
|
|
||||||
self,
|
|
||||||
*,
|
|
||||||
account_id: int,
|
|
||||||
) -> CloudapiAccountEnableResultBool:
|
|
||||||
...
|
|
||||||
@@ -2,7 +2,7 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountGetResultModel(_base.BaseAPIResultModel):
|
class CloudapiAccountGetResultModel(_base.ResultModel):
|
||||||
acc_lvl_vins_ids: list[int]
|
acc_lvl_vins_ids: list[int]
|
||||||
acl: list[_nested.AccessAPIResultNM]
|
acl: list[_nested.AccessAPIResultNM]
|
||||||
company_url: str
|
company_url: str
|
||||||
@@ -27,6 +27,7 @@ class CloudapiAccountGetResultModel(_base.BaseAPIResultModel):
|
|||||||
status: _nested.AccountStatus
|
status: _nested.AccountStatus
|
||||||
storage_policy_ids: list[int]
|
storage_policy_ids: list[int]
|
||||||
sep_pools: list[str]
|
sep_pools: list[str]
|
||||||
|
updated_by: str
|
||||||
updated_timestamp: int
|
updated_timestamp: int
|
||||||
version: int
|
version: int
|
||||||
vins_count: int
|
vins_count: int
|
||||||
@@ -51,10 +52,12 @@ class CloudapiAccountGetResultModel(_base.BaseAPIResultModel):
|
|||||||
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountGetProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiAccountGetImpl(_base.APIFunctionImpl):
|
||||||
def get(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int,
|
account_id: int,
|
||||||
) -> CloudapiAccountGetResultModel:
|
) -> CloudapiAccountGetResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -3,7 +3,7 @@ import dynamix_sdk.api._nested as _nested
|
|||||||
|
|
||||||
|
|
||||||
class CloudapiAccountGetResourceConsumptionResultModel(
|
class CloudapiAccountGetResourceConsumptionResultModel(
|
||||||
_base.BaseAPIResultModel,
|
_base.ResultModel,
|
||||||
):
|
):
|
||||||
id: int
|
id: int
|
||||||
consumed: _nested.ResourceCountersAPIResultNM
|
consumed: _nested.ResourceCountersAPIResultNM
|
||||||
@@ -11,11 +11,14 @@ class CloudapiAccountGetResourceConsumptionResultModel(
|
|||||||
quotas: _nested.TenantQuotasForResourceConsumptionAPIResultNM
|
quotas: _nested.TenantQuotasForResourceConsumptionAPIResultNM
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountGetResourceConsumptionProtocol(
|
class CloudapiAccountGetResourceConsumptionImpl(
|
||||||
_base.BasePostAPIFunctionProtocol,
|
_base.APIFunctionImpl,
|
||||||
):
|
):
|
||||||
def get_resource_consumption(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int,
|
account_id: int,
|
||||||
) -> CloudapiAccountGetResourceConsumptionResultModel: ...
|
) -> CloudapiAccountGetResourceConsumptionResultModel:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -2,22 +2,24 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountListResultModel(_base.BaseAPIResultModel):
|
class CloudapiAccountListResultModel(_base.ResultModel):
|
||||||
data: list[_nested.AccountForCAAPIResultNM]
|
data: list[_nested.AccountForCAAPIResultNM]
|
||||||
entry_count: int
|
entry_count: int
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountListProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiAccountListImpl(_base.APIFunctionImpl):
|
||||||
def list(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
access_type: None | _nested.AccessType = None,
|
access_type: None | _nested.AccessType = None,
|
||||||
id: None | int = None,
|
id: None | int = None,
|
||||||
name: None | str = None,
|
name: None | str = None,
|
||||||
zone_id: None | int = None,
|
zone_id: None | int = None,
|
||||||
page_number: None | int = None,
|
page_number: int = 1,
|
||||||
page_size: None | int = None,
|
page_size: int = 100,
|
||||||
sort_by: None | str = None,
|
sort_by: None | str = None,
|
||||||
status: None | _nested.AccountStatus = None,
|
status: None | _nested.AccountStatus = None,
|
||||||
) -> CloudapiAccountListResultModel:
|
) -> CloudapiAccountListResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,20 +2,22 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountListDeletedResultModel(_base.BaseAPIResultModel):
|
class CloudapiAccountListDeletedResultModel(_base.ResultModel):
|
||||||
data: list[_nested.AccountForCAAPIResultNM]
|
data: list[_nested.AccountForCAAPIResultNM]
|
||||||
entry_count: int
|
entry_count: int
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountListDeletedProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiAccountListDeletedImpl(_base.APIFunctionImpl):
|
||||||
def list_deleted(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
access_type: None | _nested.AccessType = None,
|
access_type: None | _nested.AccessType = None,
|
||||||
id: None | int = None,
|
id: None | int = None,
|
||||||
name: None | str = None,
|
name: None | str = None,
|
||||||
page_number: None | int = None,
|
page_number: int = 1,
|
||||||
page_size: None | int = None,
|
page_size: int = 100,
|
||||||
sort_by: None | str = None,
|
sort_by: None | str = None,
|
||||||
) -> CloudapiAccountListDeletedResultModel:
|
) -> CloudapiAccountListDeletedResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountRestoreResultStr(_base.BaseAPIResultStr):
|
class CloudapiAccountRestoreImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiAccountRestoreProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def restore(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int,
|
account_id: int,
|
||||||
) -> CloudapiAccountRestoreResultStr:
|
async_mode: bool = True,
|
||||||
...
|
) -> str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountUpdateResultBool(_base.BaseAPIResultBool):
|
class CloudapiAccountUpdateImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiAccountUpdateProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def update(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int,
|
account_id: int,
|
||||||
@@ -20,5 +18,6 @@ class CloudapiAccountUpdateProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
sep_pools: None | list[str] = None,
|
sep_pools: None | list[str] = None,
|
||||||
description: str | None = None,
|
description: str | None = None,
|
||||||
default_zone_id: int | None = None,
|
default_zone_id: int | None = None,
|
||||||
) -> CloudapiAccountUpdateResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiAccountUpdateAclAccessImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
id: int,
|
||||||
|
accesstype: _nested.AccessTypeForSet,
|
||||||
|
apiaccesses: list[int] | None = None,
|
||||||
|
usernames: list[str] | None = None,
|
||||||
|
async_mode: bool = False,
|
||||||
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -2,16 +2,15 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAccountUpdateUserResultBool(_base.BaseAPIResultBool):
|
class CloudapiAccountUpdateUserImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiAccountUpdateUserProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def update_user(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int,
|
account_id: int,
|
||||||
access_type: _nested.AccessTypeForSet,
|
access_type: _nested.AccessTypeForSet,
|
||||||
user_name: str,
|
user_name: str,
|
||||||
) -> CloudapiAccountUpdateUserResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -5,7 +5,6 @@ from .list import *
|
|||||||
|
|
||||||
class CloudapiAuditAPI(
|
class CloudapiAuditAPI(
|
||||||
_base.BaseAPI,
|
_base.BaseAPI,
|
||||||
CloudapiAuditGetProtocol,
|
|
||||||
CloudapiAuditListProtocol,
|
|
||||||
):
|
):
|
||||||
pass
|
list: CloudapiAuditListImpl
|
||||||
|
get: CloudapiAuditGetImpl
|
||||||
@@ -3,16 +3,17 @@ import dynamix_sdk.base as _base
|
|||||||
|
|
||||||
|
|
||||||
class CloudapiAuditGetResultModel(
|
class CloudapiAuditGetResultModel(
|
||||||
_base.BaseAPIResultModel,
|
|
||||||
_nested.AuditAPIResultNM,
|
_nested.AuditAPIResultNM,
|
||||||
):
|
):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAuditGetProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiAuditGetImpl(_base.APIFunctionImpl):
|
||||||
def get(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
audit_guid: str,
|
audit_guid: str,
|
||||||
) -> CloudapiAuditGetResultModel:
|
) -> CloudapiAuditGetResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,18 @@
|
|||||||
|
from pydantic import Field
|
||||||
|
|
||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAuditListResultModel(_base.BaseAPIResultModel):
|
class CloudapiAuditListResultModel(_base.ResultModel):
|
||||||
data: list[_nested.AuditAPIResultNM]
|
data: list[_nested.AuditAPIResultNM]
|
||||||
entry_count: int
|
entry_count: int
|
||||||
|
|
||||||
|
|
||||||
class CloudapiAuditListProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiAuditListImpl(_base.APIFunctionImpl):
|
||||||
def list(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int | None = None,
|
account_id: int | None = None,
|
||||||
@@ -23,6 +27,7 @@ class CloudapiAuditListProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
min_status_code: int | None = None,
|
min_status_code: int | None = None,
|
||||||
page_number: int = 1,
|
page_number: int = 1,
|
||||||
page_size: int = 100,
|
page_size: int = 100,
|
||||||
|
public_session_id: str | None = None,
|
||||||
request_timestamp_end: int | None = None,
|
request_timestamp_end: int | None = None,
|
||||||
request_timestamp_start: int | None = None,
|
request_timestamp_start: int | None = None,
|
||||||
rg_id: int | None = None,
|
rg_id: int | None = None,
|
||||||
@@ -31,5 +36,9 @@ class CloudapiAuditListProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
user_name: str | None = None,
|
user_name: str | None = None,
|
||||||
vins_id: int | None = None,
|
vins_id: int | None = None,
|
||||||
vm_id: int | None = None,
|
vm_id: int | None = None,
|
||||||
|
disk_id: int | None = Field(
|
||||||
|
serialization_alias='disk_id', default=None,
|
||||||
|
),
|
||||||
|
vmfolder_id: int | None = None,
|
||||||
) -> CloudapiAuditListResultModel:
|
) -> CloudapiAuditListResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -10,7 +10,6 @@ from .group_get import *
|
|||||||
from .group_parent_add import *
|
from .group_parent_add import *
|
||||||
from .group_parent_remove import *
|
from .group_parent_remove import *
|
||||||
from .group_remove import *
|
from .group_remove import *
|
||||||
from .group_resize import *
|
|
||||||
from .group_start import *
|
from .group_start import *
|
||||||
from .group_stop import *
|
from .group_stop import *
|
||||||
from .group_update import *
|
from .group_update import *
|
||||||
@@ -30,32 +29,30 @@ from .stop import *
|
|||||||
|
|
||||||
class CloudapiBserviceAPI(
|
class CloudapiBserviceAPI(
|
||||||
_base.BaseAPI,
|
_base.BaseAPI,
|
||||||
CloudapiBserviceCreateProtocol,
|
|
||||||
CloudapiBserviceDeleteProtocol,
|
|
||||||
CloudapiBserviceDisableProtocol,
|
|
||||||
CloudapiBserviceEnableProtocol,
|
|
||||||
CloudapiBserviceGetProtocol,
|
|
||||||
CloudapiBserviceGroupAddProtocol,
|
|
||||||
CloudapiBserviceGroupComputeRemoveProtocol,
|
|
||||||
CloudapiBserviceGroupGetProtocol,
|
|
||||||
CloudapiBserviceGroupParentAddProtocol,
|
|
||||||
CloudapiBserviceGroupParentRemoveProtocol,
|
|
||||||
CloudapiBserviceGroupRemoveProtocol,
|
|
||||||
CloudapiBserviceGroupResizeProtocol,
|
|
||||||
CloudapiBserviceGroupStartProtocol,
|
|
||||||
CloudapiBserviceGroupStopProtocol,
|
|
||||||
CloudapiBserviceGroupUpdateExtnetProtocol,
|
|
||||||
CloudapiBserviceGroupUpdateProtocol,
|
|
||||||
CloudapiBserviceGroupUpdateVinsProtocol,
|
|
||||||
CloudapiBserviceListDeletedProtocol,
|
|
||||||
CloudapiBserviceListProtocol,
|
|
||||||
CloudapiBserviceMigrateToZoneProtocol,
|
|
||||||
CloudapiBserviceRestoreProtocol,
|
|
||||||
CloudapiBserviceSnapshotCreateProtocol,
|
|
||||||
CloudapiBserviceSnapshotDeleteProtocol,
|
|
||||||
CloudapiBserviceSnapshotListProtocol,
|
|
||||||
CloudapiBserviceSnapshotRollbackProtocol,
|
|
||||||
CloudapiBserviceStartProtocol,
|
|
||||||
CloudapiBserviceStopProtocol,
|
|
||||||
):
|
):
|
||||||
pass
|
group_start: CloudapiBserviceGroupStartImpl
|
||||||
|
restore: CloudapiBserviceRestoreImpl
|
||||||
|
delete: CloudapiBserviceDeleteImpl
|
||||||
|
disable: CloudapiBserviceDisableImpl
|
||||||
|
group_update: CloudapiBserviceGroupUpdateImpl
|
||||||
|
snapshot_delete: CloudapiBserviceSnapshotDeleteImpl
|
||||||
|
create: CloudapiBserviceCreateImpl
|
||||||
|
stop: CloudapiBserviceStopImpl
|
||||||
|
group_update_vins: CloudapiBserviceGroupUpdateVinsImpl
|
||||||
|
list: CloudapiBserviceListImpl
|
||||||
|
group_get: CloudapiBserviceGroupGetImpl
|
||||||
|
snapshot_rollback: CloudapiBserviceSnapshotRollbackImpl
|
||||||
|
start: CloudapiBserviceStartImpl
|
||||||
|
snapshot_create: CloudapiBserviceSnapshotCreateImpl
|
||||||
|
get: CloudapiBserviceGetImpl
|
||||||
|
group_remove: CloudapiBserviceGroupRemoveImpl
|
||||||
|
snapshot_list: CloudapiBserviceSnapshotListImpl
|
||||||
|
group_add: CloudapiBserviceGroupAddImpl
|
||||||
|
migrate_to_zone: CloudapiBserviceMigrateToZoneImpl
|
||||||
|
group_parent_remove: CloudapiBserviceGroupParentRemoveImpl
|
||||||
|
list_deleted: CloudapiBserviceListDeletedImpl
|
||||||
|
group_stop: CloudapiBserviceGroupStopImpl
|
||||||
|
group_update_extnet: CloudapiBserviceGroupUpdateExtnetImpl
|
||||||
|
group_compute_remove: CloudapiBserviceGroupComputeRemoveImpl
|
||||||
|
group_parent_add: CloudapiBserviceGroupParentAddImpl
|
||||||
|
enable: CloudapiBserviceEnableImpl
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceCreateResultInt(_base.BaseAPIResultInt):
|
class CloudapiBserviceCreateImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceCreateProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def create(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
name: str,
|
name: str,
|
||||||
@@ -14,5 +12,5 @@ class CloudapiBserviceCreateProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
ssh_user_name: str | None = None,
|
ssh_user_name: str | None = None,
|
||||||
ssh_public_key: str | None = None,
|
ssh_public_key: str | None = None,
|
||||||
zone_id: int | None = None,
|
zone_id: int | None = None,
|
||||||
) -> CloudapiBserviceCreateResultInt:
|
) -> int:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceDeleteResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceDeleteImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceDeleteProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def delete(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
permanently: bool = False,
|
permanently: bool = False,
|
||||||
) -> CloudapiBserviceDeleteResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceDisableResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceDisableImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceDisableProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def disable(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
) -> CloudapiBserviceDisableResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceEnableResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceEnableImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceEnableProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def enable(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
) -> CloudapiBserviceEnableResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,7 +2,7 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGetResultModel(_base.BaseAPIResultModel):
|
class CloudapiBserviceGetResultModel(_base.ResultModel):
|
||||||
account_id: int
|
account_id: int
|
||||||
account_name: str
|
account_name: str
|
||||||
base_domain: str
|
base_domain: str
|
||||||
@@ -47,10 +47,12 @@ class CloudapiBserviceGetResultModel(_base.BaseAPIResultModel):
|
|||||||
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGetProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiBserviceGetImpl(_base.APIFunctionImpl):
|
||||||
def get(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
) -> CloudapiBserviceGetResultModel:
|
) -> CloudapiBserviceGetResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,12 +2,10 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupAddResultInt(_base.BaseAPIResultInt):
|
class CloudapiBserviceGroupAddImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceGroupAddProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def group_add(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
@@ -18,7 +16,7 @@ class CloudapiBserviceGroupAddProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
name: str,
|
name: str,
|
||||||
ram_size_mb: int,
|
ram_size_mb: int,
|
||||||
storage_policy_id: int | None = None,
|
storage_policy_id: int | None = None,
|
||||||
ci_user_data: str | None = None,
|
ci_user_data: str | dict | None = None,
|
||||||
extnet_ids: list[int] | None = None,
|
extnet_ids: list[int] | None = None,
|
||||||
role: str | None = None,
|
role: str | None = None,
|
||||||
sep_id: int | None = None,
|
sep_id: int | None = None,
|
||||||
@@ -26,5 +24,5 @@ class CloudapiBserviceGroupAddProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
start_timeout: int | None = None,
|
start_timeout: int | None = None,
|
||||||
vins_ids: list[int] | None = None,
|
vins_ids: list[int] | None = None,
|
||||||
chipset: _nested.Chipset = _nested.Chipset.Q35,
|
chipset: _nested.Chipset = _nested.Chipset.Q35,
|
||||||
) -> CloudapiBserviceGroupAddResultInt:
|
) -> int:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,18 +1,16 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupComputeRemoveResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupComputeRemoveImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupComputeRemoveProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def group_compute_remove(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
bsgroup_id: int,
|
bsgroup_id: int,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiBserviceGroupComputeRemoveResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -3,7 +3,7 @@ import dynamix_sdk.api._nested as _nested
|
|||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupGetResultModel(
|
class CloudapiBserviceGroupGetResultModel(
|
||||||
_base.BaseAPIResultModel,
|
_base.ResultModel,
|
||||||
):
|
):
|
||||||
account_id: int
|
account_id: int
|
||||||
account_name: str
|
account_name: str
|
||||||
@@ -29,7 +29,7 @@ class CloudapiBserviceGroupGetResultModel(
|
|||||||
rg_name: str
|
rg_name: str
|
||||||
role: str
|
role: str
|
||||||
sep_id: int
|
sep_id: int
|
||||||
sep_pool_name: str
|
sep_pool_name: str | None
|
||||||
seq_no: int
|
seq_no: int
|
||||||
status: _nested.BServiceGroupStatus
|
status: _nested.BServiceGroupStatus
|
||||||
tech_status: _nested.BServiceGroupTechStatus
|
tech_status: _nested.BServiceGroupTechStatus
|
||||||
@@ -52,10 +52,12 @@ class CloudapiBserviceGroupGetResultModel(
|
|||||||
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupGetProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiBserviceGroupGetImpl(_base.APIFunctionImpl):
|
||||||
def group_get(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self, *,
|
self, *,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
bsgroup_id: int
|
bsgroup_id: int
|
||||||
) -> CloudapiBserviceGroupGetResultModel:
|
) -> CloudapiBserviceGroupGetResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,18 +1,16 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupParentAddResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupParentAddImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupParentAddProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def group_parent_add(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
child_id: int,
|
child_id: int,
|
||||||
parent_id: int,
|
parent_id: int,
|
||||||
) -> CloudapiBserviceGroupParentAddResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,18 +1,16 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupParentRemoveResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupParentRemoveImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupParentRemoveProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def group_parent_remove(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
child_id: int,
|
child_id: int,
|
||||||
parent_id: int,
|
parent_id: int,
|
||||||
) -> CloudapiBserviceGroupParentRemoveResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupRemoveResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupRemoveImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceGroupRemoveProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def group_remove(
|
|
||||||
self, *,
|
self, *,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
bsgroup_id: int
|
bsgroup_id: int
|
||||||
) -> CloudapiBserviceGroupRemoveResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
import dynamix_sdk.base as _base
|
|
||||||
import dynamix_sdk.api._nested as _nested
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupResizeResultInt(_base.BaseAPIResultInt):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupResizeProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
|
||||||
def group_resize(
|
|
||||||
self,
|
|
||||||
*,
|
|
||||||
bservice_id: int,
|
|
||||||
bsgroup_id: int,
|
|
||||||
chipset: _nested.Chipset = _nested.Chipset.Q35,
|
|
||||||
count_change_mode: _nested.CountChangeMode = (
|
|
||||||
_nested.CountChangeMode.RELATIVE
|
|
||||||
),
|
|
||||||
vm_count: int,
|
|
||||||
) -> CloudapiBserviceGroupResizeResultInt:
|
|
||||||
...
|
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupStartResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupStartImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceGroupStartProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def group_start(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
bsgroup_id: int,
|
bsgroup_id: int,
|
||||||
) -> CloudapiBserviceGroupStartResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupStopResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupStopImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceGroupStopProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def group_stop(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
bsgroup_id: int,
|
bsgroup_id: int,
|
||||||
force: bool = False,
|
force: bool = False,
|
||||||
) -> CloudapiBserviceGroupStopResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupUpdateResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupUpdateImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupUpdateProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def group_update(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
@@ -19,5 +17,5 @@ class CloudapiBserviceGroupUpdateProtocol(
|
|||||||
name: str | None = None,
|
name: str | None = None,
|
||||||
ram_size_mb: int | None = None,
|
ram_size_mb: int | None = None,
|
||||||
role: str | None = None,
|
role: str | None = None,
|
||||||
) -> CloudapiBserviceGroupUpdateResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,18 +1,16 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupUpdateExtnetResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupUpdateExtnetImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupUpdateExtnetProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def group_update_extnet(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
bsgroup_id: int,
|
bsgroup_id: int,
|
||||||
extnet_ids: list[int] | None = None,
|
extnet_ids: list[int] | None = None,
|
||||||
) -> CloudapiBserviceGroupUpdateExtnetResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,18 +1,16 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupUpdateVinsResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceGroupUpdateVinsImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceGroupUpdateVinsProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def group_update_vins(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
bsgroup_id: int,
|
bsgroup_id: int,
|
||||||
vins_ids: list[int] | None = None,
|
vins_ids: list[int] | None = None,
|
||||||
) -> CloudapiBserviceGroupUpdateVinsResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,13 +2,15 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceListResultModel(_base.BaseAPIResultModel):
|
class CloudapiBserviceListResultModel(_base.ResultModel):
|
||||||
data: list[_nested.BServiceAPIResultNM]
|
data: list[_nested.BServiceAPIResultNM]
|
||||||
entry_count: int
|
entry_count: int
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceListProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiBserviceListImpl(_base.APIFunctionImpl):
|
||||||
def list(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int | None = None,
|
account_id: int | None = None,
|
||||||
@@ -16,12 +18,12 @@ class CloudapiBserviceListProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
id: int | None = None,
|
id: int | None = None,
|
||||||
name: str | None = None,
|
name: str | None = None,
|
||||||
zone_id: int | None = None,
|
zone_id: int | None = None,
|
||||||
page_number: int | None = None,
|
page_number: int = 1,
|
||||||
page_size: int | None = None,
|
page_size: int = 100,
|
||||||
rg_id: int | None = None,
|
rg_id: int | None = None,
|
||||||
rg_name: str | None = None,
|
rg_name: str | None = None,
|
||||||
sort_by: str | None = None,
|
sort_by: str | None = None,
|
||||||
status: _nested.BServiceStatus | None = None,
|
status: _nested.BServiceStatus | None = None,
|
||||||
tech_status: _nested.BServiceTechStatus | None = None,
|
tech_status: _nested.BServiceTechStatus | None = None,
|
||||||
) -> CloudapiBserviceListResultModel:
|
) -> CloudapiBserviceListResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,19 +2,21 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceListDeletedResultModel(_base.BaseAPIResultModel):
|
class CloudapiBserviceListDeletedResultModel(_base.ResultModel):
|
||||||
data: list[_nested.BServiceAPIResultNM]
|
data: list[_nested.BServiceAPIResultNM]
|
||||||
entry_count: int
|
entry_count: int
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceListDeletedProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiBserviceListDeletedImpl(_base.APIFunctionImpl):
|
||||||
def list_deleted(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
account_id: int | None = None,
|
account_id: int | None = None,
|
||||||
page_number: int | None = None,
|
page_number: int = 1,
|
||||||
page_size: int | None = None,
|
page_size: int = 100,
|
||||||
rg_id: int | None = None,
|
rg_id: int | None = None,
|
||||||
sort_by: str | None = None,
|
sort_by: str | None = None,
|
||||||
) -> CloudapiBserviceListDeletedResultModel:
|
) -> CloudapiBserviceListDeletedResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceMigrateToZoneResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceMigrateToZoneImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceMigrateToZoneProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def migrate_to_zone(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
zone_id: int,
|
zone_id: int,
|
||||||
) -> CloudapiBserviceMigrateToZoneResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceRestoreResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceRestoreImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceRestoreProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def restore(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
) -> CloudapiBserviceRestoreResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotCreateResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceSnapshotCreateImpl(
|
||||||
pass
|
_base.APIFunctionImpl,
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotCreateProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol,
|
|
||||||
):
|
):
|
||||||
def snapshot_create(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
label: str,
|
label: str,
|
||||||
) -> CloudapiBserviceSnapshotCreateResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotDeleteResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceSnapshotDeleteImpl(
|
||||||
pass
|
_base.APIFunctionImpl,
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotDeleteProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol,
|
|
||||||
):
|
):
|
||||||
def snapshot_delete(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
label: str,
|
label: str,
|
||||||
) -> CloudapiBserviceSnapshotDeleteResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,15 +2,17 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotListResultModel(_base.BaseAPIResultModel):
|
class CloudapiBserviceSnapshotListResultModel(_base.ResultModel):
|
||||||
data: list[_nested.BServiceSnapshotAPIResultNM]
|
data: list[_nested.BServiceSnapshotAPIResultNM]
|
||||||
entry_count: int
|
entry_count: int
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotListProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiBserviceSnapshotListImpl(_base.APIFunctionImpl):
|
||||||
def snapshot_list(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
) -> CloudapiBserviceSnapshotListResultModel:
|
) -> CloudapiBserviceSnapshotListResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotRollbackResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceSnapshotRollbackImpl(
|
||||||
pass
|
_base.APIFunctionImpl,
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceSnapshotRollbackProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol,
|
|
||||||
):
|
):
|
||||||
def snapshot_rollback(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
label: str,
|
label: str,
|
||||||
) -> CloudapiBserviceSnapshotRollbackResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceStartResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceStartImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceStartProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def start(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
) -> CloudapiBserviceStartResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiBserviceStopResultBool(_base.BaseAPIResultBool):
|
class CloudapiBserviceStopImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiBserviceStopProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def stop(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
bservice_id: int,
|
bservice_id: int,
|
||||||
) -> CloudapiBserviceStopResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
from .abort_shared_snapshot_merge import *
|
from .abort_shared_snapshot_merge import *
|
||||||
|
from .add_acl_access import *
|
||||||
from .affinity_label_remove import *
|
from .affinity_label_remove import *
|
||||||
from .affinity_label_set import *
|
from .affinity_label_set import *
|
||||||
from .affinity_relations import *
|
from .affinity_relations import *
|
||||||
@@ -18,12 +19,14 @@ from .change_ip import *
|
|||||||
from .change_link_state import *
|
from .change_link_state import *
|
||||||
from .change_mac import *
|
from .change_mac import *
|
||||||
from .change_mtu import *
|
from .change_mtu import *
|
||||||
|
from .change_qos_policies import *
|
||||||
from .change_security_groups import *
|
from .change_security_groups import *
|
||||||
from .clone import *
|
from .clone import *
|
||||||
from .clone_abort import *
|
|
||||||
from .create_template import *
|
from .create_template import *
|
||||||
|
from .del_acl_access import *
|
||||||
from .delete import *
|
from .delete import *
|
||||||
from .delete_custom_fields import *
|
from .delete_custom_fields import *
|
||||||
|
from .delete_cpu_alignment_profile import *
|
||||||
from .detach_gpu import *
|
from .detach_gpu import *
|
||||||
from .detach_pci_device import *
|
from .detach_pci_device import *
|
||||||
from .disable import *
|
from .disable import *
|
||||||
@@ -35,7 +38,9 @@ from .disk_detach import *
|
|||||||
from .disk_switch_to_replication import *
|
from .disk_switch_to_replication import *
|
||||||
from .enable import *
|
from .enable import *
|
||||||
from .get import *
|
from .get import *
|
||||||
|
from .get_acl_access import *
|
||||||
from .get_console_url import *
|
from .get_console_url import *
|
||||||
|
from .get_cpu_alignment_profile import *
|
||||||
from .guest_agent_disable import *
|
from .guest_agent_disable import *
|
||||||
from .guest_agent_enable import *
|
from .guest_agent_enable import *
|
||||||
from .guest_agent_execute import *
|
from .guest_agent_execute import *
|
||||||
@@ -58,6 +63,7 @@ from .reset import *
|
|||||||
from .resize import *
|
from .resize import *
|
||||||
from .restore import *
|
from .restore import *
|
||||||
from .resume import *
|
from .resume import *
|
||||||
|
from .set_cpu_alignment_profile import *
|
||||||
from .set_custom_fields import *
|
from .set_custom_fields import *
|
||||||
from .snapshot_create import *
|
from .snapshot_create import *
|
||||||
from .snapshot_list import *
|
from .snapshot_list import *
|
||||||
@@ -68,6 +74,7 @@ from .tag_add import *
|
|||||||
from .tag_remove import *
|
from .tag_remove import *
|
||||||
from .unpin_from_node import *
|
from .unpin_from_node import *
|
||||||
from .update import *
|
from .update import *
|
||||||
|
from .update_acl_access import *
|
||||||
from .user_grant import *
|
from .user_grant import *
|
||||||
from .user_list import *
|
from .user_list import *
|
||||||
from .user_revoke import *
|
from .user_revoke import *
|
||||||
@@ -76,78 +83,84 @@ from .user_update import *
|
|||||||
|
|
||||||
class CloudapiComputeAPI(
|
class CloudapiComputeAPI(
|
||||||
_base.BaseAPI,
|
_base.BaseAPI,
|
||||||
CloudapiComputeAbortSharedSnapshotMergeProtocol,
|
|
||||||
CloudapiComputeAffinityLabelRemoveProtocol,
|
|
||||||
CloudapiComputeAffinityLabelSetProtocol,
|
|
||||||
CloudapiComputeAffinityRelationsProtocol,
|
|
||||||
CloudapiComputeAffinityRuleAddProtocol,
|
|
||||||
CloudapiComputeAffinityRuleRemoveProtocol,
|
|
||||||
CloudapiComputeAffinityRulesClearProtocol,
|
|
||||||
CloudapiComputeAntiAffinityRuleAddProtocol,
|
|
||||||
CloudapiComputeAntiAffinityRuleRemoveProtocol,
|
|
||||||
CloudapiComputeAntiAffinityRulesClearProtocol,
|
|
||||||
CloudapiComputeAttachGpuProtocol,
|
|
||||||
CloudapiComputeAttachPciDeviceProtocol,
|
|
||||||
CloudapiComputeBootDiskSetProtocol,
|
|
||||||
CloudapiComputeCdEjectProtocol,
|
|
||||||
CloudapiComputeCdInsertProtocol,
|
|
||||||
CloudapiComputeChangeIpProtocol,
|
|
||||||
CloudapiComputeChangeLinkStateProtocol,
|
|
||||||
CloudapiComputeChangeMacProtocol,
|
|
||||||
CloudapiComputeChangeMtuProtocol,
|
|
||||||
CloudapiComputeChangeSecurityGroupsProtocol,
|
|
||||||
CloudapiComputeCloneAbortProtocol,
|
|
||||||
CloudapiComputeCloneProtocol,
|
|
||||||
CloudapiComputeCreateTemplateProtocol,
|
|
||||||
CloudapiComputeDeleteCustomFieldsProtocol,
|
|
||||||
CloudapiComputeDeleteProtocol,
|
|
||||||
CloudapiComputeDetachGpuProtocol,
|
|
||||||
CloudapiComputeDetachPciDeviceProtocol,
|
|
||||||
CloudapiComputeDisableProtocol,
|
|
||||||
CloudapiComputeDiskAddProtocol,
|
|
||||||
CloudapiComputeDiskAttachProtocol,
|
|
||||||
CloudapiComputeDiskDelProtocol,
|
|
||||||
CloudapiComputeDiskDetachProtocol,
|
|
||||||
CloudapiComputeDiskMigrateProtocol,
|
|
||||||
CloudapiComputeDiskSwitchToReplicationProtocol,
|
|
||||||
CloudapiComputeEnableProtocol,
|
|
||||||
CloudapiComputeGetConsoleUrlProtocol,
|
|
||||||
CloudapiComputeGetProtocol,
|
|
||||||
CloudapiComputeGuestAgentDisableProtocol,
|
|
||||||
CloudapiComputeGuestAgentEnableProtocol,
|
|
||||||
CloudapiComputeGuestAgentExecuteProtocol,
|
|
||||||
CloudapiComputeGuestAgentFeatureUpdateProtocol,
|
|
||||||
CloudapiComputeListProtocol,
|
|
||||||
CloudapiComputeListDeletedProtocol,
|
|
||||||
CloudapiComputeMigrateToZoneProtocol,
|
|
||||||
CloudapiComputeMoveToRgProtocol,
|
|
||||||
CloudapiComputeNetAttachProtocol,
|
|
||||||
CloudapiComputeNetDetachProtocol,
|
|
||||||
CloudapiComputePauseProtocol,
|
|
||||||
CloudapiComputePfwAddProtocol,
|
|
||||||
CloudapiComputePfwDelProtocol,
|
|
||||||
CloudapiComputePfwListProtocol,
|
|
||||||
CloudapiComputePinToNodeProtocol,
|
|
||||||
CloudapiComputePowerCycleProtocol,
|
|
||||||
CloudapiComputeRebootProtocol,
|
|
||||||
CloudapiComputeRedeployProtocol,
|
|
||||||
CloudapiComputeResetProtocol,
|
|
||||||
CloudapiComputeResizeProtocol,
|
|
||||||
CloudapiComputeRestoreProtocol,
|
|
||||||
CloudapiComputeResumeProtocol,
|
|
||||||
CloudapiComputeSetCustomFieldsProtocol,
|
|
||||||
CloudapiComputeSnapshotCreateProtocol,
|
|
||||||
CloudapiComputeSnapshotListProtocol,
|
|
||||||
CloudapiComputeSnapshotRollbackProtocol,
|
|
||||||
CloudapiComputeStartProtocol,
|
|
||||||
CloudapiComputeStopProtocol,
|
|
||||||
CloudapiComputeTagAddProtocol,
|
|
||||||
CloudapiComputeTagRemoveProtocol,
|
|
||||||
CloudapiComputeUnpinFromNodeProtocol,
|
|
||||||
CloudapiComputeUpdateProtocol,
|
|
||||||
CloudapiComputeUserGrantProtocol,
|
|
||||||
CloudapiComputeUserListProtocol,
|
|
||||||
CloudapiComputeUserRevokeProtocol,
|
|
||||||
CloudapiComputeUserUpdateProtocol,
|
|
||||||
):
|
):
|
||||||
pass
|
get: CloudapiComputeGetImpl
|
||||||
|
get_acl_access: CloudapiComputeGetAclAccessImpl
|
||||||
|
redeploy: CloudapiComputeRedeployImpl
|
||||||
|
disk_switch_to_replication: CloudapiComputeDiskSwitchToReplicationImpl
|
||||||
|
pin_to_node: CloudapiComputePinToNodeImpl
|
||||||
|
change_ip: CloudapiComputeChangeIpImpl
|
||||||
|
anti_affinity_rules_clear: CloudapiComputeAntiAffinityRulesClearImpl
|
||||||
|
power_cycle: CloudapiComputePowerCycleImpl
|
||||||
|
pfw_del: CloudapiComputePfwDelImpl
|
||||||
|
restore: CloudapiComputeRestoreImpl
|
||||||
|
change_mtu: CloudapiComputeChangeMtuImpl
|
||||||
|
del_acl_access: CloudapiComputeDelAclAccessImpl
|
||||||
|
delete: CloudapiComputeDeleteImpl
|
||||||
|
pfw_add: CloudapiComputePfwAddImpl
|
||||||
|
affinity_label_set: CloudapiComputeAffinityLabelSetImpl
|
||||||
|
disable: CloudapiComputeDisableImpl
|
||||||
|
pfw_list: CloudapiComputePfwListImpl
|
||||||
|
net_attach: CloudapiComputeNetAttachImpl
|
||||||
|
user_revoke: CloudapiComputeUserRevokeImpl
|
||||||
|
reset: CloudapiComputeResetImpl
|
||||||
|
user_grant: CloudapiComputeUserGrantImpl
|
||||||
|
anti_affinity_rule_add: CloudapiComputeAntiAffinityRuleAddImpl
|
||||||
|
disk_del: CloudapiComputeDiskDelImpl
|
||||||
|
change_link_state: CloudapiComputeChangeLinkStateImpl
|
||||||
|
clone: CloudapiComputeCloneImpl
|
||||||
|
guest_agent_feature_update: CloudapiComputeGuestAgentFeatureUpdateImpl
|
||||||
|
pause: CloudapiComputePauseImpl
|
||||||
|
change_mac: CloudapiComputeChangeMacImpl
|
||||||
|
detach_pci_device: CloudapiComputeDetachPciDeviceImpl
|
||||||
|
attach_pci_device: CloudapiComputeAttachPciDeviceImpl
|
||||||
|
user_update: CloudapiComputeUserUpdateImpl
|
||||||
|
abort_shared_snapshot_merge: CloudapiComputeAbortSharedSnapshotMergeImpl
|
||||||
|
cd_insert: CloudapiComputeCdInsertImpl
|
||||||
|
user_list: CloudapiComputeUserListImpl
|
||||||
|
guest_agent_disable: CloudapiComputeGuestAgentDisableImpl
|
||||||
|
unpin_from_node: CloudapiComputeUnpinFromNodeImpl
|
||||||
|
cd_eject: CloudapiComputeCdEjectImpl
|
||||||
|
detach_gpu: CloudapiComputeDetachGpuImpl
|
||||||
|
move_to_rg: CloudapiComputeMoveToRgImpl
|
||||||
|
stop: CloudapiComputeStopImpl
|
||||||
|
affinity_relations: CloudapiComputeAffinityRelationsImpl
|
||||||
|
boot_disk_set: CloudapiComputeBootDiskSetImpl
|
||||||
|
disk_migrate: CloudapiComputeDiskMigrateImpl
|
||||||
|
disk_detach: CloudapiComputeDiskDetachImpl
|
||||||
|
affinity_label_remove: CloudapiComputeAffinityLabelRemoveImpl
|
||||||
|
list: CloudapiComputeListImpl
|
||||||
|
resume: CloudapiComputeResumeImpl
|
||||||
|
resize: CloudapiComputeResizeImpl
|
||||||
|
affinity_rule_add: CloudapiComputeAffinityRuleAddImpl
|
||||||
|
snapshot_rollback: CloudapiComputeSnapshotRollbackImpl
|
||||||
|
guest_agent_execute: CloudapiComputeGuestAgentExecuteImpl
|
||||||
|
start: CloudapiComputeStartImpl
|
||||||
|
snapshot_create: CloudapiComputeSnapshotCreateImpl
|
||||||
|
tag_add: CloudapiComputeTagAddImpl
|
||||||
|
net_detach: CloudapiComputeNetDetachImpl
|
||||||
|
anti_affinity_rule_remove: CloudapiComputeAntiAffinityRuleRemoveImpl
|
||||||
|
change_security_groups: CloudapiComputeChangeSecurityGroupsImpl
|
||||||
|
change_qos_policies: CloudapiComputeChangeQosPoliciesImpl
|
||||||
|
snapshot_list: CloudapiComputeSnapshotListImpl
|
||||||
|
update: CloudapiComputeUpdateImpl
|
||||||
|
update_acl_access: CloudapiComputeUpdateAclAccessImpl
|
||||||
|
get_console_url: CloudapiComputeGetConsoleUrlImpl
|
||||||
|
disk_attach: CloudapiComputeDiskAttachImpl
|
||||||
|
tag_remove: CloudapiComputeTagRemoveImpl
|
||||||
|
disk_add: CloudapiComputeDiskAddImpl
|
||||||
|
attach_gpu: CloudapiComputeAttachGpuImpl
|
||||||
|
affinity_rule_remove: CloudapiComputeAffinityRuleRemoveImpl
|
||||||
|
migrate_to_zone: CloudapiComputeMigrateToZoneImpl
|
||||||
|
affinity_rules_clear: CloudapiComputeAffinityRulesClearImpl
|
||||||
|
reboot: CloudapiComputeRebootImpl
|
||||||
|
delete_custom_fields: CloudapiComputeDeleteCustomFieldsImpl
|
||||||
|
set_custom_fields: CloudapiComputeSetCustomFieldsImpl
|
||||||
|
list_deleted: CloudapiComputeListDeletedImpl
|
||||||
|
create_template: CloudapiComputeCreateTemplateImpl
|
||||||
|
guest_agent_enable: CloudapiComputeGuestAgentEnableImpl
|
||||||
|
enable: CloudapiComputeEnableImpl
|
||||||
|
get_cpu_alignment_profile: CloudapiComputeGetCpuAlignmentProfileImpl
|
||||||
|
set_cpu_alignment_profile: CloudapiComputeSetCpuAlignmentProfileImpl
|
||||||
|
delete_cpu_alignment_profile: CloudapiComputeDeleteCpuAlignmentProfileImpl
|
||||||
|
add_acl_access: CloudapiComputeAddAclAccessImpl
|
||||||
@@ -1,19 +1,16 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAbortSharedSnapshotMergeResultBool(
|
class CloudapiComputeAbortSharedSnapshotMergeImpl(
|
||||||
_base.BaseAPIResultBool,
|
_base.APIFunctionImpl
|
||||||
):
|
):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeAbortSharedSnapshotMergeProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
|
||||||
def abort_shared_snapshot_merge(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
label: str,
|
label: str,
|
||||||
) -> CloudapiComputeAbortSharedSnapshotMergeResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeAddAclAccessImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
id: int,
|
||||||
|
accesstype: _nested.AccessTypeForSet,
|
||||||
|
apiaccesses: list[int] | None = None,
|
||||||
|
usernames: list[str] | None = None,
|
||||||
|
) -> bool:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityLabelRemoveResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAffinityLabelRemoveImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityLabelRemoveProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def affinity_label_remove(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeAffinityLabelRemoveResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityLabelSetResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAffinityLabelSetImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityLabelSetProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def affinity_label_set(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
affinity_label: str,
|
affinity_label: str,
|
||||||
) -> CloudapiComputeAffinityLabelSetResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -3,18 +3,19 @@ from dynamix_sdk.api import _nested
|
|||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRelationsResultModel(
|
class CloudapiComputeAffinityRelationsResultModel(
|
||||||
_base.BaseAPIResultModel,
|
|
||||||
_nested.AffinityRelationsAPIResultNM,
|
_nested.AffinityRelationsAPIResultNM,
|
||||||
):
|
):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRelationsProtocol(
|
class CloudapiComputeAffinityRelationsImpl(
|
||||||
_base.BasePostAPIFunctionProtocol
|
_base.APIFunctionImpl
|
||||||
):
|
):
|
||||||
def affinity_relations(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeAffinityRelationsResultModel:
|
) -> CloudapiComputeAffinityRelationsResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,14 +2,18 @@ import dynamix_sdk.base as _base
|
|||||||
from dynamix_sdk.api import _nested
|
from dynamix_sdk.api import _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRuleAddResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAffinityRuleAddResultModel(
|
||||||
|
_nested.ComputeAffinityRuleApplyResultAPIResultNM,
|
||||||
|
):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRuleAddProtocol(
|
class CloudapiComputeAffinityRuleAddImpl(
|
||||||
_base.BasePostAPIFunctionProtocol
|
_base.APIFunctionImpl
|
||||||
):
|
):
|
||||||
def affinity_rule_add(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
@@ -18,5 +22,7 @@ class CloudapiComputeAffinityRuleAddProtocol(
|
|||||||
mode: _nested.AffinityMode,
|
mode: _nested.AffinityMode,
|
||||||
key: str,
|
key: str,
|
||||||
value: str,
|
value: str,
|
||||||
) -> CloudapiComputeAffinityRuleAddResultBool:
|
async_mode: bool = False,
|
||||||
...
|
migrate: bool = False,
|
||||||
|
) -> bool | str | CloudapiComputeAffinityRuleAddResultModel:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -2,14 +2,12 @@ import dynamix_sdk.base as _base
|
|||||||
from dynamix_sdk.api import _nested
|
from dynamix_sdk.api import _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRuleRemoveResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAffinityRuleRemoveImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRuleRemoveProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def affinity_rule_remove(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
@@ -18,5 +16,5 @@ class CloudapiComputeAffinityRuleRemoveProtocol(
|
|||||||
mode: _nested.AffinityMode,
|
mode: _nested.AffinityMode,
|
||||||
key: str,
|
key: str,
|
||||||
value: str,
|
value: str,
|
||||||
) -> CloudapiComputeAffinityRuleRemoveResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRulesClearResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAffinityRulesClearImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAffinityRulesClearProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def affinity_rules_clear(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeAffinityRulesClearResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,14 +2,18 @@ import dynamix_sdk.base as _base
|
|||||||
from dynamix_sdk.api import _nested
|
from dynamix_sdk.api import _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAntiAffinityRuleAddResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAntiAffinityRuleAddResultModel(
|
||||||
|
_nested.ComputeAffinityRuleApplyResultAPIResultNM,
|
||||||
|
):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAntiAffinityRuleAddProtocol(
|
class CloudapiComputeAntiAffinityRuleAddImpl(
|
||||||
_base.BasePostAPIFunctionProtocol
|
_base.APIFunctionImpl
|
||||||
):
|
):
|
||||||
def anti_affinity_rule_add(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
@@ -18,5 +22,7 @@ class CloudapiComputeAntiAffinityRuleAddProtocol(
|
|||||||
mode: _nested.AffinityMode,
|
mode: _nested.AffinityMode,
|
||||||
key: str,
|
key: str,
|
||||||
value: str,
|
value: str,
|
||||||
) -> CloudapiComputeAntiAffinityRuleAddResultBool:
|
async_mode: bool = False,
|
||||||
...
|
migrate: bool = False,
|
||||||
|
) -> bool | str | CloudapiComputeAntiAffinityRuleAddResultModel:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -2,14 +2,12 @@ import dynamix_sdk.base as _base
|
|||||||
from dynamix_sdk.api import _nested
|
from dynamix_sdk.api import _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAntiAffinityRuleRemoveResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAntiAffinityRuleRemoveImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAntiAffinityRuleRemoveProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def anti_affinity_rule_remove(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
@@ -18,5 +16,5 @@ class CloudapiComputeAntiAffinityRuleRemoveProtocol(
|
|||||||
mode: _nested.AffinityMode,
|
mode: _nested.AffinityMode,
|
||||||
key: str,
|
key: str,
|
||||||
value: str,
|
value: str,
|
||||||
) -> CloudapiComputeAntiAffinityRuleRemoveResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAntiAffinityRulesClearResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAntiAffinityRulesClearImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAntiAffinityRulesClearProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def anti_affinity_rules_clear(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeAntiAffinityRulesClearResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAttachGpuResultInt(_base.BaseAPIResultInt):
|
class CloudapiComputeAttachGpuImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeAttachGpuProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def attach_gpu(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
vgpu_id: int,
|
vgpu_id: int,
|
||||||
) -> CloudapiComputeAttachGpuResultInt:
|
) -> int:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAttachPciDeviceResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeAttachPciDeviceImpl(
|
||||||
pass
|
_base.APIFunctionImpl,
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeAttachPciDeviceProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol,
|
|
||||||
):
|
):
|
||||||
def attach_pci_device(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
pci_device_id: int,
|
pci_device_id: int,
|
||||||
) -> CloudapiComputeAttachPciDeviceResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeBootDiskSetResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeBootDiskSetImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeBootDiskSetProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def boot_disk_set(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
disk_id: int,
|
disk_id: int,
|
||||||
) -> CloudapiComputeBootDiskSetResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeCdEjectResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeCdEjectImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeCdEjectProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def cd_eject(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeCdEjectResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,15 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeCdInsertResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeCdInsertImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeCdInsertProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def cd_insert(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
cdrom_image_id: int,
|
cdrom_image_id: int,
|
||||||
) -> CloudapiComputeCdInsertResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -2,17 +2,16 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeIpResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeChangeIpImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeChangeIpProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def change_ip(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
net_type: _nested.NetTypeForChangeIP,
|
net_type: _nested.NetTypeForChangeIP,
|
||||||
net_id: int,
|
net_id: int,
|
||||||
ip_addr: str,
|
ip_addr: str,
|
||||||
) -> CloudapiComputeChangeIpResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -2,18 +2,17 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeLinkStateResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeChangeLinkStateImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeLinkStateProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def change_link_state(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
interface: str,
|
interface: str,
|
||||||
state: _nested.LinkState,
|
state: _nested.LinkState,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeChangeLinkStateResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeMacResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeChangeMacImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeChangeMacProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def change_mac(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
current_mac: str,
|
current_mac: str,
|
||||||
new_mac: str,
|
new_mac: str,
|
||||||
) -> CloudapiComputeChangeMacResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,18 +1,17 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeMtuResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeChangeMtuImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeMtuProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def change_mtu(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
interface: str,
|
interface: str,
|
||||||
mtu: int,
|
mtu: int,
|
||||||
) -> CloudapiComputeChangeMtuResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeChangeQosPoliciesImpl(
|
||||||
|
_base.APIFunctionImpl,
|
||||||
|
):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
compute_id: int,
|
||||||
|
interface: str,
|
||||||
|
qos_policy_ids: list[int] | None = None,
|
||||||
|
async_mode: bool = False,
|
||||||
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,19 +1,18 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeSecurityGroupsResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeChangeSecurityGroupsImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeChangeSecurityGroupsProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def change_security_groups(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
interface: str,
|
interface: str,
|
||||||
security_group_ids: list[int] | None = None,
|
security_group_ids: list[int] | None = None,
|
||||||
security_group_mode: bool | None = None,
|
security_group_mode: bool | None = None,
|
||||||
) -> CloudapiComputeChangeSecurityGroupsResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeCloneResultStr(_base.BaseAPIResultStr):
|
class CloudapiComputeCloneImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeCloneProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def clone(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
@@ -17,5 +15,6 @@ class CloudapiComputeCloneProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
snapshot_name: str | None = None,
|
snapshot_name: str | None = None,
|
||||||
sep_pool_name: str | None = None,
|
sep_pool_name: str | None = None,
|
||||||
sep_id: int | None = None,
|
sep_id: int | None = None,
|
||||||
) -> CloudapiComputeCloneResultStr:
|
async_mode: bool = True,
|
||||||
...
|
) -> str | int:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
import dynamix_sdk.base as _base
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeCloneAbortResultBool(
|
|
||||||
_base.BaseAPIResultBool,
|
|
||||||
):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeCloneAbortProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
|
||||||
def clone_abort(
|
|
||||||
self,
|
|
||||||
*,
|
|
||||||
vm_id: int,
|
|
||||||
) -> CloudapiComputeCloneAbortResultBool:
|
|
||||||
...
|
|
||||||
@@ -1,15 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeCreateTemplateResultStr(_base.BaseAPIResultStr):
|
class CloudapiComputeCreateTemplateImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeCreateTemplateProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def create_template(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
name: str
|
name: str,
|
||||||
) -> CloudapiComputeCreateTemplateResultStr:
|
async_mode: bool = True,
|
||||||
...
|
) -> str | int:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeDelAclAccessImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
id: int,
|
||||||
|
apiaccesses: list[int] | None = None,
|
||||||
|
usernames: list[str] | None = None,
|
||||||
|
) -> bool:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDeleteResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDeleteImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeDeleteProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def delete(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
detach_disks: bool = False,
|
detach_disks: bool = False,
|
||||||
permanently: bool = False,
|
permanently: bool = False,
|
||||||
) -> CloudapiComputeDeleteResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeDeleteCpuAlignmentProfileImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
vm_ids: list[int],
|
||||||
|
) -> bool:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDeleteCustomFieldsResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDeleteCustomFieldsImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDeleteCustomFieldsProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def delete_custom_fields(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeDeleteCustomFieldsResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDetachGpuResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDetachGpuImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeDetachGpuProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def detach_gpu(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
vgpu_id: int | None = None,
|
vgpu_id: int | None = None,
|
||||||
) -> CloudapiComputeDetachGpuResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDetachPciDeviceResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDetachPciDeviceImpl(
|
||||||
pass
|
_base.APIFunctionImpl,
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDetachPciDeviceProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol,
|
|
||||||
):
|
):
|
||||||
def detach_pci_device(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
pci_device_id: int,
|
pci_device_id: int,
|
||||||
) -> CloudapiComputeDetachPciDeviceResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDisableResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDisableImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDisableProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def disable(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeDisableResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,25 +1,23 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
import dynamix_sdk.api._nested as _nested
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDiskAddResultInt(_base.BaseAPIResultInt):
|
class CloudapiComputeDiskAddImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeDiskAddProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def disk_add(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
name: str,
|
name: str,
|
||||||
disk_size_gb: int,
|
disk_size_gb: int,
|
||||||
storage_policy_id: int,
|
storage_policy_id: int,
|
||||||
disk_type: _nested.DiskType = _nested.DiskType.DATA,
|
|
||||||
sep_id: int | None = None,
|
sep_id: int | None = None,
|
||||||
sep_pool_name: str | None = None,
|
sep_pool_name: str | None = None,
|
||||||
description: str | None = None,
|
description: str | None = None,
|
||||||
image_id: int | None = None,
|
image_id: int | None = None,
|
||||||
pci_slot_num_hex: str | None = None,
|
pci_slot_num_hex: str | None = None,
|
||||||
bus_num_hex: str | None = None,
|
bus_num_hex: str | None = None,
|
||||||
) -> CloudapiComputeDiskAddResultInt:
|
async_mode: bool = False,
|
||||||
...
|
read_only_mode: bool = False,
|
||||||
|
) -> int | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,19 +1,17 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
import dynamix_sdk.api._nested as _nested
|
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDiskAttachResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDiskAttachImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeDiskAttachProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def disk_attach(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
disk_id: int,
|
disk_id: int,
|
||||||
disk_type: _nested.DiskType = _nested.DiskType.DATA,
|
|
||||||
pci_slot_num_hex: str | None = None,
|
pci_slot_num_hex: str | None = None,
|
||||||
bus_num_hex: str | None = None,
|
bus_num_hex: str | None = None,
|
||||||
) -> CloudapiComputeDiskAttachResultBool:
|
async_mode: bool = False,
|
||||||
...
|
read_only_mode: bool = False,
|
||||||
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDiskDelResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDiskDelImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeDiskDelProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def disk_del(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
disk_id: int,
|
disk_id: int,
|
||||||
permanently: bool = True,
|
permanently: bool = True,
|
||||||
) -> CloudapiComputeDiskDelResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,15 +1,14 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDiskDetachResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDiskDetachImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeDiskDetachProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def disk_detach(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
disk_id: int,
|
disk_id: int,
|
||||||
) -> CloudapiComputeDiskDetachResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,19 +1,17 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDiskMigrateResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeDiskMigrateImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDiskMigrateProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def disk_migrate(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
disk_id: int,
|
disk_id: int,
|
||||||
target_disk_id: int,
|
target_disk_id: int,
|
||||||
mode: int = 1,
|
mode: int = 1,
|
||||||
) -> CloudapiComputeDiskMigrateResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -1,20 +1,18 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeDiskSwitchToReplicationResultBool(
|
class CloudapiComputeDiskSwitchToReplicationImpl(
|
||||||
_base.BaseAPIResultBool,
|
_base.APIFunctionImpl,
|
||||||
):
|
):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeDiskSwitchToReplicationProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol,
|
|
||||||
):
|
|
||||||
def disk_switch_to_replication(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
disk_id: int,
|
disk_id: int,
|
||||||
stop_replication: bool = False,
|
stop_replication: bool = False,
|
||||||
) -> CloudapiComputeDiskSwitchToReplicationResultBool:
|
planned: bool = True,
|
||||||
...
|
async_mode: bool = False,
|
||||||
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeEnableResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeEnableImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeEnableProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def enable(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeEnableResultBool:
|
) -> bool:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -2,7 +2,7 @@ import dynamix_sdk.base as _base
|
|||||||
import dynamix_sdk.api._nested as _nested
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
class CloudapiComputeGetResultModel(_base.ResultModel):
|
||||||
account_id: int
|
account_id: int
|
||||||
account_name: str
|
account_name: str
|
||||||
acl: _nested.VMACLAPIResultNM
|
acl: _nested.VMACLAPIResultNM
|
||||||
@@ -21,8 +21,10 @@ class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
|||||||
cdrom_image_id: int
|
cdrom_image_id: int
|
||||||
chipset: _nested.Chipset
|
chipset: _nested.Chipset
|
||||||
ci_user_data: dict
|
ci_user_data: dict
|
||||||
|
clock_sync_mode: _nested.ClockSyncMode
|
||||||
clone_ids: list[int]
|
clone_ids: list[int]
|
||||||
clone_reference: int
|
clone_reference: int
|
||||||
|
cpu_alignment_profile: _nested.CPUAlignmentProfileAPIResultNM | dict
|
||||||
cpu_count: int
|
cpu_count: int
|
||||||
cpu_pin: bool
|
cpu_pin: bool
|
||||||
created_by: str
|
created_by: str
|
||||||
@@ -31,9 +33,10 @@ class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
|||||||
deleted_by: str
|
deleted_by: str
|
||||||
deleted_timestamp: int
|
deleted_timestamp: int
|
||||||
description: str
|
description: str
|
||||||
devices: dict
|
pci_devices: dict[str, int]
|
||||||
disks: list[_nested.DiskForCAComputeGetAPIResultNM]
|
disks: list[_nested.DiskForCAComputeGetAPIResultNM]
|
||||||
driver: _nested.Driver
|
driver: _nested.Driver
|
||||||
|
folder_id: int | None = None
|
||||||
grid_id: int
|
grid_id: int
|
||||||
guid: int
|
guid: int
|
||||||
hot_resize: bool
|
hot_resize: bool
|
||||||
@@ -46,6 +49,7 @@ class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
|||||||
lock_status: _nested.LockStatus
|
lock_status: _nested.LockStatus
|
||||||
manager_id: int
|
manager_id: int
|
||||||
manager_type: str
|
manager_type: str
|
||||||
|
memory_balloon_mode: _nested.MemoryBalloonMode
|
||||||
migration_job_id: int
|
migration_job_id: int
|
||||||
milestones: int
|
milestones: int
|
||||||
name: str
|
name: str
|
||||||
@@ -62,6 +66,7 @@ class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
|||||||
reference_id: str
|
reference_id: str
|
||||||
res_name: str
|
res_name: str
|
||||||
reserved_cpu_cores: list[int]
|
reserved_cpu_cores: list[int]
|
||||||
|
resized_online: bool
|
||||||
rg_id: int
|
rg_id: int
|
||||||
rg_name: str
|
rg_name: str
|
||||||
snapshot_sets: list[_nested.SnapshotSetAPIResultNM]
|
snapshot_sets: list[_nested.SnapshotSetAPIResultNM]
|
||||||
@@ -77,6 +82,8 @@ class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
|||||||
vm_ci_id: int
|
vm_ci_id: int
|
||||||
vnc_password: str
|
vnc_password: str
|
||||||
guest_agent: _nested.GuestAgentAPIResultNM
|
guest_agent: _nested.GuestAgentAPIResultNM
|
||||||
|
watchdog_action: _nested.WatchdogAction
|
||||||
|
weight: int
|
||||||
zone_id: int
|
zone_id: int
|
||||||
|
|
||||||
natable_vins_id: int = 0
|
natable_vins_id: int = 0
|
||||||
@@ -98,10 +105,12 @@ class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
|||||||
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGetProtocol(_base.BasePostAPIFunctionProtocol):
|
class CloudapiComputeGetImpl(_base.APIFunctionImpl):
|
||||||
def get(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeGetResultModel:
|
) -> CloudapiComputeGetResultModel:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
import dynamix_sdk.api._nested as _nested
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeGetAclAccessResultModel(_base.ResultModel):
|
||||||
|
data: _nested.VMACLAPIResultNM
|
||||||
|
entry_count: int
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeGetAclAccessImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
id: int,
|
||||||
|
) -> CloudapiComputeGetAclAccessResultModel:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGetConsoleUrlResultStr(_base.BaseAPIResultStr):
|
class CloudapiComputeGetConsoleUrlImpl(_base.APIFunctionImpl):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeGetConsoleUrlProtocol(_base.BasePostAPIFunctionProtocol):
|
|
||||||
def get_console_url(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeGetConsoleUrlResultStr:
|
) -> str:
|
||||||
...
|
raise NotImplementedError
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeGetCpuAlignmentProfileResultModel(_base.ResultModel):
|
||||||
|
name: str | None = None
|
||||||
|
vendor: str | None = None
|
||||||
|
model: str | None = None
|
||||||
|
|
||||||
|
|
||||||
|
class CloudapiComputeGetCpuAlignmentProfileImpl(_base.APIFunctionImpl):
|
||||||
|
http_method = _base.HTTPMethod.GET
|
||||||
|
|
||||||
|
def __call__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
vm_id: int,
|
||||||
|
) -> CloudapiComputeGetCpuAlignmentProfileResultModel:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGuestAgentDisableResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeGuestAgentDisableImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGuestAgentDisableProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def guest_agent_disable(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeGuestAgentDisableResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGuestAgentEnableResultBool(_base.BaseAPIResultBool):
|
class CloudapiComputeGuestAgentEnableImpl(
|
||||||
pass
|
_base.APIFunctionImpl
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGuestAgentEnableProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
):
|
||||||
def guest_agent_enable(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeGuestAgentEnableResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
Loaded 100 of 1027 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user