@nebius/js-sdk - v0.1.4
    Preparing search index...
    interface DiskSpec {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.compute.v1.DiskSpec";
        blockSizeBytes: Long;
        diskEncryption?: DiskEncryption;
        size?:
            | { $case: "sizeBytes"; sizeBytes: Long }
            | { $case: "sizeKibibytes"; sizeKibibytes: Long }
            | { $case: "sizeMebibytes"; sizeMebibytes: Long }
            | { $case: "sizeGibibytes"; sizeGibibytes: Long };
        source?:
            | { $case: "sourceImageId"; sourceImageId: string }
            | { $case: "sourceImageFamily"; sourceImageFamily: SourceImageFamily };
        type: DiskSpec_DiskType;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.compute.v1.DiskSpec"
    blockSizeBytes: Long

    Block size in bytes. The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB). The default value is 4096 bytes (4 KiB).

    diskEncryption?: DiskEncryption

    Defines how data on the disk is encrypted. By default, no encryption is applied.

    size?:
        | { $case: "sizeBytes"; sizeBytes: Long }
        | { $case: "sizeKibibytes"; sizeKibibytes: Long }
        | { $case: "sizeMebibytes"; sizeMebibytes: Long }
        | { $case: "sizeGibibytes"; sizeGibibytes: Long }

    Size of the disk. The size must be within the limits for the selected disk type. For current limits, see https://docs.nebius.com/compute/storage/types#disks-types-comparison

    source?:
        | { $case: "sourceImageId"; sourceImageId: string }
        | { $case: "sourceImageFamily"; sourceImageFamily: SourceImageFamily }

    Source for disk creation. Boot disk must be created from an image https://docs.nebius.com/compute/storage/manage#boot Additional disks can be created as an empty volume https://docs.nebius.com/compute/storage/manage#additional

    The type of disk defines the performance and reliability characteristics of the block device. For details, see https://docs.nebius.com/compute/storage/types#disks-types