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.

28 lines
692 B

import dynamix_sdk.base as _base
import dynamix_sdk.api._nested as _nested
class CloudapiFlipgroupCreateResultModel(_base.BaseAPIResultModel):
default_gw: str
id: int
ip_addr: str
name: str
net_mask: int
class CloudapiFlipgroupCreateProtocol(_base.BasePostAPIFunctionProtocol):
def create(
self,
*,
account_id: int,
name: str,
net_id: int,
net_type: _nested.FlipGroupNetType,
client_type: _nested.FlipGroupClientType = (
_nested.FlipGroupClientType.VM
),
description: str | None = None,
ip_addr: str | None = None,
) -> CloudapiFlipgroupCreateResultModel:
...