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

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

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Resource specification for cost estimation. Contains the specifications for creating and updating different types of resources.

            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.billing.v1.ResourceSpec"

    Contains the fully qualified protobuf type name.

    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

    Type Declaration

    • typeUrl: string

      Contains the type URL.

    • value: Uint8Array

      Contains the value.