You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
329 B
16 lines
329 B
|
3 weeks ago
|
import dynamix_sdk.base as _base
|
||
|
|
|
||
|
|
|
||
|
|
class CloudapiComputeAttachGpuResultInt(_base.BaseAPIResultInt):
|
||
|
|
pass
|
||
|
|
|
||
|
|
|
||
|
|
class CloudapiComputeAttachGpuProtocol(_base.BasePostAPIFunctionProtocol):
|
||
|
|
def attach_gpu(
|
||
|
|
self,
|
||
|
|
*,
|
||
|
|
vm_id: int,
|
||
|
|
vgpu_id: int,
|
||
|
|
) -> CloudapiComputeAttachGpuResultInt:
|
||
|
|
...
|