Skip to content

Latest commit

 

History

History
178 lines (146 loc) · 3.65 KB

alicloud_router_interfaces.md

File metadata and controls

178 lines (146 loc) · 3.65 KB

alicloud_router_interfaces

back

Index

Terraform

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

top

Example Usage

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

  # ids - (optional) is a type of list of string
  ids = []
  # name_regex - (optional) is a type of string
  name_regex = null
  # opposite_interface_id - (optional) is a type of string
  opposite_interface_id = null
  # opposite_interface_owner_id - (optional) is a type of string
  opposite_interface_owner_id = null
  # output_file - (optional) is a type of string
  output_file = null
  # role - (optional) is a type of string
  role = null
  # router_id - (optional) is a type of string
  router_id = null
  # router_type - (optional) is a type of string
  router_type = null
  # specification - (optional) is a type of string
  specification = null
  # status - (optional) is a type of string
  status = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

top

Datasource

data "alicloud_router_interfaces" "this" {
  # ids - (optional) is a type of list of string
  ids = var.ids
  # name_regex - (optional) is a type of string
  name_regex = var.name_regex
  # opposite_interface_id - (optional) is a type of string
  opposite_interface_id = var.opposite_interface_id
  # opposite_interface_owner_id - (optional) is a type of string
  opposite_interface_owner_id = var.opposite_interface_owner_id
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # role - (optional) is a type of string
  role = var.role
  # router_id - (optional) is a type of string
  router_id = var.router_id
  # router_type - (optional) is a type of string
  router_type = var.router_type
  # specification - (optional) is a type of string
  specification = var.specification
  # status - (optional) is a type of string
  status = var.status
}

top

Outputs

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

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

output "interfaces" {
  description = "returns a list of object"
  value       = data.alicloud_router_interfaces.this.interfaces
}

output "names" {
  description = "returns a list of string"
  value       = data.alicloud_router_interfaces.this.names
}

output "this" {
  value = alicloud_router_interfaces.this
}

top