Skip to main content
Version: latest

Imports a Maas cluster

POST 

/v1/spectroclusters/maas/import

Imports a Maas cluster

Request

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

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

    property name*string

    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

    property name*string
    namestring

    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

    importModestring

    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

    caContainerMountPathstring

    Location to mount Proxy CA cert inside container

    caHostPathstring

    Location for Proxy CA cert on host nodes

    httpProxystring

    URL for HTTP requests unless overridden by NoProxy

    httpsProxystring

    HTTPS requests unless overridden by NoProxy

    noProxystring

    NoProxy represents the NO_PROXY or no_proxy environment

Responses

Created successfully

Response Headers

  • AuditUid

    string

    Audit uid for the request

Schema

    uidstringrequired
Loading...