All Products
Search
Document Center

Serverless App Engine:DescribeIngress

Last Updated:Dec 17, 2025

Call the DescribeIngress operation to query the details of an Ingress.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
sae:DescribeIngressget
*All Resources
*
    none
none

Request syntax

GET /pop/v1/sam/ingress/Ingress HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
IngressIdlongYes

The ID of the routing rule to be queried.

87

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

RequestIdstring

The ID of a request.

91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
Messagestring

The message returned. Valid values:

  • success is returned when a request is successful.
  • An error code is returned when the request failed.
success
TraceIdstring

The ID of a trace. The ID is used to query the details of a request.

0a981dd515966966104121683d****
Dataobject

The result returned.

SlbIdstring

The ID of a Server Load Balancer (SLB) instance.

lb-uf62****6d13tq2u5
NamespaceIdstring

The ID of a namespace.

cn-beijing:sae-test
Descriptionstring

The name of a routing rule.

ingress-sae-test
ListenerPortinteger

The listener ports for an SLB instance.

443
SlbTypestring

The type of an SLB instance. Valid values:

  • internet: an Internet-facing SLB instance
  • intranet: an Intranet-facing SLB instance
internet
CertIdstring

The ID of the certificate that is associated with a Classic Load Balancer (CLB) instance.

13623****809_16cad216b32_845_-419427029
Namestring

The name of a routing rule.

lb-uf6jt0nu4z6ior943****-80-f5****
DefaultRuleobject

The default rule.

ContainerPortinteger

The container port of the application that is specified in the default rule.

8080
AppNamestring

The name of the application that is specified in the default rule.

app1
AppIdstring

The ID of the application that is specified in the default rule.

395b60e4-0550-458d-9c54-a265d036****
BackendProtocolstring

The backend protocol. Valid values:

  • http: HTTP is suitable for applications that need to identify the transmitted data.
  • https: HTTP is suitable for applications that require encrypted data transmission.
  • grpc: GRPC is suitable for load balancing scenarios in which you want to deploy services in multi-language frameworks, such as the .NET framework.

This parameter is returned only if theLoadBalanceType parameter is set to ALB and the ListenerProtocol parameter is set to HTTPS.

HTTP
Rulesarray<object>

The forwarding rules.

Ruleobject

The forwarding rules.

AppNamestring

The name of the application specified in the forwarding rules.

app1
ContainerPortinteger

Tthe container port of the application specified in the forwarding rules.

8080
Domainstring

The domain name of the application specified in the forwarding rules.

edas.site
AppIdstring

The ID of the application specified in the forwarding rule.

395b60e4-0550-458d-9c54-a265d036****
Pathstring

The path of a URL.

/path1
BackendProtocolstring

The backend protocol. Valid values:

  • http: HTTP is suitable for applications that need to identify the transmitted data.
  • https: HTTPS is suitable for applications that require encrypted data transmission.
  • grpc: GRPC is suitable for load balancing scenarios in which you want to deploy services in multi-language frameworks, such as the .NET framework.

This parameter is returned only if the LoadBalanceType parameter is set to ALB and the ListenerProtocol parameter is set to HTTPS.

HTTP
RewritePathstring

The path that is used to rewrite the original path.

/${1}
Idlong

The ID of a routing rule.

87
LoadBalanceTypestring

The type of SLB instances. Valid values:

  • clb: Classic Load Balancer (formerly known as SLB).
  • alb: Application Load Balancer.
clb
ListenerProtocolstring

The protocol used to forward requests. Valid values:

  • HTTP: HTTP is suitable for applications that need to identify the transmitted data.
  • HTTPS: HTTPS is suitable for applications that require encrypted data transmission.

This parameter is optional in the CreateIngress and UpadateIngress operations. If you do not configure this parameter when you call the CreateIngress or UpdateIngress operation to create or update a gateway routing rule, this parameter is not returned for the corresponding response.

HTTP
CertIdsstring

The ID of the certificate that is associated with an Application Load Balancer ALB instance.

87***35-cn-hangzhou,812***3-cn-hangzhou
ErrorCodestring

The error codes. Valid values:

  • ErrorCode is not returned if a request is successful.
  • ErrorCode is returned if a request failed. For more information, see Error code section of this topic.
Codestring

The HTTP status code. Valid values:

  • 2xx: The request was successful.
  • 3xx: The request was redirected.
  • 4xx: The request failed.
  • 5xx: A server error occurred.
200
Successboolean

Indicates whether the configurations of Ingresses were queried successfully. Valid values:

  • true: The information was queried.
  • false: The information failed to be queried.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
  "Message": "success",
  "TraceId": "0a981dd515966966104121683d****",
  "Data": {
    "SlbId": "lb-uf62****6d13tq2u5",
    "NamespaceId": "cn-beijing:sae-test",
    "Description": "ingress-sae-test",
    "ListenerPort": 443,
    "SlbType": "internet",
    "CertId": "13623****809_16cad216b32_845_-419427029",
    "Name": "lb-uf6jt0nu4z6ior943****-80-f5****",
    "DefaultRule": {
      "ContainerPort": 8080,
      "AppName": "app1",
      "AppId": "395b60e4-0550-458d-9c54-a265d036****",
      "BackendProtocol": "HTTP"
    },
    "Rules": [
      {
        "AppName": "app1",
        "ContainerPort": 8080,
        "Domain": "edas.site",
        "AppId": "395b60e4-0550-458d-9c54-a265d036****",
        "Path": "/path1",
        "BackendProtocol": "HTTP",
        "RewritePath": "/${1}",
        "RuleActions": [
          {
            "ActionType": "",
            "ActionConfig": ""
          }
        ]
      }
    ],
    "Id": 87,
    "LoadBalanceType": "clb",
    "ListenerProtocol": "HTTP",
    "CertIds": "87***35-cn-hangzhou,812***3-cn-hangzhou",
    "SecurityPolicyId": "sp-n0kn923****",
    "RequestTimeout": 60,
    "IdleTimeout": 3,
    "EnableXForwardedFor": true,
    "EnableXForwardedForClientSrcPort": true,
    "EnableXForwardedForProto": true,
    "EnableXForwardedForSlbId": true,
    "EnableXForwardedForSlbPort": true,
    "CreatedBySae": true,
    "CorsConfig": {
      "Enable": "",
      "ExposeHeaders": "",
      "AllowHeaders": "",
      "AllowMethods": "",
      "AllowOrigin": "",
      "AllowCredentials": "",
      "MaxAge": ""
    }
  },
  "ErrorCode": "",
  "Code": 200,
  "Success": true
}

Error codes

HTTP status codeError codeError message
400InvalidParameter.NotEmptyYou must specify the parameter %s.
400InvalidParameter.ObviouslyThe specified parameter is invalid {%s}.
400InvalidParameter.WithMessageThe parameter is invalid {%s}: %s

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

Change history

Change timeSummary of changesOperation
2025-10-24The Error code has changed. The response structure of the API has changedView Change Details
2025-03-21The Error code has changed. The response structure of the API has changedView Change Details
2025-01-10The Error code has changed. The response structure of the API has changedView Change Details
2024-11-06The Error code has changed. The response structure of the API has changedView Change Details
2024-10-29The Error code has changed. The response structure of the API has changedView Change Details
2024-09-11The Error code has changed. The response structure of the API has changedView Change Details
2024-08-21The Error code has changed. The response structure of the API has changedView Change Details
2023-05-08The Error code has changed. The response structure of the API has changedView Change Details