Wenn man via API GET /v1/products/ aufruft, bekommt man z. B. folgendes Ergebnis für IPv6. Dort gibt es micro_credits_per_unit:
Code
...
{
"_self": "https://compute.eoscloud.io/v1/products/019fae31-ec93-7659-b13e-ef8749a58b20",
"id": "019fae31-ec93-7659-b13e-ef8749a58b20",
"name": "Public IP v6",
"active": true,
"description": "",
"kind": "ip",
"product_data": {
"ip_family": 6
},
"block_ids": [
"019fae22-7067-71ef-83de-70bafdad8b92"
],
"micro_credits_per_unit": 2763310,
"unit": "pieces",
"weight": 100,
"_actions": [
"public-ips:_create"
]
},
...
Alles anzeigen
Wenn ich eosctl compute product list aufrufe, steht im Ergebnis hingegen milli_credits_per_unit mit dem Wert 0:
Code
$ eosctl compute product list
┌─────────────────────────────────────────────────────────────────┐
| property | value |
| --------------------------------------------------------------- |
| active | true |
| block_ids | - 019fae22-7067-71ef-83de-70bafdad8b92 |
| description | |
| id | 019fae31-ec93-7659-b13e-ef8749a58b20 |
| kind | ip |
| milli_credits_per_unit | 0 |
| name | Public IP v6 |
| product_data | ip_family: 6 |
| unit | pieces |
| weight | 100 |
└─────────────────────────────────────────────────────────────────┘
Alles anzeigen