All URIs are relative to https://api.beget.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| mysqlStatisticServiceGetCpu() | GET /v1/cloud/mysql/{service_id}/statistic/cpu | |
| mysqlStatisticServiceGetCpuDetails() | GET /v1/cloud/mysql/{service_id}/statistic/cpu-details | |
| mysqlStatisticServiceGetDisk() | GET /v1/cloud/mysql/{service_id}/statistic/disk | |
| mysqlStatisticServiceGetDiskUsage() | GET /v1/cloud/mysql/{service_id}/statistic/disk-usage | |
| mysqlStatisticServiceGetLoadAverage() | GET /v1/cloud/mysql/{service_id}/statistic/load-average | |
| mysqlStatisticServiceGetMemory() | GET /v1/cloud/mysql/{service_id}/statistic/memory | |
| mysqlStatisticServiceGetNetwork() | GET /v1/cloud/mysql/{service_id}/statistic/network |
mysqlStatisticServiceGetCpu($service_id, $period): \OpenAPI\Client\Model\MysqlStatisticGetCpuResponse<?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\MysqlStatisticServiceApi(
// 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
);
$service_id = 'service_id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->mysqlStatisticServiceGetCpu($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MysqlStatisticServiceApi->mysqlStatisticServiceGetCpu: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\MysqlStatisticGetCpuResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
mysqlStatisticServiceGetCpuDetails($service_id, $period): \OpenAPI\Client\Model\MysqlStatisticGetCpuDetailsResponse<?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\MysqlStatisticServiceApi(
// 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
);
$service_id = 'service_id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->mysqlStatisticServiceGetCpuDetails($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MysqlStatisticServiceApi->mysqlStatisticServiceGetCpuDetails: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\MysqlStatisticGetCpuDetailsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
mysqlStatisticServiceGetDisk($service_id, $period): \OpenAPI\Client\Model\MysqlStatisticGetDiskResponse<?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\MysqlStatisticServiceApi(
// 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
);
$service_id = 'service_id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->mysqlStatisticServiceGetDisk($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MysqlStatisticServiceApi->mysqlStatisticServiceGetDisk: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\MysqlStatisticGetDiskResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
mysqlStatisticServiceGetDiskUsage($service_id, $period): \OpenAPI\Client\Model\MysqlStatisticGetDiskUsageResponse<?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\MysqlStatisticServiceApi(
// 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
);
$service_id = 'service_id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->mysqlStatisticServiceGetDiskUsage($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MysqlStatisticServiceApi->mysqlStatisticServiceGetDiskUsage: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\MysqlStatisticGetDiskUsageResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
mysqlStatisticServiceGetLoadAverage($service_id, $period): \OpenAPI\Client\Model\MysqlStatisticGetLoadAverageResponse<?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\MysqlStatisticServiceApi(
// 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
);
$service_id = 'service_id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->mysqlStatisticServiceGetLoadAverage($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MysqlStatisticServiceApi->mysqlStatisticServiceGetLoadAverage: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\MysqlStatisticGetLoadAverageResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
mysqlStatisticServiceGetMemory($service_id, $period): \OpenAPI\Client\Model\MysqlStatisticGetMemoryResponse<?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\MysqlStatisticServiceApi(
// 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
);
$service_id = 'service_id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->mysqlStatisticServiceGetMemory($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MysqlStatisticServiceApi->mysqlStatisticServiceGetMemory: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\MysqlStatisticGetMemoryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
mysqlStatisticServiceGetNetwork($service_id, $period): \OpenAPI\Client\Model\MysqlStatisticGetNetworkResponse<?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\MysqlStatisticServiceApi(
// 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
);
$service_id = 'service_id_example'; // string
$period = 'period_example'; // string
try {
$result = $apiInstance->mysqlStatisticServiceGetNetwork($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MysqlStatisticServiceApi->mysqlStatisticServiceGetNetwork: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\MysqlStatisticGetNetworkResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]