Skip to content

Commit

Permalink
docs: Improved the document cloud_firewall_control_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWolong committed Mar 12, 2024
1 parent c4d7c82 commit 55d334b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions website/docs/r/cloud_firewall_control_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ layout: "alicloud"
page_title: "Alicloud: alicloud_cloud_firewall_control_policy"
sidebar_current: "docs-alicloud-resource-cloud-firewall-control-policy"
description: |-
Provides a Alicloud Cloud Firewall Control Policy resource.
Provides a Alicloud Cloud Firewall Control Policy resource.
---

# alicloud\_cloud\_firewall\_control\_policy
# alicloud_cloud_firewall_control_policy

Provides a Cloud Firewall Control Policy resource.

For information about Cloud Firewall Control Policy and how to use it, see [What is Control Policy](https://www.alibabacloud.com/help/doc-detail/138867.htm).

-> **NOTE:** Available in v1.129.0+.
-> **NOTE:** Available since v1.129.0.

## Example Usage

Expand All @@ -31,17 +31,17 @@ resource "alicloud_cloud_firewall_control_policy" "example" {
source = "1.2.3.0/24"
source_type = "net"
}
```

## Argument Reference

The following arguments are supported:

* `acl_action` - (Required) The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
* `application_name` - (Required) The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.
* `application_name` - (Required) The application type supported by the access control policy. Valid values: `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.
-> **NOTE:** If `proto` is set to `TCP`, you can set `application_name` to any valid value. If `proto` is set to `UDP`, `ICMP`, or `ANY`, you can only set `application_name` to `ANY`.
* `description` - (Required) The description of the access control policy.
* `dest_port` - (Optional) The destination port defined in the access control policy.
* `dest_port` - (Optional) The destination port defined in the access control policy.
* `dest_port_group` - (Optional) The destination port address book defined in the access control policy.
* `dest_port_type` - (Optional) The destination port type defined in the access control policy. Valid values: `group`, `port`.
* `destination` - (Required) The destination address defined in the access control policy.
Expand All @@ -60,7 +60,7 @@ The following arguments are supported:
The following attributes are exported:

* `id` - The resource ID of Control Policy. The value formats as `<acl_uuid>:<direction>`.
* `acl_uuid` - (Available in v1.148.0+) The unique ID of the access control policy.
* `acl_uuid` - (Available since v1.148.0) The unique ID of the access control policy.

## Import

Expand Down

0 comments on commit 55d334b

Please sign in to comment.