Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 2.08 KB

File metadata and controls

77 lines (49 loc) · 2.08 KB

\OrganizationClusterLockAPI

All URIs are relative to https://api.qovery.com

Method HTTP request Description
ListClusterLock Get /organization/{organizationId}/lock List locked Cluster by organization

ListClusterLock

ClusterLockList ListClusterLock(ctx, organizationId).Execute()

List locked Cluster by organization

Example

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)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
organizationId string

Other Parameters

Other parameters are passed through a pointer to a apiListClusterLockRequest struct via the builder pattern

Name Type Description Notes

Return type

ClusterLockList

Authorization

ApiKeyAuth, 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]