class QuotaAllowanceServiceClient(client.ClientWithOperations[
Constructor: QuotaAllowanceServiceClient(channel)
Manages quota allowances for tenants and projects, including listing, retrieval, and lifecycle operations.
This class provides the client methods for the .nebius.quotas.v1.QuotaAllowanceService service.
Each method constructs a nebius.aio.request.Request object
that represents the in-flight RPC. The request can be awaited (async)
or waited synchronously using its .wait() helpers.
The request methods accept various parameters to configure metadata, timeouts, authorization, and retries. See individual method docstrings for details.
| Method | create |
Creates a quota allowance for a Project. If the quota already exists, its value is replaced with the provided one. |
| Method | delete |
Deletes a quota by its ID. This is used to reset the quota value. It does not remove the quota entry. |
| Method | get |
Gets a quota allowance by its ID. |
| Method | get |
Gets a quota allowance for a Tenant or Project by container ID, region, and name. |
| Method | list |
Lists quota allowances for the specified Tenant or Project. |
| Method | update |
Updates a quota allowance by its ID. |
| Constant | __PB2 |
The protobuf service descriptor extraction function. |
| Class Variable | __operation |
The method name that can be used to fetch the address channel for the operation. |
| Class Variable | __service |
The full protobuf service name. |
Inherited from ClientWithOperations:
| Method | __init__ |
Initialize the client-with-operations. |
| Method | operation |
Return a cached operation-service client instance. |
| Class Variable | __operation |
the client class used to manage operations. |
| Class Variable | __operation |
the protobuf message class used to represent long-running operations. |
| Instance Variable | __operation |
cached instance of the operation-service client. |
Inherited from Client (via ClientWithOperations):
| Method | request |
Construct a nebius.aio.request.Request for an RPC. |
| Class Variable | __service |
optional deprecation message emitted as a runtime warning when the client is constructed. |
| Instance Variable | _channel |
Undocumented |
CreateQuotaAllowanceRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ CreateQuotaAllowanceRequest, operation.Operation[ v1_1.Operation]]:
(source)
¶
Creates a quota allowance for a Project. If the quota already exists, its value is replaced with the provided one.
Other parameters can be provided as keyword arguments in the
**kwargs dictionary, including metadata, timeouts, and retries.
See nebius.aio.request_kwargs.RequestKwargs for details.
| Parameters | |
request:nebius.api.nebius.quotas.v1.CreateQuotaAllowanceRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.common.v1.Operation. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
DeleteQuotaAllowanceRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ DeleteQuotaAllowanceRequest, operation.Operation[ v1_1.Operation]]:
(source)
¶
Deletes a quota by its ID. This is used to reset the quota value. It does not remove the quota entry.
Other parameters can be provided as keyword arguments in the
**kwargs dictionary, including metadata, timeouts, and retries.
See nebius.aio.request_kwargs.RequestKwargs for details.
| Parameters | |
request:nebius.api.nebius.quotas.v1.DeleteQuotaAllowanceRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.common.v1.Operation. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
GetQuotaAllowanceRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ GetQuotaAllowanceRequest, QuotaAllowance]:
(source)
¶
Gets a quota allowance by its ID.
Other parameters can be provided as keyword arguments in the
**kwargs dictionary, including metadata, timeouts, and retries.
See nebius.aio.request_kwargs.RequestKwargs for details.
| Parameters | |
request:nebius.api.nebius.quotas.v1.GetQuotaAllowanceRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.quotas.v1.QuotaAllowance. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
GetByNameRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ GetByNameRequest, QuotaAllowance]:
(source)
¶
Gets a quota allowance for a Tenant or Project by container ID, region, and name.
Other parameters can be provided as keyword arguments in the
**kwargs dictionary, including metadata, timeouts, and retries.
See nebius.aio.request_kwargs.RequestKwargs for details.
| Parameters | |
request:nebius.api.nebius.quotas.v1.GetByNameRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.quotas.v1.QuotaAllowance. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
ListQuotaAllowancesRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ ListQuotaAllowancesRequest, ListQuotaAllowancesResponse]:
(source)
¶
Lists quota allowances for the specified Tenant or Project.
Other parameters can be provided as keyword arguments in the
**kwargs dictionary, including metadata, timeouts, and retries.
See nebius.aio.request_kwargs.RequestKwargs for details.
| Parameters | |
request:nebius.api.nebius.quotas.v1.ListQuotaAllowancesRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.quotas.v1.ListQuotaAllowancesResponse. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
UpdateQuotaAllowanceRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ UpdateQuotaAllowanceRequest, operation.Operation[ v1_1.Operation]]:
(source)
¶
Updates a quota allowance by its ID.
Other parameters can be provided as keyword arguments in the
**kwargs dictionary, including metadata, timeouts, and retries.
See nebius.aio.request_kwargs.RequestKwargs for details.
| Parameters | |
request:nebius.api.nebius.quotas.v1.UpdateQuotaAllowanceRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.common.v1.Operation. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
The protobuf service descriptor extraction function.
| Value |
|