QosPolicyArgs

data class QosPolicyArgs(val description: Output<String>? = null, val destCidr: Output<String>? = null, val destPortRange: Output<String>? = null, val endTime: Output<String>? = null, val ipProtocol: Output<String>? = null, val name: Output<String>? = null, val priority: Output<Int>? = null, val qosId: Output<String>? = null, val sourceCidr: Output<String>? = null, val sourcePortRange: Output<String>? = null, val startTime: Output<String>? = null) : ConvertibleToJava<QosPolicyArgs>

Provides a Sag qos policy resource. You need to create a QoS policy to set priorities, rate limits, and quintuple rules for different messages. For information about Sag Qos Policy and how to use it, see What is Qos Policy.

NOTE: Available since v1.60.0. NOTE: Only the following regions support. `cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`

Import

The Sag Qos Policy can be imported using the id, e.g.

$ pulumi import alicloud:sag/qosPolicy:QosPolicy example qos-abc123456:qospy-abc123456

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, destCidr: Output<String>? = null, destPortRange: Output<String>? = null, endTime: Output<String>? = null, ipProtocol: Output<String>? = null, name: Output<String>? = null, priority: Output<Int>? = null, qosId: Output<String>? = null, sourceCidr: Output<String>? = null, sourcePortRange: Output<String>? = null, startTime: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The description of the QoS policy.

Link copied to clipboard
val destCidr: Output<String>? = null

The destination CIDR block.

Link copied to clipboard
val destPortRange: Output<String>? = null

The destination port range.

Link copied to clipboard
val endTime: Output<String>? = null

The expiration time of the quintuple rule.

Link copied to clipboard
val ipProtocol: Output<String>? = null

The transport layer protocol.

Link copied to clipboard
val name: Output<String>? = null

The name of the QoS policy.

Link copied to clipboard
val priority: Output<Int>? = null

The priority of the quintuple rule. A smaller value indicates a higher priority. If the priorities of two quintuple rules are the same, the rule created earlier is applied first.Value range: 1 to 7.

Link copied to clipboard
val qosId: Output<String>? = null

The instance ID of the QoS policy to which the quintuple rule is created.

Link copied to clipboard
val sourceCidr: Output<String>? = null

The source CIDR block.

Link copied to clipboard
val sourcePortRange: Output<String>? = null

The source port range of the transport layer.

Link copied to clipboard
val startTime: Output<String>? = null

The time when the quintuple rule takes effect.

Functions

Link copied to clipboard
open override fun toJava(): QosPolicyArgs