» alicloud_pvtz_zone

Provides a Private Zone resource.

» Example Usage

Basic Usage

resource "alicloud_pvtz_zone" "foo" {
  name = "foo.test.com"

» Argument Reference

The following arguments are supported:

  • name - (Optional, ForceNew) The name of the Private Zone.
  • remark - (Optional) The remark of the Private Zone.
  • proxy_pattern - (Optional, Available in 1.69.0+) The recursive DNS proxy. Valid values:

    • ZONE: indicates that the recursive DNS proxy is disabled.
    • RECORD: indicates that the recursive DNS proxy is enabled.

    Default to "ZONE"

  • user_client_ip - (Optional, Available in 1.69.0+) The IP address of the client.

  • lang - (Optional, Available in 1.69.0+) The language. Valid values: "zh", "en", "jp".

  • resource_group_id - (Optional, ForceNew, Available in v1.86.0+) The Id of resource group which the Private Zone belongs.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the Private Zone.
  • record_count - The count of the Private Zone Record.

» Import

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

$ terraform import alicloud_pvtz_zone.example abc123456