FirewallRuleArgs

data class FirewallRuleArgs(val instanceId: Output<String>? = null, val port: Output<String>? = null, val remark: Output<String>? = null, val ruleProtocol: Output<String>? = null) : ConvertibleToJava<FirewallRuleArgs>

Provides a Simple Application Server Firewall Rule resource. For information about Simple Application Server Firewall Rule and how to use it, see What is Firewall Rule.

NOTE: Available in v1.143.0+.

Import

Simple Application Server Firewall Rule can be imported using the id, e.g.

$ pulumi import alicloud:simpleapplicationserver/firewallRule:FirewallRule example <instance_id>:<firewall_rule_id>

Constructors

Link copied to clipboard
fun FirewallRuleArgs(instanceId: Output<String>? = null, port: Output<String>? = null, remark: Output<String>? = null, ruleProtocol: Output<String>? = null)

Functions

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

Properties

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

Alibaba Cloud simple application server instance ID.

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

The port range. Valid values of port numbers: 1 to 65535. Specify a port range in the format of <start port number>/<end port number>. Example: 1024/1055, which indicates the port range of 1024 through 1055.

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

The remarks of the firewall rule.

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

The transport layer protocol. Valid values: Tcp, Udp, TcpAndUdp.