All URIs are relative to https://api.beget.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| s3StatisticServiceGetNetwork() | GET /v1/cloud/s3/{service_id}/statistic/network | |
| s3StatisticServiceGetQuota() | GET /v1/cloud/s3/{service_id}/statistic/quota | |
| s3StatisticServiceGetRequest() | GET /v1/cloud/s3/{service_id}/statistic/count-request | |
| s3StatisticServiceGetTraffic() | GET /v1/cloud/s3/{service_id}/statistic/traffic-usage |
s3StatisticServiceGetNetwork($service_id, $period): \OpenAPI\Client\Model\S3StatisticGetNetworkResponse<?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\S3StatisticServiceApi(
// 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->s3StatisticServiceGetNetwork($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling S3StatisticServiceApi->s3StatisticServiceGetNetwork: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\S3StatisticGetNetworkResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
s3StatisticServiceGetQuota($service_id, $period): \OpenAPI\Client\Model\S3StatisticGetQuotaResponse<?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\S3StatisticServiceApi(
// 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->s3StatisticServiceGetQuota($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling S3StatisticServiceApi->s3StatisticServiceGetQuota: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\S3StatisticGetQuotaResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
s3StatisticServiceGetRequest($service_id, $period): \OpenAPI\Client\Model\S3StatisticGetRequestResponse<?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\S3StatisticServiceApi(
// 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->s3StatisticServiceGetRequest($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling S3StatisticServiceApi->s3StatisticServiceGetRequest: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\S3StatisticGetRequestResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
s3StatisticServiceGetTraffic($service_id, $period): \OpenAPI\Client\Model\S3StatisticGetTrafficResponse<?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\S3StatisticServiceApi(
// 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->s3StatisticServiceGetTraffic($service_id, $period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling S3StatisticServiceApi->s3StatisticServiceGetTraffic: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| service_id | string | ||
| period | string | [optional] |
\OpenAPI\Client\Model\S3StatisticGetTrafficResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]