Skip to content

Latest commit

 

History

History
1085 lines (705 loc) · 29.7 KB

CloudProviderAPI.md

File metadata and controls

1085 lines (705 loc) · 29.7 KB

\CloudProviderAPI

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

Method HTTP request Description
ListAWSEKSInstanceType Get /aws/eks/instanceType/{region} List AWS EKS available instance types
ListAWSEc2InstanceType Get /aws/ec2/instanceType/{region} List AWS EC2 available instance types
ListAWSFeatures Get /aws/clusterFeature List AWS features available
ListAWSInstanceType Get /aws/instanceType List AWS available instance types
ListAWSManagedDatabaseInstanceType Get /aws/managedDatabase/instanceType/{region}/{databaseType} List AWS available managed database instance types
ListAWSManagedDatabaseType Get /aws/managedDatabase/type List AWS available managed database types
ListAWSRegions Get /aws/region List AWS regions
ListCloudProvider Get /cloudProvider List Cloud providers available
ListGcpFeatures Get /gcp/clusterFeature List GCP features available
ListGcpGkeInstanceType Get /gcp/instanceType/{region} List GCP GKE available instance types
ListGcpRegions Get /gcp/region List GCP regions
ListSCWManagedDatabaseInstanceType Get /scaleway/managedDatabase/instanceType/{zone}/{databaseType} List Scaleway available managed database instance types
ListSCWManagedDatabaseType Get /scaleway/managedDatabase/type List Scaleway available managed database types
ListScalewayFeatures Get /scaleway/clusterFeature List Scaleway features available
ListScalewayInstanceType Get /scaleway/instanceType List Scaleway available instance types
ListScalewayKapsuleInstanceType Get /scaleway/instanceType/{zone} List Scaleway Kapsule available instance types
ListScalewayRegions Get /scaleway/region List Scaleway regions

ListAWSEKSInstanceType

ClusterInstanceTypeResponseList ListAWSEKSInstanceType(ctx, region).Execute()

List AWS EKS available instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	region := "us-east-2" // string | region name

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListAWSEKSInstanceType(context.Background(), region).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListAWSEKSInstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListAWSEKSInstanceType`: ClusterInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListAWSEKSInstanceType`: %v\n", resp)
}

Path Parameters

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

Other Parameters

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

Name Type Description Notes

Return type

ClusterInstanceTypeResponseList

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]

ListAWSEc2InstanceType

ClusterInstanceTypeResponseList ListAWSEc2InstanceType(ctx, region).Execute()

List AWS EC2 available instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	region := "us-east-2" // string | region name

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListAWSEc2InstanceType(context.Background(), region).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListAWSEc2InstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListAWSEc2InstanceType`: ClusterInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListAWSEc2InstanceType`: %v\n", resp)
}

Path Parameters

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

Other Parameters

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

Name Type Description Notes

Return type

ClusterInstanceTypeResponseList

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]

ListAWSFeatures

ClusterFeatureResponseList ListAWSFeatures(ctx).Execute()

List AWS features available

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListAWSFeatures(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListAWSFeatures``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListAWSFeatures`: ClusterFeatureResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListAWSFeatures`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterFeatureResponseList

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]

ListAWSInstanceType

ClusterInstanceTypeResponseList ListAWSInstanceType(ctx).Execute()

List AWS available instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListAWSInstanceType(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListAWSInstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListAWSInstanceType`: ClusterInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListAWSInstanceType`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterInstanceTypeResponseList

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]

ListAWSManagedDatabaseInstanceType

ManagedDatabaseInstanceTypeResponseList ListAWSManagedDatabaseInstanceType(ctx, region, databaseType).Execute()

List AWS available managed database instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	region := "us-east-2" // string | region name
	databaseType := "MYSQL" // string | Database type

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListAWSManagedDatabaseInstanceType(context.Background(), region, databaseType).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListAWSManagedDatabaseInstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListAWSManagedDatabaseInstanceType`: ManagedDatabaseInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListAWSManagedDatabaseInstanceType`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
region string region name
databaseType string Database type

Other Parameters

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

Name Type Description Notes

Return type

ManagedDatabaseInstanceTypeResponseList

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]

ListAWSManagedDatabaseType

ManagedDatabaseTypeResponseList ListAWSManagedDatabaseType(ctx).Execute()

List AWS available managed database types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListAWSManagedDatabaseType(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListAWSManagedDatabaseType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListAWSManagedDatabaseType`: ManagedDatabaseTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListAWSManagedDatabaseType`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ManagedDatabaseTypeResponseList

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]

ListAWSRegions

ClusterRegionResponseList ListAWSRegions(ctx).Execute()

List AWS regions

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListAWSRegions(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListAWSRegions``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListAWSRegions`: ClusterRegionResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListAWSRegions`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterRegionResponseList

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]

ListCloudProvider

CloudProviderResponseList ListCloudProvider(ctx).Execute()

List Cloud providers available

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListCloudProvider(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListCloudProvider``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListCloudProvider`: CloudProviderResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListCloudProvider`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

CloudProviderResponseList

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]

ListGcpFeatures

ClusterFeatureResponseList ListGcpFeatures(ctx).Execute()

List GCP features available

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListGcpFeatures(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListGcpFeatures``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListGcpFeatures`: ClusterFeatureResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListGcpFeatures`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterFeatureResponseList

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]

ListGcpGkeInstanceType

ClusterInstanceTypeResponseList ListGcpGkeInstanceType(ctx, region).Execute()

List GCP GKE available instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	region := "us-east-2" // string | region name

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListGcpGkeInstanceType(context.Background(), region).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListGcpGkeInstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListGcpGkeInstanceType`: ClusterInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListGcpGkeInstanceType`: %v\n", resp)
}

Path Parameters

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

Other Parameters

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

Name Type Description Notes

Return type

ClusterInstanceTypeResponseList

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]

ListGcpRegions

ClusterRegionResponseList ListGcpRegions(ctx).Execute()

List GCP regions

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListGcpRegions(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListGcpRegions``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListGcpRegions`: ClusterRegionResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListGcpRegions`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterRegionResponseList

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]

ListSCWManagedDatabaseInstanceType

ManagedDatabaseInstanceTypeResponseList ListSCWManagedDatabaseInstanceType(ctx, databaseType).Execute()

List Scaleway available managed database instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	databaseType := "MYSQL" // string | Database type

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListSCWManagedDatabaseInstanceType(context.Background(), databaseType).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListSCWManagedDatabaseInstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListSCWManagedDatabaseInstanceType`: ManagedDatabaseInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListSCWManagedDatabaseInstanceType`: %v\n", resp)
}

Path Parameters

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

Other Parameters

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

Name Type Description Notes

Return type

ManagedDatabaseInstanceTypeResponseList

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]

ListSCWManagedDatabaseType

ManagedDatabaseTypeResponseList ListSCWManagedDatabaseType(ctx).Execute()

List Scaleway available managed database types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListSCWManagedDatabaseType(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListSCWManagedDatabaseType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListSCWManagedDatabaseType`: ManagedDatabaseTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListSCWManagedDatabaseType`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ManagedDatabaseTypeResponseList

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]

ListScalewayFeatures

ClusterFeatureResponseList ListScalewayFeatures(ctx).Execute()

List Scaleway features available

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListScalewayFeatures(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListScalewayFeatures``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListScalewayFeatures`: ClusterFeatureResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListScalewayFeatures`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterFeatureResponseList

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]

ListScalewayInstanceType

ClusterInstanceTypeResponseList ListScalewayInstanceType(ctx).Execute()

List Scaleway available instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListScalewayInstanceType(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListScalewayInstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListScalewayInstanceType`: ClusterInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListScalewayInstanceType`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterInstanceTypeResponseList

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]

ListScalewayKapsuleInstanceType

ClusterInstanceTypeResponseList ListScalewayKapsuleInstanceType(ctx, zone).Execute()

List Scaleway Kapsule available instance types

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	zone := "fr-par-1" // string | zone name

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListScalewayKapsuleInstanceType(context.Background(), zone).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListScalewayKapsuleInstanceType``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListScalewayKapsuleInstanceType`: ClusterInstanceTypeResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListScalewayKapsuleInstanceType`: %v\n", resp)
}

Path Parameters

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

Other Parameters

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

Name Type Description Notes

Return type

ClusterInstanceTypeResponseList

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]

ListScalewayRegions

ClusterRegionResponseList ListScalewayRegions(ctx).Execute()

List Scaleway regions

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.CloudProviderAPI.ListScalewayRegions(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CloudProviderAPI.ListScalewayRegions``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListScalewayRegions`: ClusterRegionResponseList
	fmt.Fprintf(os.Stdout, "Response from `CloudProviderAPI.ListScalewayRegions`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

ClusterRegionResponseList

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]