2.1.0
This commit is contained in:
1 parent
1ee16914bc
commit
6ffea46b8a
576 files changed
+12867
-562
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import dynamix_sdk.base as _base
|
||||
from .add_ssh_identity import *
|
||||
from .get_ssh_identity import *
|
||||
from .list import *
|
||||
from .update_description import *
|
||||
|
||||
|
||||
@@ -8,5 +9,6 @@ class CloudbrokerNodeAPI(
|
||||
_base.BaseAPI,
|
||||
):
|
||||
add_ssh_identity: CloudbrokerNodeAddSshIdentityImpl
|
||||
update_description: CloudbrokerNodeUpdateDescriptionImpl
|
||||
get_ssh_identity: CloudbrokerNodeGetSshIdentityImpl
|
||||
list: CloudbrokerNodeListImpl
|
||||
update_description: CloudbrokerNodeUpdateDescriptionImpl
|
||||
@@ -1,7 +1,7 @@
|
||||
import dynamix_sdk.base as _base
|
||||
|
||||
|
||||
class CloudbrokerNodeGetSshIdentityResultModel(_base.BaseModel):
|
||||
class CloudbrokerNodeGetSshIdentityResultModel(_base.ResultModel):
|
||||
hostname: str
|
||||
host_key: str
|
||||
public_keys: list[str]
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import dynamix_sdk.base as _base
|
||||
import dynamix_sdk.api._nested as _nested
|
||||
|
||||
|
||||
class CloudbrokerNodeListResultModel(_base.ResultModel):
|
||||
data: list[_nested.NodeForCBListAPIResultNM]
|
||||
entry_count: int
|
||||
|
||||
|
||||
class CloudbrokerNodeListImpl(_base.APIFunctionImpl):
|
||||
http_method = _base.HTTPMethod.POST
|
||||
|
||||
def __call__(
|
||||
self,
|
||||
*,
|
||||
by_id: int | None = None,
|
||||
name: str | None = None,
|
||||
page: int = 1,
|
||||
release: str | None = None,
|
||||
role: str | None = None,
|
||||
sep_id: int | None = None,
|
||||
size: int = 100,
|
||||
sort_by: str | None = None,
|
||||
status: str | None = None,
|
||||
version: str | None = None,
|
||||
zone_id: int | None = None,
|
||||
) -> CloudbrokerNodeListResultModel:
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user