Imports a GCP cluster
POST/v1/spectroclusters/gcp/import
Imports a GCP cluster
Request
Header Parameters
Scope the request to the specified project uid
- application/json
Body
metadata object
ObjectMeta input entity for object creation
annotations object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set
labels object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Name of the resource
spec object
clusterConfig object
Possible values: [read-only
]
If the importMode is empty then cluster is imported with full permission mode. By default importMode is empty and cluster is imported in full permission mode.
proxy object
Cluster proxy settings
Location to mount Proxy CA cert inside container
Location for Proxy CA cert on host nodes
URL for HTTP requests unless overridden by NoProxy
HTTPS requests unless overridden by NoProxy
NoProxy represents the NO_PROXY or no_proxy environment
Responses
- 201
Created successfully
Response Headers
AuditUid string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
{
"uid": "string"
}