Zum Inhalt springen
NimbusNexus

Preisdaten

Die Endpoints für Preisdaten sind ein schreibgeschützter Feed dessen, was NimbusNexus berechnet, ein Endpoint pro Ressourcenart:

  • GET /api/v1/pricing/vm — VM-Größen. architecture und vm_class sind Pflicht; cpu und ram grenzen die Liste ein.
  • GET /api/v1/pricing/storage — Blockspeicher, für einen volume_type.
  • GET /api/v1/pricing/port, /api/v1/pricing/floating_ip und /api/v1/pricing/image — Netzwerkports, Floating-IPs und Image-Speicher.
  • GET /api/v1/pricing/bandwidth — ausgehende Bandbreite.

Jeder Preis kommt mit seinem Abrechnungszeitraum: einmalig, stündlich, täglich, monatlich oder jährlich. Zum Lesen müssen Sie sich nicht anmelden. Gilt der Aufruf für eines Ihrer Projekte, sieht der Aufrufer die Preise, die für Ihren Workspace gelten; alle anderen sehen die Listenpreise.

Anwendungsfälle: Kostenschätzungen in Echtzeit in Ihren Bereitstellungs-Workflow integrieren (zeigen Sie „diese VM kostet $X/Monat“, bevor der Nutzer auf Launch klickt), interne Tools zur Kostenzuordnung bauen oder einfach Ihre eigene Tabelle „was berechnet NimbusNexus gerade für X“ pflegen.

Die Preise sind in USD angegeben.

Nächste Schritte

Reference

GET/api/v1/pricing/bandwidth

Bandwidth Pricing

Returns prices for outbound network bandwidth available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/bandwidth" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/floating_ip

Floating Ip Pricing

Returns prices for floating IP addresses available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/floating_ip" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/image

Image Pricing

Returns prices for image storage available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/image" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/port

Port Pricing

Returns prices for networking ports available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/port" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/storage

Storage Pricing

Returns prices for block storage volumes available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—
volume_type*querystring—

Responses

  • 200Successful Response
  • 400Bad Request
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/storage?volume_type=example" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/vm

Vm Pricing

Returns prices for virtual machine flavors available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—
architecture*querystring—
vm_class*querystring—
cpuqueryinteger | null—
ramqueryinteger | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/vm?architecture=example&vm_class=example" \
  -H "Authorization: Bearer $NIMBUS_KEY"

Need to make a real call? Try these endpoints in the live Swagger UI →