Skip to content

Latest commit

 

History

History
1978 lines (1315 loc) · 56.1 KB

File metadata and controls

1978 lines (1315 loc) · 56.1 KB

OpenAPI\Client\ManageServiceApi

All URIs are relative to https://api.beget.com, except if the operation defines another base path.

Method HTTP request Description
manageServiceAttachIpAddress() POST /v1/vps/{id}/network/{ip_address}
manageServiceAttachSshKey() POST /v1/vps/{id}/sshKey/{ssh_key_id}
manageServiceAttachToPrivateNetwork() POST /v1/vps/{id}/private-network/{network_id}
manageServiceBindProject() PUT /v1/vps/server/{id}/project
manageServiceChangeConfiguration() PUT /v1/vps/server/{id}/configuration
manageServiceChangePinned() PUT /v1/vps/server/{id}/pin
manageServiceChangeSshAccess() PUT /v1/vps/{id}/ssh/access
manageServiceCheckSoftwareRequirements() POST /v1/vps/software/requirements
manageServiceCreateVps() POST /v1/vps/server
manageServiceDetachFromPrivateNetwork() DELETE /v1/vps/{id}/private-network/{network_id}
manageServiceDetachIpAddress() DELETE /v1/vps/network/detach/{ip_address}
manageServiceDetachSshKey() DELETE /v1/vps/{id}/sshKey/{ssh_key_id}
manageServiceDisablePostInstallAlert() DELETE /v1/vps/{id}/software/post-install-alert
manageServiceGetAvailableConfiguration() GET /v1/vps/configuration
manageServiceGetFileManagerSettings() POST /v1/vps/{id}/fm
manageServiceGetHistory() GET /v1/vps/{id}/history
manageServiceGetInfo() GET /v1/vps/server/{id}
manageServiceGetInstalledSoftware() GET /v1/vps/{id}/software
manageServiceGetList() GET /v1/vps/server/list
manageServiceGetRegionList() GET /v1/vps/region
manageServiceGetStatuses() GET /v1/vps/server/statuses
manageServiceRebootVps() POST /v1/vps/server/{id}/reboot
manageServiceReinstall() POST /v1/vps/server/{id}/reinstall
manageServiceRemoveVps() POST /v1/vps/server/{id}/remove
manageServiceReserveVpsSubdomain() GET /v1/vps/subdomain/reserve
manageServiceResetPassword() PUT /v1/vps/{id}/password
manageServiceResetVps() POST /v1/vps/server/{id}/reset
manageServiceStartRescue() POST /v1/vps/server/{id}/rescue
manageServiceStartVps() POST /v1/vps/server/{id}/start
manageServiceStopRescue() DELETE /v1/vps/server/{id}/rescue
manageServiceStopVps() POST /v1/vps/server/{id}/stop
manageServiceUnarchive() DELETE /v1/vps/archive/{id}
manageServiceUpdateInfo() PUT /v1/vps/server/{id}/info

manageServiceAttachIpAddress()

manageServiceAttachIpAddress($id, $ip_address, $manage_attach_ip_address_request): \OpenAPI\Client\Model\ManageAttachIpAddressResponse

Example

<?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\ManageServiceApi(
    // 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
$ip_address = 'ip_address_example'; // string
$manage_attach_ip_address_request = new \OpenAPI\Client\Model\ManageAttachIpAddressRequest(); // \OpenAPI\Client\Model\ManageAttachIpAddressRequest

try {
    $result = $apiInstance->manageServiceAttachIpAddress($id, $ip_address, $manage_attach_ip_address_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceAttachIpAddress: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
ip_address string
manage_attach_ip_address_request \OpenAPI\Client\Model\ManageAttachIpAddressRequest

Return type

\OpenAPI\Client\Model\ManageAttachIpAddressResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceAttachSshKey()

manageServiceAttachSshKey($id, $ssh_key_id): \OpenAPI\Client\Model\ManageAttachSshKeyResponse

Example

<?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\ManageServiceApi(
    // 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
$ssh_key_id = 56; // int

try {
    $result = $apiInstance->manageServiceAttachSshKey($id, $ssh_key_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceAttachSshKey: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
ssh_key_id int

Return type

\OpenAPI\Client\Model\ManageAttachSshKeyResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceAttachToPrivateNetwork()

manageServiceAttachToPrivateNetwork($id, $network_id, $manage_attach_to_private_network_request): \OpenAPI\Client\Model\ManageAttachToPrivateNetworkResponse

Example

<?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\ManageServiceApi(
    // 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
$network_id = 'network_id_example'; // string
$manage_attach_to_private_network_request = new \OpenAPI\Client\Model\ManageAttachToPrivateNetworkRequest(); // \OpenAPI\Client\Model\ManageAttachToPrivateNetworkRequest

try {
    $result = $apiInstance->manageServiceAttachToPrivateNetwork($id, $network_id, $manage_attach_to_private_network_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceAttachToPrivateNetwork: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
network_id string
manage_attach_to_private_network_request \OpenAPI\Client\Model\ManageAttachToPrivateNetworkRequest

Return type

\OpenAPI\Client\Model\ManageAttachToPrivateNetworkResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceBindProject()

manageServiceBindProject($id, $manage_bind_project_request): \OpenAPI\Client\Model\ManageBindProjectResponse

Example

<?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\ManageServiceApi(
    // 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
$manage_bind_project_request = new \OpenAPI\Client\Model\ManageBindProjectRequest(); // \OpenAPI\Client\Model\ManageBindProjectRequest

try {
    $result = $apiInstance->manageServiceBindProject($id, $manage_bind_project_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceBindProject: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
manage_bind_project_request \OpenAPI\Client\Model\ManageBindProjectRequest

Return type

\OpenAPI\Client\Model\ManageBindProjectResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceChangeConfiguration()

manageServiceChangeConfiguration($id, $manage_change_configuration_request): \OpenAPI\Client\Model\ManageChangeConfigurationResponse

Example

<?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\ManageServiceApi(
    // 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
$manage_change_configuration_request = new \OpenAPI\Client\Model\ManageChangeConfigurationRequest(); // \OpenAPI\Client\Model\ManageChangeConfigurationRequest

try {
    $result = $apiInstance->manageServiceChangeConfiguration($id, $manage_change_configuration_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceChangeConfiguration: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
manage_change_configuration_request \OpenAPI\Client\Model\ManageChangeConfigurationRequest

Return type

\OpenAPI\Client\Model\ManageChangeConfigurationResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceChangePinned()

manageServiceChangePinned($id, $manage_change_pinned_request): \OpenAPI\Client\Model\ManageChangePinnedResponse

Example

<?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\ManageServiceApi(
    // 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
$manage_change_pinned_request = new \OpenAPI\Client\Model\ManageChangePinnedRequest(); // \OpenAPI\Client\Model\ManageChangePinnedRequest

try {
    $result = $apiInstance->manageServiceChangePinned($id, $manage_change_pinned_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceChangePinned: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
manage_change_pinned_request \OpenAPI\Client\Model\ManageChangePinnedRequest

Return type

\OpenAPI\Client\Model\ManageChangePinnedResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceChangeSshAccess()

manageServiceChangeSshAccess($id, $manage_change_ssh_access_request): \OpenAPI\Client\Model\ManageChangeSshAccessResponse

Example

<?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\ManageServiceApi(
    // 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
$manage_change_ssh_access_request = new \OpenAPI\Client\Model\ManageChangeSshAccessRequest(); // \OpenAPI\Client\Model\ManageChangeSshAccessRequest

try {
    $result = $apiInstance->manageServiceChangeSshAccess($id, $manage_change_ssh_access_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceChangeSshAccess: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
manage_change_ssh_access_request \OpenAPI\Client\Model\ManageChangeSshAccessRequest

Return type

\OpenAPI\Client\Model\ManageChangeSshAccessResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceCheckSoftwareRequirements()

manageServiceCheckSoftwareRequirements($manage_check_software_requirements_request): \OpenAPI\Client\Model\ManageCheckSoftwareRequirementsResponse

Example

<?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\ManageServiceApi(
    // 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
);
$manage_check_software_requirements_request = new \OpenAPI\Client\Model\ManageCheckSoftwareRequirementsRequest(); // \OpenAPI\Client\Model\ManageCheckSoftwareRequirementsRequest

try {
    $result = $apiInstance->manageServiceCheckSoftwareRequirements($manage_check_software_requirements_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceCheckSoftwareRequirements: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
manage_check_software_requirements_request \OpenAPI\Client\Model\ManageCheckSoftwareRequirementsRequest

Return type

\OpenAPI\Client\Model\ManageCheckSoftwareRequirementsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceCreateVps()

manageServiceCreateVps($manage_create_vps_request): \OpenAPI\Client\Model\ManageCreateVpsResponse

Example

<?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\ManageServiceApi(
    // 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
);
$manage_create_vps_request = new \OpenAPI\Client\Model\ManageCreateVpsRequest(); // \OpenAPI\Client\Model\ManageCreateVpsRequest

try {
    $result = $apiInstance->manageServiceCreateVps($manage_create_vps_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceCreateVps: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
manage_create_vps_request \OpenAPI\Client\Model\ManageCreateVpsRequest

Return type

\OpenAPI\Client\Model\ManageCreateVpsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceDetachFromPrivateNetwork()

manageServiceDetachFromPrivateNetwork($id, $network_id): \OpenAPI\Client\Model\ManageDetachFromPrivateNetworkResponse

Example

<?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\ManageServiceApi(
    // 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
$network_id = 'network_id_example'; // string

try {
    $result = $apiInstance->manageServiceDetachFromPrivateNetwork($id, $network_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceDetachFromPrivateNetwork: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
network_id string

Return type

\OpenAPI\Client\Model\ManageDetachFromPrivateNetworkResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceDetachIpAddress()

manageServiceDetachIpAddress($ip_address): \OpenAPI\Client\Model\ManageDetachIpAddressResponse

Example

<?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\ManageServiceApi(
    // 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
);
$ip_address = 'ip_address_example'; // string

try {
    $result = $apiInstance->manageServiceDetachIpAddress($ip_address);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceDetachIpAddress: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
ip_address string

Return type

\OpenAPI\Client\Model\ManageDetachIpAddressResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceDetachSshKey()

manageServiceDetachSshKey($id, $ssh_key_id): \OpenAPI\Client\Model\ManageDetachSshKeyResponse

Example

<?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\ManageServiceApi(
    // 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
$ssh_key_id = 56; // int

try {
    $result = $apiInstance->manageServiceDetachSshKey($id, $ssh_key_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceDetachSshKey: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
ssh_key_id int

Return type

\OpenAPI\Client\Model\ManageDetachSshKeyResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceDisablePostInstallAlert()

manageServiceDisablePostInstallAlert($id): \OpenAPI\Client\Model\ManageDisablePostInstallAlertResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceDisablePostInstallAlert($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceDisablePostInstallAlert: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageDisablePostInstallAlertResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetAvailableConfiguration()

manageServiceGetAvailableConfiguration(): \OpenAPI\Client\Model\ManageGetAvailableConfigurationResponse

Example

<?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\ManageServiceApi(
    // 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
);

try {
    $result = $apiInstance->manageServiceGetAvailableConfiguration();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetAvailableConfiguration: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\ManageGetAvailableConfigurationResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetFileManagerSettings()

manageServiceGetFileManagerSettings($id): \OpenAPI\Client\Model\ManageGetFileManagerSettingsResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceGetFileManagerSettings($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetFileManagerSettings: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageGetFileManagerSettingsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetHistory()

manageServiceGetHistory($id): \OpenAPI\Client\Model\ManageGetHistoryResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceGetHistory($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetHistory: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageGetHistoryResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetInfo()

manageServiceGetInfo($id): \OpenAPI\Client\Model\ManageGetInfoResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceGetInfo($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetInfo: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageGetInfoResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetInstalledSoftware()

manageServiceGetInstalledSoftware($id): \OpenAPI\Client\Model\ManageGetInstalledSoftwareResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceGetInstalledSoftware($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetInstalledSoftware: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageGetInstalledSoftwareResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetList()

manageServiceGetList($offset, $limit, $filter, $sort): \OpenAPI\Client\Model\ManageGetListResponse

Example

<?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\ManageServiceApi(
    // 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
);
$offset = 56; // int
$limit = 56; // int
$filter = 'filter_example'; // string
$sort = 'sort_example'; // string

try {
    $result = $apiInstance->manageServiceGetList($offset, $limit, $filter, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetList: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
offset int [optional]
limit int [optional]
filter string [optional]
sort string [optional]

Return type

\OpenAPI\Client\Model\ManageGetListResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetRegionList()

manageServiceGetRegionList(): \OpenAPI\Client\Model\ManageGetRegionListResponse

Example

<?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\ManageServiceApi(
    // 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
);

try {
    $result = $apiInstance->manageServiceGetRegionList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetRegionList: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\ManageGetRegionListResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceGetStatuses()

manageServiceGetStatuses(): \OpenAPI\Client\Model\ManageGetStatusesResponse

Example

<?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\ManageServiceApi(
    // 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
);

try {
    $result = $apiInstance->manageServiceGetStatuses();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceGetStatuses: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\ManageGetStatusesResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceRebootVps()

manageServiceRebootVps($id): \OpenAPI\Client\Model\ManageRebootVpsResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceRebootVps($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceRebootVps: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageRebootVpsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceReinstall()

manageServiceReinstall($id, $manage_reinstall_request): \OpenAPI\Client\Model\ManageReinstallResponse

Example

<?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\ManageServiceApi(
    // 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
$manage_reinstall_request = new \OpenAPI\Client\Model\ManageReinstallRequest(); // \OpenAPI\Client\Model\ManageReinstallRequest

try {
    $result = $apiInstance->manageServiceReinstall($id, $manage_reinstall_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceReinstall: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
manage_reinstall_request \OpenAPI\Client\Model\ManageReinstallRequest

Return type

\OpenAPI\Client\Model\ManageReinstallResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceRemoveVps()

manageServiceRemoveVps($id, $manage_remove_vps_request): \OpenAPI\Client\Model\ManageRemoveVpsResponse

Example

<?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\ManageServiceApi(
    // 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
$manage_remove_vps_request = new \OpenAPI\Client\Model\ManageRemoveVpsRequest(); // \OpenAPI\Client\Model\ManageRemoveVpsRequest

try {
    $result = $apiInstance->manageServiceRemoveVps($id, $manage_remove_vps_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceRemoveVps: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
manage_remove_vps_request \OpenAPI\Client\Model\ManageRemoveVpsRequest

Return type

\OpenAPI\Client\Model\ManageRemoveVpsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceReserveVpsSubdomain()

manageServiceReserveVpsSubdomain(): \OpenAPI\Client\Model\ManageReserveVpsSubdomainResponse

Example

<?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\ManageServiceApi(
    // 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
);

try {
    $result = $apiInstance->manageServiceReserveVpsSubdomain();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceReserveVpsSubdomain: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\ManageReserveVpsSubdomainResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceResetPassword()

manageServiceResetPassword($id): \OpenAPI\Client\Model\ManageResetPasswordResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceResetPassword($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceResetPassword: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageResetPasswordResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceResetVps()

manageServiceResetVps($id): \OpenAPI\Client\Model\ManageResetVpsResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceResetVps($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceResetVps: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageResetVpsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceStartRescue()

manageServiceStartRescue($id): \OpenAPI\Client\Model\ManageStartRescueResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceStartRescue($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceStartRescue: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageStartRescueResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceStartVps()

manageServiceStartVps($id): \OpenAPI\Client\Model\ManageStartVpsResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceStartVps($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceStartVps: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageStartVpsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceStopRescue()

manageServiceStopRescue($id): \OpenAPI\Client\Model\ManageStopRescueResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceStopRescue($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceStopRescue: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageStopRescueResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceStopVps()

manageServiceStopVps($id, $force): \OpenAPI\Client\Model\ManageStopVpsResponse

Example

<?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\ManageServiceApi(
    // 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
$force = True; // bool

try {
    $result = $apiInstance->manageServiceStopVps($id, $force);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceStopVps: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
force bool [optional]

Return type

\OpenAPI\Client\Model\ManageStopVpsResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceUnarchive()

manageServiceUnarchive($id): \OpenAPI\Client\Model\ManageUnarchiveResponse

Example

<?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\ManageServiceApi(
    // 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->manageServiceUnarchive($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceUnarchive: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\OpenAPI\Client\Model\ManageUnarchiveResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

manageServiceUpdateInfo()

manageServiceUpdateInfo($id, $manage_update_info_request): \OpenAPI\Client\Model\ManageUpdateInfoResponse

Example

<?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\ManageServiceApi(
    // 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
$manage_update_info_request = new \OpenAPI\Client\Model\ManageUpdateInfoRequest(); // \OpenAPI\Client\Model\ManageUpdateInfoRequest

try {
    $result = $apiInstance->manageServiceUpdateInfo($id, $manage_update_info_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ManageServiceApi->manageServiceUpdateInfo: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
manage_update_info_request \OpenAPI\Client\Model\ManageUpdateInfoRequest

Return type

\OpenAPI\Client\Model\ManageUpdateInfoResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]