Zum Inhalt
HALOWERK

Finopswerk

minimum storage duration ledger

Original objectKiB,initialclasses and executed classchanges/deletions produce actualcapacity-days,earlytermination minimum-duration remainders and separate stillopen futureminimum obligations. STANDARD/StandardIA/GlacierInstant only;128KiBfloor,30/90wholemodeldays. No lifecycleorigin inference,versions,overwrite,Flexible/DeepArchive metadata,prices/calendar/providerbill certification. One uncertaininitialclass keeps2wholehistories.Strictreportkeys/objectorderirrelevant/arraysordered. A.

POST https://finops.halowerk.com/v1/minimum-storage-duration-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
horizonintegerJa
objectsarrayJa
eventsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "horizon": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    },
    "objects": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "size_kib": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          },
          "class_domain": {
            "type": "array",
            "items": {
              "enum": [
                "standard",
                "ia",
                "instant"
              ]
            },
            "minItems": 1,
            "maxItems": 2
          }
        },
        "required": [
          "size_kib",
          "class_domain"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 3
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "object_index": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2
          },
          "at": {
            "type": "integer",
            "minimum": 1,
            "maximum": 365
          },
          "kind": {
            "enum": [
              "transition",
              "delete"
            ]
          },
          "destination": {
            "enum": [
              "standard",
              "ia",
              "instant",
              null
            ]
          }
        },
        "required": [
          "object_index",
          "at",
          "kind",
          "destination"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 6
    },
    "report": {
      "type": "object",
      "properties": {
        "phases": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "object_index": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 2
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "phase_index": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 6
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "class": {
                "anyOf": [
                  {
                    "enum": [
                      "standard",
                      "ia",
                      "instant"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 365
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "end": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 365
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "billable_kib": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "actual_kib_days": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 100000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "early_kib_days": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 100000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "remaining_kib_days": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 100000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "object_index",
              "phase_index",
              "class",
              "start",
              "end",
              "billable_kib",
              "actual_kib_days",
              "early_kib_days",
              "remaining_kib_days"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 9
        },
        "total": {
          "type": "object",
          "properties": {
            "standard_actual": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "ia_actual": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "instant_actual": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "ia_early": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "instant_early": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "remaining": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "standard_actual",
            "ia_actual",
            "instant_actual",
            "ia_early",
            "instant_early",
            "remaining"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "phases",
        "total"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "horizon",
    "objects",
    "events",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "horizon": 30,
  "objects": [
    {
      "size_kib": 64,
      "class_domain": [
        "ia"
      ]
    }
  ],
  "events": [
    {
      "object_index": 0,
      "at": 10,
      "kind": "transition",
      "destination": "standard"
    },
    {
      "object_index": 0,
      "at": 20,
      "kind": "delete",
      "destination": null
    }
  ],
  "report": {
    "phases": [
      {
        "object_index": 0,
        "phase_index": 0,
        "class": "ia",
        "start": 0,
        "end": 10,
        "billable_kib": 128,
        "actual_kib_days": 1280,
        "early_kib_days": 2560,
        "remaining_kib_days": 0
      },
      {
        "object_index": 0,
        "phase_index": 1,
        "class": "standard",
        "start": 10,
        "end": 20,
        "billable_kib": 64,
        "actual_kib_days": 640,
        "early_kib_days": 0,
        "remaining_kib_days": 0
      }
    ],
    "total": {
      "standard_actual": 640,
      "ia_actual": 1280,
      "instant_actual": 0,
      "ia_early": 2560,
      "instant_early": 0,
      "remaining": 0
    }
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →