RuleArgs

data class RuleArgs(val endpointId: Output<String>? = null, val forwardIps: Output<List<RuleForwardIpArgs>>? = null, val ruleName: Output<String>? = null, val type: Output<String>? = null, val zoneName: Output<String>? = null) : ConvertibleToJava<RuleArgs>

Provides a Private Zone Rule resource. For information about Private Zone Rule and how to use it, see What is Rule.

NOTE: Available since v1.143.0.

Import

Private Zone Rule can be imported using the id, e.g.

$ pulumi import alicloud:pvtz/rule:Rule example <id>

Constructors

Link copied to clipboard
constructor(endpointId: Output<String>? = null, forwardIps: Output<List<RuleForwardIpArgs>>? = null, ruleName: Output<String>? = null, type: Output<String>? = null, zoneName: Output<String>? = null)

Properties

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

The ID of the Endpoint.

Link copied to clipboard
val forwardIps: Output<List<RuleForwardIpArgs>>? = null

Forwarding target. See forward_ips below.

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

The name of the resource.

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

The type of the rule. Valid values: OUTBOUND.

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

The name of the forwarding zone.

Functions

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