Deletes a route learning correlation.
Usage notes
DisableTransitRouterRouteTablePropagation is an synchronous operation. After you send a request, the request ID is returned but the operation is still being performed in the system background. You can call ListTransitRouterRouteTablePropagations to query the status of a route learning correlation.
- If a route learning correlation is in the Disabling state, the route learning correlation is being deleted. You can query the route learning correlation but cannot perform other operations.
- If a route learning correlation cannot be found, the route learning correlation is deleted.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DisableTransitRouterRouteTablePropagation |
The operation that you want to perform. Set the value to DisableTransitRouterRouteTablePropagation. |
| TransitRouterAttachmentId | String | Yes | tr-attach-vx6iwhjr1x1j78**** |
The ID of the network instance connection. |
| TransitRouterRouteTableId | String | Yes | vtb-bp1dudbh2d5na6b50**** |
The ID of the route table of the Enterprise Edition transit router. |
| ClientToken | String | No | 02fb3da4-130e-11e9-8e44-001**** |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters. Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
|
| DryRun | Boolean | No | false |
Specifies whether to perform a precheck to check information such as the permissions and instance status. Valid values:
|
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | A7C43F99-B1E5-4A53-AB64-4BAE8AF4484E |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DisableTransitRouterRouteTablePropagation
&TransitRouterAttachmentId=tr-attach-vx6iwhjr1x1j78****
&TransitRouterRouteTableId=vtb-bp1dudbh2d5na6b50****
&ClientToken=02fb3da4-130e-11e9-8e44-001****
&DryRun=false
&<Common request parameters>
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DisableTransitRouterRouteTablePropagationResponse>
<RequestId>A7C43F99-B1E5-4A53-AB64-4BAE8AF4484E</RequestId>
</DisableTransitRouterRouteTablePropagationResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "A7C43F99-B1E5-4A53-AB64-4BAE8AF4484E"
}
Error codes
| HttpCode | Error code | Error message | Description |
|---|---|---|---|
| 400 | InvalidAttachmentId.NotFound | The specified AttachmentId is not found. | The error message returned because the specified network instance connection ID does not exist. |
For a list of error codes, visit the API Error Center.