跳至内容

equinix_fabric_network(数据源)

兼容 Fabric V4 API 的数据资源,允许用户获取给定 UUID 的 Fabric 网络信息。

补充文件:

用法示例

data "equinix_fabric_network" "network_data_name" {
uuid = "<uuid_of_network>"
}

output "id" {
value = data.equinix_fabric_network.network_data_name.id
}

output "name" {
value = data.equinix_fabric_network.network_data_name.name
}

output "scope" {
value = data.equinix_fabric_network.network_data_name.scope
}

output "type" {
value = data.equinix_fabric_network.network_data_name.type
}

output "region" {
value = [for location in data.equinix_fabric_network.network_data_name.location: location.region]
}

模式

需要

  • uuid(字符串)Equinix 分配的网络标识符

只读

  • change(对象集)资产变更操作信息(有关嵌套模式,请参见下文
  • change_log(对象集)资产创建、修改或删除的永久记录(有关嵌套模式,请参见下文
  • connections_count(数字)与此网络关联的连接数
  • href(字符串)Fabric 网络 URI 信息
  • id(字符串)此资源的 ID。
  • location(对象集)Fabric 网络位置(有关嵌套模式,请参见下文
  • name(字符串)Fabric 网络名称。一个包含 24 个字符的字母数字字符串,只能包含连字符和下划线。
  • notifications(对象列表)Fabric 网络配置或状态更改通知首选项(有关嵌套架构,请参见下面的嵌套架构
  • operation(对象集)与此 Fabric 网络关联的网络操作信息(有关嵌套模式,请参见下文
  • project(对象集)Fabric Network 项目(有关嵌套模式,请参见下文
  • scope(字符串)网络架构范围。有效值:[REGIONAL GLOBAL LOCAL]。注意:当范围为 REGIONAL 时,location.region 字段为必填项。
  • state(字符串)Fabric 网络整体状态
  • type(字符串)支持的网络类型 - EVPLAN、EPLAN、IPWAN、EVPTREE、EPTREE

change 的嵌套模式

只读:

  • href(字符串)
  • type(字符串)
  • uuid(字符串)

change_log 的嵌套模式

只读:

  • created_by(字符串)
  • created_by_email(字符串)
  • created_by_full_name(字符串)
  • created_date_time(字符串)
  • deleted_by(字符串)
  • deleted_by_email(字符串)
  • deleted_by_full_name(字符串)
  • deleted_date_time(字符串)
  • updated_by(字符串)
  • updated_by_email(字符串)
  • updated_by_full_name(字符串)
  • updated_date_time(字符串)

location 的嵌套模式

只读:

  • ibx(字符串)
  • metro_code(字符串)
  • metro_name(字符串)
  • region(字符串)

notifications 的嵌套模式

只读:

  • emails(字符串列表)
  • send_interval(字符串)
  • type(字符串)

operation 的嵌套模式

只读:

  • equinix_status(字符串)

project 的嵌套模式

只读:

  • project_id(字符串)
此页面有帮助吗?