INetworkOptimization
-
Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource
-
Implemented By: NetworkOptimization, INetworkOptimization
Represents a NetworkOptimization.
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node for this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
AttrConfigId | object | Attribute ConfigId: ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations. |
AttrConfigType | object | Attribute ConfigType: Configuration type, which can be used to query global or rule configurations. |
AttrGrpc | object | Attribute Grpc: Whether to enable GRPC, default is disabled. |
AttrHttp2Origin | object | Attribute Http2Origin: Whether to enable HTTP2 origin, default is disabled. |
AttrRule | object | Attribute Rule: Rule content, using conditional expressions to match user requests. |
AttrRuleEnable | object | Attribute RuleEnable: Rule switch. |
AttrRuleName | object | Attribute RuleName: Rule name. |
AttrSequence | object | Attribute Sequence: Order of rule execution. |
AttrSiteVersion | object | Attribute SiteVersion: The version number of the site configuration. |
AttrSmartRouting | object | Attribute SmartRouting: Whether to enable smart routing service, default is disabled. |
AttrUploadMaxFilesize | object | Attribute UploadMaxFilesize: Maximum upload file size, in MB, value range: 100ï½500. |
AttrWebsocket | object | Attribute Websocket: Whether to enable Websocket, default is enabled. |
Props | NetworkOptimizationProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node for this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
AttrConfigIdRequired
public object AttrConfigId { get; }
- Type: object
Attribute ConfigId: ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations.
AttrConfigTypeRequired
public object AttrConfigType { get; }
- Type: object
Attribute ConfigType: Configuration type, which can be used to query global or rule configurations.
AttrGrpcRequired
public object AttrGrpc { get; }
- Type: object
Attribute Grpc: Whether to enable GRPC, default is disabled.
AttrHttp2OriginRequired
public object AttrHttp2Origin { get; }
- Type: object
Attribute Http2Origin: Whether to enable HTTP2 origin, default is disabled.
AttrRuleRequired
public object AttrRule { get; }
- Type: object
Attribute Rule: Rule content, using conditional expressions to match user requests.
When adding global configuration, this parameter does not need to be set.
AttrRuleEnableRequired
public object AttrRuleEnable { get; }
- Type: object
Attribute RuleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set.
AttrRuleNameRequired
public object AttrRuleName { get; }
- Type: object
Attribute RuleName: Rule name.
AttrSequenceRequired
public object AttrSequence { get; }
- Type: object
Attribute Sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
AttrSiteVersionRequired
public object AttrSiteVersion { get; }
- Type: object
Attribute 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.
AttrSmartRoutingRequired
public object AttrSmartRouting { get; }
- Type: object
Attribute SmartRouting: Whether to enable smart routing service, default is disabled.
AttrUploadMaxFilesizeRequired
public object AttrUploadMaxFilesize { get; }
- Type: object
Attribute UploadMaxFilesize: Maximum upload file size, in MB, value range: 100ï½500.
AttrWebsocketRequired
public object AttrWebsocket { get; }
- Type: object
Attribute Websocket: Whether to enable Websocket, default is enabled.
PropsRequired
public NetworkOptimizationProps Props { get; }
- Type: NetworkOptimizationProps