Updates some information about a specified subnet instance, including the name of the subnet instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:UpdateSubnet |
update |
*Subnet
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| ZoneId |
string |
Yes |
The zone ID. |
cn-wulanchabu-a |
| VpdId |
string |
Yes |
The ID of the VPD to which the subnet belongs. |
vpd-aof7dat1 |
| SubnetId |
string |
Yes |
The subnet instance ID. |
subnet-f3zfzmnc |
| SubnetName |
string |
No |
The new name for the subnet instance. |
subnet-1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The message that is returned. |
success |
| RequestId |
string |
The request ID. |
3D9D6E7B-365B-5200-BFA6-9B79E269058C |
| Content |
object |
The response content. |
|
| SubnetId |
string |
The subnet instance ID. |
subnet-yuvn29bn |
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "success",
"RequestId": "3D9D6E7B-365B-5200-BFA6-9B79E269058C",
"Content": {
"SubnetId": "subnet-yuvn29bn"
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.