import dynamix_sdk.base as _base
import dynamix_sdk.api._nested as _nested


class CloudapiRgUpdateResultBool(_base.BaseAPIResultBool):
    pass


class CloudapiRgUpdateProtocol(_base.BasePostAPIFunctionProtocol):
    def update(
        self,
        *,
        rg_id: int,
        clear_uniq_pools: bool = False,
        cpu_count_quota: None | int = None,
        description: None | str = None,
        ext_traffic_quota: None | int = None,
        name: None | str = None,
        ext_ip_count_quota: None | int = None,
        ram_size_quota_mb: None | int = None,
        storage_size_quota_gb: None | int = None,
        uniq_pools: None | list[str] = None,
        storage_policies: None | list[_nested.StoragePolicyQuotasAPIParamsNM] = None,  # noqa: E501
    ) -> CloudapiRgUpdateResultBool:
        ...
