Skip to content

QosPolicyProps

Properties for defining a QosPolicy.

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

Initializer

import ros_cdk_sag
ros_cdk_sag.QosPolicyProps(
  dest_cidr: typing.Union[str, IResolvable],
  dest_port_range: typing.Union[str, IResolvable],
  ip_protocol: typing.Union[str, IResolvable],
  priority: typing.Union[typing.Union[int, float], IResolvable],
  qos_id: typing.Union[str, IResolvable],
  source_cidr: typing.Union[str, IResolvable],
  source_port_range: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  dpi_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  dpi_signature_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  end_time: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  start_time: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
dest_cidr typing.Union[str, ros_cdk_core.IResolvable] Property destCidr: The range of the destination IP addresses.
dest_port_range typing.Union[str, ros_cdk_core.IResolvable] Property destPortRange: The range of destination ports.
ip_protocol typing.Union[str, ros_cdk_core.IResolvable] Property ipProtocol: The type of the protocol that applies to the traffic classification rule.
priority typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property priority: The priority of the traffic throttling policy to which the traffic classification rule belongs.
qos_id typing.Union[str, ros_cdk_core.IResolvable] Property qosId: The ID of the QoS policy.
source_cidr typing.Union[str, ros_cdk_core.IResolvable] Property sourceCidr: The range of the source IP addresses.
source_port_range typing.Union[str, ros_cdk_core.IResolvable] Property sourcePortRange: The range of source ports.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the traffic classification rule.
dpi_group_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property dpiGroupIds: The ID of the application group.
dpi_signature_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property dpiSignatureIds: The ID of the application.
end_time typing.Union[str, ros_cdk_core.IResolvable] Property endTime: The time when the traffic classification rule becomes invalid.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the traffic classification rule.
start_time typing.Union[str, ros_cdk_core.IResolvable] Property startTime: The time when the traffic classification rule takes effect.

dest_cidrRequired

dest_cidr: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


dest_port_rangeRequired

dest_port_range: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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


ip_protocolRequired

ip_protocol: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

priority: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

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


qos_idRequired

qos_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property qosId: The ID of the QoS policy.


source_cidrRequired

source_cidr: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


source_port_rangeRequired

source_port_range: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


dpi_group_idsOptional

dpi_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.


dpi_signature_idsOptional

dpi_signature_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.


end_timeOptional

end_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


start_timeOptional

start_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.