PortProps
Properties for defining a Port.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-port
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ddospro;
new PortProps {
object FrontendProtocol,
object InstanceId,
object RealServers,
object BackendPort = null,
object FrontendPort = null
};
Properties
| Name | Type | Description |
|---|---|---|
FrontendProtocol |
object |
Property frontendProtocol: The type of the protocol. |
InstanceId |
object |
Property instanceId: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs. |
RealServers |
object |
Property realServers: An array that consists of the IP addresses of origin servers. |
BackendPort |
object |
Property backendPort: The port of the origin server. |
FrontendPort |
object |
Property frontendPort: The forwarding port. |
FrontendProtocolRequired
public object FrontendProtocol { get; set; }
- Type: object
Property frontendProtocol: The type of the protocol.
Valid values: tcp udp
InstanceIdRequired
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
RealServersRequired
public object RealServers { get; set; }
- Type: object
Property realServers: An array that consists of the IP addresses of origin servers.
BackendPortOptional
public object BackendPort { get; set; }
- Type: object
Property backendPort: The port of the origin server.
Valid values: 0 to 65535.
FrontendPortOptional
public object FrontendPort { get; set; }
- Type: object
Property frontendPort: The forwarding port.
Valid values: 0 to 65535.