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.
23 lines
533 B
23 lines
533 B
import dynamix_sdk.base as _base
|
|
import dynamix_sdk.api._nested as _nested
|
|
|
|
|
|
class CloudapiComputeNetAttachResultModel(
|
|
_base.BaseAPIResultModel,
|
|
_nested.InterfaceForComputeGetAPIResultNM,
|
|
):
|
|
pass
|
|
|
|
|
|
class CloudapiComputeNetAttachProtocol(_base.BasePostAPIFunctionProtocol):
|
|
def net_attach(
|
|
self,
|
|
*,
|
|
vm_id: int,
|
|
net_type: _nested.NetType,
|
|
net_id: int,
|
|
ip_addr: None | str = None,
|
|
mtu: None | int = None,
|
|
) -> CloudapiComputeNetAttachResultModel:
|
|
...
|