All URIs are relative to https://api.beget.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| statisticServiceGetCpu() | GET /v1/vps/statistic/cpu/{id} | |
| statisticServiceGetCpuDetails() | GET /v1/vps/statistic/cpu-details/{id} | |
| statisticServiceGetDisk() | GET /v1/vps/statistic/disk/{id} | |
| statisticServiceGetDiskUsage() | GET /v1/vps/statistic/disk-usage/{id} | |
| statisticServiceGetLoadAverage() | GET /v1/vps/statistic/load-average/{id} | |
| statisticServiceGetMemory() | GET /v1/vps/statistic/memory/{id} | |
| statisticServiceGetNetwork() | GET /v1/vps/statistic/network/{id} | |
| statisticServiceGetProcessList() | GET /v1/vps/statistic/processes/{id} |
statisticServiceGetCpu($id, $period): \OpenAPI\Client\Model\StatisticGetCpuResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->statisticServiceGetCpu($id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetCpu: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\StatisticGetCpuResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statisticServiceGetCpuDetails($id, $period): \OpenAPI\Client\Model\StatisticGetCpuDetailsResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->statisticServiceGetCpuDetails($id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetCpuDetails: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\StatisticGetCpuDetailsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statisticServiceGetDisk($id, $period): \OpenAPI\Client\Model\StatisticGetDiskResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->statisticServiceGetDisk($id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetDisk: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\StatisticGetDiskResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statisticServiceGetDiskUsage($id, $period): \OpenAPI\Client\Model\StatisticGetDiskUsageResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->statisticServiceGetDiskUsage($id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetDiskUsage: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\StatisticGetDiskUsageResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statisticServiceGetLoadAverage($id, $period): \OpenAPI\Client\Model\StatisticGetLoadAverageResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->statisticServiceGetLoadAverage($id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetLoadAverage: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\StatisticGetLoadAverageResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statisticServiceGetMemory($id, $period): \OpenAPI\Client\Model\StatisticGetMemoryResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->statisticServiceGetMemory($id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetMemory: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\StatisticGetMemoryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statisticServiceGetNetwork($id, $period): \OpenAPI\Client\Model\StatisticGetNetworkResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->statisticServiceGetNetwork($id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetNetwork: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\StatisticGetNetworkResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statisticServiceGetProcessList($id): \OpenAPI\Client\Model\StatisticGetProcessListResponse<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\StatisticServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
try {
$result = $apiInstance->statisticServiceGetProcessList($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatisticServiceApi->statisticServiceGetProcessList: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string |
\OpenAPI\Client\Model\StatisticGetProcessListResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]