class BackupServiceClient(client.ClientWithOperations[
Constructor: BackupServiceClient(channel)
A set of methods for managing PostgreSQL Cluster backups.
This class provides the client methods for the .nebius.msp.postgresql.v1alpha1.BackupService 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 new on-demand backup. |
| Method | delete |
Deletes an on-demand backup. |
| Method | get |
Returns the specified PostgreSQL Cluster backup. To get the list of available PostgreSQL Cluster backups, make a [List] or [ListByCluster] request. |
| Method | list |
Retrieves the list of PostgreSQL Cluster backups by project. |
| Method | list |
Retrieves the list of PostgreSQL Cluster backups by cluster. |
| 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 |
CreateBackupRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ CreateBackupRequest, operation.Operation[ v1alpha1_1.Operation]]:
(source)
¶
Creates a new on-demand backup.
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.msp.postgresql.v1alpha1.CreateBackupRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.common.v1alpha1.Operation. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
DeleteBackupRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ DeleteBackupRequest, operation.Operation[ v1alpha1_1.Operation]]:
(source)
¶
Deletes an on-demand backup.
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.msp.postgresql.v1alpha1.DeleteBackupRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.common.v1alpha1.Operation. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
GetBackupRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ GetBackupRequest, Backup]:
(source)
¶
Returns the specified PostgreSQL Cluster backup. To get the list of available PostgreSQL Cluster backups, make a [List] or [ListByCluster] request.
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.msp.postgresql.v1alpha1.GetBackupRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.msp.postgresql.v1alpha1.Backup. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
ListBackupsRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ ListBackupsRequest, ListBackupsResponse]:
(source)
¶
Retrieves the list of PostgreSQL Cluster backups by 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.msp.postgresql.v1alpha1.ListBackupsRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.msp.postgresql.v1alpha1.ListBackupsResponse. | A nebius.aio.request.Request object representing the
in-flight RPC. It can be awaited (async) or waited
synchronously using its .wait() helpers. |
ListBackupsByClusterRequest, **kwargs: typing_extensions.Unpack[ request_kwargs.RequestKwargs]) -> request_1.Request[ ListBackupsByClusterRequest, ListBackupsResponse]:
(source)
¶
Retrieves the list of PostgreSQL Cluster backups by cluster.
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.msp.postgresql.v1alpha1.ListBackupsByClusterRequest | The request object to send. |
**kwargs:typing_extensions.Unpack[ | Undocumented |
| Returns | |
nebius.aio.request.Request of
nebius.api.nebius.msp.postgresql.v1alpha1.ListBackupsResponse. | 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 |
|