class documentation

class MaintenanceServiceClient(client.Client): (source)

Constructor: MaintenanceServiceClient(channel)

View In Hierarchy

A set of methods for managing maintenance operations.

This class provides the client methods for the .nebius.maintenance.v1alpha1.MaintenanceService 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 get Returns the specified maintenance operation. To get the list of upcoming and past maintenance operations, make a [List] request.
Method list Retrieves the list of maintenance operations that belong to the specified container.
Method update Updates the specified maintenance operation.
Constant __PB2_DESCRIPTOR__ The protobuf service descriptor extraction function.
Class Variable __service_name__ The full protobuf service name.

Inherited from Client:

Method __init__ Create a client bound to a channel.
Method request Construct a nebius.aio.request.Request for an RPC.
Class Variable __service_deprecation_details__ optional deprecation message emitted as a runtime warning when the client is constructed.
Instance Variable _channel Undocumented

Returns the specified maintenance operation. To get the list of upcoming and past maintenance operations, make a [List] 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.maintenance.v1alpha1.GetMaintenanceRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.maintenance.v1alpha1.Maintenance.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.

Retrieves the list of maintenance operations that belong to the specified container.

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.maintenance.v1alpha1.ListMaintenancesRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.maintenance.v1alpha1.ListMaintenancesResponse.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.

Updates the specified maintenance operation.

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.maintenance.v1alpha1.UpdateMaintenanceRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.maintenance.v1alpha1.UpdateMaintenanceResponse.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.
__PB2_DESCRIPTOR__ = (source)

The protobuf service descriptor extraction function.

Value
descriptor.DescriptorWrap[descriptor_1.ServiceDescriptor]('.nebius.maintenance.v
1alpha1.MaintenanceService',
                                                          maintenance_service_pb2.DESCRIPTOR
,
                                                          descriptor_1.ServiceDescriptor
)
__service_name__: str = (source)

The full protobuf service name.