FirewallRule

class FirewallRule : KotlinCustomResource

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>

Properties

Link copied to clipboard
val firewallRuleId: Output<String>

The ID of the firewall rule.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceId: Output<String>

Alibaba Cloud simple application server instance ID.

Link copied to clipboard
val port: Output<String>

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val remark: Output<String>?

The remarks of the firewall rule.

Link copied to clipboard
val ruleProtocol: Output<String>

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

Link copied to clipboard
val urn: Output<String>