Skip to content

QosPolicyProps

Properties for defining a QosPolicy.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Sag;
new QosPolicyProps {
    object DestCidr,
    object DestPortRange,
    object IpProtocol,
    object Priority,
    object QosId,
    object SourceCidr,
    object SourcePortRange,
    object Description = null,
    object DpiGroupIds = null,
    object DpiSignatureIds = null,
    object EndTime = null,
    object Name = null,
    object StartTime = null
};

Properties

Name Type Description
DestCidr object Property destCidr: The range of the destination IP addresses.
DestPortRange object Property destPortRange: The range of destination ports.
IpProtocol object Property ipProtocol: The type of the protocol that applies to the traffic classification rule.
Priority object Property priority: The priority of the traffic throttling policy to which the traffic classification rule belongs.
QosId object Property qosId: The ID of the QoS policy.
SourceCidr object Property sourceCidr: The range of the source IP addresses.
SourcePortRange object Property sourcePortRange: The range of source ports.
Description object Property description: The description of the traffic classification rule.
DpiGroupIds object Property dpiGroupIds: The ID of the application group.
DpiSignatureIds object Property dpiSignatureIds: The ID of the application.
EndTime object Property endTime: The time when the traffic classification rule becomes invalid.
Name object Property name: The name of the traffic classification rule.
StartTime object Property startTime: The time when the traffic classification rule takes effect.

DestCidrRequired

public object DestCidr { get; set; }
  • Type: object

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 object DestPortRange { get; set; }
  • Type: object

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 object IpProtocol { get; set; }
  • Type: object

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 object Priority { get; set; }
  • Type: object

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


QosIdRequired

public object QosId { get; set; }
  • Type: object

Property qosId: The ID of the QoS policy.


SourceCidrRequired

public object SourceCidr { get; set; }
  • Type: object

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 object SourcePortRange { get; set; }
  • Type: object

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 object Description { get; set; }
  • Type: object

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 object DpiGroupIds { get; set; }
  • Type: object

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 object DpiSignatureIds { get; set; }
  • Type: object

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 object EndTime { get; set; }
  • Type: object

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 object Name { get; set; }
  • Type: object

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 object StartTime { get; set; }
  • Type: object

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.