TrafficControlProps
Properties for defining a TrafficControl.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-trafficcontrol
Initializer
using AlibabaCloud.SDK.ROS.CDK.Apigateway;
new TrafficControlProps {
object ApiDefault,
object TrafficControlName,
object TrafficControlUnit,
object AppDefault = null,
object Description = null,
object Special = null,
object UserDefault = null
};
Properties
| Name | Type | Description |
|---|---|---|
ApiDefault | object | Property apiDefault: Default API traffic value. |
TrafficControlName | object | Property trafficControlName: The name of the throttling policy. |
TrafficControlUnit | object | Property trafficControlUnit: The unit to be used in the throttling policy. |
AppDefault | object | Property appDefault: Default APP traffic value. |
Description | object | Property description: Description of the traffic control, less than 180 characters. |
Special | object | Property special: Special traffic controls. |
UserDefault | object | Property userDefault: Default user traffic value. |
ApiDefaultRequired
public object ApiDefault { get; set; }
- Type: object
Property apiDefault: Default API traffic value.
TrafficControlNameRequired
public object TrafficControlName { get; set; }
- Type: object
Property trafficControlName: The name of the throttling policy.
The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (_). It cannot start with an underscore.
TrafficControlUnitRequired
public object TrafficControlUnit { get; set; }
- Type: object
Property trafficControlUnit: The unit to be used in the throttling policy.
Valid values:
- SECOND
- MINUTE
- HOUR
- DAY
AppDefaultOptional
public object AppDefault { get; set; }
- Type: object
Property appDefault: Default APP traffic value.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: Description of the traffic control, less than 180 characters.
SpecialOptional
public object Special { get; set; }
- Type: object
Property special: Special traffic controls.
UserDefaultOptional
public object UserDefault { get; set; }
- Type: object
Property userDefault: Default user traffic value.