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

    Interface ResourceEvent

    Represents an API Resource-related event which is potentially important to the end-user. What exactly constitutes an event to be reported is service-dependent

    interface ResourceEvent {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.common.v1.ResourceEvent";
        code: string;
        error?: Status;
        level: ResourceEvent_Level;
        message: string;
        occurredAt?: Dayjs;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined
    Index

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.common.v1.ResourceEvent"
    code: string

    Event code (unique within the API service), in UpperCamelCase, e.g. "DiskAttached"

    error?: Status

    Describes a GRPC error status associated with an ERROR- or WARN-level event, if known. The error must have a standard GRPC code (which must not be OK (0)) and a human-readable message. A standard common.v1.ServiceError should also be included in details

    Severity level for the event

    message: string

    A human-readable message describing what has happened (and suggested actions for the user, if this is a WARN- or ERROR-level event)

    occurredAt?: Dayjs

    Time at which the event has occurred