Skip to content

Latest commit

 

History

History
162 lines (132 loc) · 3.04 KB

alicloud_pvtz_zone_records.md

File metadata and controls

162 lines (132 loc) · 3.04 KB

alicloud_pvtz_zone_records

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_pvtz_zone_records" {
  source = "./modules/alicloud/d/alicloud_pvtz_zone_records"

  # ids - (optional) is a type of list of string
  ids = []
  # keyword - (optional) is a type of string
  keyword = null
  # lang - (optional) is a type of string
  lang = null
  # output_file - (optional) is a type of string
  output_file = null
  # search_mode - (optional) is a type of string
  search_mode = null
  # status - (optional) is a type of string
  status = null
  # tag - (optional) is a type of string
  tag = null
  # user_client_ip - (optional) is a type of string
  user_client_ip = null
  # zone_id - (required) is a type of string
  zone_id = null
}

top

Variables

variable "ids" {
  description = "(optional)"
  type        = list(string)
  default     = null
}

variable "keyword" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "lang" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "output_file" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "search_mode" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "status" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "tag" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "user_client_ip" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "zone_id" {
  description = "(required)"
  type        = string
}

top

Datasource

data "alicloud_pvtz_zone_records" "this" {
  # ids - (optional) is a type of list of string
  ids = var.ids
  # keyword - (optional) is a type of string
  keyword = var.keyword
  # lang - (optional) is a type of string
  lang = var.lang
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # search_mode - (optional) is a type of string
  search_mode = var.search_mode
  # status - (optional) is a type of string
  status = var.status
  # tag - (optional) is a type of string
  tag = var.tag
  # user_client_ip - (optional) is a type of string
  user_client_ip = var.user_client_ip
  # zone_id - (required) is a type of string
  zone_id = var.zone_id
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = data.alicloud_pvtz_zone_records.this.id
}

output "ids" {
  description = "returns a list of string"
  value       = data.alicloud_pvtz_zone_records.this.ids
}

output "records" {
  description = "returns a list of object"
  value       = data.alicloud_pvtz_zone_records.this.records
}

output "this" {
  value = alicloud_pvtz_zone_records.this
}

top