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

    Interface ResourceSpec

    Resource specification for cost estimation. Contains the specifications for creating and updating different types of resources.

    interface ResourceSpec {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.billing.v1.ResourceSpec";
        spec?: { typeUrl: string; value: Uint8Array };
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.billing.v1.ResourceSpec"
    spec?: { typeUrl: string; value: Uint8Array }

    Resource specification for cost estimation. Payload must include billing routing annotations. Must contain either a create-request or an update-request message for the target resource type. Examples: type.googleapis.com/nebius.compute.v1.CreateInstanceRequest, type.googleapis.com/nebius.compute.v1.UpdateInstanceRequest and so on