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.
32 lines
869 B
32 lines
869 B
1 month ago
|
import dynamix_sdk.base as _base
|
||
|
import dynamix_sdk.api._nested as _nested
|
||
|
|
||
|
|
||
|
class CloudapiRgCreateResultBoolInt(_base.BaseAPIResultInt):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class CloudapiRgCreateProtocol(_base.BasePostAPIFunctionProtocol):
|
||
|
def create(
|
||
|
self,
|
||
|
*,
|
||
|
account_id: int,
|
||
|
grid_id: int,
|
||
|
name: str,
|
||
|
cpu_quota: int = -1,
|
||
|
default_net_type: _nested.RGDefaultNetType = (
|
||
|
_nested.RGDefaultNetType.PRIVATE
|
||
|
),
|
||
|
description: str | None = None,
|
||
|
ext_net_id: int = 0,
|
||
|
ext_net_ip: str | None = None,
|
||
|
ext_traffic_quota: int = -1,
|
||
|
ip_cidr: str | None = None,
|
||
|
owner: str | None = None,
|
||
|
public_ip_quota: int = -1,
|
||
|
ram_quota: int = -1,
|
||
|
register_computes: bool = False,
|
||
|
storage_quota: int = -1,
|
||
|
) -> CloudapiRgCreateResultBoolInt:
|
||
|
...
|