All Products
Search
Document Center

Edge Security Acceleration:GetHttpsBasicConfiguration

Last Updated:Nov 15, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Query a Single HTTPS Basic Configuration

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
esa:GetHttpsBasicConfigurationget
*Site
acs:esa:{#regionId}:{#accountId}:site/{#SiteId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SiteIdlongYes

Site ID, which can be obtained by calling the ListSites interface.

123456****
ConfigIdlongYes

ConfigId of the configuration, which can be obtained by calling the ListHttpsBasicConfigurations interface.

352816096987136

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Request ID.

C370DAF1-C838-4288-A1A0-9A87633D2***
ConfigIdlong

Configuration ID.

352816096987136
ConfigTypestring

Configuration type, which can be used to query global or rule configurations. Value range:

  • global: Query global configuration;
  • rule: Query rule configuration;
global
Sequenceinteger

Rule execution sequence.

1
RuleEnablestring

Rule switch. Value range:

  • on: Enable.
  • off: Disable.
on
Rulestring

Matching rule content.

(http.host eq \"video.example.com\")
RuleNamestring

Rule name.

rule_example
Httpsstring

Whether to enable HTTPS, default is enabled. Value range:

  • on: Enable.
  • off: Disable.
on
Tls10string

Whether to enable TLS1.0, default is disabled. Value range:

  • on: Enable.
  • off: Disable.
on
Tls11string

Whether to enable TLS1.1, default is disabled. Value range:

  • on: Enable.
  • off: Disable.
on
Tls12string

Whether to enable TLS1.2, default is disabled. Value range:

  • on: Enable.
  • off: Disable.
on
Tls13string

Whether to enable TLS1.3, default is disabled. Value range:

  • on: Enable.
  • off: Disable.
on
CiphersuiteGroupstring

Cipher suite group, default is all cipher suites. Value range:

  • all: All cipher suites.
  • strict: Strong cipher suites.
  • custom: Custom cipher suites.
all
Ciphersuitestring

Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom.

TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
OcspStaplingstring

Whether to enable OCSP, default is disabled. Value range:

  • on: Enable.
  • off: Disable.
on
Http2string

Whether to enable HTTP2, default is enabled. Value range:

  • on: Enable.
  • off: Disable.
on
Http3string

Whether to enable HTTP3, which is enabled by default. The value can be:

  • on: Enabled.
  • off: Disabled.
on

Examples

Sample success responses

JSONformat

{
  "RequestId": "C370DAF1-C838-4288-A1A0-9A87633D2***",
  "ConfigId": 352816096987136,
  "ConfigType": "global",
  "Sequence": 1,
  "RuleEnable": "on",
  "Rule": "(http.host eq \\\"video.example.com\\\")\n",
  "RuleName": "rule_example",
  "Https": "on",
  "Tls10": "on",
  "Tls11": "on",
  "Tls12": "on",
  "Tls13": "on",
  "CiphersuiteGroup": "all",
  "Ciphersuite": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
  "OcspStapling": "on",
  "Http2": "on",
  "Http3": "on"
}

Error codes

HTTP status codeError codeError messageDescription
400InternalExceptionFailed to call the service. Try again later or contact technical support.Failed to call the service. Try again later or contact technical support.

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