ನೀವು ತೆರೆಯಬಲ್ಲ ಪರಿಚಾರಕದ (server) ಸಾಧನಗಳು ಹಾಗು ಬೆಲೆಗಳನ್ನು ಪಟ್ಟಿಮಾಡಿ. ಒಂದು ಪರಿಚಾರಕವನ್ನು ರಚಿಸುವಾಗ ಅಥವಾ ಮರುಗಾತ್ರಿಸುವಾಗ, ಅದರ uid ಅನ್ನು uid ಎಂದು ನಮೂದಿಸಿ.
ಪ್ರತಿಯೊಂದು ಸಕ್ರಿಯ ಪ್ರಜೆಯನ್ನು ಮರಳಿಸುತ್ತದೆ, ಅತಿ ಕಡಿಮೆ ಬೆಲೆಗೆ. ಪಟ್ಟಿಯಲ್ಲಿ ಶೋಧಕಗಳು ಇಲ್ಲ ಹಾಗು ಪ್ರಸ್ತುತ ಹಾಳೆಯು ಒಂದು ಪುಟದಲ್ಲಿ ಹೊಂದುವಂತಹಂತಹ ಶೋಧಕಗಳಿವೆ.
ಅನುಮತಿಯ ಅಗತ್ಯವಿದೆ: plans:list
curl -X GET "https://admin.vps.org/api/v1/plans/" \
-H "Authorization: Bearer YOUR_API_TOKEN"
import requests
url = "https://admin.vps.org/api/v1/plans/"
headers = {"Authorization": "Bearer YOUR_API_TOKEN"}
response = requests.get(url, headers=headers)
for plan in response.json()["results"]:
print(plan["uuid"], plan["cpu"], plan["ram"], plan["ram_unit"], plan["monthly_price"])
const response = await fetch('https://admin.vps.org/api/v1/plans/', {
headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' }
});
const data = await response.json();
console.log(data.results);
$ch = curl_init('https://admin.vps.org/api/v1/plans/');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer YOUR_API_TOKEN']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$plans = json_decode(curl_exec($ch), true);
curl_close($ch);
{
"count": 12,
"next": null,
"previous": null,
"results": [
{
"uuid": "ed0ac717-c26c-4d9b-a801-b170c4979028",
"cpu": 1,
"ram": 512,
"ram_unit": "MB",
"disk_space": 10,
"disk_space_total": 10240,
"transfer": 500,
"transfer_unit": "GB",
"includes_ipv4": false,
"price": "2.50",
"cpu_type_name": "Shared",
"is_active": true,
"hourly_price": "0.004",
"monthly_price": "2.50",
"is_gpu": false,
"gpu_count": 0,
"gpu_model": ""
},
{
"uuid": "14186969-fbaf-43e1-9ab2-b1f1aeb66674",
"cpu": 1,
"ram": 2,
"ram_unit": "GB",
"disk_space": 25,
"disk_space_total": 25600,
"transfer": 1,
"transfer_unit": "TB",
"includes_ipv4": true,
"price": "5.00",
"cpu_type_name": "Shared",
"is_active": true,
"hourly_price": "0.007",
"monthly_price": "5.00",
"is_gpu": false,
"gpu_count": 0,
"gpu_model": ""
}
]
}
| ಕ್ಷೇತ್ರ | ಪ್ರಕಾರ | ವಿವರಣೆ |
|---|---|---|
uuid |
string | ಪ್ಲಾಟ್ನ ಗುರುತುಸಂಖ್ಯೆ. ಇದನ್ನು ಯೋಜನೆ_uid ಅಥವಾ ಪ್ಲಾನ್_ ಪ್ಲಾನ್_uidಯುಐ ಆಗಿ ಬಳಸಿ. |
cpu |
integer | ವಿಸಿಪಿಐಗಳ ಸಂಖ್ಯೆ |
ram, ram_unit |
integer, string | ಮೆಮೊರಿ ಪ್ರಮಾಣ ಹಾಗು ಅದರ ಘಟಕ (MB ಅಥವ GB) |
disk_space |
integer | ಡಿಸ್ಕಿನ ಗಾತ್ರ GB ಯಲ್ಲಿ |
disk_space_total |
integer | ಮೆಮುಕದಲ್ಲಿ (MB) ಡಿಸ್ಕಿನ ಗಾತ್ರ |
transfer, transfer_unit |
integer, string | ಮಾಸಿಕ ದತ್ತಾಂಶ ವರ್ಗಾವಣೆ ಹಾಗು ಅದರ ಘಟಕ (GB ಅಥವಾ TB) |
disk_space_unit |
string | ಡಿಸ್ಕಿನ ಏಕಕ(_a) |
includes_ipv4 |
boolean | Whether the plan includes a public IPv4 address. Plans without one are IPv6 only; an IPv4 address can be added for $2.00/month. |
monthly_price, price |
string | ಯುಎಸ್ಡಿ ನಲ್ಲಿನ ಮಾಸಿಕ ಬೆಲೆ ಒಂದು ದಶಮಾಂಶ ವಾಕ್ಯವಾಗಿ. ಮೌಲ್ಯವು ಒಂದೇ ಮೌಲ್ಯವಾಗಿದೆ. |
hourly_price |
string | ಯುಎಸ್ಡಿ ನಲ್ಲಿ ಡೆಸಿಮಲ್ ವಾಕ್ಯವಾಗಿ ಕೊಡಲಾಗುವ ಮೌಲ್ಯ |
cpu_type_name |
string | ಉದಾಹರಣೆಗೆ, CPU ಬಗೆ ಹಂಚಿಕೆಿಕೆ (pypt). GPU ಪ್ಲಗಿನ್) ಬಗೆ, ಇತರೆ, ಯಾವುದೇ CPU ಬಗೆ ಇಲ್ಲದೆ ಕಾರ್ಯಯೋಜನೆಗಳಿಗೆ ಓಪನ್. |
is_active |
boolean | ಈ ಪಟ್ಟಿಯಲ್ಲಿ ಯಾವಾಗಲೂ ಸತ್ಯವಾಗಿರು, ಯಾಕಂದರೆ ನಿಷ್ಕ್ರಿಯ ಯೋಜನೆಗಳು ಹಿಂದಿರುಗಿಲ್ಲ |
is_gpu, gpu_count, gpu_model |
boolean, integer, string | [ ಪುಟ 12ರಲ್ಲಿರುವ ಸಂಕ್ಷಿಪ್ತ ವಿವರಣ |
| 200 | ಯಶಸ್ವಿಯಾಗಿ ಮರಳಿ ಪಡೆಯಲಾಗಿದೆ |
| 403 | API ಗುರುತು ಕಾಣಿಸುತ್ತಿಲ್ಲ ಅಥವ ಅಗತ್ಯವಾದ ಸೂಚಕಕ್ಕೆ ಬೇಕಾದ ಅನುಮತಿ ಇಲ್ಲ |
ಒಂದು ಸಕ್ರಿಯ ಸ್ಕೀಮ್ ಅನ್ನು ಮೇಲೆ ಇರುವ ಹೊಲಗಳೊಂದಿಗೆ ಮರಳಿಸುತ್ತದೆ. ಒಂದು ನಿಷ್ಕ್ರಿಯ ಅಥವಾ ಅಜ್ಞಾತ uid 404 ಅನ್ನು ಹಿಂದಿರುಗಿಸುತ್ತದೆ.
curl -X GET "https://admin.vps.org/api/v1/plans/ed0ac717-c26c-4d9b-a801-b170c4979028/" \
-H "Authorization: Bearer YOUR_API_TOKEN"
{
"uuid": "ed0ac717-c26c-4d9b-a801-b170c4979028",
"cpu": 1,
"ram": 512,
"ram_unit": "MB",
"disk_space": 10,
"disk_space_total": 10240,
"transfer": 500,
"transfer_unit": "GB",
"includes_ipv4": false,
"price": "2.50",
"cpu_type_name": "Shared",
"is_active": true,
"hourly_price": "0.004",
"monthly_price": "2.50",
"is_gpu": false,
"gpu_count": 0,
"gpu_model": ""
}