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

    Interface PricingModelSpec

    PricingModelSpec defines how the workload's VM is priced. It mirrors the pricing model of the Compute Instance API.

    interface PricingModelSpec {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.ai.v1.PricingModelSpec";
        model?:
            | { $case: "onDemand"; onDemand: OnDemandSpec }
            | { $case: "followsSpotPrice"; followsSpotPrice: FollowsSpotPriceSpec }
            | { $case: "spotPricingPolicy"; spotPricingPolicy: SpotPricingPolicySpec };
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

      PricingModelSpec defines how the workload's VM is priced. It mirrors the pricing model of the Compute Instance API.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • PricingModelSpec defines how the workload's VM is priced. It mirrors the pricing model of the Compute Instance API.

            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.ai.v1.PricingModelSpec"

    Contains the fully qualified protobuf type name.

    model?:
        | { $case: "onDemand"; onDemand: OnDemandSpec }
        | { $case: "followsSpotPrice"; followsSpotPrice: FollowsSpotPriceSpec }
        | { $case: "spotPricingPolicy"; spotPricingPolicy: SpotPricingPolicySpec }

    Contains the selected value for the model protobuf oneof.

    Type Declaration