BackupsApi
Method
HTTP request
Description
BackupsFindById
var result BackupResponse = BackupsFindById(ctx, backupId)
.Execute()Example
package main
import (
"context"
"fmt"
"os"
ionoscloud "github.com/ionos-cloud/sdk-go-dbaas-mariadb"
)
func main() {
backupId := "498ae72f-411f-11eb-9d07-046c59cc737e" // string | The unique ID of the backup.
configuration := ionoscloud.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := ionoscloud.NewAPIClient(configuration)
resource, resp, err := apiClient.BackupsApi.BackupsFindById(context.Background(), backupId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BackupsApi.BackupsFindById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp)
}
// response from `BackupsFindById`: BackupResponse
fmt.Fprintf(os.Stdout, "Response from `BackupsApi.BackupsFindById`: %v\n", resource)
}Path Parameters
Name
Type
Description
Notes
Other Parameters
Return type
HTTP request headers
URLs Configuration per Operation
BackupsGet
Example
Path Parameters
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
URLs Configuration per Operation
ClusterBackupsGet
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
URLs Configuration per Operation
Last updated