最近更新时间:2024.01.12 10:22:11
首次发布时间:2022.01.07 11:44:37
调用ModifyCenAttributes接口,修改云企业网实例的信息。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ModifyCenAttributes | 要执行的操作,取值为ModifyCenAttributes。 |
Version | String | 是 | 2020-04-01 | API版本信息,当前版本为2020-04-01。 |
CenId | String | 是 | cen-7qthudw0ll6jmc**** | 待修改信息的云企业网实例的ID。您可以调用DescribeCens接口获取云企业网实例ID。 |
CenName | String | 否 | cen-test | 云企业网实例的名称。
|
Description | String | 否 | This is a sample description | 云企业网实例的描述信息。
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 202111161611080102121461940900**** | 请求ID。 |
GET /?Action=ModifyCenAttributes&Version=2020-04-01&CenId=cen-7qthudw0ll6jmc****&CenName=cen-test&Description=test HTTP/1.1 Host: open.volcengineapi.com Service: cen Region: cn-beijing
{ "ResponseMetadata": { "RequestId": "202111161611080102121461940900****", "Action": "ModifyCenAttributes", "Version": "2020-04-01", "Service": "cen", "Region": "cn-beijing" }, "Result": {} }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidName.Malformed | The specified name is malformed. Ensure the maximum length of name is 128. | 指定的名称格式不合法,名称长度不能超过128个字符。 |
400 | InvalidName.Malformed | The specified name is malformed. | 指定的名称格式不合法,请修复名称格式后重试。 |
400 | InvalidDescription.Malformed | The specified description is malformed. Ensure the maximum length of description is 255. | 指定的描述格式不合法,描述长度不能超过255个字符。 |
400 | InvalidDescription.Malformed | The specified description is malformed. | 指定的描述格式不合法,请修复描述格式后重试。 |
404 | InvalidCen.NotFound | The specified CEN does not exist. | 指定的云企业网实例不存在。 |
409 | InvalidCen.InvalidStatus | The specified CEN instance is not in the correct status for the request. | 指定的云企业网实例所处的状态无法响应该请求,请稍后再试。 |