@nebius/js-sdk - v0.2.54
    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

      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

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • 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

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.common.v1.ResourceEvent"

    Contains the fully qualified protobuf type name.

    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