Compare commits
2
Commits
1.5.latest
...
2.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ffea46b8a | ||
|
|
1ee16914bc |
No files matched your search
+628
-2
@@ -1,14 +1,640 @@
|
|||||||
# Список изменений в версии 1.5.3
|
# Список изменений в версии 2.1.0
|
||||||
|
|
||||||
|
## Изменено
|
||||||
|
| Идентификатор<br>задачи | Описание |
|
||||||
|
| --- | --- |
|
||||||
|
| BPYS-1702 | Функции `cloudapi.compute.get`, `cloudapi.vgpu.list`: в модели результата переименованы поля `created_timestamp`, `deleted_timestamp`, `last_update_timestamp`, `pci_slot_num`, `pgpu_mode`, `vm_id` в `created_time`, `deleted_time`, `last_update_time`, `pci_slot`, `split_mode`, `compute_id`. |
|
||||||
|
| BPYS-1713 | Функция `cloudapi.kvmx86.create`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-1710 | Функция `cloudapi.disks.list`: тип параметра `status` изменён с `DiskStatus \| None` на `list[DiskStatus] \| None`. |
|
||||||
|
| BPYS-1752 | Функция `cloudbroker.disks.list`: тип параметра `status` изменён с `DiskStatus \| None` на `list[DiskStatus] \| None`. |
|
||||||
|
| BPYS-1709 | Функция `cloudapi.disks.create`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-1750 | Функция `cloudbroker.disks.create`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-1755 | Функция `cloudbroker.kvmx86.create`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-1756 | Функция `cloudbroker.kvmx86.create`: переименован параметр `cpupin` в `cpu_pin`. |
|
||||||
|
| BPYS-1762 | Функции `cloudapi.rg.get`, `cloudapi.rg.list`: в модели результата тип поля `sdn_access_group_id` изменён с `str` на `str \| None`. |
|
||||||
|
| BPYS-1768 | Функция `cloudbroker.rg.list`: тип поля `data.sdn_access_group_id` изменён с `str` на `str \| None`. |
|
||||||
|
| BPYS-1763 | Функция `cloudbroker.rg.get`: тип поля `sdn_access_group_id` изменён с `str` на `str \| None`. |
|
||||||
|
| BPYS-1791 | Функция `cloudapi.k8s.create`: тип параметра `ci_user_data` изменён с `str \| None` на `str \| dict \| None`. |
|
||||||
|
| BPYS-1739 | Функция `cloudapi.vgpu.list`: переименованы параметры `vm_id`, `pgpu_mode` в `compute_id`, `split_mode`. |
|
||||||
|
| BPYS-1790 | Функция `cloudbroker.bservice.group_add`: тип параметра `user_data` изменён с `str \| None` на `str \| dict \| None`. |
|
||||||
|
| BPYS-1792 | Функция `cloudapi.k8s.update_worker_nodes_meta_data`: тип параметра `ci_user_data` изменён с `str` на `str \| dict`. |
|
||||||
|
| BPYS-1789 | Функция `cloudapi.bservice.group_add`: тип параметра `ci_user_data` изменён с `str \| None` на `str \| dict \| None`. |
|
||||||
|
| BPYS-1805 | Функция `cloudapi.account.list`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1806 | Функции `cloudapi.account.get`, `cloudapi.rg.get`, `cloudbroker.account.get`, `cloudbroker.rg.get`: в модели результата тип поля `acl.type` изменён с `str` на `ACLType`. Функции `cloudapi.account.list_deleted`, `cloudapi.rg.list_deleted`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. Функция `cloudapi.compute.get`: в модели результата тип поля `acl.vm.type` изменён с `str` на `ACLType`. Функция `cloudapi.compute.user_list`: в модели результата тип полей `data.account.type`, `data.rg.type`, `data.vm.type` изменён с `str` на `ACLType`. Функция `cloudapi.k8s.get`: в модели результата тип полей `acl.account.type`, `acl.k8s.type`, `acl.rg.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1807 | Функция `cloudapi.compute.get`: в модели результата тип поля `acl.account.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1808 | Функция `cloudapi.compute.get`: в модели результата тип поля `acl.rg.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1809 | Функция `cloudapi.compute.list`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1810 | Функция `cloudapi.compute.list_deleted`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1813 | Функция `cloudapi.rg.list`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1814 | Функция `cloudapi.rg.list_deleted`: в модели результата тип поля `data.account_acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1815 | Функция `cloudbroker.account.list`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1816 | Функция `cloudbroker.account.list_deleted`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1820 | Функция `cloudbroker.rg.list`: в модели результата тип поля `data.acl.type` изменён с `str` на `ACLType`. |
|
||||||
|
| BPYS-1823 | Функции `cloudapi.account.list`, `cloudapi.account.list_deleted`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.rg.list`: в модели результата тип поля `data.acl.user_name` изменён с `str` на `str \| int`. |
|
||||||
|
| BPYS-1838 | Функция `cloudapi.disks.change_disk_storage_policy`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1844 | Функция `cloudapi.disks.limit_io`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1840 | Функция `cloudapi.disks.delete`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1846 | Функция `cloudapi.disks.rename`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1850 | Функция `cloudapi.disks.restore`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1842 | Функция `cloudapi.disks.delete_disks`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1859 | Функция `cloudapi.locations.list`: в модели результата тип поля `data.network_modes` изменён с `list[str]` на `list[NetworkMode]`. |
|
||||||
|
| BPYS-1848 | Функция `cloudapi.disks.resize2`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1852 | Функция `cloudapi.disks.share`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1854 | Функция `cloudapi.disks.snapshot_delete`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1871 | Функция `cloudbroker.disks.delete_disks`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1873 | Функция `cloudbroker.disks.depresent`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1875 | Функция `cloudbroker.disks.limit_io`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1877 | Функция `cloudbroker.disks.migrate_abort`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1856 | Функция `cloudapi.disks.snapshot_rollback`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1889 | Функция `cloudapi.rg.list_deleted`: в модели результата тип поля `data.sdn_access_group_id` изменён с `str` на `str \| None`. |
|
||||||
|
| BPYS-1858 | Функция `cloudapi.disks.unshare`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1867 | Функция `cloudbroker.disks.change_disk_storage_policy`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1869 | Функция `cloudbroker.disks.delete`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1914 | Функция `cloudapi.vins.vnfdev_redeploy`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1912 | Функция `cloudapi.vins.enable`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1910 | Функции `cloudapi.vins.create_in_rg`, `cloudbroker.vins.create_in_rg`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-1908 | Функции `cloudapi.vins.create_in_account`, `cloudbroker.vins.create_in_account`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-1916 | Функция `cloudapi.vins.vnfdev_restart`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-1918 | Функция `cloudbroker.extnet.create`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-1961 | Функция `cloudapi.compute.affinity_rule_add`: тип результата изменён с `bool` на `bool \| str \| CloudapiComputeAffinityRuleAddResultModel`. |
|
||||||
|
| BPYS-1961 | Функция `cloudbroker.compute.affinity_rule_add`: тип результата изменён с `bool` на `bool \| str \| CloudbrokerComputeAffinityRuleAddResultModel`. |
|
||||||
|
| BPYS-1962 | Функция `cloudapi.compute.anti_affinity_rule_add`: тип результата изменён с `bool` на `bool \| str \| CloudapiComputeAntiAffinityRuleAddResultModel`. |
|
||||||
|
| BPYS-1962 | Функция `cloudbroker.compute.anti_affinity_rule_add`: тип результата изменён с `bool` на `bool \| str \| CloudbrokerComputeAntiAffinityRuleAddResultModel`. |
|
||||||
|
| BPYS-2069 | Функция `cloudbroker.extnet.enable`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
| BPYS-2275 | Функции `cloudapi.compute.pfw_list`, `cloudbroker.compute.pfw_list`: в модели результата тип поля `data.local_port` изменён с `int` на `int \| None`. |
|
||||||
|
| BPYS-2326 | Закреплена минорная версия Python `3.12` и версии зависимостей: `requests==2.32.3`, `pydantic==2.13.5`, `pyyaml==6.0.2`. |
|
||||||
|
| BPYS-2065 | Функция `cloudbroker.kvmx86.create`: для параметра `memory_balloon_mode` изменено значение по умолчанию с `MemoryBalloonMode.AUTO` на `MemoryBalloonMode.NONE`. |
|
||||||
|
| BPYS-2063 | Функция `cloudapi.kvmx86.create`: для параметра `memory_balloon_mode` изменено значение по умолчанию с `MemoryBalloonMode.AUTO` на `MemoryBalloonMode.NONE`. |
|
||||||
|
| BPYS-2066 | Функция `cloudbroker.kvmx86.create_blank`: для параметра `memory_balloon_mode` изменено значение по умолчанию с `MemoryBalloonMode.AUTO` на `MemoryBalloonMode.NONE`. |
|
||||||
|
| BPYS-2064 | Функция `cloudapi.kvmx86.create_blank`: для параметра `memory_balloon_mode` изменено значение по умолчанию с `MemoryBalloonMode.AUTO` на `MemoryBalloonMode.NONE`. |
|
||||||
|
| BPYS-2395 | Функция `cloudbroker.compute.migrate_v2_get`: в модели результата тип поля `progress.disks` изменён с `ProgressDisksAllCopiedDisks \| ProgressDisksCurrentDisk \| None` на `Disks \| None`. Поля `progress.observation`, `progress.memory`, `progress.disks` стали обязательными. |
|
||||||
|
| BPYS-2397 | Функция `cloudbroker.compute.migrate_v2_get`: в модели результата тип полей `domain_name`, `domain_uuid`, `source_tech_status` изменён с `str` на `str \| None`, тип поля `source_node_id` изменён с `int` на `int \| None`. |
|
||||||
|
| BPYS-2396 | Функция `cloudbroker.compute.migrate_v2_list`: в модели результата тип поля `data.progress.disks` изменён с `ProgressDisksAllCopiedDisks \| ProgressDisksCurrentDisk \| None` на `Disks \| None`, тип поля `data.progress.disks.disks_completed` изменён с `int` на `int \| None`. Поля `data.progress.observation`, `data.progress.memory`, `data.progress.disks` стали обязательными. |
|
||||||
|
| BPYS-2398 | Функция `cloudbroker.compute.migrate_v2_list`: в модели результата тип полей `data.domain_name`, `data.domain_uuid`, `data.source_tech_status` изменён с `str` на `str \| None`, тип поля `data.source_node_id` изменён с `int` на `int \| None`. |
|
||||||
|
| BPYS-2416 | Функции `cloudbroker.account.delete_accounts`, `cloudbroker.account.disable_accounts`, `cloudbroker.account.enable_accounts`: тип результата изменён с `str` на `list[int] \| str`. |
|
||||||
|
| BPYS-2415 | Функция `cloudbroker.account.create`: тип результата изменён с `int` на `int \| str`. |
|
||||||
|
| BPYS-2414 | Функции `cloudapi.account.add_user`, `cloudapi.account.add_acl_access`, `cloudapi.account.del_acl_access`, `cloudapi.account.delete_user`, `cloudapi.account.update`, `cloudapi.account.update_user`, `cloudapi.account.update_acl_access`, `cloudbroker.account.add_user`, `cloudbroker.account.add_zone`, `cloudbroker.account.add_acl_access`, `cloudbroker.account.add_storage_policy`, `cloudbroker.account.del_acl_access`, `cloudbroker.account.del_storage_policy`, `cloudbroker.account.delete_user`, `cloudbroker.account.grant_access_templates`, `cloudbroker.account.remove_zone`, `cloudbroker.account.revoke_access_templates`, `cloudbroker.account.set_cpu_allocation_parameter`, `cloudbroker.account.set_cpu_allocation_ratio`, `cloudbroker.account.update`, `cloudbroker.account.update_compute_features`, `cloudbroker.account.update_resource_types`, `cloudbroker.account.update_user`, `cloudbroker.account.update_acl_access`: тип результата изменён с `bool` на `bool \| str`. |
|
||||||
|
|
||||||
## Добавлено
|
## Добавлено
|
||||||
| Идентификатор<br>задачи | Описание |
|
| Идентификатор<br>задачи | Описание |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|
| BPYS-1678 | Добавлена функция `cloudbroker.compute.get`. |
|
||||||
|
| BPYS-1679 | Добавлена функция `cloudbroker.compute.list`. |
|
||||||
|
| BPYS-1680 | Добавлена функция `cloudbroker.compute.start`. |
|
||||||
|
| BPYS-1681 | Добавлена функция `cloudbroker.compute.stop`. |
|
||||||
|
| BPYS-1684 | Добавлена функция `cloudbroker.compute.enable`. |
|
||||||
|
| BPYS-1675 | Добавлена функция `cloudbroker.compute.disable`. |
|
||||||
|
| BPYS-1688 | Добавлена функция `cloudbroker.compute.disk_add`. |
|
||||||
|
| BPYS-1689 | Добавлена функция `cloudbroker.compute.disk_attach`. |
|
||||||
|
| BPYS-1690 | Добавлена функция `cloudbroker.compute.disk_del`. |
|
||||||
|
| BPYS-1691 | Добавлена функция `cloudbroker.compute.disk_detach`. |
|
||||||
|
| BPYS-1701 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `vgpus.mdev_uuid`. |
|
||||||
|
| BPYS-1702 | Функции `cloudapi.compute.get`, `cloudapi.vgpu.list`: в модели результата добавлены поля `account_ids`, `profile_reference`, `device_reference`, `parent_pci_address`. |
|
||||||
|
| BPYS-1712 | Функция `cloudapi.kvmx86.create`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1698 | Функция `cloudapi.user.brief`: в модели результата добавлены поля `accounts.confirmed`, `accounts.deleted`, `accounts.destroyed`, `accounts.destroying`. |
|
||||||
|
| BPYS-1699 | Функция `cloudapi.user.brief`: в модели результата добавлены поля `rgs.modeled`, `rgs.created`, `rgs.deleted`, `rgs.deleting`, `rgs.destroyed`, `rgs.destroying`, `rgs.disabling`, `rgs.enabling`, `rgs.restoring`. |
|
||||||
|
| BPYS-1700 | Функция `cloudapi.user.brief`: в модели результата добавлены поля `vms.starting`, `vms.stopping`, `vms.paused`, `vms.pausing`, `vms.merge`, `vms.migrating`, `vms.migrating_in`, `vms.migrating_out`, `vms.down`, `vms.scheduled`, `vms.backup_stopped`, `vms.backup_running`, `vms.snapcreate`, `vms.cloning`, `vms.rollback`. |
|
||||||
|
| BPYS-1725 | Функция `cloudapi.pcidevice.list`: в модель результата добавлено поле `data.account_ids`. |
|
||||||
|
| BPYS-1727 | Функция `cloudapi.pcidevice.list`: добавлен параметр `account_id`. |
|
||||||
|
| BPYS-1703 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `watchdog_action`. |
|
||||||
|
| BPYS-1697 | Функция `cloudapi.account.get`: в модель результата добавлены поля `vm_counts.starting`, `vm_counts.stopping`, `vm_counts.paused`, `vm_counts.pausing`, `vm_counts.merge`, `vm_counts.migrating`, `vm_counts.migrating_in`, `vm_counts.migrating_out`, `vm_counts.down`, `vm_counts.scheduled`, `vm_counts.backup_stopped`, `vm_counts.backup_running`, `vm_counts.snapcreate`, `vm_counts.cloning`, `vm_counts.rollback`. |
|
||||||
|
| BPYS-1704 | Функция `cloudapi.compute.list`: в модель результата добавлено поле `data.disks.image_id`. |
|
||||||
|
| BPYS-1705 | Функции `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в модель результата добавлено поле `data.watchdog_action`. |
|
||||||
|
| BPYS-1708 | Функция `cloudapi.disks.create`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1731 | Функция `cloudapi.tasks.list`: добавлен параметр `created_time_to`. |
|
||||||
|
| BPYS-1732 | Функция `cloudapi.tasks.list`: добавлен параметр `created_time_at`. |
|
||||||
|
| BPYS-1744 | Функция `cloudapi.vins.list`: в модель результата добавлено поле `data.enable_default_gateway`. |
|
||||||
|
| BPYS-1745 | Функция `cloudapi.zone.get`: в модель результата добавлены поля `logging_level`, `sdrs`, `sdrs_mode`. |
|
||||||
|
| BPYS-1746 | Функция `cloudapi.zone.list`: в модель результата добавлены поля `data.logging_level`, `data.sdrs`, `data.sdrs_mode`. |
|
||||||
|
| BPYS-1707 | Функция `cloudapi.compute.update`: добавлен параметр `watchdog_action`. |
|
||||||
|
| BPYS-1782 | Функция `cloudapi.compute.snapshot_list`: в модель результата добавлено поле `data.compute.watchdog_action`. |
|
||||||
|
| BPYS-1683 | Добавлена функция `cloudbroker.compute.restore`. |
|
||||||
|
| BPYS-1686 | Добавлена функция `cloudbroker.compute.net_attach`. |
|
||||||
|
| BPYS-1687 | Добавлена функция `cloudbroker.compute.net_detach`. |
|
||||||
|
| BPYS-1676 | Добавлена функция `cloudbroker.extnet.get`. |
|
||||||
|
| BPYS-1677 | Добавлена функция `cloudbroker.extnet.list`. |
|
||||||
|
| BPYS-1747 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`, `cloudbroker.account.create`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.update_compute_features`, `cloudbroker.rg.create`, `cloudbroker.rg.list`: в перечисляемый тип `VMFeature` добавлен атрибут `PCIDEVICE`. |
|
||||||
|
| BPYS-1748 | Функции `cloudapi.account.get`, `cloudapi.account.list`, `cloudapi.account.list_deleted`, `cloudapi.rg.get`, `cloudapi.rg.list`, `cloudapi.rg.list_deleted`, `cloudbroker.account.create`, `cloudbroker.account.get`, `cloudbroker.account.list`, `cloudbroker.account.list_deleted`, `cloudbroker.account.update_compute_features`, `cloudbroker.rg.create`, `cloudbroker.rg.list`: в перечисляемый тип `VMFeature` добавлен атрибут `VGPU`. |
|
||||||
|
| BPYS-1749 | Функция `cloudbroker.disks.create`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1754 | Функция `cloudbroker.kvmx86.create`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1758 | Функция `cloudbroker.kvmx86.create`: добавлен параметр `watchdog_action`. |
|
||||||
|
| BPYS-1773 | Функция `cloudbroker.kvmx86.create`: добавлен параметр `data_disks.read_only`. |
|
||||||
|
| BPYS-1778 | Функция `cloudbroker.kvmx86.create`: добавлен параметр `interfaces.qos_policies`. |
|
||||||
|
| BPYS-1706 | Функция `cloudapi.compute.netAttach`: добавлен параметр `qos_policies`. |
|
||||||
|
| BPYS-1717 | Функция `cloudapi.locations.list`: в модель результата добавлено поле `data.budget`. |
|
||||||
|
| BPYS-1715 | Функция `cloudapi.kvmx86.create`: добавлен параметр `watchdog_action`. |
|
||||||
|
| BPYS-1771 | Функции `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: добавлен параметр `data_disks.read_only`. |
|
||||||
|
| BPYS-1775 | Функции `cloudapi.kvmx86.create`, `cloudapi.kvmx86.create_blank`: добавлен параметр `interfaces.qos_policies`. |
|
||||||
|
| BPYS-1784 | Функции `cloudapi.vins.get`, `cloudbroker.vins.get`: в модели результатов добавлены поля `vnfdev.interfaces.qos_policies`/`vnf_dev.interfaces.qos_policies`. |
|
||||||
|
| BPYS-1753 | Функция `cloudbroker.disks.migrate`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1757 | Функция `cloudbroker.kvmx86.create_blank`: добавлен параметр `watchdog_action`. |
|
||||||
|
| BPYS-1738 | Функция `cloudapi.vgpu.list`: добавлен параметр `node_id`. |
|
||||||
|
| BPYS-1759 | Функция `cloudbroker.rg.create`: добавлен параметр `ipcidr`. |
|
||||||
|
| BPYS-1766 | Добавлена функция `cloudapi.compute.change_qos_policies`. |
|
||||||
|
| BPYS-1716 | Функция `cloudapi.kvmx86.create_blank`: добавлен параметр `watchdog_action`. |
|
||||||
|
| BPYS-1721 | Добавлена функция `cloudapi.network_qos_policy.delete_rule`. |
|
||||||
|
| BPYS-1722 | Добавлена функция `cloudapi.network_qos_policy.delete`. |
|
||||||
|
| BPYS-1724 | Добавлена функция `cloudapi.network_qos_policy.create`. |
|
||||||
|
| BPYS-1719 | Добавлена функция `cloudapi.network_qos_policy.list`. |
|
||||||
|
| BPYS-1720 | Добавлена функция `cloudapi.network_qos_policy.get`. |
|
||||||
|
| BPYS-1803 | Добавлена функция `cloudbroker.compute.resize`. |
|
||||||
|
| BPYS-1799 | Добавлена функция `cloudbroker.compute.pause`. |
|
||||||
|
| BPYS-1804 | Добавлена функция `cloudbroker.compute.redeploy`. |
|
||||||
|
| BPYS-1800 | Добавлена функция `cloudbroker.compute.reset`. |
|
||||||
|
| BPYS-1798 | Добавлена функция `cloudbroker.compute.reboot`. |
|
||||||
|
| BPYS-1795 | Добавлена функция `cloudbroker.compute.boot_disk_set`. |
|
||||||
|
| BPYS-1801 | Добавлена функция `cloudapi.account.add_acl_access`. |
|
||||||
|
| BPYS-1802 | Добавлена функция `cloudapi.account.del_acl_access`. |
|
||||||
|
| BPYS-1811 | Добавлена функция `cloudapi.compute.get_acl_access`. |
|
||||||
|
| BPYS-1821 | Добавлена функция `cloudbroker.compute.affinity_rule_add`. |
|
||||||
|
| BPYS-1822 | Добавлена функция `cloudbroker.compute.affinity_rule_remove`. |
|
||||||
|
| BPYS-1812 | Добавлена функция `cloudapi.rg.get_acl_access`. |
|
||||||
|
| BPYS-1860 | Добавлена функция `cloudbroker.compute.anti_affinity_rule_add`. |
|
||||||
|
| BPYS-1831 | Функция `cloudbroker.compute.get`: в модель результата добавлено поле `memory_balloon_mode`. |
|
||||||
|
| BPYS-1832 | Функции `cloudapi.compute.get`, `cloudbroker.compute.get`: в модель результата добавлено поле `vgpus.profile_name`. |
|
||||||
|
| BPYS-1832 | Функция `cloudapi.vgpu.list`: в модель результата добавлено поле `data.profile_name`. |
|
||||||
|
| BPYS-1833 | Функции `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в модель результата добавлено поле `data.memory_balloon_mode`. |
|
||||||
|
| BPYS-1834 | Функция `cloudapi.compute.update`: добавлен параметр `memory_balloon_mode`. |
|
||||||
|
| BPYS-1836 | Функция `cloudapi.kvmx86.create_blank`: добавлен параметр `memory_balloon_mode`. |
|
||||||
|
| BPYS-1829 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `memory_balloon_mode`. |
|
||||||
|
| BPYS-1830 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `vgpus.profile_name`. |
|
||||||
|
| BPYS-1837 | Функция `cloudapi.disks.change_disk_storage_policy`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1843 | Функция `cloudapi.disks.limit_io`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1839 | Функция `cloudapi.disks.delete`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1845 | Функция `cloudapi.disks.rename`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1849 | Функция `cloudapi.disks.restore`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1841 | Функция `cloudapi.disks.delete_disks`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1835 | Функция `cloudapi.kvmx86.create`: добавлен параметр `memory_balloon_mode`. |
|
||||||
|
| BPYS-1847 | Функция `cloudapi.disks.resize2`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1851 | Функция `cloudapi.disks.share`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1853 | Функция `cloudapi.disks.snapshot_delete`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1872 | Функция `cloudbroker.disks.depresent`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1874 | Функция `cloudbroker.disks.limit_io`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1876 | Функция `cloudbroker.disks.migrate_abort`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1881 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `snapshot_sets.vm.memory_balloon_mode`. |
|
||||||
|
| BPYS-1881 | Функция `cloudbroker.compute.get`: в модель результата добавлено поле `snap_sets.vm.memory_balloon_mode`. |
|
||||||
|
| BPYS-1882 | Функция `cloudapi.compute.snapshot_list`: в модель результата добавлено поле `data.vm.memory_balloon_mode`. |
|
||||||
|
| BPYS-1883 | Функция `cloudapi.extnet.get`: в модель результата добавлено поле `dhcp_reservations.auto_assignable`. |
|
||||||
|
| BPYS-1884 | Функция `cloudapi.extnet.get`: в модель результата добавлено поле `dhcp_excluded_reservations.auto_assignable`. |
|
||||||
|
| BPYS-1885 | Функция `cloudapi.extnet.get`: в модель результата добавлено поле `pre_reservations.auto_assignable`. |
|
||||||
|
| BPYS-1886 | Функция `cloudbroker.extnet.get`: в модель результата добавлено поле `reservations.auto_assignable`. |
|
||||||
|
| BPYS-1887 | Функция `cloudbroker.extnet.get`: в модель результата добавлено поле `excluded.auto_assignable`. |
|
||||||
|
| BPYS-1888 | Функция `cloudbroker.extnet.get`: в модель результата добавлено поле `pre_reservations.auto_assignable`. |
|
||||||
|
| BPYS-1855 | Функция `cloudapi.disks.snapshot_rollback`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1857 | Функция `cloudapi.disks.unshare`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1827 | Добавлена функция `cloudapi.compute.del_acl_access`. |
|
||||||
|
| BPYS-1825 | Добавлена функция `cloudapi.account.update_acl_access`. |
|
||||||
|
| BPYS-1866 | Функция `cloudbroker.disks.change_disk_storage_policy`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1868 | Функция `cloudbroker.disks.delete`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1841 | Функция `cloudbroker.vm.list`: в модель результата добавлено поле `data.memory_balloon_mode`. |
|
||||||
|
| BPYS-1894 | Функция `cloudapi.audit.get`: в модель результата добавлено поле `public_session_id`. |
|
||||||
|
| BPYS-1894 | Функция `cloudapi.audit.list`, `cloudbroker.audit.list`: в модель результата добавлено поле `data.public_session_id`. |
|
||||||
|
| BPYS-1881 | Функции `cloudapi.compute.list`, `cloudbroker.compute.list`, `cloudapi.compute.list_deleted`: в модель результата добавлено поле `data.snapshot_sets.vm.memory_balloon_mode`. |
|
||||||
|
| BPYS-1881 | Функции `cloudbroker.compute.list`, `cloudapi.compute.list_deleted`: в модель результата добавлено поле `snapshot_sets.vm.memory_balloon_mode`. |
|
||||||
|
| BPYS-1886 | Функции `cloudapi.vins.get`, `cloudbroker.vins.get`: в модель результата добавлено поле `vnfs.dhcp.config.reservations.auto_assignable`. |
|
||||||
|
| BPYS-1886 | Функция `cloudapi.vins.ip_list`: в модель результата добавлено поле `data.auto_assignable`. |
|
||||||
|
| BPYS-1828 | Добавлена функция `cloudapi.compute.update_acl_access`. |
|
||||||
|
| BPYS-1826 | Добавлена функция `cloudapi.compute.add_acl_access`. |
|
||||||
|
| BPYS-1861 | Добавлена функция `cloudapi.rg.add_acl_access`. |
|
||||||
|
| BPYS-1862 | Добавлена функция `cloudapi.rg.del_acl_access`. |
|
||||||
|
| BPYS-1870 | Функция `cloudbroker.disks.delete_disks`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1863 | Добавлена функция `cloudapi.rg.update_acl_access`. |
|
||||||
|
| BPYS-1897 | Функция `cloudbroker.audit.list`: добавлен параметр `public_session_id`. |
|
||||||
|
| BPYS-1879 | Функция `cloudbroker.kvmx86.create_blank`: добавлен параметр `memory_balloon_mode`. |
|
||||||
|
| BPYS-1896 | Функция `cloudapi.audit.list`: добавлен параметр `public_session_id`. |
|
||||||
|
| BPYS-1907 | Добавлена функция `cloudbroker.vins.delete`. |
|
||||||
|
| BPYS-1905 | Добавлена функция `cloudbroker.rg.update`. |
|
||||||
|
| BPYS-1904 | Добавлена функция `cloudbroker.rg.delete`. |
|
||||||
|
| BPYS-1878 | Функция `cloudbroker.kvmx86.create`: добавлен параметр `memory_balloon_mode`. |
|
||||||
|
| BPYS-1906 | Функция `cloudapi.locations.list`: в модель результата добавлено поле `data.vm_folders_enabled`. |
|
||||||
|
| BPYS-1915 | Функция `cloudapi.vins.vnfdev_redeploy`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1913 | Функция `cloudapi.vins.enable`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1911 | Функции `cloudapi.vins.create_in_rg`, `cloudbroker.vins.create_in_rg`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1909 | Функции `cloudapi.vins.create_in_account`, `cloudbroker.vins.create_in_account`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1932 | Добавлена функция `cloudbroker.extnet.destroy`. |
|
||||||
|
| BPYS-1933 | Добавлена функция `cloudbroker.extnet.update`. |
|
||||||
|
| BPYS-1723 | Добавлена функция `cloudapi.network_qos_policy.create_rule`. |
|
||||||
|
| BPYS-1718 | Добавлена функция `cloudapi.network_qos_policy.update`. |
|
||||||
|
| BPYS-1940 | Добавлена функция `cloudbroker.extnet.enable`. |
|
||||||
|
| BPYS-1939 | Добавлена функция `cloudbroker.extnet.disable`. |
|
||||||
|
| BPYS-1936 | Добавлена функция `cloudbroker.vins.enable`. |
|
||||||
|
| BPYS-1917 | Функция `cloudapi.vins.vnfdev_restart`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1919 | Функция `cloudbroker.extnet.create`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-1930 | Функции `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в модель результата добавлено поле `data.folder_id`. |
|
||||||
|
| BPYS-1938 | Добавлена функция `cloudbroker.vins.disable`. |
|
||||||
|
| BPYS-1937 | Добавлена функция `cloudbroker.dpdknet.list`. |
|
||||||
|
| BPYS-1935 | Добавлена функция `cloudbroker.dpdknet.get`. |
|
||||||
|
| BPYS-1934 | Добавлена функция `cloudbroker.dpdknet.create`. |
|
||||||
|
| BPYS-1941 | Добавлена функция `cloudbroker.dpdknet.delete`. |
|
||||||
|
| BPYS-1942 | Добавлена функция `cloudbroker.dpdknet.update`. |
|
||||||
|
| BPYS-1947 | Добавлена функция `cloudbroker.image.edit`. |
|
||||||
|
| BPYS-1970 | Добавлена функция `cloudbroker.trunk.enable`. |
|
||||||
|
| BPYS-1969 | Добавлена функция `cloudbroker.trunk.disable`. |
|
||||||
|
| BPYS-1943 | Добавлена функция `cloudbroker.grid.list`. |
|
||||||
|
| BPYS-1944 | Добавлена функция `cloudbroker.grid.get`. |
|
||||||
|
| BPYS-1945 | Добавлена функция `cloudbroker.kvmx86.mass_create`. |
|
||||||
|
| BPYS-1950 | Добавлена функция `cloudbroker.trunk.destroy`. |
|
||||||
|
| BPYS-1952 | Добавлена функция `cloudbroker.trunk.get`. |
|
||||||
|
| BPYS-1958 | Добавлена функция `cloudbroker.trunk.update`. |
|
||||||
|
| BPYS-1965 | Добавлена функция `cloudbroker.disks.update`. |
|
||||||
|
| BPYS-1926 | Добавлена функция `cloudapi.vmfolder.list`. |
|
||||||
|
| BPYS-1959 | Функции `cloudapi.compute.affinity_rule_add`, `cloudbroker.compute.affinity_rule_add`: добавлены параметры `async_mode`, `migrate`. |
|
||||||
|
| BPYS-1951 | Функции `cloudapi.storage_policy.get`, `cloudbroker.storage_policy.get`: в модели результата добавлено поле `replication_profile_id`. |
|
||||||
|
| BPYS-1951 | Функции `cloudapi.storage_policy.list`, `cloudbroker.storage_policy.list`: в модели результата добавлено поле `data.replication_profile_id`. |
|
||||||
|
| BPYS-1955 | Функция `cloudbroker.storage_policy.delete_pool`: в модели результата добавлено поле `replication_profile_id`. |
|
||||||
|
| BPYS-1957 | Функция `cloudbroker.storage_policy.update`: в модель результата добавлено поле `replication_profile_id`. |
|
||||||
|
| BPYS-1960 | Функции `cloudapi.compute.anti_affinity_rule_add`, `cloudbroker.compute.anti_affinity_rule_add`: добавлены параметры `async_mode`, `migrate`. |
|
||||||
|
| BPYS-1922 | Добавлена функция `cloudapi.vmfolder.create`. |
|
||||||
|
| BPYS-1920 | Добавлена функция `cloudapi.vmfolder.add_acl_access`. |
|
||||||
|
| BPYS-1972 | Функция `cloudbroker.compute.list`: в модель результата добавлено поле `data.folder_id`. |
|
||||||
|
| BPYS-1921 | Добавлена функция `cloudapi.vmfolder.computes_move`. |
|
||||||
|
| BPYS-1956 | Добавлена функция `cloudbroker.trunk.list`. |
|
||||||
|
| BPYS-1954 | Функция `cloudbroker.storage_policy.add_pool`: в модель результата добавлено поле `replication_profile_id`. |
|
||||||
|
| BPYS-1928 | Добавлена функция `cloudapi.vmfolder.rename`. |
|
||||||
|
| BPYS-1927 | Добавлена функция `cloudapi.vmfolder.move`. |
|
||||||
|
| BPYS-1977 | Добавлена функция `cloudbroker.compute.abort_shared_snapshot_merge`. |
|
||||||
|
| BPYS-1925 | Добавлена функция `cloudapi.vmfolder.get`. |
|
||||||
|
| BPYS-1924 | Добавлена функция `cloudapi.vmfolder.delete`. |
|
||||||
|
| BPYS-1974 | Добавлена функция `cloudbroker.compute.update`. |
|
||||||
|
| BPYS-1973 | Функции `cloudapi.compute.get`, `cloudbroker.compute.get`: в модель результата добавлено поле `folder_id`. |
|
||||||
|
| BPYS-1976 | Добавлена функция `cloudbroker.compute.pfw_del`. |
|
||||||
|
| BPYS-1975 | Добавлена функция `cloudbroker.compute.pfw_add`. |
|
||||||
|
| BPYS-1963 | Добавлена функция `cloudapi.storage_policy.get_replication_profile`. |
|
||||||
|
| BPYS-1923 | Добавлена функция `cloudapi.vmfolder.del_acl_access`. |
|
||||||
|
| BPYS-1964 | Добавлена функция `cloudapi.storage_policy.list_replication_profile`. |
|
||||||
|
| BPYS-1949 | Добавлена функция `cloudbroker.trunk.create`. |
|
||||||
|
| BPYS-2011 | Функция `cloudapi.vgpu.list`: добавлен параметр `name`. |
|
||||||
|
| BPYS-2012 | Функция `cloudapi.vgpu.list`: в модели результата добавлено поле `data.name`. |
|
||||||
|
| BPYS-2015 | Функции `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.anti_affinity_rule_add`, `cloudbroker.compute.affinity_rule_add`, `cloudbroker.compute.anti_affinity_rule_add`: в модели результата добавлено поле `migrations.workflow_job_id`. |
|
||||||
|
| BPYS-2016 | Функции `cloudapi.audit.list`, `cloudbroker.audit.list`: в модель результата добавлено поле `data.disk_ids`. |
|
||||||
|
| BPYS-2016 | Функция `cloudapi.audit.get`: в модель результата добавлено поле `disk_ids`. |
|
||||||
|
| BPYS-2029 | Добавлена функция `cloudbroker.account.list_resource_consumption`. |
|
||||||
|
| BPYS-2014 | Функции `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.anti_affinity_rule_add`, `cloudbroker.compute.affinity_rule_add`, `cloudbroker.compute.anti_affinity_rule_add`: в перечисляемый тип `ComputeAffinityRuleMigrationStatus` добавлены атрибуты `SKIPPED`, `NOT_STARTED`, `NOT_COMPLETED`. |
|
||||||
|
| BPYS-2028 | Функции `cloudapi.compute.list`, `cloudapi.compute.list_deleted`: в модель результата добавлено поле `data.snapshot_sets.vm.folder_id`. |
|
||||||
|
| BPYS-2028 | Функция `cloudapi.compute.get`: в модель результата добавлено поле `snapshot_sets.vm.folder_id`. |
|
||||||
|
| BPYS-2028 | Функция `cloudapi.compute.snapshot_list`: в модель результата добавлено поле `data.vm.folder_id`. |
|
||||||
|
| BPYS-2028 | Функция `cloudbroker.compute.list`: в модель результата добавлено поле `data.snapshot_sets.vm.folder_id`. |
|
||||||
|
| BPYS-2028 | Функция `cloudbroker.compute.get`: в модель результата добавлено поле `snap_sets.vm.folder_id`. |
|
||||||
|
| BPYS-2038 | Добавлена функция `cloudbroker.rg.list_resource_consumption`. |
|
||||||
|
| BPYS-2041 | Добавлена функция `cloudbroker.node.list`. |
|
||||||
|
| BPYS-2044 | Добавлена функция `cloudbroker.resmon.get_by_computes`. |
|
||||||
|
| BPYS-2039 | Добавлена функция `cloudbroker.sep.list`. |
|
||||||
|
| BPYS-2040 | Добавлена функция `cloudbroker.sep.consumption`. |
|
||||||
|
| BPYS-2046 | Добавлена функция `cloudbroker.prometheus.computes`. |
|
||||||
|
| BPYS-2052 | Добавлена функция `cloudbroker.image.create_cdrom_image`. |
|
||||||
|
| BPYS-2053 | Добавлена функция `cloudbroker.compute.pfw_list`. |
|
||||||
|
| BPYS-1984 | Добавлена функция `cloudbroker.compute.add_acl_access`. |
|
||||||
|
| BPYS-2056 | Добавлена функция `cloudbroker.rg.del_acl_access`. |
|
||||||
|
| BPYS-2059 | Добавлена функция `cloudbroker.rg.get_acl_access`. |
|
||||||
|
| BPYS-2073 | Добавлена функция `cloudbroker.rg.get_resource_consumption`. |
|
||||||
|
| BPYS-2054 | Добавлена функция `cloudbroker.image.create_virtual`. |
|
||||||
|
| BPYS-2042 | Добавлена функция `cloudbroker.grid.list_resource_consumption`. |
|
||||||
|
| BPYS-2078 | Функция `cloudbroker.node.list`: в модель результата добавлено поле `data.shared_locks`. |
|
||||||
|
| BPYS-2067 | Функция `cloudapi.vgpu.list`: в модель результата добавлено поле `data.node_id`. |
|
||||||
|
| BPYS-2095 | Добавлена функция `cloudbroker.compute.affinity_relations`. |
|
||||||
|
| BPYS-2092 | Добавлена функция `cloudbroker.compute.attach_gpu`. |
|
||||||
|
| BPYS-2099 | Добавлена функция `cloudbroker.compute.cd_eject`. |
|
||||||
|
| BPYS-2091 | Добавлена функция `cloudbroker.compute.attach_pci_device`. |
|
||||||
|
| BPYS-2049 | Функции `cloudapi.audit.list`, `cloudbroker.audit.list`: в модель результата добавлено поле `data.vmfolder_id`. |
|
||||||
|
| BPYS-2049 | Функция `cloudapi.audit.get`: в модель результата добавлено поле `vmfolder_id`. |
|
||||||
|
| BPYS-2101 | Добавлена функция `cloudbroker.compute.cd_insert`. |
|
||||||
|
| BPYS-2097 | Добавлена функция `cloudbroker.compute.boot_order_set`. |
|
||||||
|
| BPYS-2096 | Добавлена функция `cloudbroker.compute.boot_order_get`. |
|
||||||
|
| BPYS-2055 | Добавлена функция `cloudbroker.rg.add_acl_access`. |
|
||||||
|
| BPYS-2058 | Добавлена функция `cloudbroker.rg.disable`. |
|
||||||
|
| BPYS-2060 | Добавлена функция `cloudbroker.rg.enable`. |
|
||||||
|
| BPYS-2070 | Функция `cloudbroker.extnet.enable`: добавлено поле `async_mode`. |
|
||||||
|
| BPYS-2104 | Добавлена функция `cloudbroker.compute.change_mtu`. |
|
||||||
|
| BPYS-2076 | Добавлена функция `cloudbroker.compute.affinity_rules_clear`. |
|
||||||
|
| BPYS-2102 | Добавлена функция `cloudbroker.compute.clone_abort`. |
|
||||||
|
| BPYS-2084 | Добавлена функция `cloudbroker.compute.anti_affinity_rules_clear`. |
|
||||||
|
| BPYS-2085 | Добавлена функция `cloudbroker.compute.anti_affinity_rule_remove`. |
|
||||||
|
| BPYS-2106 | Добавлена функция `cloudbroker.compute.change_qos_policies`. |
|
||||||
|
| BPYS-2103 | Добавлена функция `cloudbroker.compute.clone_status`. |
|
||||||
|
| BPYS-2112 | Добавлена функция `cloudbroker.compute.disk_migrate`. |
|
||||||
|
| BPYS-2113 | Добавлена функция `cloudbroker.compute.disk_switch_to_replication`. |
|
||||||
|
| BPYS-2108 | Добавлена функция `cloudbroker.compute.detach_gpu`. |
|
||||||
|
| BPYS-2121 | Добавлена функция `cloudbroker.compute.change_ip`. |
|
||||||
|
| BPYS-2109 | Добавлена функция `cloudbroker.compute.detach_pci_device`. |
|
||||||
|
| BPYS-2114 | Добавлена функция `cloudbroker.compute.get_acl_access`. |
|
||||||
|
| BPYS-2124 | Добавлена функция `cloudbroker.compute.change_mac`. |
|
||||||
|
| BPYS-2122 | Добавлена функция `cloudbroker.compute.guest_agent_disable`. |
|
||||||
|
| BPYS-2123 | Добавлена функция `cloudbroker.compute.guest_agent_enable`. |
|
||||||
|
| BPYS-2120 | Добавлена функция `cloudbroker.compute.get_cpu_alignment_profile`. |
|
||||||
|
| BPYS-2127 | Добавлена функция `cloudbroker.compute.guest_agent_feature_get`. |
|
||||||
|
| BPYS-2118 | Добавлена функция `cloudbroker.compute.get_custom_fields`. |
|
||||||
|
| BPYS-2128 | Добавлена функция `cloudbroker.compute.guest_agent_feature_update`. |
|
||||||
|
| BPYS-2126 | Добавлена функция `cloudbroker.compute.check_compute_placement`. |
|
||||||
|
| BPYS-2119 | Добавлена функция `cloudbroker.compute.get_console_url`. |
|
||||||
|
| BPYS-2131 | Добавлена функция `cloudbroker.compute.mass_delete`. |
|
||||||
|
| BPYS-2136 | Добавлена функция `cloudbroker.compute.migrate`. |
|
||||||
|
| BPYS-2137 | Добавлена функция `cloudbroker.compute.delete_cpu_alignment_profile`. |
|
||||||
|
| BPYS-2144 | Добавлена функция `cloudbroker.compute.migrate_storage`. |
|
||||||
|
| BPYS-2135 | Добавлена функция `cloudbroker.compute.migrate_abort`. |
|
||||||
|
| BPYS-2132 | Добавлена функция `cloudbroker.compute.mass_reboot`. |
|
||||||
|
| BPYS-2133 | Добавлена функция `cloudbroker.compute.mass_start`. |
|
||||||
|
| BPYS-2138 | Добавлена функция `cloudbroker.compute.migrate_v2`. |
|
||||||
|
| BPYS-2139 | Добавлена функция `cloudbroker.compute.migrate_v2_abort`. |
|
||||||
|
| BPYS-2140 | Добавлена функция `cloudbroker.compute.migrate_v2_cleanup`. |
|
||||||
|
| BPYS-2145 | Добавлена функция `cloudbroker.compute.migrate_storage_abort`. |
|
||||||
|
| BPYS-2134 | Добавлена функция `cloudbroker.compute.mass_stop`. |
|
||||||
|
| BPYS-2141 | Добавлена функция `cloudbroker.compute.migrate_v2_list`. |
|
||||||
|
| BPYS-2142 | Добавлена функция `cloudbroker.compute.migrate_v2_get`. |
|
||||||
|
| BPYS-2153 | Добавлена функция `cloudbroker.compute.migrate_storage_cleanup`. |
|
||||||
|
| BPYS-2146 | Добавлена функция `cloudbroker.compute.migrate_to_zone`. |
|
||||||
|
| BPYS-2147 | Добавлена функция `cloudbroker.compute.move_to_rg`. |
|
||||||
|
| BPYS-2143 | Добавлена функция `cloudbroker.compute.migrate_v2_resolve`. |
|
||||||
|
| BPYS-2154 | Добавлена функция `cloudbroker.compute.set_custom_fields`. |
|
||||||
|
| BPYS-2157 | Добавлена функция `cloudbroker.compute.migrate_storage_info`. |
|
||||||
|
| BPYS-2148 | Добавлена функция `cloudbroker.compute.net_qos`. |
|
||||||
|
| BPYS-2155 | Добавлена функция `cloudbroker.compute.set_net_config`. |
|
||||||
|
| BPYS-2156 | Добавлена функция `cloudbroker.compute.set_cpu_alignment_profile`. |
|
||||||
|
| BPYS-2149 | Добавлена функция `cloudbroker.compute.pin_to_node`. |
|
||||||
|
| BPYS-2159 | Добавлена функция `cloudbroker.compute.snapshot_create`. |
|
||||||
|
| BPYS-2150 | Добавлена функция `cloudbroker.compute.power_cycle`. |
|
||||||
|
| BPYS-2167 | Добавлена функция `cloudbroker.compute.tag_add`. |
|
||||||
|
| BPYS-2168 | Добавлена функция `cloudbroker.compute.tag_remove`. |
|
||||||
|
| BPYS-2169 | Добавлена функция `cloudbroker.compute.unpin_from_node`. |
|
||||||
|
| BPYS-2160 | Добавлена функция `cloudbroker.compute.snapshot_delete`. |
|
||||||
|
| BPYS-2151 | Добавлена функция `cloudbroker.compute.raise_down`. |
|
||||||
|
| BPYS-2172 | Добавлена функция `cloudbroker.compute.update_acl_access`. |
|
||||||
|
| BPYS-2161 | Добавлена функция `cloudbroker.compute.snapshot_evict_disk`. |
|
||||||
|
| BPYS-2152 | Добавлена функция `cloudbroker.compute.resume`. |
|
||||||
|
| BPYS-2170 | Добавлена функция `cloudbroker.trunk.access_grant`. |
|
||||||
|
| BPYS-2162 | Добавлена функция `cloudbroker.compute.snapshot_list`. |
|
||||||
|
| BPYS-2176 | Добавлена функция `cloudbroker.rg.list_deleted`. |
|
||||||
|
| BPYS-2171 | Добавлена функция `cloudbroker.trunk.access_revoke`. |
|
||||||
|
| BPYS-2173 | Добавлена функция `cloudbroker.rg.affinity_group_computes`. |
|
||||||
|
| BPYS-2174 | Добавлена функция `cloudbroker.rg.affinity_groups_get`. |
|
||||||
|
| BPYS-2163 | Добавлена функция `cloudbroker.compute.snapshot_rollback`. |
|
||||||
|
| BPYS-2110 | Добавлена функция `cloudbroker.compute.del_acl_access`. |
|
||||||
|
| BPYS-2175 | Добавлена функция `cloudbroker.rg.affinity_groups_list`. |
|
||||||
|
| BPYS-2105 | Добавлена функция `cloudbroker.compute.create_template`. |
|
||||||
|
| BPYS-2100 | Добавлена функция `cloudbroker.compute.change_link_state`. |
|
||||||
|
| BPYS-2107 | Добавлена функция `cloudbroker.compute.create_template_from_blank`. |
|
||||||
|
| BPYS-2111 | Добавлена функция `cloudbroker.compute.delete_custom_fields`. |
|
||||||
|
| BPYS-2198 | Добавлена функция `cloudbroker.rg.mass_delete`. |
|
||||||
|
| BPYS-2199 | Добавлена функция `cloudbroker.rg.mass_disable`. |
|
||||||
|
| BPYS-2201 | Добавлена функция `cloudbroker.rg.mass_enable`. |
|
||||||
|
| BPYS-2202 | Добавлена функция `cloudbroker.rg.update_acl_access`. |
|
||||||
|
| BPYS-2203 | Добавлена функция `cloudbroker.rg.update_compute_features`. |
|
||||||
|
| BPYS-2204 | Добавлена функция `cloudbroker.rg.update_resource_types`. |
|
||||||
|
| BPYS-2208 | Добавлена функция `cloudbroker.rg.usage`. |
|
||||||
|
| BPYS-2125 | Добавлена функция `cloudbroker.compute.guest_agent_execute`. |
|
||||||
|
| BPYS-2200 | Добавлена функция `cloudbroker.rg.restore`. |
|
||||||
|
| BPYS-2195 | Функции `cloudapi.compute.get`, `cloudbroker.compute.get`: в модель результата добавлено поле `vgpus.name`. |
|
||||||
|
| BPYS-2196 | Функции `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudapi.disks.list_unattached`, `cloudbroker.disks.list`, `cloudbroker.disks.list_deleted`, `cloudbroker.disks.list_unattached`: в модель результата добавлено поле `data.crt_tracking`. |
|
||||||
|
| BPYS-2196 | Функции `cloudapi.disks.get`, `cloudbroker.disks.get`: в модель результата добавлено поле `crt_tracking`. |
|
||||||
|
| BPYS-2158 | Добавлена функция `cloudbroker.compute.shared_snapshot_merge_status`. |
|
||||||
|
| BPYS-2164 | Добавлена функция `cloudbroker.compute.snapshot_usage`. |
|
||||||
|
| BPYS-2209 | Добавлена функция `cloudbroker.account.list_available_templates`. |
|
||||||
|
| BPYS-2216 | Добавлена функция `cloudbroker.image.create_multi_image`. |
|
||||||
|
| BPYS-2210 | Добавлена функция `cloudbroker.account.update_acl_access`. |
|
||||||
|
| BPYS-2177 | Добавлена функция `cloudbroker.rg.remove_def_net`. |
|
||||||
|
| BPYS-2178 | Добавлена функция `cloudbroker.rg.set_def_net`. |
|
||||||
|
| BPYS-2179 | Добавлена функция `cloudbroker.rg.set_cpu_allocation_ratio`. |
|
||||||
|
| BPYS-2222 | Добавлена функция `cloudbroker.image.delete`. |
|
||||||
|
| BPYS-2223 | Добавлена функция `cloudbroker.image.delete_cdrom_image`. |
|
||||||
|
| BPYS-2224 | Добавлена функция `cloudbroker.image.delete_images`. |
|
||||||
|
| BPYS-2225 | Добавлена функция `cloudbroker.image.disable`. |
|
||||||
|
| BPYS-2226 | Добавлена функция `cloudbroker.image.multi_image_add_links`. |
|
||||||
|
| BPYS-2180 | Добавлена функция `cloudbroker.rg.set_cpu_allocation_parameter`. |
|
||||||
|
| BPYS-2212 | Добавлена функция `cloudbroker.vgpu.create`. |
|
||||||
|
| BPYS-2213 | Добавлена функция `cloudbroker.vgpu.destroy`. |
|
||||||
|
| BPYS-2214 | Добавлена функция `cloudbroker.vgpu.edit`. |
|
||||||
|
| BPYS-2232 | Добавлена функция `cloudbroker.image.multi_image_del_links`. |
|
||||||
|
| BPYS-2233 | Добавлена функция `cloudbroker.image.multi_image_export`. |
|
||||||
|
| BPYS-2215 | Добавлена функция `cloudbroker.vgpu.list`. |
|
||||||
|
| BPYS-2227 | Добавлена функция `cloudbroker.extnet.access_add`. |
|
||||||
|
| BPYS-2228 | Добавлена функция `cloudbroker.extnet.access_remove`. |
|
||||||
|
| BPYS-2230 | Добавлена функция `cloudbroker.extnet.default_qos_update`. |
|
||||||
|
| BPYS-2229 | Добавлена функция `cloudbroker.extnet.add_reserved_ip`. |
|
||||||
|
| BPYS-2239 | Добавлена функция `cloudbroker.image.share`. |
|
||||||
|
| BPYS-2240 | Добавлена функция `cloudbroker.image.upload_image_file`. |
|
||||||
|
| BPYS-2241 | Добавлена функция `cloudbroker.extnet.ips_exclude`. |
|
||||||
|
| BPYS-2231 | Добавлена функция `cloudbroker.extnet.del_reserved_ip`. |
|
||||||
|
| BPYS-2187 | Функция `cloudapi.locations.list`: для поля `data.vm_folders_enabled` добавлено значение по умолчанию `false`. |
|
||||||
|
| BPYS-2206 | Добавлена функция `cloudbroker.account.del_acl_access`. |
|
||||||
|
| BPYS-2207 | Добавлена функция `cloudbroker.account.grant_access_templates`. |
|
||||||
|
| BPYS-2217 | Добавлена функция `cloudbroker.image.enable`. |
|
||||||
|
| BPYS-2243 | Добавлена функция `cloudbroker.extnet.ips_exclude_range`. |
|
||||||
|
| BPYS-2244 | Добавлена функция `cloudbroker.extnet.ips_include`. |
|
||||||
|
| BPYS-2218 | Добавлена функция `cloudbroker.image.grant_access`. |
|
||||||
|
| BPYS-2189 | Функции `cloudapi.compute.get`, `cloudbroker.compute.get`: в модель результата добавлено поле `disks.crt_tracking`. |
|
||||||
|
| BPYS-2219 | Добавлена функция `cloudbroker.image.link`. |
|
||||||
|
| BPYS-2245 | Добавлена функция `cloudbroker.extnet.ips_include_range`. |
|
||||||
|
| BPYS-2220 | Добавлена функция `cloudbroker.image.rename`. |
|
||||||
|
| BPYS-2221 | Добавлена функция `cloudbroker.image.revoke_access`. |
|
||||||
|
| BPYS-2234 | Добавлена функция `cloudbroker.extnet.device_deploy`. |
|
||||||
|
| BPYS-2246 | Добавлена функция `cloudbroker.extnet.migrate_to_zone`. |
|
||||||
|
| BPYS-2247 | Добавлена функция `cloudbroker.extnet.ntp_apply`. |
|
||||||
|
| BPYS-2248 | Добавлена функция `cloudbroker.extnet.raise_down`. |
|
||||||
|
| BPYS-2249 | Добавлена функция `cloudbroker.extnet.set_highly_available`. |
|
||||||
|
| BPYS-2251 | Добавлена функция `cloudbroker.extnet.set_default`. |
|
||||||
|
| BPYS-749 | Добавлена функция `cloudbroker.account.revoke_access_templates`. |
|
||||||
|
| BPYS-2236 | Добавлена функция `cloudbroker.extnet.get_reserved_ip`. |
|
||||||
|
| BPYS-2238 | Добавлена функция `cloudbroker.extnet.dns_apply`. |
|
||||||
|
| BPYS-2237 | Добавлена функция `cloudbroker.extnet.get_default`. |
|
||||||
|
| BPYS-2235 | Добавлена функция `cloudbroker.extnet.device_migrate`. |
|
||||||
|
| BPYS-2242 | Добавлена функция `cloudbroker.extnet.device_restart`. |
|
||||||
|
| BPYS-2129 | Добавлена функция `cloudbroker.compute.list_deleted`. |
|
||||||
|
| BPYS-2252 | Добавлена функция `cloudbroker.dpdknet.enable`. |
|
||||||
|
| BPYS-2254 | Добавлена функция `cloudbroker.extnet.static_route_access_grant`. |
|
||||||
|
| BPYS-2261 | Добавлена функция `cloudbroker.extnet.static_route_access_revoke`. |
|
||||||
|
| BPYS-2262 | Добавлена функция `cloudbroker.extnet.static_route_add`. |
|
||||||
|
| BPYS-2263 | Добавлена функция `cloudbroker.extnet.static_route_del`. |
|
||||||
|
| BPYS-2264 | Добавлена функция `cloudbroker.extnet.static_route_list`. |
|
||||||
|
| BPYS-2253 | Добавлена функция `cloudbroker.dpdknet.disable`. |
|
||||||
|
| BPYS-2258 | Добавлена функция `cloudbroker.vins.ext_net_disconnect`. |
|
||||||
|
| BPYS-2255 | Добавлена функция `cloudbroker.vins.default_qos_update`. |
|
||||||
|
| BPYS-2256 | Добавлена функция `cloudbroker.vins.dns_apply`. |
|
||||||
|
| BPYS-2270 | Добавлена функция `cloudbroker.vins.nat_rule_add`. |
|
||||||
|
| BPYS-2274 | Добавлена функция `cloudbroker.vins.nat_rule_del`. |
|
||||||
|
| BPYS-2277 | Добавлена функция `cloudbroker.vins.nat_rule_list`. |
|
||||||
|
| BPYS-2281 | Добавлена функция `cloudbroker.vins.net_qos`. |
|
||||||
|
| BPYS-2282 | Добавлена функция `cloudbroker.vins.raise_down`. |
|
||||||
|
| BPYS-2291 | Добавлена функция `cloudbroker.vins.search`. |
|
||||||
|
| BPYS-2283 | Добавлена функция `cloudbroker.vins.restore`. |
|
||||||
|
| BPYS-2257 | Добавлена функция `cloudbroker.vins.ext_net_connect`. |
|
||||||
|
| BPYS-2259 | Добавлена функция `cloudbroker.vins.ext_net_list`. |
|
||||||
|
| BPYS-2290 | Добавлена функция `cloudbroker.flipgroup.create`. |
|
||||||
|
| BPYS-2289 | Добавлена функция `cloudbroker.flipgroup.delete`. |
|
||||||
|
| BPYS-2205 | Добавлена функция `cloudbroker.account.add_acl_access`. |
|
||||||
|
| BPYS-2250 | Добавлена функция `cloudbroker.extnet.device_remove`. |
|
||||||
|
| BPYS-2260 | Добавлена функция `cloudbroker.vins.ip_list`. |
|
||||||
|
| BPYS-2265 | Добавлена функция `cloudbroker.vins.ip_reserve`. |
|
||||||
|
| BPYS-2266 | Добавлена функция `cloudbroker.vins.ip_release`. |
|
||||||
|
| BPYS-2268 | Добавлена функция `cloudbroker.vins.migrate_to_zone`. |
|
||||||
|
| BPYS-2292 | Добавлена функция `cloudbroker.vins.static_route_add`. |
|
||||||
|
| BPYS-2293 | Добавлена функция `cloudbroker.vins.static_route_del`. |
|
||||||
|
| BPYS-2294 | Добавлена функция `cloudbroker.vins.static_route_list`. |
|
||||||
|
| BPYS-2269 | Добавлена функция `cloudbroker.vins.mass_disable`. |
|
||||||
|
| BPYS-2271 | Добавлена функция `cloudbroker.vins.mass_enable`. |
|
||||||
|
| BPYS-2273 | Добавлена функция `cloudbroker.vins.mass_delete`. |
|
||||||
|
| BPYS-2287 | Добавлена функция `cloudbroker.flipgroup.get`. |
|
||||||
|
| BPYS-2286 | Добавлена функция `cloudbroker.flipgroup.list`. |
|
||||||
|
| BPYS-2288 | Добавлена функция `cloudbroker.flipgroup.edit`. |
|
||||||
|
| BPYS-2285 | Добавлена функция `cloudbroker.flipgroup.compute_add`. |
|
||||||
|
| BPYS-2284 | Добавлена функция `cloudbroker.flipgroup.compute_remove`. |
|
||||||
|
| BPYS-2303 | Добавлена функция `cloudbroker.vins.vnfdev_redeploy`. |
|
||||||
|
| BPYS-2304 | Добавлена функция `cloudbroker.vins.vnfdev_reset`. |
|
||||||
|
| BPYS-2305 | Добавлена функция `cloudbroker.vins.vnfdev_restart`. |
|
||||||
|
| BPYS-2306 | Добавлена функция `cloudbroker.vins.vnfdev_start`. |
|
||||||
|
| BPYS-2308 | Добавлена функция `cloudbroker.vins.vnfdev_stop`. |
|
||||||
|
| BPYS-2312 | Добавлена функция `cloudbroker.k8s.list`. |
|
||||||
|
| BPYS-2295 | Добавлена функция `cloudbroker.k8s.create`. |
|
||||||
|
| BPYS-2296 | Добавлена функция `cloudbroker.k8s.delete`. |
|
||||||
|
| BPYS-2299 | Добавлена функция `cloudbroker.k8s.disable`. |
|
||||||
|
| BPYS-2309 | Добавлена функция `cloudbroker.k8s.find_group_by_label`. |
|
||||||
|
| BPYS-2300 | Добавлена функция `cloudbroker.k8s.enable`. |
|
||||||
|
| BPYS-2297 | Добавлена функция `cloudbroker.k8s.delete_master_from_group`. |
|
||||||
|
| BPYS-2298 | Добавлена функция `cloudbroker.k8s.delete_worker_from_group`. |
|
||||||
|
| BPYS-2315 | Добавлена функция `cloudbroker.k8s.update_worker_nodes_meta_data`. |
|
||||||
|
| BPYS-2316 | Добавлена функция `cloudbroker.k8s.update`. |
|
||||||
|
| BPYS-2317 | Добавлена функция `cloudbroker.k8s.stop`. |
|
||||||
|
| BPYS-2325 | Добавлена функция `cloudbroker.k8s.get`. |
|
||||||
|
| BPYS-2329 | Добавлена функция `cloudbroker.k8s.get_config`. |
|
||||||
|
| BPYS-2318 | Добавлена функция `cloudbroker.k8s.start`. |
|
||||||
|
| BPYS-2319 | Добавлена функция `cloudbroker.k8s.restore`. |
|
||||||
|
| BPYS-2320 | Добавлена функция `cloudbroker.k8s.migrate_to_zone`. |
|
||||||
|
| BPYS-2301 | Добавлена функция `cloudbroker.k8ci.access_add`. |
|
||||||
|
| BPYS-2302 | Добавлена функция `cloudbroker.k8ci.access_remove`. |
|
||||||
|
| BPYS-2278 | Добавлена функция `cloudbroker.vins.list_deleted`. |
|
||||||
|
| BPYS-2332 | Добавлена функция `cloudbroker.k8s.worker_add`. |
|
||||||
|
| BPYS-2307 | Добавлена функция `cloudbroker.k8ci.create`. |
|
||||||
|
| BPYS-2310 | Добавлена функция `cloudbroker.k8ci.delete`. |
|
||||||
|
| BPYS-2311 | Добавлена функция `cloudbroker.k8ci.disable`. |
|
||||||
|
| BPYS-2313 | Добавлена функция `cloudbroker.k8ci.enable`. |
|
||||||
|
| BPYS-2321 | Добавлена функция `cloudbroker.k8ci.list`. |
|
||||||
|
| BPYS-2322 | Добавлена функция `cloudbroker.k8ci.list_deleted`. |
|
||||||
|
| BPYS-2331 | Добавлена функция `cloudbroker.k8s.get_node_annotations`. |
|
||||||
|
| BPYS-2342 | Добавлена функция `cloudbroker.k8s.get_node_labels`. |
|
||||||
|
| BPYS-2343 | Добавлена функция `cloudbroker.k8s.get_node_taints`. |
|
||||||
|
| BPYS-2344 | Добавлена функция `cloudbroker.k8s.get_worker_nodes_meta_data`. |
|
||||||
|
| BPYS-2323 | Добавлена функция `cloudbroker.k8ci.restore`. |
|
||||||
|
| BPYS-2335 | Добавлена функция `cloudbroker.k8s.workers_group_add`. |
|
||||||
|
| BPYS-2336 | Добавлена функция `cloudbroker.k8s.workers_group_delete`. |
|
||||||
|
| BPYS-2314 | Добавлена функция `cloudbroker.k8ci.get`. |
|
||||||
|
| BPYS-2324 | Добавлена функция `cloudbroker.lb.backend_create`. |
|
||||||
|
| BPYS-2330 | Добавлена функция `cloudbroker.lb.backend_delete`. |
|
||||||
|
| BPYS-2338 | Добавлена функция `cloudbroker.lb.backend_server_add`. |
|
||||||
|
| BPYS-2339 | Добавлена функция `cloudbroker.lb.backend_server_delete`. |
|
||||||
|
| BPYS-2345 | Добавлена функция `cloudbroker.lb.backend_server_update`. |
|
||||||
|
| BPYS-2347 | Добавлена функция `cloudbroker.lb.backend_update`. |
|
||||||
|
| BPYS-2033 | Функция `cloudbroker.compute.list`: добавлен параметр `include_descendants`. |
|
||||||
|
| BPYS-2007 | Функция `cloudapi.kvmx86.create`: добавлен параметр `pcidevices`. |
|
||||||
|
| BPYS-2025 | Функции `cloudapi.kvmx86.create`, `cloudbroker.kvmx86.create`: добавлен параметр `vgpus`. |
|
||||||
|
| BPYS-2030 | Функция `cloudapi.compute.list`: добавлен параметр `folder_id`. |
|
||||||
|
| BPYS-2031 | Функция `cloudbroker.compute.list`: добавлен параметр `folder_id`. |
|
||||||
|
| BPYS-2032 | Функция `cloudapi.compute.list`: добавлен параметр `include_descendants`. |
|
||||||
|
| BPYS-2009 | Функция `cloudbroker.kvmx86.create`: добавлен параметр `pcidevices`. |
|
||||||
|
| BPYS-2008 | Функции `cloudapi.kvmx86.create_blank`: добавлен параметр `pci_devices`. |
|
||||||
|
| BPYS-2359 | Функция `cloudapi.locations.list`: в модель результата добавлены поля `data.bvp_web` и `data.sdn_web`. |
|
||||||
|
| BPYS-2013 | Функция `cloudbroker.user.create`: добавлен параметр `serviceaccount`. |
|
||||||
|
| BPYS-2010 | Функция `cloudbroker.kvmx86.create_blank`: добавлен параметр `pcidevices`. |
|
||||||
|
| BPYS-2026 | Функции `cloudapi.kvmx86.create_blank`, `cloudbroker.kvmx86.create_blank`: добавлен параметр `vgpus`. |
|
||||||
|
| BPYS-2348 | Добавлена функция `cloudbroker.lb.config_reset`. |
|
||||||
|
| BPYS-2062 | Функция `cloudbroker.audit.list`: добавлены параметры `disk_id`, `vmfolder_id`. |
|
||||||
|
| BPYS-2061 | Функция `cloudapi.audit.list`: добавлены параметры `disk_id`, `vmfolder_id`. |
|
||||||
|
| BPYS-2349 | Добавлена функция `cloudbroker.lb.create`. |
|
||||||
|
| BPYS-2351 | Добавлена функция `cloudbroker.lb.delete`. |
|
||||||
|
| BPYS-2352 | Добавлена функция `cloudbroker.lb.disable`. |
|
||||||
|
| BPYS-2353 | Добавлена функция `cloudbroker.lb.enable`. |
|
||||||
|
| BPYS-2354 | Добавлена функция `cloudbroker.lb.frontend_bind_delete`. |
|
||||||
|
| BPYS-2362 | Добавлена функция `cloudbroker.lb.frontend_binding_update`. |
|
||||||
|
| BPYS-2363 | Добавлена функция `cloudbroker.lb.frontend_bind`. |
|
||||||
|
| BPYS-2188 | Функция `cloudapi.pcidevice.list`: добавлен параметр `node_id`. |
|
||||||
|
| BPYS-2071 | Функция `cloudbroker.user.list`: добавлен параметр `apiaccess_id`. |
|
||||||
|
| BPYS-2369 | Добавлена функция `cloudbroker.lb.frontend_create`. |
|
||||||
|
| BPYS-2370 | Добавлена функция `cloudbroker.lb.frontend_delete`. |
|
||||||
|
| BPYS-2276 | Добавлена функция `cloudapi.image.create_from_disk`. |
|
||||||
|
| BPYS-2190 | Функция `cloudapi.dpdknet.list`: добавлены параметры `account_access`, `rg_access`. |
|
||||||
|
| BPYS-2184 | Функции `cloudapi.disks.limit_io`, `cloudbroker.disks.limit_io`: добавлены параметры `read_bytes_sec_max_length`, `read_iops_sec_max_length`, `total_bytes_sec_max_length`, `total_iops_sec_max_length`, `write_bytes_sec_max_length`, `write_iops_sec_max_length`. |
|
||||||
|
| BPYS-2184 | Функция `cloudapi.disks.get`: в модель результата добавлены поля `io_tune.read_bytes_sec_max_length`, `io_tune.read_iops_sec_max_length`, `io_tune.total_bytes_sec_max_length`, `io_tune.total_iops_sec_max_length`, `io_tune.write_bytes_sec_max_length`, `io_tune.write_iops_sec_max_length`. |
|
||||||
|
| BPYS-2184 | Функция `cloudbroker.disks.get`: в модель результата добавлены поля `iotune.read_bytes_sec_max_length`, `iotune.read_iops_sec_max_length`, `iotune.total_bytes_sec_max_length`, `iotune.total_iops_sec_max_length`, `iotune.write_bytes_sec_max_length`, `iotune.write_iops_sec_max_length`. |
|
||||||
|
| BPYS-2184 | Функции `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudapi.disks.list_unattached`: в модель результата добавлены поля `data.io_tune.read_bytes_sec_max_length`, `data.io_tune.read_iops_sec_max_length`, `data.io_tune.total_bytes_sec_max_length`, `data.io_tune.total_iops_sec_max_length`, `data.io_tune.write_bytes_sec_max_length`, `data.io_tune.write_iops_sec_max_length`. |
|
||||||
|
| BPYS-2184 | Функции `cloudbroker.disks.list`, `cloudbroker.disks.list_deleted`, `cloudbroker.disks.list_unattached`: в модель результата добавлены поля `data.iotune.read_bytes_sec_max_length`, `data.iotune.read_iops_sec_max_length`, `data.iotune.total_bytes_sec_max_length`, `data.iotune.total_iops_sec_max_length`, `data.iotune.write_bytes_sec_max_length`, `data.iotune.write_iops_sec_max_length`. |
|
||||||
|
| BPYS-2184 | Функция `cloudapi.compute.get`: в модель результата добавлены поля `disks.io_tune.read_bytes_sec_max_length`, `disks.io_tune.read_iops_sec_max_length`, `disks.io_tune.total_bytes_sec_max_length`, `disks.io_tune.total_iops_sec_max_length`, `disks.io_tune.write_bytes_sec_max_length`, `disks.io_tune.write_iops_sec_max_length`. |
|
||||||
|
| BPYS-2184 | Функция `cloudbroker.compute.get`: в модель результата добавлены поля `disks.iotune.read_bytes_sec_max_length`, `disks.iotune.read_iops_sec_max_length`, `disks.iotune.total_bytes_sec_max_length`, `disks.iotune.total_iops_sec_max_length`, `disks.iotune.write_bytes_sec_max_length`, `disks.iotune.write_iops_sec_max_length`. |
|
||||||
|
| BPYS-2186 | Добавлена функция `cloudapi.disks.replication_disable_schedule`. |
|
||||||
|
| BPYS-2183 | Функции `cloudapi.disks.change_disk_storage_policy`, `cloudbroker.disks.change_disk_storage_policy`: добавлен параметр `keep_current_iotune`. |
|
||||||
|
| BPYS-2182 | Функции `cloudapi.compute.disk_switch_to_replication`, `cloudbroker.compute.disk_switch_to_replication`: добавлен параметр `planned`. |
|
||||||
|
| BPYS-2372 | Функции `cloudapi.disks.get`, `cloudapi.disks.list`, `cloudapi.disks.list_deleted`, `cloudbroker.disks.get`, `cloudbroker.disks.list`, `cloudbroker.disks.list_deleted`, `cloudapi.sep.list_available_sep_and_pools`: в перечисляемый тип `SEPType` добавлен атрибут `AERODISK`. |
|
||||||
|
| BPYS-2378 | Добавлена функция `cloudbroker.lb.stop`. |
|
||||||
|
| BPYS-2376 | Добавлена функция `cloudbroker.lb.restore`. |
|
||||||
|
| BPYS-2382 | Добавлена функция `cloudbroker.lb.migrate_to_zone`. |
|
||||||
|
| BPYS-2375 | Добавлена функция `cloudbroker.lb.restart`. |
|
||||||
|
| BPYS-2377 | Добавлена функция `cloudbroker.lb.start`. |
|
||||||
|
| BPYS-2379 | Добавлена функция `cloudbroker.lb.update`. |
|
||||||
|
| BPYS-2381 | Добавлена функция `cloudbroker.lb.make_highly_available`. |
|
||||||
|
| BPYS-2383 | Добавлена функция `cloudbroker.lb.list`. |
|
||||||
|
| BPYS-2374 | Добавлена функция `cloudbroker.lb.get`. |
|
||||||
|
| BPYS-2386 | Добавлена функция `cloudbroker.zone.add_cpu_alignment_profile`. |
|
||||||
|
| BPYS-2387 | Добавлена функция `cloudbroker.zone.add_node`. |
|
||||||
|
| BPYS-2402 | Добавлена функция `cloudbroker.zone.create`. |
|
||||||
|
| BPYS-2380 | Добавлена функция `cloudbroker.lb.update_sysctl_params`. |
|
||||||
|
| BPYS-2405 | Добавлена функция `cloudbroker.zone.delete_cpu_alignment_profile`. |
|
||||||
|
| BPYS-2194 | Добавлена функция `cloudapi.disks.replication_manual_sync`. |
|
||||||
|
| BPYS-2406 | Добавлена функция `cloudbroker.zone.delete`. |
|
||||||
|
| BPYS-2407 | Добавлена функция `cloudbroker.zone.del_node`. |
|
||||||
|
| BPYS-2365 | Функция `cloudbroker.grid.list`: в модель результата добавлены поля `data.bvp_web` и `data.sdn_web`. |
|
||||||
|
| BPYS-2368 | Функция `cloudapi.image.list`: в модель результата добавлено поле `data.links_to`. |
|
||||||
|
| BPYS-2391 | Функция `cloudbroker.compute.migrate_v2_get`: в модель результата добавлены поля `bandwidth_bytes_per_second`, `copy_parallelism`, `disk_plan_ready`, `execution_kind`, `offline_commit_started`, `requested_storage`, `source_disks`, `user`, `reserves_compute_resources`, `target_shadow_compute`. |
|
||||||
|
| BPYS-2393 | Функция `cloudbroker.compute.migrate_v2_get`: в модель результата добавлены поля `disks.copy_node_id`, `disks.copy_state`, `disks.writer_stopped`. |
|
||||||
|
| BPYS-2395 | Функция `cloudbroker.compute.migrate_v2_get`: в модель результата добавлены поля `progress.disks.items`, `progress.disks.percent_is_estimated`. |
|
||||||
|
| BPYS-2399 | Функция `cloudbroker.compute.migrate_v2_get`: в перечисляемый тип `Status` добавлен атрибут `QUEUED`. |
|
||||||
|
| BPYS-2392 | Функция `cloudbroker.compute.migrate_v2_list`: в модель результата добавлены поля `data.bandwidth_bytes_per_second`, `data.copy_parallelism`, `data.disk_plan_ready`, `data.execution_kind`, `data.offline_commit_started`, `data.requested_storage`, `data.source_disks`, `data.user`. |
|
||||||
|
| BPYS-2394 | Функция `cloudbroker.compute.migrate_v2_list`: в модель результата добавлены поля `data.disks.copy_node_id`, `data.disks.copy_state`, `data.disks.writer_stopped`. |
|
||||||
|
| BPYS-2396 | Функция `cloudbroker.compute.migrate_v2_list`: в модель результата добавлены поля `data.progress.disks.items`, `data.progress.disks.percent_is_estimated`. |
|
||||||
|
| BPYS-2400 | Функция `cloudbroker.compute.migrate_v2_list`: в перечисляемый тип `Status`, используемый для параметра `status` и поля результата `data.status`, добавлен атрибут `QUEUED`. |
|
||||||
|
| BPYS-2355 | Функции `cloudapi.image.list`, `cloudbroker.image.list`: добавлен параметр `account_id`. |
|
||||||
|
| BPYS-2356 | Функции `cloudapi.image.list`, `cloudbroker.image.list`: добавлен параметр `sep_type`. |
|
||||||
|
| BPYS-2361 | Добавлена функция `cloudbroker.compute.mass_pin_to_node`. |
|
||||||
|
| BPYS-2366 | Функция `cloudbroker.image.list`: в модели результата добавлены поля `data._ckey`, `data._meta` и `data.real_size`. |
|
||||||
|
| BPYS-2364 | Функция `cloudbroker.grid.get`: в модель результата добавлены поля `bvp_web` и `sdn_web`. |
|
||||||
|
| BPYS-2390 | Функция `cloudbroker.compute.migrate_v2_list`: добавлены параметры `account_id`, `rg_id`, `user`, `user_match`, `user_is_null`, `source_node_id_is_null`, `target_node_id_is_null`. |
|
||||||
|
| BPYS-2367 | Функции `cloudapi.image.get`, `cloudbroker.image.get`: в модель результата добавлено поле `real_size`. |
|
||||||
|
| BPYS-2403 | Функция `cloudapi.zone.get`: в модель результата добавлено поле `task_disk_timeout`. |
|
||||||
|
| BPYS-2404 | Функция `cloudapi.zone.list`: в модель результата добавлено поле `data.task_disk_timeout`. |
|
||||||
|
| BPYS-2416 | Функции `cloudbroker.account.delete_accounts`, `cloudbroker.account.disable_accounts`, `cloudbroker.account.enable_accounts`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-2415 | Функция `cloudbroker.account.create`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-2333 | Добавлена функция `cloudbroker.k8s.worker_reset`. |
|
||||||
|
| BPYS-2334 | Добавлена функция `cloudbroker.k8s.worker_restart`. |
|
||||||
|
| BPYS-2337 | Добавлена функция `cloudbroker.k8s.workers_group_get_by_name`. |
|
||||||
|
| BPYS-2425 | Добавлена функция `cloudbroker.zone.get`. |
|
||||||
|
| BPYS-2427 | Добавлена функция `cloudbroker.zone.list`. |
|
||||||
|
| BPYS-2426 | Добавлена функция `cloudbroker.zone.update`. |
|
||||||
|
| BPYS-2389 | Функция `cloudbroker.compute.migrate_v2`: добавлен параметр `copy_parallelism`. |
|
||||||
|
| BPYS-2388 | Функция `cloudbroker.compute.migrate_v2`: добавлен параметр `bandwidth_bytes_per_second`. |
|
||||||
|
| BPYS-2420 | Добавлена функция `cloudbroker.grid.add_custom_backup_path`. |
|
||||||
|
| BPYS-2417 | Функции `cloudapi.account.restore`, `cloudbroker.account.restore`, `cloudbroker.account.delete`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-2414 | Функции `cloudapi.account.add_user`, `cloudapi.account.add_acl_access`, `cloudapi.account.del_acl_access`, `cloudapi.account.delete_user`, `cloudapi.account.update`, `cloudapi.account.update_user`, `cloudapi.account.update_acl_access`, `cloudbroker.account.add_user`, `cloudbroker.account.add_zone`, `cloudbroker.account.add_acl_access`, `cloudbroker.account.add_storage_policy`, `cloudbroker.account.del_acl_access`, `cloudbroker.account.del_storage_policy`, `cloudbroker.account.delete_user`, `cloudbroker.account.grant_access_templates`, `cloudbroker.account.remove_zone`, `cloudbroker.account.revoke_access_templates`, `cloudbroker.account.set_cpu_allocation_parameter`, `cloudbroker.account.set_cpu_allocation_ratio`, `cloudbroker.account.update`, `cloudbroker.account.update_compute_features`, `cloudbroker.account.update_resource_types`, `cloudbroker.account.update_user`, `cloudbroker.account.update_acl_access`: добавлен параметр `async_mode`. |
|
||||||
|
| BPYS-2421 | Добавлена функция `cloudbroker.grid.change_settings`. |
|
||||||
|
|
||||||
## Удалено
|
## Удалено
|
||||||
| Идентификатор<br>задачи | Описание |
|
| Идентификатор<br>задачи | Описание |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|
| BPYS-1694 | Удалена функция `cloudapi.account.delete`. |
|
||||||
|
| BPYS-1695 | Удалена функция `cloudapi.account.disable`. |
|
||||||
|
| BPYS-1696 | Удалена функция `cloudapi.account.enable`. |
|
||||||
|
| BPYS-1702 | Функции `cloudapi.compute.get`, `cloudapi.vgpu.list`: из модели результата удалены поля `account_id`, `profile_id`, `reference_id`, `last_claimed_by`, `ram_size_mb`, `rg_id`, `pgpu_processor_type`. |
|
||||||
|
| BPYS-1733 | Функция `cloudapi.user.brief`: из модели результата удалено поле `accounts.enabled`. |
|
||||||
|
| BPYS-1734 | Функция `cloudapi.user.brief`: из модели результата удалено поле `rgs.enabled`. |
|
||||||
|
| BPYS-1726 | Функция `cloudapi.pcidevice.list`: из модели результата удалено поле `data.rg_id`. |
|
||||||
|
| BPYS-1728 | Функция `cloudapi.pcidevice.list`: удалён параметр `rg_id`. |
|
||||||
|
| BPYS-1764 | Удалена функция `cloudbroker.account.disable`. |
|
||||||
|
| BPYS-1765 | Удалена функция `cloudbroker.account.enable`. |
|
||||||
|
| BPYS-1787 | Функция `cloudapi.user.brief`: из модели результата удалено поле `accounts.destroyed`. |
|
||||||
|
| BPYS-1788 | Функция `cloudapi.user.brief`: из модели результата удалено поле `rgs.destroyed`. |
|
||||||
|
| BPYS-1769 | Функции `cloudapi.compute.get`, `cloudapi.compute.list`, `cloudapi.compute.list_deleted`, `cloudapi.compute.snapshot_list`, `cloudapi.vgpu.list`, `cloudbroker.compute.get`, `cloudbroker.compute.list`: из перечисляемого типа `VGPUStatus` удалены атрибуты `ALLOCATED`, `ALLOCATING`, `CLAIMED`, `CLAIMING`, `DEALLOCATED`, `DEALLOCATING`. |
|
||||||
|
| BPYS-1737 | Функция `cloudapi.vgpu.list`: удалены параметры `rg_id`, `pgpu_processor_type`. |
|
||||||
|
| BPYS-2014 | Функции `cloudapi.compute.affinity_rule_add`, `cloudapi.compute.anti_affinity_rule_add`, `cloudbroker.compute.affinity_rule_add`, `cloudbroker.compute.anti_affinity_rule_add`: из перечисляемого типа `ComputeAffinityRuleMigrationStatus` удалены атрибуты `ALREADY_SATISFIED`, `POSTPONED`, `FAILED`, `NOT_RUNNING`, `NO_AFFINITY_LABEL`. |
|
||||||
|
| BPYS-2395 | Функция `cloudbroker.compute.migrate_v2_get`: из модели результата удалены поля `progress.system_disk`, `progress.disks.scope`, `progress.disks.target_devs`, `progress.disks.completed_disks`, `progress.disks.current_disk`. |
|
||||||
|
| BPYS-2396 | Функция `cloudbroker.compute.migrate_v2_list`: из модели результата удалены поля `data.progress.system_disk`, `data.progress.disks.scope`, `data.progress.disks.target_devs`, `data.progress.disks.completed_disks`, `data.progress.disks.current_disk`. |
|
||||||
|
|
||||||
## Исправлено
|
## Исправлено
|
||||||
| Идентификатор<br>задачи | Описание |
|
| Идентификатор<br>задачи | Описание |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| BPYS-1544| Функции `cloudapi.rg.get`, `cloudapi.rg.list`: вызов функций завершался ошибкой валидации поля `cpu_allocation_ratio`. В модели результата тип поля `cpu_allocation_ratio` изменён с `int` на `int \| float`. |
|
| BPYS-1729 | Функции `cloudapi.tasks.get`, `cloudapi.tasks.list`: значения полей модели результата `update_time`, `update_datetime` ошибочно возвращались в полях `created_timestamp`, `created_datetime`. В модель результата добавлены поля `update_time`, `update_datetime`. |
|
||||||
|
| BPYS-2074 | Функции `cloudapi.vins.get`, `cloudbroker.vins.get`: вызов завершался ошибкой валидации поля `vnfs.nat.config.rules.local_port`, если API возвращал для него `null`. В модели результата тип поля `vnfs.nat.config.rules.local_port` изменён с `int` на `int \| None`. |
|
||||||
|
| BPYS-2075 | Функция `cloudapi.vins.nat_rule_list`: вызов функции завершался ошибкой валидации поля `data.local_port`, если API возвращал для него `null`. В модели результата тип поля `data.local_port` изменён с `int` на `int \| None`. |
|
||||||
@@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
| Версия платформы | Версия SDK |
|
| Версия платформы | Версия SDK |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|
| 4.8.0 | 2.1.x |
|
||||||
|
| 4.7.0 | 2.0.x |
|
||||||
| 4.6.0 | 1.5.x |
|
| 4.6.0 | 1.5.x |
|
||||||
| 4.5.0 | 1.4.x |
|
| 4.5.0 | 1.4.x |
|
||||||
| 4.4.0 | 1.3.x |
|
| 4.4.0 | 1.3.x |
|
||||||
@@ -48,8 +50,6 @@
|
|||||||
- версия Python: раздел `[project]`, ключ `requires-python`
|
- версия Python: раздел `[project]`, ключ `requires-python`
|
||||||
- библиотеки: раздел `[project]`, ключ `dependencies`
|
- библиотеки: раздел `[project]`, ключ `dependencies`
|
||||||
|
|
||||||
**Важно:** использование более поздних версий Python и/или библиотек допустимо, но работоспособность не гарантируется, так как зависит от обратной совместимости с указанными версиями.
|
|
||||||
|
|
||||||
## Установка
|
## Установка
|
||||||
|
|
||||||
Установка с помощью системы управления пакетами Python (pip), где `version` - тег с номером версии SDK (см. доступные теги в репозитории):
|
Установка с помощью системы управления пакетами Python (pip), где `version` - тег с номером версии SDK (см. доступные теги в репозитории):
|
||||||
@@ -228,7 +228,7 @@ Dynamix(
|
|||||||
|
|
||||||
### Функциональный интерфейс
|
### Функциональный интерфейс
|
||||||
|
|
||||||
Функциональный интерфейс предоставляет функции, соответствующие функциям API платформы.
|
Функциональный интерфейс предоставляет функциональные объекты, каждый из которых является реализацией соответствующей функции API платформы. Для упрощения изложения в данном руководстве вместо термина **функциональный объект** будет использоваться термин **функция**, если это позволяет контекст.
|
||||||
|
|
||||||
#### Вызов функции
|
#### Вызов функции
|
||||||
|
|
||||||
@@ -306,7 +306,7 @@ new_vm_id = dx.api.cloudapi.kvmx86.create(
|
|||||||
|
|
||||||
Тип данных, возвращаемый функцией API SDK зависит от типа данных, возвращаемого соответствующей функцией API платформы.
|
Тип данных, возвращаемый функцией API SDK зависит от типа данных, возвращаемого соответствующей функцией API платформы.
|
||||||
|
|
||||||
Если функция API платформы возвращает структуру данных в виде набора пар ключ/значение (с заранее известными ключами), то функция API SDK возвращает модель Pydantic, которая описывает эту структуру.
|
Если в результате функции API платформы присутствует структура данных в виде набора пар ключ/значение с заранее известными ключами, то в результате функции API SDK эта структура будет представлена в виде модели Pydantic. Остальные типы данных будут представлены соответствующими встроенными типами данных Python.
|
||||||
|
|
||||||
<details><summary>Модель</summary>
|
<details><summary>Модель</summary>
|
||||||
|
|
||||||
@@ -380,6 +380,23 @@ vm_disk1_id = dx.api.cloudapi.compute.get(vm_id=1).disks[0].id
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Обращение к дополнительным полям через model_extra</summary>
|
||||||
|
|
||||||
|
В моделях с заранее неизвестным набором полей используется настройка `model_config = ConfigDict(extra='allow')`. Дополнительные поля таких моделей доступны через словарь `model_extra`:
|
||||||
|
|
||||||
|
```python
|
||||||
|
from dynamix_sdk import Dynamix
|
||||||
|
|
||||||
|
|
||||||
|
dx = Dynamix(...)
|
||||||
|
|
||||||
|
custom_fields = dx.api.cloudbroker.compute.get_custom_fields(compute_id=1)
|
||||||
|
|
||||||
|
field_value = custom_fields.model_extra.get('field_name')
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
Некоторые поля моделей автоматически генерируются на основе полученных данных от API платформы.<br>
|
Некоторые поля моделей автоматически генерируются на основе полученных данных от API платформы.<br>
|
||||||
Например, при наличии в модели поля, содержащего временную метку (timestamp), для удобства генерируется поле, содержащее дату и время в виде `datetime`.
|
Например, при наличии в модели поля, содержащего временную метку (timestamp), для удобства генерируется поле, содержащее дату и время в виде `datetime`.
|
||||||
|
|
||||||
@@ -404,67 +421,22 @@ print(type(get_result.created_datetime)) # <class 'datetime.datetime'>
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
Если функция API платформы возвращает примитивный тип данных (строка, число), то функция API SDK возвращает экземпляр класса, наследуемый от класса этого типа данных.
|
<br>Все функциональные объекты, реализующие функции API платформы, обладают общими атрибутами:
|
||||||
|
|
||||||
<details><summary>Класс, наследуемый от примитивного типа данных</summary>
|
|
||||||
|
|
||||||
```python
|
|
||||||
from dynamix_sdk import Dynamix
|
|
||||||
|
|
||||||
|
|
||||||
dx = Dynamix(...)
|
|
||||||
|
|
||||||
# /cloudapi/kvmx86/create
|
|
||||||
new_vm_id = dx.api.cloudapi.kvmx86.create(...)
|
|
||||||
|
|
||||||
print(type(new_vm_id)) # <class '....CloudapiKvmx86CreateResultInt'>
|
|
||||||
|
|
||||||
print(isinstance(new_vm_id, int)) # True
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
Исключением является булев тип данных. Так как наследование от класса `bool` в Python недопустимо, функция API SDK возвращает экземпляр класса, который обладает функциональностью для использования в булевых выражениях (реализован метод `__bool__`), но само булево значение хранится в атрибуте `value`:
|
|
||||||
|
|
||||||
<details><summary>Класс с булевым значением</summary>
|
|
||||||
|
|
||||||
```python
|
|
||||||
from dynamix_sdk import Dynamix
|
|
||||||
|
|
||||||
|
|
||||||
dx = Dynamix(...)
|
|
||||||
|
|
||||||
# /cloudapi/compute/delete
|
|
||||||
delete_result = dx.api.cloudapi.compute.delete(vm_id=1)
|
|
||||||
|
|
||||||
print(type(delete_result)) # <class '....CloudapiComputeDeleteResultBool'>
|
|
||||||
print(type(delete_result.value)) # <class 'bool'>
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
Использование в булевом выражении:
|
|
||||||
|
|
||||||
```python
|
|
||||||
from dynamix_sdk import Dynamix
|
|
||||||
|
|
||||||
|
|
||||||
dx = Dynamix(...)
|
|
||||||
|
|
||||||
# /cloudapi/compute/delete
|
|
||||||
if dx.api.cloudapi.compute.delete(vm_id=1):
|
|
||||||
print('The VM has been deleted.')
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
Все объекты, возвращаемые функциями API SDK, обладают общими специальными атрибутами:
|
|
||||||
|
|
||||||
| Атрибут | Описание |
|
| Атрибут | Описание |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `_api_params` | Модель Pydantic, описывающая параметры, переданные в функцию. |
|
| `api_path` | API URL path. |
|
||||||
| `_http_response` | HTTP-ответ API платформы в виде экземпляра класса `requests.Response`. |
|
| `config` | Конфигурации SDK. |
|
||||||
|
| `func_name` | Название функции API SDK в формате <code>cloudapi.compute.get</code> |
|
||||||
|
| `http_method` | HTTP-метод. |
|
||||||
|
| `last_http_resp` | Экзепляр класса <code>requests.Response</code>, полученный при последнем вызове ФО. |
|
||||||
|
| `last_params_model` | Модель Pydantic, содержащая параметры, переданные в последний вызов ФО. |
|
||||||
|
| `name_mapping_dict` | Таблица соответствия названий параметров функций и полей возвращаемых данных. |
|
||||||
|
| `params_model_type` | Класс модели Pydantic для параметров вызова ФО. |
|
||||||
|
| `path_mapping_dict` | Таблица соответствия названий частей API URL path. |
|
||||||
|
| `post_json` | Используется ли JSON в POST-запросах. |
|
||||||
|
| `result_type` | Аннотация типа результата вызова ФО. |
|
||||||
|
| `signature` | Сигнатура вызова ФО. |
|
||||||
|
|
||||||
#### Соответствие названий
|
#### Соответствие названий
|
||||||
|
|
||||||
@@ -478,10 +450,11 @@ if dx.api.cloudapi.compute.delete(vm_id=1):
|
|||||||
- [api/name_mapping.yml](/src/dynamix_sdk/api/name_mapping.yml) - таблица соответствия названий параметров функций и полей возвращаемых данных.
|
- [api/name_mapping.yml](/src/dynamix_sdk/api/name_mapping.yml) - таблица соответствия названий параметров функций и полей возвращаемых данных.
|
||||||
<br>Данная таблица содержит все названия, в том числе и те, которые совпадают с названиями в API платформы.
|
<br>Данная таблица содержит все названия, в том числе и те, которые совпадают с названиями в API платформы.
|
||||||
<br>Кроме общих соответствий, данная таблица также содержит индивидуальные соответствия, которые применяются только к классу модели, указанному в формате `sdk_name__model_class_name`.
|
<br>Кроме общих соответствий, данная таблица также содержит индивидуальные соответствия, которые применяются только к классу модели, указанному в формате `sdk_name__model_class_name`.
|
||||||
|
<br>Если у поля модели или параметра функции задан алиас непосредственно с помощью `Field`, то таблица соответствия названий для него игнорируется.
|
||||||
|
|
||||||
### Типы данных SDK
|
### Типы данных SDK
|
||||||
|
|
||||||
Все типы данных (классы) SDK, которые могут пригодиться при разработке ПО с использованием SDK, доступны через модуль `dynamix_sdk.types`.
|
Все типы данных (классы) SDK, которые могут пригодиться при разработке ПО с использованием SDK, доступны через модуль `dynamix_sdk.types` и модуль используемой функции.
|
||||||
|
|
||||||
### Ошибки и исключения (exceptions)
|
### Ошибки и исключения (exceptions)
|
||||||
|
|
||||||
@@ -575,17 +548,17 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
<details><summary>account</summary>
|
<details><summary>account</summary>
|
||||||
|
|
||||||
|
- /cloudapi/account/add_acl_access
|
||||||
- /cloudapi/account/addUser
|
- /cloudapi/account/addUser
|
||||||
- /cloudapi/account/delete
|
- /cloudapi/account/del_acl_access
|
||||||
- /cloudapi/account/deleteUser
|
- /cloudapi/account/deleteUser
|
||||||
- /cloudapi/account/disable
|
|
||||||
- /cloudapi/account/enable
|
|
||||||
- /cloudapi/account/get
|
- /cloudapi/account/get
|
||||||
- /cloudapi/account/getResourceConsumption
|
- /cloudapi/account/getResourceConsumption
|
||||||
- /cloudapi/account/list
|
- /cloudapi/account/list
|
||||||
- /cloudapi/account/listDeleted
|
- /cloudapi/account/listDeleted
|
||||||
- /cloudapi/account/restore
|
- /cloudapi/account/restore
|
||||||
- /cloudapi/account/update
|
- /cloudapi/account/update
|
||||||
|
- /cloudapi/account/update_acl_access
|
||||||
- /cloudapi/account/updateUser
|
- /cloudapi/account/updateUser
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
@@ -631,6 +604,7 @@ class RequestException(Exception):
|
|||||||
<details><summary>compute</summary>
|
<details><summary>compute</summary>
|
||||||
|
|
||||||
- /cloudapi/compute/abort_shared_snapshot_merge
|
- /cloudapi/compute/abort_shared_snapshot_merge
|
||||||
|
- /cloudapi/compute/add_acl_access
|
||||||
- /cloudapi/compute/affinityLabelRemove
|
- /cloudapi/compute/affinityLabelRemove
|
||||||
- /cloudapi/compute/affinityLabelSet
|
- /cloudapi/compute/affinityLabelSet
|
||||||
- /cloudapi/compute/affinityRelations
|
- /cloudapi/compute/affinityRelations
|
||||||
@@ -652,8 +626,10 @@ class RequestException(Exception):
|
|||||||
- /cloudapi/compute/changeLinkState
|
- /cloudapi/compute/changeLinkState
|
||||||
- /cloudapi/compute/clone
|
- /cloudapi/compute/clone
|
||||||
- /cloudapi/compute/createTemplate
|
- /cloudapi/compute/createTemplate
|
||||||
|
- /cloudapi/compute/del_acl_access
|
||||||
- /cloudapi/compute/delete
|
- /cloudapi/compute/delete
|
||||||
- /cloudapi/compute/deleteCustomFields
|
- /cloudapi/compute/deleteCustomFields
|
||||||
|
- /cloudapi/compute/delete_cpu_alignment_profile
|
||||||
- /cloudapi/compute/detachGpu
|
- /cloudapi/compute/detachGpu
|
||||||
- /cloudapi/compute/detachPciDevice
|
- /cloudapi/compute/detachPciDevice
|
||||||
- /cloudapi/compute/disable
|
- /cloudapi/compute/disable
|
||||||
@@ -665,7 +641,9 @@ class RequestException(Exception):
|
|||||||
- /cloudapi/compute/diskSwitchToReplication
|
- /cloudapi/compute/diskSwitchToReplication
|
||||||
- /cloudapi/compute/enable
|
- /cloudapi/compute/enable
|
||||||
- /cloudapi/compute/get
|
- /cloudapi/compute/get
|
||||||
|
- /cloudapi/compute/get_acl_access
|
||||||
- /cloudapi/compute/getConsoleUrl
|
- /cloudapi/compute/getConsoleUrl
|
||||||
|
- /cloudapi/compute/get_cpu_alignment_profile
|
||||||
- /cloudapi/compute/guest_agent_disable
|
- /cloudapi/compute/guest_agent_disable
|
||||||
- /cloudapi/compute/guest_agent_enable
|
- /cloudapi/compute/guest_agent_enable
|
||||||
- /cloudapi/compute/guest_agent_execute
|
- /cloudapi/compute/guest_agent_execute
|
||||||
@@ -689,6 +667,7 @@ class RequestException(Exception):
|
|||||||
- /cloudapi/compute/restore
|
- /cloudapi/compute/restore
|
||||||
- /cloudapi/compute/resume
|
- /cloudapi/compute/resume
|
||||||
- /cloudapi/compute/setCustomFields
|
- /cloudapi/compute/setCustomFields
|
||||||
|
- /cloudapi/compute/set_cpu_alignment_profile
|
||||||
- /cloudapi/compute/snapshotCreate
|
- /cloudapi/compute/snapshotCreate
|
||||||
- /cloudapi/compute/snapshotList
|
- /cloudapi/compute/snapshotList
|
||||||
- /cloudapi/compute/snapshotRollback
|
- /cloudapi/compute/snapshotRollback
|
||||||
@@ -698,6 +677,7 @@ class RequestException(Exception):
|
|||||||
- /cloudapi/compute/tagRemove
|
- /cloudapi/compute/tagRemove
|
||||||
- /cloudapi/compute/unpin_from_node
|
- /cloudapi/compute/unpin_from_node
|
||||||
- /cloudapi/compute/update
|
- /cloudapi/compute/update
|
||||||
|
- /cloudapi/compute/update_acl_access
|
||||||
- /cloudapi/compute/userGrant
|
- /cloudapi/compute/userGrant
|
||||||
- /cloudapi/compute/userList
|
- /cloudapi/compute/userList
|
||||||
- /cloudapi/compute/userRevoke
|
- /cloudapi/compute/userRevoke
|
||||||
@@ -717,6 +697,8 @@ class RequestException(Exception):
|
|||||||
- /cloudapi/disks/listDeleted
|
- /cloudapi/disks/listDeleted
|
||||||
- /cloudapi/disks/listUnattached
|
- /cloudapi/disks/listUnattached
|
||||||
- /cloudapi/disks/rename
|
- /cloudapi/disks/rename
|
||||||
|
- /cloudapi/disks/replication_disable_schedule
|
||||||
|
- /cloudapi/disks/replication_manual_sync
|
||||||
- /cloudapi/disks/resize2
|
- /cloudapi/disks/resize2
|
||||||
- /cloudapi/disks/restore
|
- /cloudapi/disks/restore
|
||||||
- /cloudapi/disks/share
|
- /cloudapi/disks/share
|
||||||
@@ -757,6 +739,7 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
- /cloudapi/image/change_storage_policy
|
- /cloudapi/image/change_storage_policy
|
||||||
- /cloudapi/image/create
|
- /cloudapi/image/create
|
||||||
|
- /cloudapi/image/create_from_disk
|
||||||
- /cloudapi/image/createVirtual
|
- /cloudapi/image/createVirtual
|
||||||
- /cloudapi/image/delete
|
- /cloudapi/image/delete
|
||||||
- /cloudapi/image/get
|
- /cloudapi/image/get
|
||||||
@@ -849,6 +832,18 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>network_qos_policy</summary>
|
||||||
|
|
||||||
|
- /cloudapi/network_qos_policy/create
|
||||||
|
- /cloudapi/network_qos_policy/create_rule
|
||||||
|
- /cloudapi/network_qos_policy/delete
|
||||||
|
- /cloudapi/network_qos_policy/delete_rule
|
||||||
|
- /cloudapi/network_qos_policy/get
|
||||||
|
- /cloudapi/network_qos_policy/list
|
||||||
|
- /cloudapi/network_qos_policy/update
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>pcidevice</summary>
|
<details><summary>pcidevice</summary>
|
||||||
|
|
||||||
- /cloudapi/pcidevice/list
|
- /cloudapi/pcidevice/list
|
||||||
@@ -859,13 +854,16 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
- /cloudapi/rg/accessGrant
|
- /cloudapi/rg/accessGrant
|
||||||
- /cloudapi/rg/accessRevoke
|
- /cloudapi/rg/accessRevoke
|
||||||
|
- /cloudapi/rg/add_acl_access
|
||||||
- /cloudapi/rg/add_storage_policy
|
- /cloudapi/rg/add_storage_policy
|
||||||
- /cloudapi/rg/create
|
- /cloudapi/rg/create
|
||||||
|
- /cloudapi/rg/del_acl_access
|
||||||
- /cloudapi/rg/del_storage_policy
|
- /cloudapi/rg/del_storage_policy
|
||||||
- /cloudapi/rg/delete
|
- /cloudapi/rg/delete
|
||||||
- /cloudapi/rg/disable
|
- /cloudapi/rg/disable
|
||||||
- /cloudapi/rg/enable
|
- /cloudapi/rg/enable
|
||||||
- /cloudapi/rg/get
|
- /cloudapi/rg/get
|
||||||
|
- /cloudapi/rg/get_acl_access
|
||||||
- /cloudapi/rg/getResourceConsumption
|
- /cloudapi/rg/getResourceConsumption
|
||||||
- /cloudapi/rg/list
|
- /cloudapi/rg/list
|
||||||
- /cloudapi/rg/listDeleted
|
- /cloudapi/rg/listDeleted
|
||||||
@@ -873,6 +871,7 @@ class RequestException(Exception):
|
|||||||
- /cloudapi/rg/restore
|
- /cloudapi/rg/restore
|
||||||
- /cloudapi/rg/setDefNet
|
- /cloudapi/rg/setDefNet
|
||||||
- /cloudapi/rg/update
|
- /cloudapi/rg/update
|
||||||
|
- /cloudapi/rg/update_acl_access
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -897,7 +896,9 @@ class RequestException(Exception):
|
|||||||
<details><summary>storage_policy</summary>
|
<details><summary>storage_policy</summary>
|
||||||
|
|
||||||
- /cloudapi/storage_policy/get
|
- /cloudapi/storage_policy/get
|
||||||
|
- /cloudapi/storage_policy/get_replication_profile
|
||||||
- /cloudapi/storage_policy/list
|
- /cloudapi/storage_policy/list
|
||||||
|
- /cloudapi/storage_policy/list_replication_profile
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -938,6 +939,12 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>vmfolder</summary>
|
||||||
|
|
||||||
|
- /cloudapi/vmfolder/create
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>vins</summary>
|
<details><summary>vins</summary>
|
||||||
|
|
||||||
- /cloudapi/vins/createInAccount
|
- /cloudapi/vins/createInAccount
|
||||||
@@ -968,6 +975,19 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>vmfolder</summary>
|
||||||
|
|
||||||
|
- /cloudapi/vmfolder/list
|
||||||
|
- /cloudapi/vmfolder/add_acl_access
|
||||||
|
- /cloudapi/vmfolder/computes_move
|
||||||
|
- /cloudapi/vmfolder/del_acl_access
|
||||||
|
- /cloudapi/vmfolder/delete
|
||||||
|
- /cloudapi/vmfolder/get
|
||||||
|
- /cloudapi/vmfolder/move
|
||||||
|
- /cloudapi/vmfolder/rename
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>zone</summary>
|
<details><summary>zone</summary>
|
||||||
|
|
||||||
- /cloudapi/zone/get
|
- /cloudapi/zone/get
|
||||||
@@ -979,27 +999,32 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
<details><summary>account</summary>
|
<details><summary>account</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/account/add_acl_access
|
||||||
- /cloudbroker/account/add_storage_policy
|
- /cloudbroker/account/add_storage_policy
|
||||||
- /cloudbroker/account/addUser
|
- /cloudbroker/account/addUser
|
||||||
- /cloudbroker/account/addZone
|
- /cloudbroker/account/addZone
|
||||||
- /cloudbroker/account/create
|
- /cloudbroker/account/create
|
||||||
|
- /cloudbroker/account/del_acl_access
|
||||||
- /cloudbroker/account/del_storage_policy
|
- /cloudbroker/account/del_storage_policy
|
||||||
- /cloudbroker/account/delete
|
- /cloudbroker/account/delete
|
||||||
- /cloudbroker/account/deleteAccounts
|
- /cloudbroker/account/deleteAccounts
|
||||||
- /cloudbroker/account/deleteUser
|
- /cloudbroker/account/deleteUser
|
||||||
- /cloudbroker/account/disable
|
|
||||||
- /cloudbroker/account/disableAccounts
|
- /cloudbroker/account/disableAccounts
|
||||||
- /cloudbroker/account/enable
|
|
||||||
- /cloudbroker/account/enableAccounts
|
- /cloudbroker/account/enableAccounts
|
||||||
- /cloudbroker/account/get
|
- /cloudbroker/account/get
|
||||||
- /cloudbroker/account/getResourceConsumption
|
- /cloudbroker/account/getResourceConsumption
|
||||||
|
- /cloudbroker/account/grantAccessTemplates
|
||||||
- /cloudbroker/account/list
|
- /cloudbroker/account/list
|
||||||
|
- /cloudbroker/account/listAvailableTemplates
|
||||||
- /cloudbroker/account/listDeleted
|
- /cloudbroker/account/listDeleted
|
||||||
|
- /cloudbroker/account/listResourceConsumption
|
||||||
- /cloudbroker/account/removeZone
|
- /cloudbroker/account/removeZone
|
||||||
- /cloudbroker/account/restore
|
- /cloudbroker/account/restore
|
||||||
|
- /cloudbroker/account/revokeAccessTemplates
|
||||||
- /cloudbroker/account/setCpuAllocationParameter
|
- /cloudbroker/account/setCpuAllocationParameter
|
||||||
- /cloudbroker/account/setCpuAllocationRatio
|
- /cloudbroker/account/setCpuAllocationRatio
|
||||||
- /cloudbroker/account/update
|
- /cloudbroker/account/update
|
||||||
|
- /cloudbroker/account/update_acl_access
|
||||||
- /cloudbroker/account/updateComputeFeatures
|
- /cloudbroker/account/updateComputeFeatures
|
||||||
- /cloudbroker/account/updateResourceTypes
|
- /cloudbroker/account/updateResourceTypes
|
||||||
- /cloudbroker/account/updateUser
|
- /cloudbroker/account/updateUser
|
||||||
@@ -1012,30 +1037,338 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>bservice</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/bservice/create
|
||||||
|
- /cloudbroker/bservice/delete
|
||||||
|
- /cloudbroker/bservice/disable
|
||||||
|
- /cloudbroker/bservice/enable
|
||||||
|
- /cloudbroker/bservice/get
|
||||||
|
- /cloudbroker/bservice/groupAdd
|
||||||
|
- /cloudbroker/bservice/groupComputeRemove
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>compute</summary>
|
<details><summary>compute</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/compute/abort_shared_snapshot_merge
|
||||||
|
- /cloudbroker/compute/add_acl_access
|
||||||
|
- /cloudbroker/compute/affinityLabelRemove
|
||||||
|
- /cloudbroker/compute/affinityLabelSet
|
||||||
|
- /cloudbroker/compute/affinityRelations
|
||||||
|
- /cloudbroker/compute/affinityRuleAdd
|
||||||
|
- /cloudbroker/compute/affinityRuleRemove
|
||||||
|
- /cloudbroker/compute/affinityRulesClear
|
||||||
|
- /cloudbroker/compute/antiAffinityRuleAdd
|
||||||
|
- /cloudbroker/compute/antiAffinityRuleRemove
|
||||||
|
- /cloudbroker/compute/antiAffinityRulesClear
|
||||||
|
- /cloudbroker/compute/attachGpu
|
||||||
|
- /cloudbroker/compute/attachPciDevice
|
||||||
|
- /cloudbroker/compute/bootDiskSet
|
||||||
|
- /cloudbroker/compute/bootOrderGet
|
||||||
|
- /cloudbroker/compute/bootOrderSet
|
||||||
|
- /cloudbroker/compute/cdEject
|
||||||
|
- /cloudbroker/compute/cdInsert
|
||||||
|
- /cloudbroker/compute/changeIp
|
||||||
|
- /cloudbroker/compute/changeMac
|
||||||
|
- /cloudbroker/compute/change_mtu
|
||||||
|
- /cloudbroker/compute/change_qos_policies
|
||||||
- /cloudbroker/compute/change_read_only
|
- /cloudbroker/compute/change_read_only
|
||||||
- /cloudbroker/compute/change_security_groups
|
- /cloudbroker/compute/change_security_groups
|
||||||
|
- /cloudbroker/compute/changeLinkState
|
||||||
|
- /cloudbroker/compute/check_compute_placement
|
||||||
- /cloudbroker/compute/clone
|
- /cloudbroker/compute/clone
|
||||||
|
- /cloudbroker/compute/clone_abort
|
||||||
|
- /cloudbroker/compute/clone_status
|
||||||
|
- /cloudbroker/compute/createTemplate
|
||||||
|
- /cloudbroker/compute/createTemplateFromBlank
|
||||||
|
- /cloudbroker/compute/del_acl_access
|
||||||
|
- /cloudbroker/compute/delete
|
||||||
|
- /cloudbroker/compute/delete_cpu_alignment_profile
|
||||||
|
- /cloudbroker/compute/deleteCustomFields
|
||||||
|
- /cloudbroker/compute/detachGpu
|
||||||
|
- /cloudbroker/compute/detachPciDevice
|
||||||
|
- /cloudbroker/compute/disable
|
||||||
|
- /cloudbroker/compute/diskAdd
|
||||||
|
- /cloudbroker/compute/diskAttach
|
||||||
|
- /cloudbroker/compute/diskDel
|
||||||
|
- /cloudbroker/compute/diskDetach
|
||||||
|
- /cloudbroker/compute/diskMigrate
|
||||||
|
- /cloudbroker/compute/diskSwitchToReplication
|
||||||
|
- /cloudbroker/compute/enable
|
||||||
|
- /cloudbroker/compute/get
|
||||||
|
- /cloudbroker/compute/getCustomFields
|
||||||
|
- /cloudbroker/compute/get_acl_access
|
||||||
|
- /cloudbroker/compute/getConsoleUrl
|
||||||
|
- /cloudbroker/compute/get_cpu_alignment_profile
|
||||||
|
- /cloudbroker/compute/guest_agent_disable
|
||||||
|
- /cloudbroker/compute/guest_agent_enable
|
||||||
|
- /cloudbroker/compute/guest_agent_execute
|
||||||
|
- /cloudbroker/compute/guest_agent_feature_get
|
||||||
|
- /cloudbroker/compute/guest_agent_feature_update
|
||||||
|
- /cloudbroker/compute/list
|
||||||
|
- /cloudbroker/compute/listDeleted
|
||||||
|
- /cloudbroker/compute/massDelete
|
||||||
|
- /cloudbroker/compute/massReboot
|
||||||
|
- /cloudbroker/compute/massStart
|
||||||
|
- /cloudbroker/compute/massStop
|
||||||
|
- /cloudbroker/compute/mass_pin_to_node
|
||||||
|
- /cloudbroker/compute/migrate
|
||||||
|
- /cloudbroker/compute/migrateStorage
|
||||||
|
- /cloudbroker/compute/migrateStorageAbort
|
||||||
|
- /cloudbroker/compute/migrateStorageCleanup
|
||||||
|
- /cloudbroker/compute/migrateStorageInfo
|
||||||
|
- /cloudbroker/compute/migrate_abort
|
||||||
- /cloudbroker/compute/migrate_storage_list
|
- /cloudbroker/compute/migrate_storage_list
|
||||||
|
- /cloudbroker/compute/migrateToZone
|
||||||
|
- /cloudbroker/compute/migrate_v2
|
||||||
|
- /cloudbroker/compute/migrate_v2_abort
|
||||||
|
- /cloudbroker/compute/migrate_v2_cleanup
|
||||||
|
- /cloudbroker/compute/migrate_v2_get
|
||||||
|
- /cloudbroker/compute/migrate_v2_list
|
||||||
|
- /cloudbroker/compute/migrate_v2_resolve
|
||||||
|
- /cloudbroker/compute/moveToRg
|
||||||
|
- /cloudbroker/compute/netAttach
|
||||||
|
- /cloudbroker/compute/netDetach
|
||||||
|
- /cloudbroker/compute/netQos
|
||||||
|
- /cloudbroker/compute/pause
|
||||||
|
- /cloudbroker/compute/pfwAdd
|
||||||
|
- /cloudbroker/compute/pfwDel
|
||||||
|
- /cloudbroker/compute/pfwList
|
||||||
|
- /cloudbroker/compute/pin_to_node
|
||||||
|
- /cloudbroker/compute/powerCycle
|
||||||
|
- /cloudbroker/compute/raiseDown
|
||||||
|
- /cloudbroker/compute/reboot
|
||||||
|
- /cloudbroker/compute/redeploy
|
||||||
|
- /cloudbroker/compute/reset
|
||||||
|
- /cloudbroker/compute/resume
|
||||||
|
- /cloudbroker/compute/resize
|
||||||
|
- /cloudbroker/compute/restore
|
||||||
|
- /cloudbroker/compute/setCustomFields
|
||||||
|
- /cloudbroker/compute/setNetConfig
|
||||||
|
- /cloudbroker/compute/set_cpu_alignment_profile
|
||||||
|
- /cloudbroker/compute/shared_snapshot_merge_status
|
||||||
|
- /cloudbroker/compute/snapshotCreate
|
||||||
|
- /cloudbroker/compute/snapshotDelete
|
||||||
|
- /cloudbroker/compute/snapshotEvictDisk
|
||||||
|
- /cloudbroker/compute/snapshotList
|
||||||
|
- /cloudbroker/compute/snapshotRollback
|
||||||
|
- /cloudbroker/compute/snapshotUsage
|
||||||
|
- /cloudbroker/compute/start
|
||||||
- /cloudbroker/compute/start_migration_in
|
- /cloudbroker/compute/start_migration_in
|
||||||
- /cloudbroker/compute/start_migration_out
|
- /cloudbroker/compute/start_migration_out
|
||||||
|
- /cloudbroker/compute/stop
|
||||||
- /cloudbroker/compute/stop_migration_in
|
- /cloudbroker/compute/stop_migration_in
|
||||||
- /cloudbroker/compute/stop_migration_out
|
- /cloudbroker/compute/stop_migration_out
|
||||||
|
- /cloudbroker/compute/tagAdd
|
||||||
|
- /cloudbroker/compute/tagRemove
|
||||||
|
- /cloudbroker/compute/unpin_from_node
|
||||||
|
- /cloudbroker/compute/update_acl_access
|
||||||
|
- /cloudbroker/compute/update
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>disks</summary>
|
<details><summary>disks</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/disks/change_disk_storage_policy
|
||||||
|
- /cloudbroker/disks/create
|
||||||
|
- /cloudbroker/disks/delete
|
||||||
|
- /cloudbroker/disks/deleteDisks
|
||||||
|
- /cloudbroker/disks/depresent
|
||||||
|
- /cloudbroker/disks/fromPlatformDisk
|
||||||
|
- /cloudbroker/disks/get
|
||||||
|
- /cloudbroker/disks/limitIO
|
||||||
|
- /cloudbroker/disks/list
|
||||||
|
- /cloudbroker/disks/listDeleted
|
||||||
|
- /cloudbroker/disks/listUnattached
|
||||||
- /cloudbroker/disks/migrate
|
- /cloudbroker/disks/migrate
|
||||||
- /cloudbroker/disks/migrate_abort
|
- /cloudbroker/disks/migrate_abort
|
||||||
- /cloudbroker/disks/migrate_status
|
- /cloudbroker/disks/migrate_status
|
||||||
|
- /cloudbroker/disks/update
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>dpdknet</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/dpdknet/create
|
||||||
|
- /cloudbroker/dpdknet/delete
|
||||||
|
- /cloudbroker/dpdknet/disable
|
||||||
|
- /cloudbroker/dpdknet/enable
|
||||||
|
- /cloudbroker/dpdknet/get
|
||||||
|
- /cloudbroker/dpdknet/list
|
||||||
|
- /cloudbroker/dpdknet/update
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>extnet</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/extnet/accessAdd
|
||||||
|
- /cloudbroker/extnet/accessRemove
|
||||||
|
- /cloudbroker/extnet/addReservedIp
|
||||||
|
- /cloudbroker/extnet/create
|
||||||
|
- /cloudbroker/extnet/defaultQosUpdate
|
||||||
|
- /cloudbroker/extnet/delReservedIp
|
||||||
|
- /cloudbroker/extnet/destroy
|
||||||
|
- /cloudbroker/extnet/deviceDeploy
|
||||||
|
- /cloudbroker/extnet/deviceMigrate
|
||||||
|
- /cloudbroker/extnet/deviceRemove
|
||||||
|
- /cloudbroker/extnet/deviceRestart
|
||||||
|
- /cloudbroker/extnet/disable
|
||||||
|
- /cloudbroker/extnet/dnsApply
|
||||||
|
- /cloudbroker/extnet/enable
|
||||||
|
- /cloudbroker/extnet/get
|
||||||
|
- /cloudbroker/extnet/getDefault
|
||||||
|
- /cloudbroker/extnet/getReservedIp
|
||||||
|
- /cloudbroker/extnet/ipsExclude
|
||||||
|
- /cloudbroker/extnet/ipsExcludeRange
|
||||||
|
- /cloudbroker/extnet/ipsInclude
|
||||||
|
- /cloudbroker/extnet/ipsIncludeRange
|
||||||
|
- /cloudbroker/extnet/list
|
||||||
|
- /cloudbroker/extnet/migrateToZone
|
||||||
|
- /cloudbroker/extnet/ntpApply
|
||||||
|
- /cloudbroker/extnet/raiseDown
|
||||||
|
- /cloudbroker/extnet/set_highly_available
|
||||||
|
- /cloudbroker/extnet/setDefault
|
||||||
|
- /cloudbroker/extnet/staticRouteAccessGrant
|
||||||
|
- /cloudbroker/extnet/staticRouteAccessRevoke
|
||||||
|
- /cloudbroker/extnet/staticRouteAdd
|
||||||
|
- /cloudbroker/extnet/staticRouteDel
|
||||||
|
- /cloudbroker/extnet/staticRouteList
|
||||||
|
- /cloudbroker/extnet/update
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>flipgroup</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/flipgroup/computeAdd
|
||||||
|
- /cloudbroker/flipgroup/computeRemove
|
||||||
|
- /cloudbroker/flipgroup/create
|
||||||
|
- /cloudbroker/flipgroup/delete
|
||||||
|
- /cloudbroker/flipgroup/edit
|
||||||
|
- /cloudbroker/flipgroup/get
|
||||||
|
- /cloudbroker/flipgroup/list
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>grid</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/grid/addCustomBackupPath
|
||||||
|
- /cloudbroker/grid/changeSettings
|
||||||
|
- /cloudbroker/grid/get
|
||||||
|
- /cloudbroker/grid/list
|
||||||
|
- /cloudbroker/grid/listResourceConsumption
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>image</summary>
|
<details><summary>image</summary>
|
||||||
|
|
||||||
- /cloudbroker/image/change_storage_policy
|
- /cloudbroker/image/change_storage_policy
|
||||||
|
- /cloudbroker/image/createCDROMImage
|
||||||
|
- /cloudbroker/image/createImage
|
||||||
|
- /cloudbroker/image/createVirtual
|
||||||
|
- /cloudbroker/image/create_multi_image
|
||||||
|
- /cloudbroker/image/delete
|
||||||
|
- /cloudbroker/image/deleteCDROMImage
|
||||||
|
- /cloudbroker/image/deleteImages
|
||||||
|
- /cloudbroker/image/disable
|
||||||
|
- /cloudbroker/image/edit
|
||||||
|
- /cloudbroker/image/enable
|
||||||
|
- /cloudbroker/image/get
|
||||||
|
- /cloudbroker/image/grantAccess
|
||||||
|
- /cloudbroker/image/link
|
||||||
|
- /cloudbroker/image/list
|
||||||
|
- /cloudbroker/image/multi_image_add_links
|
||||||
|
- /cloudbroker/image/multi_image_del_links
|
||||||
|
- /cloudbroker/image/multi_image_export
|
||||||
|
- /cloudbroker/image/rename
|
||||||
|
- /cloudbroker/image/revokeAccess
|
||||||
|
- /cloudbroker/image/share
|
||||||
|
- /cloudbroker/image/uploadImageFile
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>k8ci</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/k8ci/accessAdd
|
||||||
|
- /cloudbroker/k8ci/accessRemove
|
||||||
|
- /cloudbroker/k8ci/create
|
||||||
|
- /cloudbroker/k8ci/delete
|
||||||
|
- /cloudbroker/k8ci/disable
|
||||||
|
- /cloudbroker/k8ci/enable
|
||||||
|
- /cloudbroker/k8ci/get
|
||||||
|
- /cloudbroker/k8ci/list
|
||||||
|
- /cloudbroker/k8ci/listDeleted
|
||||||
|
- /cloudbroker/k8ci/restore
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>k8s</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/k8s/create
|
||||||
|
- /cloudbroker/k8s/delete
|
||||||
|
- /cloudbroker/k8s/deleteMasterFromGroup
|
||||||
|
- /cloudbroker/k8s/deleteWorkerFromGroup
|
||||||
|
- /cloudbroker/k8s/disable
|
||||||
|
- /cloudbroker/k8s/enable
|
||||||
|
- /cloudbroker/k8s/findGroupByLabel
|
||||||
|
- /cloudbroker/k8s/get
|
||||||
|
- /cloudbroker/k8s/getConfig
|
||||||
|
- /cloudbroker/k8s/getNodeAnnotations
|
||||||
|
- /cloudbroker/k8s/getNodeLabels
|
||||||
|
- /cloudbroker/k8s/getNodeTaints
|
||||||
|
- /cloudbroker/k8s/getWorkerNodesMetaData
|
||||||
|
- /cloudbroker/k8s/list
|
||||||
|
- /cloudbroker/k8s/migrateToZone
|
||||||
|
- /cloudbroker/k8s/restore
|
||||||
|
- /cloudbroker/k8s/start
|
||||||
|
- /cloudbroker/k8s/stop
|
||||||
|
- /cloudbroker/k8s/update
|
||||||
|
- /cloudbroker/k8s/updateWorkerNodesMetaData
|
||||||
|
- /cloudbroker/k8s/workerAdd
|
||||||
|
- /cloudbroker/k8s/workerRestart
|
||||||
|
- /cloudbroker/k8s/workerReset
|
||||||
|
- /cloudbroker/k8s/workersGroupAdd
|
||||||
|
- /cloudbroker/k8s/workersGroupDelete
|
||||||
|
- /cloudbroker/k8s/workersGroupGetByName
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>kvmx86</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/kvmx86/create
|
||||||
|
- /cloudbroker/kvmx86/createBlank
|
||||||
|
- /cloudbroker/kvmx86/massCreate
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>lb</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/lb/backendCreate
|
||||||
|
- /cloudbroker/lb/backendDelete
|
||||||
|
- /cloudbroker/lb/backendServerAdd
|
||||||
|
- /cloudbroker/lb/backendServerDelete
|
||||||
|
- /cloudbroker/lb/backendServerUpdate
|
||||||
|
- /cloudbroker/lb/backendUpdate
|
||||||
|
- /cloudbroker/lb/configReset
|
||||||
|
- /cloudbroker/lb/create
|
||||||
|
- /cloudbroker/lb/delete
|
||||||
|
- /cloudbroker/lb/disable
|
||||||
|
- /cloudbroker/lb/enable
|
||||||
|
- /cloudbroker/lb/frontendBind
|
||||||
|
- /cloudbroker/lb/frontendBindDelete
|
||||||
|
- /cloudbroker/lb/frontendBindingUpdate
|
||||||
|
- /cloudbroker/lb/frontendCreate
|
||||||
|
- /cloudbroker/lb/frontendDelete
|
||||||
|
- /cloudbroker/lb/get
|
||||||
|
- /cloudbroker/lb/list
|
||||||
|
- /cloudbroker/lb/makeHighlyAvailable
|
||||||
|
- /cloudbroker/lb/migrateToZone
|
||||||
|
- /cloudbroker/lb/restart
|
||||||
|
- /cloudbroker/lb/restore
|
||||||
|
- /cloudbroker/lb/start
|
||||||
|
- /cloudbroker/lb/stop
|
||||||
|
- /cloudbroker/lb/update
|
||||||
|
- /cloudbroker/lb/updateSysctlParams
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -1043,14 +1376,55 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
- /cloudbroker/node/add_ssh_identity
|
- /cloudbroker/node/add_ssh_identity
|
||||||
- /cloudbroker/node/get_ssh_identity
|
- /cloudbroker/node/get_ssh_identity
|
||||||
|
- /cloudbroker/node/list
|
||||||
- /cloudbroker/node/update_description
|
- /cloudbroker/node/update_description
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>prometheus</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/prometheus/computes
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>resmon</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/resmon/getByComputes
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>rg</summary>
|
<details><summary>rg</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/rg/add_acl_access
|
||||||
- /cloudbroker/rg/add_storage_policy
|
- /cloudbroker/rg/add_storage_policy
|
||||||
|
- /cloudbroker/rg/affinityGroupComputes
|
||||||
|
- /cloudbroker/rg/affinityGroupsGet
|
||||||
|
- /cloudbroker/rg/affinityGroupsList
|
||||||
|
- /cloudbroker/rg/create
|
||||||
|
- /cloudbroker/rg/del_acl_access
|
||||||
- /cloudbroker/rg/del_storage_policy
|
- /cloudbroker/rg/del_storage_policy
|
||||||
|
- /cloudbroker/rg/delete
|
||||||
|
- /cloudbroker/rg/disable
|
||||||
|
- /cloudbroker/rg/enable
|
||||||
|
- /cloudbroker/rg/get
|
||||||
|
- /cloudbroker/rg/get_acl_access
|
||||||
|
- /cloudbroker/rg/getResourceConsumption
|
||||||
|
- /cloudbroker/rg/list
|
||||||
|
- /cloudbroker/rg/listDeleted
|
||||||
|
- /cloudbroker/rg/listResourceConsumption
|
||||||
|
- /cloudbroker/rg/massDelete
|
||||||
|
- /cloudbroker/rg/massDisable
|
||||||
|
- /cloudbroker/rg/massEnable
|
||||||
|
- /cloudbroker/rg/removeDefNet
|
||||||
|
- /cloudbroker/rg/restore
|
||||||
|
- /cloudbroker/rg/setCpuAllocationParameter
|
||||||
|
- /cloudbroker/rg/setCpuAllocationRatio
|
||||||
|
- /cloudbroker/rg/setDefNet
|
||||||
|
- /cloudbroker/rg/update
|
||||||
|
- /cloudbroker/rg/update_acl_access
|
||||||
|
- /cloudbroker/rg/updateComputeFeatures
|
||||||
|
- /cloudbroker/rg/updateResourceTypes
|
||||||
|
- /cloudbroker/rg/usage
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -1066,6 +1440,13 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>sep</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/sep/consumption
|
||||||
|
- /cloudbroker/sep/list
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>storage_policy</summary>
|
<details><summary>storage_policy</summary>
|
||||||
|
|
||||||
- /cloudbroker/storage_policy/add_pool
|
- /cloudbroker/storage_policy/add_pool
|
||||||
@@ -1080,6 +1461,20 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>trunk</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/trunk/access_grant
|
||||||
|
- /cloudbroker/trunk/access_revoke
|
||||||
|
- /cloudbroker/trunk/create
|
||||||
|
- /cloudbroker/trunk/destroy
|
||||||
|
- /cloudbroker/trunk/disable
|
||||||
|
- /cloudbroker/trunk/enable
|
||||||
|
- /cloudbroker/trunk/get
|
||||||
|
- /cloudbroker/trunk/list
|
||||||
|
- /cloudbroker/trunk/update
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>user</summary>
|
<details><summary>user</summary>
|
||||||
|
|
||||||
- /cloudbroker/user/block
|
- /cloudbroker/user/block
|
||||||
@@ -1090,8 +1485,52 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>vgpu</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/vgpu/create
|
||||||
|
- /cloudbroker/vgpu/destroy
|
||||||
|
- /cloudbroker/vgpu/edit
|
||||||
|
- /cloudbroker/vgpu/list
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details><summary>vins</summary>
|
<details><summary>vins</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/vins/createInAccount
|
||||||
|
- /cloudbroker/vins/createInRG
|
||||||
|
- /cloudbroker/vins/defaultQosUpdate
|
||||||
|
- /cloudbroker/vins/delete
|
||||||
|
- /cloudbroker/vins/disable
|
||||||
|
- /cloudbroker/vins/dnsApply
|
||||||
|
- /cloudbroker/vins/enable
|
||||||
|
- /cloudbroker/vins/extNetConnect
|
||||||
|
- /cloudbroker/vins/extNetDisconnect
|
||||||
|
- /cloudbroker/vins/extNetList
|
||||||
|
- /cloudbroker/vins/get
|
||||||
|
- /cloudbroker/vins/ipList
|
||||||
|
- /cloudbroker/vins/ipRelease
|
||||||
|
- /cloudbroker/vins/ipReserve
|
||||||
|
- /cloudbroker/vins/list
|
||||||
|
- /cloudbroker/vins/listDeleted
|
||||||
|
- /cloudbroker/vins/massDelete
|
||||||
|
- /cloudbroker/vins/massDisable
|
||||||
|
- /cloudbroker/vins/massEnable
|
||||||
|
- /cloudbroker/vins/migrateToZone
|
||||||
|
- /cloudbroker/vins/natRuleAdd
|
||||||
|
- /cloudbroker/vins/natRuleDel
|
||||||
|
- /cloudbroker/vins/natRuleList
|
||||||
|
- /cloudbroker/vins/netQos
|
||||||
|
- /cloudbroker/vins/raiseDown
|
||||||
|
- /cloudbroker/vins/restore
|
||||||
|
- /cloudbroker/vins/search
|
||||||
|
- /cloudbroker/vins/staticRouteAdd
|
||||||
|
- /cloudbroker/vins/staticRouteDel
|
||||||
|
- /cloudbroker/vins/staticRouteList
|
||||||
|
- /cloudbroker/vins/vnfdevRedeploy
|
||||||
|
- /cloudbroker/vins/vnfdevReset
|
||||||
|
- /cloudbroker/vins/vnfdevRestart
|
||||||
|
- /cloudbroker/vins/vnfdevStart
|
||||||
|
- /cloudbroker/vins/vnfdevStop
|
||||||
- /cloudbroker/vins/update
|
- /cloudbroker/vins/update
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
@@ -1102,6 +1541,20 @@ class RequestException(Exception):
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>zone</summary>
|
||||||
|
|
||||||
|
- /cloudbroker/zone/add_cpu_alignment_profile
|
||||||
|
- /cloudbroker/zone/addNode
|
||||||
|
- /cloudbroker/zone/create
|
||||||
|
- /cloudbroker/zone/delete
|
||||||
|
- /cloudbroker/zone/delete_cpu_alignment_profile
|
||||||
|
- /cloudbroker/zone/delNode
|
||||||
|
- /cloudbroker/zone/get
|
||||||
|
- /cloudbroker/zone/list
|
||||||
|
- /cloudbroker/zone/update
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
#### System
|
#### System
|
||||||
|
|
||||||
<details><summary>info</summary>
|
<details><summary>info</summary>
|
||||||
|
|||||||
+5
-5
@@ -5,16 +5,16 @@ authors = [
|
|||||||
{name = "Vladislav Nesterov"},
|
{name = "Vladislav Nesterov"},
|
||||||
{name = "Stanislav Karimov"},
|
{name = "Stanislav Karimov"},
|
||||||
]
|
]
|
||||||
version = "1.5.3"
|
version = "2.1.0"
|
||||||
|
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
requires-python = ">=3.12"
|
requires-python = "==3.12.*"
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"requests>=2.32.3",
|
"requests==2.32.3",
|
||||||
"pydantic==2.10.5",
|
"pydantic==2.13.5",
|
||||||
"pyyaml>=6.0.2",
|
"pyyaml==6.0.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[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()
|
||||||
@@ -220,6 +265,7 @@ class ImageType(str, _AutoNameEnum):
|
|||||||
UNKNOWN = 'unknown'
|
UNKNOWN = 'unknown'
|
||||||
VIRTUAL = 'virtual'
|
VIRTUAL = 'virtual'
|
||||||
WINDOWS = 'windows'
|
WINDOWS = 'windows'
|
||||||
|
MEMORY_DUMP = 'memorydump'
|
||||||
|
|
||||||
|
|
||||||
class NetIfaceNamingTemplate(str, _AutoNameEnum):
|
class NetIfaceNamingTemplate(str, _AutoNameEnum):
|
||||||
@@ -355,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):
|
||||||
@@ -394,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()
|
||||||
@@ -471,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()
|
||||||
@@ -526,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'
|
||||||
@@ -558,6 +641,33 @@ class StoragePolicyStatus(str, _AutoNameEnum):
|
|||||||
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()
|
||||||
@@ -577,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()
|
||||||
|
|
||||||
@@ -643,3 +747,38 @@ class DiskProvisionType(str, _AutoNameEnum):
|
|||||||
class DRSDXSSOType(str, _AutoNameEnum):
|
class DRSDXSSOType(str, _AutoNameEnum):
|
||||||
BVS = 'bvs'
|
BVS = 'bvs'
|
||||||
DECS3O = 'decs3o'
|
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'
|
||||||
@@ -11,6 +11,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 +26,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
|
||||||
|
|||||||
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
|
||||||
@@ -52,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
|
||||||
@@ -29,31 +29,30 @@ from .stop import *
|
|||||||
|
|
||||||
class CloudapiBserviceAPI(
|
class CloudapiBserviceAPI(
|
||||||
_base.BaseAPI,
|
_base.BaseAPI,
|
||||||
CloudapiBserviceCreateProtocol,
|
|
||||||
CloudapiBserviceDeleteProtocol,
|
|
||||||
CloudapiBserviceDisableProtocol,
|
|
||||||
CloudapiBserviceEnableProtocol,
|
|
||||||
CloudapiBserviceGetProtocol,
|
|
||||||
CloudapiBserviceGroupAddProtocol,
|
|
||||||
CloudapiBserviceGroupComputeRemoveProtocol,
|
|
||||||
CloudapiBserviceGroupGetProtocol,
|
|
||||||
CloudapiBserviceGroupParentAddProtocol,
|
|
||||||
CloudapiBserviceGroupParentRemoveProtocol,
|
|
||||||
CloudapiBserviceGroupRemoveProtocol,
|
|
||||||
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,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,11 +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 .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 *
|
||||||
@@ -34,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 *
|
||||||
@@ -57,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 *
|
||||||
@@ -67,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 *
|
||||||
@@ -75,77 +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,
|
|
||||||
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 CloudapiComputeAbortSharedSnapshotMergeResultStr(
|
class CloudapiComputeAbortSharedSnapshotMergeImpl(
|
||||||
_base.BaseAPIResultStr,
|
_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,
|
||||||
) -> CloudapiComputeAbortSharedSnapshotMergeResultStr:
|
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,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,12 +1,10 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
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,
|
||||||
@@ -19,5 +17,7 @@ class CloudapiComputeDiskAddProtocol(_base.BasePostAPIFunctionProtocol):
|
|||||||
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,17 +1,17 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
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,
|
||||||
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
|
||||||
@@ -34,6 +36,7 @@ class CloudapiComputeGetResultModel(_base.BaseAPIResultModel):
|
|||||||
pci_devices: dict[str, int]
|
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,7 @@ 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
|
weight: int
|
||||||
zone_id: int
|
zone_id: int
|
||||||
|
|
||||||
@@ -99,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
|
||||||
@@ -3,19 +3,22 @@ import dynamix_sdk.base as _base
|
|||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGuestAgentExecuteResultModel(
|
class CloudapiComputeGuestAgentExecuteResultModel(
|
||||||
_base.BaseAPIResultModel,
|
_base.ResultModel,
|
||||||
):
|
):
|
||||||
exec_result: dict
|
exec_result: dict
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGuestAgentExecuteProtocol(
|
class CloudapiComputeGuestAgentExecuteImpl(
|
||||||
_base.BasePostAPIFunctionProtocol
|
_base.APIFunctionImpl
|
||||||
):
|
):
|
||||||
def guest_agent_execute(
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
cmd: str,
|
cmd: str,
|
||||||
args: dict[str, _typing.Any],
|
args: dict[str, _typing.Any],
|
||||||
) -> CloudapiComputeGuestAgentExecuteResultModel:
|
async_mode: bool = False,
|
||||||
...
|
) -> CloudapiComputeGuestAgentExecuteResultModel | str:
|
||||||
|
raise NotImplementedError
|
||||||
@@ -1,18 +1,15 @@
|
|||||||
import dynamix_sdk.base as _base
|
import dynamix_sdk.base as _base
|
||||||
|
|
||||||
|
|
||||||
class CloudapiComputeGuestAgentFeatureUpdateResultBool(
|
class CloudapiComputeGuestAgentFeatureUpdateImpl(
|
||||||
_base.BaseAPIResultBool,
|
_base.APIFunctionImpl
|
||||||
):
|
):
|
||||||
pass
|
http_method = _base.HTTPMethod.POST
|
||||||
|
|
||||||
|
def __call__(
|
||||||
class CloudapiComputeGuestAgentFeatureUpdateProtocol(
|
|
||||||
_base.BasePostAPIFunctionProtocol
|
|
||||||
):
|
|
||||||
def guest_agent_feature_update(
|
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
vm_id: int,
|
vm_id: int,
|
||||||
) -> CloudapiComputeGuestAgentFeatureUpdateResultBool:
|
async_mode: bool = False,
|
||||||
...
|
) -> bool | str:
|
||||||
|
raise NotImplementedError
|
||||||
Loaded 100 of 826 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user