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

    Interface ContainerDefinition_Volume

    Volume defines a volume that will be mounted into the container.

    interface ContainerDefinition_Volume {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.applications.v1alpha1.ContainerDefinition.Volume";
        description: string;
        id: string;
        mountPath: string;
        storage?:
            | { $case: "bootDisk"; bootDisk: BootDisk }
            | { $case: "disk"; disk: DiskMount }
            | { $case: "filesystem"; filesystem: FilesystemMount }
            | { $case: "storageBucket"; storageBucket: StorageBucketMount }
            | { $case: "externalS3"; externalS3: ExternalS3Mount };
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

      Volume defines a volume that will be mounted into the container.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Volume defines a volume that will be mounted into the container.

            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.applications.v1alpha1.ContainerDefinition.Volume"

    Contains the fully qualified protobuf type name.

    description: string

    The description of the volume.

    id: string

    The unique identifier of the volume. If not specified, an ID will be generated.

    mountPath: string

    The path in the container where the mounted volume will be available.

    storage?:
        | { $case: "bootDisk"; bootDisk: BootDisk }
        | { $case: "disk"; disk: DiskMount }
        | { $case: "filesystem"; filesystem: FilesystemMount }
        | { $case: "storageBucket"; storageBucket: StorageBucketMount }
        | { $case: "externalS3"; externalS3: ExternalS3Mount }

    The storage of the volume. If not specified, the volume will be mounted on the VM boot disk.

    Type Declaration

    • { $case: "bootDisk"; bootDisk: BootDisk }
      • $case: "bootDisk"

        Contains the case.

      • bootDisk: BootDisk

        Contains the boot disk.

    • { $case: "disk"; disk: DiskMount }
      • $case: "disk"

        Contains the case.

      • disk: DiskMount

        Contains the disk.

    • { $case: "filesystem"; filesystem: FilesystemMount }
      • $case: "filesystem"

        Contains the case.

      • filesystem: FilesystemMount

        Contains the filesystem.

    • { $case: "storageBucket"; storageBucket: StorageBucketMount }
      • $case: "storageBucket"

        Contains the case.

      • storageBucket: StorageBucketMount

        Contains the storage bucket.

    • { $case: "externalS3"; externalS3: ExternalS3Mount }
      • $case: "externalS3"

        Contains the case.

      • externalS3: ExternalS3Mount

        Contains the external s3.