@nebius/js-sdk - v0.2.103
    Preparing search index...

    Interface NodeServiceBaseClient

    Defines the low-level gRPC client for the nebius.compute.v1.NodeService service.

    interface NodeServiceBaseClient {
        setUnhealthy(
            request: NodeSetUnhealthyRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (
                error: ServiceError | null,
                response: NodeSetUnhealthyResponse,
            ) => void,
        ): SurfaceCall;
    }

    Hierarchy

    • Client
      • NodeServiceBaseClient
    Index
    • SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect:

      1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, but in case of no capacity, the VM can be assigned to an unhealthy node.
      2. The existing VMs continue to work on the node, but after stop/start via Compute API they most probably will be assigned to a different node.

      The permission to use this RPC is granted to the technical service account inside the VM.

      Parameters

      • request: NodeSetUnhealthyRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: NodeSetUnhealthyResponse) => void
          • (error: ServiceError | null, response: NodeSetUnhealthyResponse): void
          • SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect:

            1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, but in case of no capacity, the VM can be assigned to an unhealthy node.
            2. The existing VMs continue to work on the node, but after stop/start via Compute API they most probably will be assigned to a different node.

            The permission to use this RPC is granted to the technical service account inside the VM.

            Parameters

            Returns void

      Returns SurfaceCall