2.1.4
This commit is contained in:
1 parent
00fa013feb
commit
c198850849
64 files changed
+2015
-64
No files matched your search
@@ -0,0 +1,47 @@
|
||||
from pydantic import Field
|
||||
|
||||
import dynamix_sdk.base as _base
|
||||
|
||||
|
||||
class VfsInfoItem(_base.ResultModel):
|
||||
claimed: bool
|
||||
guid: str
|
||||
id: int
|
||||
vm_id: int = Field(validation_alias='vmId')
|
||||
|
||||
|
||||
class VfListItem(_base.ResultModel):
|
||||
guid: str
|
||||
nic_name: str = Field(validation_alias='nicName')
|
||||
vfs_info: list[VfsInfoItem] = Field(validation_alias='vfsInfo')
|
||||
|
||||
|
||||
class VfsItem(_base.ResultModel):
|
||||
guid: str
|
||||
node_id: int = Field(validation_alias='nodeId')
|
||||
vf_list: list[VfListItem] = Field(validation_alias='vfList')
|
||||
|
||||
|
||||
class CloudbrokerVfpoolGetResult(_base.ResultModel):
|
||||
account_access: list[int] = Field(validation_alias='accountAccess')
|
||||
created_time: int = Field(validation_alias='createdTime')
|
||||
description: str = Field(validation_alias='description')
|
||||
gid: int
|
||||
guid: int
|
||||
id: int
|
||||
name: str
|
||||
rg_access: list[int] = Field(validation_alias='rgAccess')
|
||||
status: str
|
||||
updated_time: int = Field(validation_alias='updatedTime')
|
||||
vfs: list[VfsItem] = Field(validation_alias='vfs')
|
||||
|
||||
|
||||
class CloudbrokerVfpoolGetImpl(_base.APIFunctionImpl):
|
||||
http_method = _base.HTTPMethod.POST
|
||||
|
||||
def __call__(
|
||||
self,
|
||||
*,
|
||||
id: int,
|
||||
) -> CloudbrokerVfpoolGetResult:
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user