All URIs are relative to https://api.beget.com, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
postgresqlStatisticServiceGetCpu() | GET /v1/cloud/postgresql/{service_id}/statistic/cpu | |
postgresqlStatisticServiceGetCpuDetails() | GET /v1/cloud/postgresql/{service_id}/statistic/cpu-details | |
postgresqlStatisticServiceGetDisk() | GET /v1/cloud/postgresql/{service_id}/statistic/disk | |
postgresqlStatisticServiceGetDiskUsage() | GET /v1/cloud/postgresql/{service_id}/statistic/disk-usage | |
postgresqlStatisticServiceGetLoadAverage() | GET /v1/cloud/postgresql/{service_id}/statistic/load-average | |
postgresqlStatisticServiceGetMemory() | GET /v1/cloud/postgresql/{service_id}/statistic/memory | |
postgresqlStatisticServiceGetNetwork() | GET /v1/cloud/postgresql/{service_id}/statistic/network |
postgresqlStatisticServiceGetCpu($service_id, $period): \OpenAPI\Client\Model\PostgresqlStatisticGetCpuResponse
<?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\PostgresqlStatisticServiceApi(
// 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->postgresqlStatisticServiceGetCpu($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PostgresqlStatisticServiceApi->postgresqlStatisticServiceGetCpu: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
service_id | string | ||
period | string | [optional] |
\OpenAPI\Client\Model\PostgresqlStatisticGetCpuResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postgresqlStatisticServiceGetCpuDetails($service_id, $period): \OpenAPI\Client\Model\PostgresqlStatisticGetCpuDetailsResponse
<?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\PostgresqlStatisticServiceApi(
// 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->postgresqlStatisticServiceGetCpuDetails($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PostgresqlStatisticServiceApi->postgresqlStatisticServiceGetCpuDetails: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
service_id | string | ||
period | string | [optional] |
\OpenAPI\Client\Model\PostgresqlStatisticGetCpuDetailsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postgresqlStatisticServiceGetDisk($service_id, $period): \OpenAPI\Client\Model\PostgresqlStatisticGetDiskResponse
<?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\PostgresqlStatisticServiceApi(
// 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->postgresqlStatisticServiceGetDisk($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PostgresqlStatisticServiceApi->postgresqlStatisticServiceGetDisk: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
service_id | string | ||
period | string | [optional] |
\OpenAPI\Client\Model\PostgresqlStatisticGetDiskResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postgresqlStatisticServiceGetDiskUsage($service_id, $period): \OpenAPI\Client\Model\PostgresqlStatisticGetDiskUsageResponse
<?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\PostgresqlStatisticServiceApi(
// 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->postgresqlStatisticServiceGetDiskUsage($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PostgresqlStatisticServiceApi->postgresqlStatisticServiceGetDiskUsage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
service_id | string | ||
period | string | [optional] |
\OpenAPI\Client\Model\PostgresqlStatisticGetDiskUsageResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postgresqlStatisticServiceGetLoadAverage($service_id, $period): \OpenAPI\Client\Model\PostgresqlStatisticGetLoadAverageResponse
<?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\PostgresqlStatisticServiceApi(
// 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->postgresqlStatisticServiceGetLoadAverage($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PostgresqlStatisticServiceApi->postgresqlStatisticServiceGetLoadAverage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
service_id | string | ||
period | string | [optional] |
\OpenAPI\Client\Model\PostgresqlStatisticGetLoadAverageResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postgresqlStatisticServiceGetMemory($service_id, $period): \OpenAPI\Client\Model\PostgresqlStatisticGetMemoryResponse
<?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\PostgresqlStatisticServiceApi(
// 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->postgresqlStatisticServiceGetMemory($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PostgresqlStatisticServiceApi->postgresqlStatisticServiceGetMemory: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
service_id | string | ||
period | string | [optional] |
\OpenAPI\Client\Model\PostgresqlStatisticGetMemoryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postgresqlStatisticServiceGetNetwork($service_id, $period): \OpenAPI\Client\Model\PostgresqlStatisticGetNetworkResponse
<?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\PostgresqlStatisticServiceApi(
// 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->postgresqlStatisticServiceGetNetwork($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PostgresqlStatisticServiceApi->postgresqlStatisticServiceGetNetwork: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
service_id | string | ||
period | string | [optional] |
\OpenAPI\Client\Model\PostgresqlStatisticGetNetworkResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]