All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| ListClusterLock | Get /organization/{organizationId}/lock | List locked Cluster by organization |
ClusterLockList ListClusterLock(ctx, organizationId).Execute()
List locked Cluster by organization
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "organizationId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OrganizationClusterLockAPI.ListClusterLock(context.Background(), organizationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OrganizationClusterLockAPI.ListClusterLock``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListClusterLock`: ClusterLockList
fmt.Fprintf(os.Stdout, "Response from `OrganizationClusterLockAPI.ListClusterLock`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| organizationId | string |
Other parameters are passed through a pointer to a apiListClusterLockRequest 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]