Skip to content

QosPolicyProps

Properties for defining a QosPolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-qospolicy

Initializer

import { QosPolicyProps } from '@alicloud/ros-cdk-sag'
const qosPolicyProps: QosPolicyProps = { ... }

Properties

Name Type Description
destCidr string | @alicloud/ros-cdk-core.IResolvable Property destCidr: The range of the destination IP addresses.
destPortRange string | @alicloud/ros-cdk-core.IResolvable Property destPortRange: The range of destination ports.
ipProtocol string | @alicloud/ros-cdk-core.IResolvable Property ipProtocol: The type of the protocol that applies to the traffic classification rule.
priority number | @alicloud/ros-cdk-core.IResolvable Property priority: The priority of the traffic throttling policy to which the traffic classification rule belongs.
qosId string | @alicloud/ros-cdk-core.IResolvable Property qosId: The ID of the QoS policy.
sourceCidr string | @alicloud/ros-cdk-core.IResolvable Property sourceCidr: The range of the source IP addresses.
sourcePortRange string | @alicloud/ros-cdk-core.IResolvable Property sourcePortRange: The range of source ports.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the traffic classification rule.
dpiGroupIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property dpiGroupIds: The ID of the application group.
dpiSignatureIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property dpiSignatureIds: The ID of the application.
endTime string | @alicloud/ros-cdk-core.IResolvable Property endTime: The time when the traffic classification rule becomes invalid.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the traffic classification rule.
startTime string | @alicloud/ros-cdk-core.IResolvable Property startTime: The time when the traffic classification rule takes effect.

destCidrRequired

public readonly destCidr: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property destCidr: The range of the destination IP addresses.

Specify the value of this parameter in CIDR notation. Example: 192.168.10.0\/24.


destPortRangeRequired

public readonly destPortRange: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property destPortRange: The range of destination ports.

Valid values: 1 to 65535 and -1. Set this parameter in one of the following formats: 1\/200: a port range from 1 to 200 80\/80: port 80 -1\/-1: all ports


ipProtocolRequired

public readonly ipProtocol: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ipProtocol: The type of the protocol that applies to the traffic classification rule.

The supported protocols provided in this topic are for reference only. The actual protocols in the console shall prevail.


priorityRequired

public readonly priority: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property priority: The priority of the traffic throttling policy to which the traffic classification rule belongs.


qosIdRequired

public readonly qosId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property qosId: The ID of the QoS policy.


sourceCidrRequired

public readonly sourceCidr: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceCidr: The range of the source IP addresses.

Specify the value of this parameter in CIDR notation. Example: 192.168.1.0\/24.


sourcePortRangeRequired

public readonly sourcePortRange: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourcePortRange: The range of source ports.

Valid values: 1 to 65535 and -1. Set this parameter in one of the following formats: 1\/200: a port range from 1 to 200 80\/80: port 80 -1\/-1: all ports


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the traffic classification rule.

The description must be 1 to 512 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.


dpiGroupIdsOptional

public readonly dpiGroupIds: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property dpiGroupIds: The ID of the application group.

You can enter at most 100 application group IDs at a time. You can call the ListDpiGroups operation to query application group IDs and information about the applications.


dpiSignatureIdsOptional

public readonly dpiSignatureIds: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property dpiSignatureIds: The ID of the application.

You can enter at most 100 application IDs at a time. You can call the ListDpiSignatures operation to query application IDs and information about the applications.


endTimeOptional

public readonly endTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property endTime: The time when the traffic classification rule becomes invalid.

Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss+0800 format. The time must be in UTC+8.


nameOptional

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name of the traffic classification rule.

The name must be 2 to 100 characters in length, and can contain digits, underscores (_), and hyphens (-). It must start with a letter.


startTimeOptional

public readonly startTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property startTime: The time when the traffic classification rule takes effect.

Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss+0800 format. The time must be in UTC+8.