Cloud providers
Get a cloud provider.
Path Parameters
cloudProviderSlugstring
Pattern
"^[a-z0-9-]+$"
Response Body
Request was successfully processed. The response body contains the requested data.
TypeScript Definitions
Use the response body type in TypeScript.
id?integer
Format
"int64"
name?string
slug?string
available?boolean
createdAt?string
Format
"date-time"
modifiedAt?string
Format
"date-time"
logo?string
byon?boolean
type?string
Value in
"aws" | "azure" | "byon" | "digitalocean" | "empty" | "hetzner" | "multipass" | "none" | "openstack" | "vsphere"
privateClusterSetting?string
Value in
"UNAVAILABLE" | "ENFORCED" | "PREFERRED" | "SELECTABLE"
metadata?object
Empty Object
validateCloudCredentials?boolean
Invalid request parameters. Please review the documentation for valid parameter values.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
You do not have the necessary permissions to access this resource.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
The requested resource could not be found. Please check the resource URL or identifier.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
An internal error occurred on the server.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
curl -X GET "https://api.avisi.cloud/api/v1/cloud-providers/string"
fetch("https://api.avisi.cloud/api/v1/cloud-providers/string")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.avisi.cloud/api/v1/cloud-providers/string"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.avisi.cloud/api/v1/cloud-providers/string"
response = requests.request("GET", url)
print(response.text)
{
"id": 0,
"name": "string",
"slug": "string",
"available": true,
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"logo": "string",
"byon": true,
"type": "aws",
"privateClusterSetting": "UNAVAILABLE",
"metadata": {
"property1": "string",
"property2": "string"
},
"validateCloudCredentials": true
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}