Skip to main content

ModifyVRouterAttribute

Description

call ModifyVRouterAttribute interface to modify router name and description information.

Request Method

POST

Request Path

/apsara/route/Vpc/ModifyVRouterAttribute

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
VRouterIdBODYstringYesvrt-bp1lhl0taikrteen8****router ID.
DescriptionBODYstringNoMy VRouterdescription information of the router to be modified. The description length is 2 to 256 characters and must start with a letter or Chinese, but cannot be http:// or https://.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the router to be modified.
VRouterNameBODYstringNoVRouter-1the router name to be modified. The name must be 2 to 128 characters in length and must start with a letter or Chinese. It can contain numbers, half-width periods (.), underscores (_), and dashes (-). But you cannot use http:// or https:// start.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}