All Products
Search
Document Center

Smart Access Gateway:DeleteRouteDistributionStrategy

Last Updated:Mar 29, 2024

Deletes a route advertisement policy.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region where the Smart Access Gateway (SAG) instance is deployed.

cn-shanghai
SmartAGIdstringYes

The ID of the SAG instance.

sag-gyat6giidkvyk****
DestCidrBlockstringYes

The destination CIDR block.

192.XX.XX.0/24
SourceTypestringYes

The type of the route source. Valid values:

  • cloud: Alibaba Cloud
  • local: on-premises network
local
RouteSourcestringYes

The source of routes. Valid values:

  • Alibaba Cloud

    • Virtual private cloud (VPC) IDs: Routes that are learned from VPCs.
    • Virtual border router (VBR) IDs: Routes that are learned from VBRs.
    • SAG instance IDs: Routes that are learned from SAG instances.
  • On-premises network

    • STATIC: Static routes that are specified in the SAG console.
    • OSPF: Routes that are learned through the Open Shortest Path First (OSPF) protocol.
    • BGP: Routes that are learned through Border Gateway Protocol (BGP).
STATIC

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

BF62139B-D64A-4C95-A55F-6A2335C4417D

Examples

Sample success responses

JSONformat

{
  "RequestId": "BF62139B-D64A-4C95-A55F-6A2335C4417D"
}

Error codes

HTTP status codeError codeError messageDescription
400SAG.InstanceIdEmptyYou must specify the SAG instance ID.You must specify the SAG instance ID.
400SAG.InstanceNoFoundThe specified SAG instance does not exist.The specified SAG instance does not exist.
400RD.InvalidDestCidrBlockThe specified destination CIDR block is invalid.The specified destination CIDR block is invalid.
400RD.InvalidRouteSourceThe specified route source is invalid.The specified route source is invalid.
400RD.InvalidSourceTypeThe specified route source type is invalid.The specified route source type is invalid.

For a list of error codes, visit the Service error codes.