DescribeHttpTriggerConfig
Queries the HTTP trigger configuration of a cloud function.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mpserverless:DescribeHttpTriggerConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SpaceId |
string |
Yes |
The ID of the service space. |
34C45988-2B24-****-A4DC-4D6C952890D8 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EnableService |
boolean |
Indicates whether the HTTP trigger feature is enabled. |
true |
| CustomDomainCname |
string |
The canonical name (CNAME) address of the custom domain name bound to the HTTP trigger. |
724d************795a2.custom.bspapp.com |
| RequestId |
string |
The request ID. |
4555773F-769B-4960-87E6-16009E5A4844 |
| DefaultEndpoint |
string |
The default domain name. |
724dade5-492f-426b-a5df-ff****0795a2.bspapp.com |
| CustomDomainCertificateInfo |
string |
The certificate information of the custom domain name bound to the HTTP trigger. |
{"notAfter":"2021-09-28T08:21:42Z","notBefore":"2021-06-30T08:21:43Z","subject":"CN=*.example.com"} |
| CustomDomain |
string |
The custom domain name bound to the HTTP trigger. |
abc.example.com |
Examples
Success response
JSON format
{
"EnableService": true,
"CustomDomainCname": "724d************795a2.custom.bspapp.com",
"RequestId": "4555773F-769B-4960-87E6-16009E5A4844",
"DefaultEndpoint": "724dade5-492f-426b-a5df-ff****0795a2.bspapp.com",
"CustomDomainCertificateInfo": "{\"notAfter\":\"2021-09-28T08:21:42Z\",\"notBefore\":\"2021-06-30T08:21:43Z\",\"subject\":\"CN=*.example.com\"}",
"CustomDomain": "abc.example.com"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.