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

    Interface AttachedDiskSpec

    Represents the nebius.compute.v1.AttachedDiskSpec protobuf message.

    interface AttachedDiskSpec {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.compute.v1.AttachedDiskSpec";
        attachMode: AttachedDiskSpec_AttachMode;
        deviceId: string;
        type?:
            | { $case: "existingDisk"; existingDisk: ExistingDisk }
            | { $case: "managedDisk"; managedDisk: ManagedDisk };
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

      Represents the nebius.compute.v1.AttachedDiskSpec protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.compute.v1.AttachedDiskSpec protobuf message.

            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.compute.v1.AttachedDiskSpec"

    Contains the fully qualified protobuf type name.

    Contains the attach_mode protobuf field.

    deviceId: string

    Specifies the user-defined identifier, allowing to use '/dev/disk/by-id/virtio-{device_id}' as a device path in mount command.

    type?:
        | { $case: "existingDisk"; existingDisk: ExistingDisk }
        | { $case: "managedDisk"; managedDisk: ManagedDisk }

    Contains the selected value for the type protobuf oneof.

    Type Declaration

    • { $case: "existingDisk"; existingDisk: ExistingDisk }
      • $case: "existingDisk"

        Contains the case.

      • existingDisk: ExistingDisk

        Contains the existing disk.

    • { $case: "managedDisk"; managedDisk: ManagedDisk }
      • $case: "managedDisk"

        Contains the case.

      • managedDisk: ManagedDisk

        Contains the managed disk.