INetworkOptimization
-
Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource
-
Implemented By: NetworkOptimization, INetworkOptimization
Represents a NetworkOptimization.
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node for this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
AttrConfigId | interface{} | Attribute ConfigId: ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations. |
AttrConfigType | interface{} | Attribute ConfigType: Configuration type, which can be used to query global or rule configurations. |
AttrGrpc | interface{} | Attribute Grpc: Whether to enable GRPC, default is disabled. |
AttrHttp2Origin | interface{} | Attribute Http2Origin: Whether to enable HTTP2 origin, default is disabled. |
AttrRule | interface{} | Attribute Rule: Rule content, using conditional expressions to match user requests. |
AttrRuleEnable | interface{} | Attribute RuleEnable: Rule switch. |
AttrRuleName | interface{} | Attribute RuleName: Rule name. |
AttrSequence | interface{} | Attribute Sequence: Order of rule execution. |
AttrSiteVersion | interface{} | Attribute SiteVersion: The version number of the site configuration. |
AttrSmartRouting | interface{} | Attribute SmartRouting: Whether to enable smart routing service, default is disabled. |
AttrUploadMaxFilesize | interface{} | Attribute UploadMaxFilesize: Maximum upload file size, in MB, value range: 100ï½500. |
AttrWebsocket | interface{} | Attribute Websocket: Whether to enable Websocket, default is enabled. |
Props | NetworkOptimizationProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node for this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
AttrConfigIdRequired
func AttrConfigId() interface{}
- Type: interface{}
Attribute ConfigId: ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations.
AttrConfigTypeRequired
func AttrConfigType() interface{}
- Type: interface{}
Attribute ConfigType: Configuration type, which can be used to query global or rule configurations.
AttrGrpcRequired
func AttrGrpc() interface{}
- Type: interface{}
Attribute Grpc: Whether to enable GRPC, default is disabled.
AttrHttp2OriginRequired
func AttrHttp2Origin() interface{}
- Type: interface{}
Attribute Http2Origin: Whether to enable HTTP2 origin, default is disabled.
AttrRuleRequired
func AttrRule() interface{}
- Type: interface{}
Attribute Rule: Rule content, using conditional expressions to match user requests.
When adding global configuration, this parameter does not need to be set.
AttrRuleEnableRequired
func AttrRuleEnable() interface{}
- Type: interface{}
Attribute RuleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set.
AttrRuleNameRequired
func AttrRuleName() interface{}
- Type: interface{}
Attribute RuleName: Rule name.
AttrSequenceRequired
func AttrSequence() interface{}
- Type: interface{}
Attribute Sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
AttrSiteVersionRequired
func AttrSiteVersion() interface{}
- Type: interface{}
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
func AttrSmartRouting() interface{}
- Type: interface{}
Attribute SmartRouting: Whether to enable smart routing service, default is disabled.
AttrUploadMaxFilesizeRequired
func AttrUploadMaxFilesize() interface{}
- Type: interface{}
Attribute UploadMaxFilesize: Maximum upload file size, in MB, value range: 100ï½500.
AttrWebsocketRequired
func AttrWebsocket() interface{}
- Type: interface{}
Attribute Websocket: Whether to enable Websocket, default is enabled.
PropsRequired
func Props() NetworkOptimizationProps
- Type: NetworkOptimizationProps