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

    Interface StreamServiceBaseClient

    Defines the low-level gRPC client for the nebius.logging.v1.StreamService service.

    interface StreamServiceBaseClient {
        create(
            request: CreateStreamRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
        delete(
            request: DeleteStreamRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
        get(
            request: GetStreamRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Stream) => void,
        ): SurfaceCall;
        getByName(
            request: GetByNameRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Stream) => void,
        ): SurfaceCall;
        list(
            request: ListStreamsRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (
                error: ServiceError | null,
                response: ListStreamsResponse,
            ) => void,
        ): SurfaceCall;
        update(
            request: UpdateStreamRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
    }

    Hierarchy

    • Client
      • StreamServiceBaseClient
    Index
    • Creates a log stream.

      Parameters

      • request: CreateStreamRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Creates a log stream.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall

    • Deletes the specified log stream.

      Parameters

      • request: DeleteStreamRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Deletes the specified log stream.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall

    • Returns the specified log stream.

      Parameters

      • request: GetStreamRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Stream) => void
          • (error: ServiceError | null, response: Stream): void
          • Returns the specified log stream.

            Parameters

            • error: ServiceError | null
            • response: Stream

            Returns void

      Returns SurfaceCall

    • Returns the log stream with the specified name in the specified parent container.

      Parameters

      • request: GetByNameRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Stream) => void
          • (error: ServiceError | null, response: Stream): void
          • Returns the log stream with the specified name in the specified parent container.

            Parameters

            • error: ServiceError | null
            • response: Stream

            Returns void

      Returns SurfaceCall

    • Lists the log streams in the specified parent container.

      Parameters

      Returns SurfaceCall

    • Updates the specified log stream.

      Parameters

      • request: UpdateStreamRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Updates the specified log stream.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall