You need to enable JavaScript to run this app.
导航
ModifyInstanceAttributes
最近更新时间:2023.03.30 19:59:25首次发布时间:2023.03.30 19:59:25

调用 ModifyInstanceAttributes 接口修改对应实例名称、描述等实例信息。

请求参数

参数

参数类型

是否必选

示例值

说明

InstanceId

String

kafka-cnngqkfgdudt****

实例 ID。

InstanceName

String

myinstance

实例名称。

InstanceDescription

String

New instance

实例描述。

响应参数

示例

请求示例

POST /?Action=ModifyInstanceAttributes&Version=2022-05-01 HTTP/1.1
Content-Type: application/json
Host: kafka.volcengineapi.com
X-Date: 20210328T100802Z
Authorization: HMAC-SHA256 Credential=AK********/20210328/cn-beijing/kafka/request, SignedHeaders=x-date, Signature=********

{
  "InstanceId": "kafka-cnng5ysg5vv9****",
  "InstanceName": "DTS-all",
  "InstanceDescription": "DTS-all"
}

响应示例

{
    "ResponseMetadata": {
        "RequestId": "202302271847143C6FF96F30A58C7F0FE4",
        "Action": "ModifyInstanceAttributes",
        "Version": "2022-05-01",
        "Service": "Kafka",
        "Region": "cn-beijing"
    },
    "Result": null
}