ModifyDBInstanceNetExpireTime
Extends the classic network retention period for a MongoDB instance.
Operation description
When you call this operation, the instance must meet the following conditions:
The instance is in the Running state.
The network type of the instance is hybrid access mode.
This operation is applicable to replica set instances and sharded cluster instances. Standalone instances are not supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyDBInstanceNetExpireTime |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bpxxxxxxxx |
| ConnectionString |
string |
No |
The endpoint of the instance. |
dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com |
| ClassicExpendExpiredDays |
integer |
Yes |
Sets the retention period of the original classic network endpoint. Valid values: 14, 30, 60, and 120. Unit: days. |
30 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
459E7D5C-38DA-4E14-9C82-5B5AF693DBAB |
Examples
Success response
JSON format
{
"RequestId": "459E7D5C-38DA-4E14-9C82-5B5AF693DBAB"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidConnectionString.NotFound | Specified connection string or net type is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.