Queries a specific HTTPS application configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetHttpsApplicationConfiguration |
get |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID. You can obtain this ID by calling the ListSites operation. |
1234567890123 |
| ConfigId |
integer |
Yes |
The configuration ID. You can obtain this ID by calling the listHttpsApplicationConfigurations operation. |
352816096987136 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
A3790430-3A06-535F-A424-0998BD9A6C9F |
| ConfigId |
integer |
The configuration ID. |
352816096987136 |
| ConfigType |
string |
The configuration type. Valid values:
|
global |
| SiteVersion |
integer |
The site configuration version number. For sites with configuration versioning enabled, this indicates which version applies. Defaults to |
1 |
| Sequence |
integer |
The rule execution order. A smaller value indicates a higher priority. |
1 |
| RuleEnable |
string |
Whether the rule is enabled. Not required for global configurations. Valid values:
|
on |
| Rule |
string |
The conditional expression used to match user requests. Not required for global configurations. Two usage scenarios:
|
(http.host eq \"video.example.com\") |
| RuleName |
string |
The rule name. Not required for global configurations. |
rule_example |
| HttpsForce |
string |
Whether force HTTPS is enabled. Disabled by default. Valid values:
|
on |
| HttpsForceCode |
string |
The status code for the force HTTPS redirect. Valid values:
|
301 |
| AltSvc |
string |
Whether the Alt-Svc feature is enabled. Disabled by default. Valid values:
|
on |
| AltSvcClear |
string |
Whether the
|
on |
| AltSvcPersist |
string |
Whether the
|
on |
| AltSvcMa |
string |
The Alt-Svc max-age, in seconds. Default: |
86400 |
| Hsts |
string |
Whether HSTS is enabled. Disabled by default. Valid values:
|
on |
| HstsMaxAge |
string |
The value of the |
3600 |
| HstsIncludeSubdomains |
string |
Whether subdomains are included in the HSTS policy. Disabled by default. Valid values:
|
on |
| HstsPreload |
string |
Whether HSTS preload is enabled. Disabled by default. Valid values:
|
on |
| HttpsSniVerify |
string |
Whether SNI verification is enabled. Disabled by default. Valid values:
|
on |
| HttpsNoSniDeny |
string |
Whether TLS handshakes without SNI are denied. Disabled by default. Valid values:
|
on |
| HttpsSniWhitelist |
string |
The SNI allowlist. Separate multiple values with a space. |
abc edf |
Examples
Success response
JSON format
{
"RequestId": "A3790430-3A06-535F-A424-0998BD9A6C9F",
"ConfigId": 352816096987136,
"ConfigType": "global",
"SiteVersion": 1,
"Sequence": 1,
"RuleEnable": "on",
"Rule": "(http.host eq \\\"video.example.com\\\")",
"RuleName": "rule_example",
"HttpsForce": "on",
"HttpsForceCode": "301",
"AltSvc": "on",
"AltSvcClear": "on",
"AltSvcPersist": "on",
"AltSvcMa": "86400",
"Hsts": "on",
"HstsMaxAge": "3600",
"HstsIncludeSubdomains": "on",
"HstsPreload": "on",
"HttpsSniVerify": "on",
"HttpsNoSniDeny": "on",
"HttpsSniWhitelist": "abc edf"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.