You need to enable JavaScript to run this app.
导航

ModifyCloudConnectorAttributes

最近更新时间2024.01.09 07:43:30

首次发布时间2024.01.09 07:43:30

调用ModifyCloudConnectorAttributes修改云连接器的描述信息。

请求参数

名称类型是否必选示例值描述
ActionStringModifyCloudConnectorAttributes要执行的操作,取值:ModifyCloudConnectorAttributes。
VersionString2020-04-01API版本信息。

CloudConnectorId

String

cc-1sdsf334j51288****

云连接器实例的ID。您可调用DescribeCloudConnectors查询云连接器实例ID。

CloudConnectorName

String

Cciot-name

云连接器实例的名称。

  • 以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短划线(-)。

  • 长度限制为1 ~ 128个字符。

  • 不填保持原有配置。

Description

String

Cciot-desc

云连接器关实例的描述。

  • 以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。

  • 长度限制为0 ~ 255个字符。

  • 不填保持原有配置。

返回数据

名称类型示例值描述
RequestIdString0ED8D006-F706-4D23-88ED-E11ED28D****请求ID。

请求示例

GET /?Action=ModifyCloudConnectorAttributes&Version=2020-04-01&CloudConnectorId=cc-12bjay8vxvl6o17q7y2h*****&CloudConnectorName=test&Description=test HTTP/1.1
Host: open.volcengineapi.com
ServiceName: directconnect
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202401031420253E5A140AC4F5DB******",
        "Action": "ModifyCloudConnectorAttributes",
        "Version": "2020-04-01",
        "Service": "directconnect",
        "Region": "cn-beijing"
    },
    "Result": {
        "RequestId": "20240103142338370D93418519AB******",
    }
}

错误码

此处仅展示当前API的错误码,更多错误码请参见公共错误码

HttpCode错误码错误信息描述
400DryRunOperationException raised to indicate a successfully authorized action when the DryRun flag is set to true.该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。
400InvalidCloudConnector.InvalidStatusThe specified cloud connector is not in the correct status for the request.指定的云连接器所处的状态无法响应该请求。
400InvalidDescription.MalformedThe specified description is malformed. Ensure the maximum length of description is 255.指定的描述格式不合法。描述长度不能超过255个字符。

400

InvalidDescription.Malformed

The specified description is malformed.

指定的描述格式不合法。请修复描述格式后重试。

400InvalidName.MalformedThe specified name is malformed. Ensure the maximum length of name is 128.指定的名称格式不合法。名称长度不能超过128个字符。
400InvalidName.MalformedThe specified name is malformed.指定的名称格式不合法。请修复名称格式后重试。
404InvalidCloudConnector.NotFoundThe specified cloud connector does not exist.指定的云连接器不存在。