Skip to main content

Updates the specified namespace of the cluster

PUT 

/v1/spectroclusters/:uid/config/namespaces/:namespaceUid

Updates the specified namespace of the cluster

Request

Path Parameters

    uid stringrequired

    Cluster uid

    namespaceUid stringrequired

    Cluster namespace uid

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    metadata

    object

    ObjectMeta update entity with uid as input

    annotations

    object

    property name*string

    labels

    object

    property name*string
    namestring
    uidstring

    spec

    Cluster namespace spec

    isRegexboolean

    relatedObject

    object

    Object for which the resource is related

    kindstring

    Possible values: [spectrocluster, machine, cloudconfig, clusterprofile, pack, appprofile, appdeployment, edgehost]

    namestring
    uidstring

    resourceAllocation

    Cluster namespace resource allocation

    cpuCoresnumber
    memoryMiBnumber

Responses

The resource was updated successfully

Loading...