Skip to main content
Version: latest

Imports a libvirt cluster

POST 

/v1/spectroclusters/libvirt/import

Imports a libvirt 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 are system generated key value metadata for the resource. As an input certain annotations like description can be set.

    property name*string

    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

    property name*string
    namestring

    Name of the resource.

    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...