Imports a cluster of any cloud type in generic way
POST/v1/spectroclusters/generic/import
The machines information will be captured, whereas the cloud specific configuration info will not be retrieved
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 is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
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
edgeConfig
object
Deprecated. Use 'edgeHostUids' field
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
{
"uid": "string"
}