HttpsApplicationConfigurationProps
Properties for defining a HttpsApplicationConfiguration.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-httpsapplicationconfiguration
Initializer
using AlibabaCloud.SDK.ROS.CDK.Esa;
new HttpsApplicationConfigurationProps {
object SiteId,
object AltSvc = null,
object AltSvcClear = null,
object AltSvcMa = null,
object AltSvcPersist = null,
object Hsts = null,
object HstsIncludeSubdomains = null,
object HstsMaxAge = null,
object HstsPreload = null,
object HttpsForce = null,
object HttpsForceCode = null,
object HttpsNoSniDeny = null,
object HttpsSniVerify = null,
object HttpsSniWhitelist = null,
object PaymentType = null,
object Rule = null,
object RuleEnable = null,
object RuleName = null,
object Sequence = null,
object SiteVersion = null
};
Properties
| Name | Type | Description |
|---|---|---|
SiteId | object | Property siteId: The site ID, which can be obtained by calling the ListSites API. |
AltSvc | object | Property altSvc: Function switch, default off. |
AltSvcClear | object | Property altSvcClear: Alt-Svc whether The header contains the clear parameter. |
AltSvcMa | object | Property altSvcMa: The effective time of the Alt-Svc, in seconds. |
AltSvcPersist | object | Property altSvcPersist: Alt-Svc whether The header contains the persist parameter. |
Hsts | object | Property hsts: Whether to enable HSTS. |
HstsIncludeSubdomains | object | Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default. |
HstsMaxAge | object | Property hstsMaxAge: The expiration time of HSTS, in seconds. |
HstsPreload | object | Property hstsPreload: Whether to enable HSTS preloading. |
HttpsForce | object | Property httpsForce: Whether to enable forced HTTPS. |
HttpsForceCode | object | Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308. |
HttpsNoSniDeny | object | Property httpsNoSniDeny: Whether to enable to reject TLS handshake requests without SNI. |
HttpsSniVerify | object | Property httpsSniVerify: Whether to enable SNI verification. |
HttpsSniWhitelist | object | Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces. |
PaymentType | object | Property paymentType: Payment Type. |
Rule | object | Property rule: Rule content, using conditional expressions to match user requests. |
RuleEnable | object | Property ruleEnable: Rule switch. |
RuleName | object | Property ruleName: Rule name. |
Sequence | object | Property sequence: Order of rule execution. |
SiteVersion | object | Property siteVersion: The version number of the site configuration. |
SiteIdRequired
public object SiteId { get; set; }
- Type: object
Property siteId: The site ID, which can be obtained by calling the ListSites API.
AltSvcOptional
public object AltSvc { get; set; }
- Type: object
Property altSvc: Function switch, default off.
Value range: on: Enabled. off: Disabled.
AltSvcClearOptional
public object AltSvcClear { get; set; }
- Type: object
Property altSvcClear: Alt-Svc whether The header contains the clear parameter.
This parameter is disabled by default. Value range: on: Enabled. off: Disabled.
AltSvcMaOptional
public object AltSvcMa { get; set; }
- Type: object
Property altSvcMa: The effective time of the Alt-Svc, in seconds.
The default value is 86400 seconds.
AltSvcPersistOptional
public object AltSvcPersist { get; set; }
- Type: object
Property altSvcPersist: Alt-Svc whether The header contains the persist parameter.
This parameter is disabled by default. Value range: on: Enabled. off: Disabled.
HstsOptional
public object Hsts { get; set; }
- Type: object
Property hsts: Whether to enable HSTS.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HstsIncludeSubdomainsOptional
public object HstsIncludeSubdomains { get; set; }
- Type: object
Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default.
Value range: on: Enabled. off: Disabled.
HstsMaxAgeOptional
public object HstsMaxAge { get; set; }
- Type: object
Property hstsMaxAge: The expiration time of HSTS, in seconds.
HstsPreloadOptional
public object HstsPreload { get; set; }
- Type: object
Property hstsPreload: Whether to enable HSTS preloading.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HttpsForceOptional
public object HttpsForce { get; set; }
- Type: object
Property httpsForce: Whether to enable forced HTTPS.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HttpsForceCodeOptional
public object HttpsForceCode { get; set; }
- Type: object
Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308.
HttpsNoSniDenyOptional
public object HttpsNoSniDeny { get; set; }
- Type: object
Property httpsNoSniDeny: Whether to enable to reject TLS handshake requests without SNI.
This parameter is disabled by default. Value range: on: Enabled. off: Disabled.
HttpsSniVerifyOptional
public object HttpsSniVerify { get; set; }
- Type: object
Property httpsSniVerify: Whether to enable SNI verification.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HttpsSniWhitelistOptional
public object HttpsSniWhitelist { get; set; }
- Type: object
Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces.
PaymentTypeOptional
public object PaymentType { get; set; }
- Type: object
Property paymentType: Payment Type.
RuleOptional
public object Rule { get; set; }
- Type: object
Property rule: Rule content, using conditional expressions to match user requests.
When adding global configuration, this parameter does not need to be set. There are two usage scenarios: Match all incoming requests: value set to true Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com").
RuleEnableOptional
public object RuleEnable { get; set; }
- Type: object
Property ruleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set. Value range: on: Enabled. off: Disabled.
RuleNameOptional
public object RuleName { get; set; }
- Type: object
Property ruleName: Rule name.
When adding global configuration, this parameter does not need to be set.
SequenceOptional
public object Sequence { get; set; }
- Type: object
Property sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
SiteVersionOptional
public object SiteVersion { get; set; }
- Type: object
Property siteVersion: The version number of the site configuration.
For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.