跳到主要内容
版本:v0.5

Patch a resource of an environment that belongs to a project.

Patch a resource.

Patch a resource of an environment that belongs to a project.

Path Parameters
    project string required
    environment string required
    resource string required
Request Body required
    annotations object
    property name* string
    attributes object
    property name* byte
    changeComment string
    computedAttributes object
    property name* byte
    createTime date-time
    description string
    draft boolean

    Default value: false

    endpoints object[]
  • Array [
  • name string required
    url string required
  • ]
  • labels object
    property name* string
    name string
    resourceDefinitionMatchingRule object
    id string
    name string
    status object
    conditions object[]
  • Array [
  • lastUpdateTime date-time
    message string
    reason string required
    status string
    type string
  • ]
  • error boolean
    inactive boolean
    summaryStatus string
    summaryStatusMessage string
    transitioning boolean
    template object
    id string
    name string
    project object
    id string
    name string
    version string
    type string
    updateTime date-time
Responses

Accepted


Schema
    message string
    status integer

    Default value: 202

    statusText string

    Default value: Accepted

Loading...