Usage and constraints

Convert drive capacity into the native unit of your resource, such as millibuckets. This ratio is storage accounting, not a conversion recipe. Existing explicit capacity values take precedence.

NebulaCapacityResourceType

NebulaCapacityResourceType
package dev.nebulastorage.api

/** Native units granted per item-capacity unit on extensible drives. Existing explicit capacities take precedence. */
interface NebulaCapacityResourceType : NebulaResourceType {
    val driveCapacityPerItem: Long
}
Source

src/main/kotlin/dev/nebulastorage/api/NebulaCapacityResourceType.kt; editorial/en.json

43b4d12d69e6033c24fa8c39dac383ef2429b446