Skip to main content

ModifyNatGatewayAttribute

Description

call the deModifyNatGatewayAttribute interface to modify the name and description of the NAT gateway.

Request Method

POST

Request Path

/apsara/route/Vpc/ModifyNatGatewayAttribute

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
DescriptionBODYstringNofortestdescription information of NAT gateway to be modified. is 2 to 256 characters in length and must start with letters or Chinese, but cannot be http:// or https://. description Name and Description parameter must pass at least one.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the NAT gateway. you can obtain the region by calling DescribeRegions interface ID.
NatGatewayIdBODYstringYesngw-2ze0dcn4mq31qx2jc****ID of NAT gateway to be modified.
versionBODYstringNo2016-01-01version of api
NameBODYstringNonat123the name of the NAT gateway to be modified. is 2 to 128 characters in length, must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-). But you cannot use http:// or https:// start. description Name and Description parameter must pass at least one.

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
}

}