All URIs are relative to https://api.beget.com
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} | |
ManageServiceChangeConfiguration | Put /v1/vps/server/{id}/configuration | |
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 |
ManageAttachIpAddressResponse ManageServiceAttachIpAddress(ctx, id, ipAddress).ManageAttachIpAddressRequest(manageAttachIpAddressRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
ipAddress := "ipAddress_example" // string |
manageAttachIpAddressRequest := *openapiclient.NewManageAttachIpAddressRequest() // ManageAttachIpAddressRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceAttachIpAddress(context.Background(), id, ipAddress).ManageAttachIpAddressRequest(manageAttachIpAddressRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceAttachIpAddress``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceAttachIpAddress`: ManageAttachIpAddressResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceAttachIpAddress`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ||
ipAddress | string |
Other parameters are passed through a pointer to a apiManageServiceAttachIpAddressRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
manageAttachIpAddressRequest | ManageAttachIpAddressRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageAttachSshKeyResponse ManageServiceAttachSshKey(ctx, id, sshKeyId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
sshKeyId := int32(56) // int32 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceAttachSshKey(context.Background(), id, sshKeyId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceAttachSshKey``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceAttachSshKey`: ManageAttachSshKeyResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceAttachSshKey`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ||
sshKeyId | int32 |
Other parameters are passed through a pointer to a apiManageServiceAttachSshKeyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageAttachToPrivateNetworkResponse ManageServiceAttachToPrivateNetwork(ctx, id, networkId).ManageAttachToPrivateNetworkRequest(manageAttachToPrivateNetworkRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
networkId := "networkId_example" // string |
manageAttachToPrivateNetworkRequest := *openapiclient.NewManageAttachToPrivateNetworkRequest() // ManageAttachToPrivateNetworkRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceAttachToPrivateNetwork(context.Background(), id, networkId).ManageAttachToPrivateNetworkRequest(manageAttachToPrivateNetworkRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceAttachToPrivateNetwork``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceAttachToPrivateNetwork`: ManageAttachToPrivateNetworkResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceAttachToPrivateNetwork`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ||
networkId | string |
Other parameters are passed through a pointer to a apiManageServiceAttachToPrivateNetworkRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
manageAttachToPrivateNetworkRequest | ManageAttachToPrivateNetworkRequest | |
ManageAttachToPrivateNetworkResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageChangeConfigurationResponse ManageServiceChangeConfiguration(ctx, id).ManageChangeConfigurationRequest(manageChangeConfigurationRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
manageChangeConfigurationRequest := *openapiclient.NewManageChangeConfigurationRequest() // ManageChangeConfigurationRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceChangeConfiguration(context.Background(), id).ManageChangeConfigurationRequest(manageChangeConfigurationRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceChangeConfiguration``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceChangeConfiguration`: ManageChangeConfigurationResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceChangeConfiguration`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceChangeConfigurationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
manageChangeConfigurationRequest | ManageChangeConfigurationRequest | |
ManageChangeConfigurationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageChangeSshAccessResponse ManageServiceChangeSshAccess(ctx, id).ManageChangeSshAccessRequest(manageChangeSshAccessRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
manageChangeSshAccessRequest := *openapiclient.NewManageChangeSshAccessRequest() // ManageChangeSshAccessRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceChangeSshAccess(context.Background(), id).ManageChangeSshAccessRequest(manageChangeSshAccessRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceChangeSshAccess``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceChangeSshAccess`: ManageChangeSshAccessResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceChangeSshAccess`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceChangeSshAccessRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
manageChangeSshAccessRequest | ManageChangeSshAccessRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageCheckSoftwareRequirementsResponse ManageServiceCheckSoftwareRequirements(ctx).ManageCheckSoftwareRequirementsRequest(manageCheckSoftwareRequirementsRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
manageCheckSoftwareRequirementsRequest := *openapiclient.NewManageCheckSoftwareRequirementsRequest() // ManageCheckSoftwareRequirementsRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceCheckSoftwareRequirements(context.Background()).ManageCheckSoftwareRequirementsRequest(manageCheckSoftwareRequirementsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceCheckSoftwareRequirements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceCheckSoftwareRequirements`: ManageCheckSoftwareRequirementsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceCheckSoftwareRequirements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiManageServiceCheckSoftwareRequirementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
manageCheckSoftwareRequirementsRequest | ManageCheckSoftwareRequirementsRequest |
ManageCheckSoftwareRequirementsResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageCreateVpsResponse ManageServiceCreateVps(ctx).ManageCreateVpsRequest(manageCreateVpsRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
manageCreateVpsRequest := *openapiclient.NewManageCreateVpsRequest() // ManageCreateVpsRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceCreateVps(context.Background()).ManageCreateVpsRequest(manageCreateVpsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceCreateVps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceCreateVps`: ManageCreateVpsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceCreateVps`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiManageServiceCreateVpsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
manageCreateVpsRequest | ManageCreateVpsRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageDetachFromPrivateNetworkResponse ManageServiceDetachFromPrivateNetwork(ctx, id, networkId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
networkId := "networkId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceDetachFromPrivateNetwork(context.Background(), id, networkId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceDetachFromPrivateNetwork``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceDetachFromPrivateNetwork`: ManageDetachFromPrivateNetworkResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceDetachFromPrivateNetwork`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ||
networkId | string |
Other parameters are passed through a pointer to a apiManageServiceDetachFromPrivateNetworkRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ManageDetachFromPrivateNetworkResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageDetachIpAddressResponse ManageServiceDetachIpAddress(ctx, ipAddress).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ipAddress := "ipAddress_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceDetachIpAddress(context.Background(), ipAddress).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceDetachIpAddress``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceDetachIpAddress`: ManageDetachIpAddressResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceDetachIpAddress`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
ipAddress | string |
Other parameters are passed through a pointer to a apiManageServiceDetachIpAddressRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageDetachSshKeyResponse ManageServiceDetachSshKey(ctx, id, sshKeyId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
sshKeyId := int32(56) // int32 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceDetachSshKey(context.Background(), id, sshKeyId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceDetachSshKey``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceDetachSshKey`: ManageDetachSshKeyResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceDetachSshKey`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ||
sshKeyId | int32 |
Other parameters are passed through a pointer to a apiManageServiceDetachSshKeyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageDisablePostInstallAlertResponse ManageServiceDisablePostInstallAlert(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceDisablePostInstallAlert(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceDisablePostInstallAlert``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceDisablePostInstallAlert`: ManageDisablePostInstallAlertResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceDisablePostInstallAlert`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceDisablePostInstallAlertRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ManageDisablePostInstallAlertResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetAvailableConfigurationResponse ManageServiceGetAvailableConfiguration(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetAvailableConfiguration(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetAvailableConfiguration``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetAvailableConfiguration`: ManageGetAvailableConfigurationResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetAvailableConfiguration`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiManageServiceGetAvailableConfigurationRequest struct via the builder pattern
ManageGetAvailableConfigurationResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetFileManagerSettingsResponse ManageServiceGetFileManagerSettings(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetFileManagerSettings(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetFileManagerSettings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetFileManagerSettings`: ManageGetFileManagerSettingsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetFileManagerSettings`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceGetFileManagerSettingsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ManageGetFileManagerSettingsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetHistoryResponse ManageServiceGetHistory(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetHistory(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetHistory``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetHistory`: ManageGetHistoryResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetHistory`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceGetHistoryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetInfoResponse ManageServiceGetInfo(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetInfo(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetInfo`: ManageGetInfoResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetInfo`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceGetInfoRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetInstalledSoftwareResponse ManageServiceGetInstalledSoftware(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetInstalledSoftware(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetInstalledSoftware``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetInstalledSoftware`: ManageGetInstalledSoftwareResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetInstalledSoftware`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceGetInstalledSoftwareRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ManageGetInstalledSoftwareResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetListResponse ManageServiceGetList(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetList`: ManageGetListResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiManageServiceGetListRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetRegionListResponse ManageServiceGetRegionList(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetRegionList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetRegionList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetRegionList`: ManageGetRegionListResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetRegionList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiManageServiceGetRegionListRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageGetStatusesResponse ManageServiceGetStatuses(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceGetStatuses(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceGetStatuses``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceGetStatuses`: ManageGetStatusesResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceGetStatuses`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiManageServiceGetStatusesRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageRebootVpsResponse ManageServiceRebootVps(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceRebootVps(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceRebootVps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceRebootVps`: ManageRebootVpsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceRebootVps`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceRebootVpsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageReinstallResponse ManageServiceReinstall(ctx, id).ManageReinstallRequest(manageReinstallRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
manageReinstallRequest := *openapiclient.NewManageReinstallRequest() // ManageReinstallRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceReinstall(context.Background(), id).ManageReinstallRequest(manageReinstallRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceReinstall``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceReinstall`: ManageReinstallResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceReinstall`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceReinstallRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
manageReinstallRequest | ManageReinstallRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageRemoveVpsResponse ManageServiceRemoveVps(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceRemoveVps(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceRemoveVps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceRemoveVps`: ManageRemoveVpsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceRemoveVps`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceRemoveVpsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageReserveVpsSubdomainResponse ManageServiceReserveVpsSubdomain(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceReserveVpsSubdomain(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceReserveVpsSubdomain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceReserveVpsSubdomain`: ManageReserveVpsSubdomainResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceReserveVpsSubdomain`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiManageServiceReserveVpsSubdomainRequest struct via the builder pattern
ManageReserveVpsSubdomainResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageResetPasswordResponse ManageServiceResetPassword(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceResetPassword(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceResetPassword``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceResetPassword`: ManageResetPasswordResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceResetPassword`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceResetPasswordRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageResetVpsResponse ManageServiceResetVps(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceResetVps(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceResetVps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceResetVps`: ManageResetVpsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceResetVps`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceResetVpsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageStartRescueResponse ManageServiceStartRescue(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceStartRescue(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceStartRescue``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceStartRescue`: ManageStartRescueResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceStartRescue`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceStartRescueRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageStartVpsResponse ManageServiceStartVps(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceStartVps(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceStartVps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceStartVps`: ManageStartVpsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceStartVps`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceStartVpsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageStopRescueResponse ManageServiceStopRescue(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceStopRescue(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceStopRescue``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceStopRescue`: ManageStopRescueResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceStopRescue`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceStopRescueRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageStopVpsResponse ManageServiceStopVps(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceStopVps(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceStopVps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceStopVps`: ManageStopVpsResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceStopVps`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceStopVpsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageUnarchiveResponse ManageServiceUnarchive(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceUnarchive(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceUnarchive``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceUnarchive`: ManageUnarchiveResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceUnarchive`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceUnarchiveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManageUpdateInfoResponse ManageServiceUpdateInfo(ctx, id).ManageUpdateInfoRequest(manageUpdateInfoRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
manageUpdateInfoRequest := *openapiclient.NewManageUpdateInfoRequest() // ManageUpdateInfoRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManageServiceApi.ManageServiceUpdateInfo(context.Background(), id).ManageUpdateInfoRequest(manageUpdateInfoRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManageServiceApi.ManageServiceUpdateInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManageServiceUpdateInfo`: ManageUpdateInfoResponse
fmt.Fprintf(os.Stdout, "Response from `ManageServiceApi.ManageServiceUpdateInfo`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiManageServiceUpdateInfoRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
manageUpdateInfoRequest | ManageUpdateInfoRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]