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.

31 lines
903 B

4 months ago
import dynamix_sdk.base as _base
import dynamix_sdk.api._nested as _nested
2 months ago
class CloudapiRgCreateResultInt(_base.BaseAPIResultInt):
4 months ago
pass
class CloudapiRgCreateProtocol(_base.BasePostAPIFunctionProtocol):
def create(
self,
*,
account_id: int,
grid_id: int,
name: str,
2 months ago
cpu_count_quota: int | None = None,
4 months ago
default_net_type: _nested.RGDefaultNetType = (
_nested.RGDefaultNetType.PRIVATE
),
description: str | None = None,
2 months ago
ext_net_id: int | None = None,
4 months ago
ext_net_ip: str | None = None,
2 months ago
ext_traffic_quota: int | None = None,
4 months ago
ip_cidr: str | None = None,
owner: str | None = None,
2 months ago
public_ip_count_quota: int | None = None,
ram_size_quota_mb: int | None = None,
storage_size_quota_gb: int | None = None,
) -> CloudapiRgCreateResultInt:
4 months ago
...