Skip to content

QosPolicyProps

Properties for defining a QosPolicy.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksag"
&alicloudroscdksag.QosPolicyProps {
    DestCidr: interface{},
    DestPortRange: interface{},
    IpProtocol: interface{},
    Priority: interface{},
    QosId: interface{},
    SourceCidr: interface{},
    SourcePortRange: interface{},
    Description: interface{},
    DpiGroupIds: interface{},
    DpiSignatureIds: interface{},
    EndTime: interface{},
    Name: interface{},
    StartTime: interface{},
}

Properties

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

DestCidrRequired

DestCidr interface{}
  • Type: interface{}

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

DestPortRange interface{}
  • Type: interface{}

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

IpProtocol interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

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


QosIdRequired

QosId interface{}
  • Type: interface{}

Property qosId: The ID of the QoS policy.


SourceCidrRequired

SourceCidr interface{}
  • Type: interface{}

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

SourcePortRange interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

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

DpiGroupIds interface{}
  • Type: interface{}

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

DpiSignatureIds interface{}
  • Type: interface{}

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

EndTime interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

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

StartTime interface{}
  • Type: interface{}

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.