NetworkOptimizationProps
Properties for defining a NetworkOptimization.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-networkoptimization
Initializer
using AlibabaCloud.SDK.ROS.CDK.Esa;
new NetworkOptimizationProps {
object SiteId,
object Grpc = null,
object Http2Origin = null,
object Rule = null,
object RuleEnable = null,
object RuleName = null,
object Sequence = null,
object SiteVersion = null,
object SmartRouting = null,
object UploadMaxFilesize = null,
object Websocket = null
};
Properties
| Name | Type | Description |
|---|---|---|
SiteId | object | Property siteId: Site ID. |
Grpc | object | Property grpc: Whether to enable GRPC, default is disabled. |
Http2Origin | object | Property http2Origin: Whether to enable HTTP2 origin, default is disabled. |
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. |
SmartRouting | object | Property smartRouting: Whether to enable smart routing service, default is disabled. |
UploadMaxFilesize | object | Property uploadMaxFilesize: Maximum upload file size, in MB, value range: 100ï½500. |
Websocket | object | Property websocket: Whether to enable Websocket, default is enabled. |
SiteIdRequired
public object SiteId { get; set; }
- Type: object
Property siteId: Site ID.
GrpcOptional
public object Grpc { get; set; }
- Type: object
Property grpc: Whether to enable GRPC, default is disabled.
Value range:
on: Enabledoff: Disabled.
Http2OriginOptional
public object Http2Origin { get; set; }
- Type: object
Property http2Origin: Whether to enable HTTP2 origin, default is disabled.
Value range:
on: Enabledoff: Disabled.
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: open.off: close.
RuleNameOptional
public object RuleName { get; set; }
- Type: object
Property ruleName: Rule name.
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.
SmartRoutingOptional
public object SmartRouting { get; set; }
- Type: object
Property smartRouting: Whether to enable smart routing service, default is disabled.
Value range:
on: Enabledoff: Disabled.
UploadMaxFilesizeOptional
public object UploadMaxFilesize { get; set; }
- Type: object
Property uploadMaxFilesize: Maximum upload file size, in MB, value range: 100ï½500.
WebsocketOptional
public object Websocket { get; set; }
- Type: object
Property websocket: Whether to enable Websocket, default is enabled.
Value range:
on: Enabledoff: Disabled.