跳至内容

equinix_fabric_port(数据源)

Fabric V4 API 兼容的数据资源,允许用户通过 UUID 获取端口。

补充文件:

用法示例

data "equinix_fabric_port" "port_data_name" {
uuid = "<uuid_of_port>"
}

output "id" {
value = data.equinix_fabric_port.port_data_name.id
}

output "name" {
value = data.equinix_fabric_port.port_data_name.name
}

output "state" {
value = data.equinix_fabric_port.port_data_name.state
}

output "account_name" {
value = data.equinix_fabric_port.port_data_name.account.0.account_name
}

output "type" {
value = data.equinix_fabric_port.port_data_name.type
}

output "bandwidth" {
value = data.equinix_fabric_port.port_data_name.bandwidth
}

output "used_bandwidth" {
value = data.equinix_fabric_port.port_data_name.used_bandwidth
}

output "encapsulation_type" {
value = data.equinix_fabric_port.port_data_name.encapsulation.0.type
}

output "ibx" {
value = data.equinix_fabric_port.port_data_name.location.0.ibx
}

output "metro_code" {
value = data.equinix_fabric_port.port_data_name.location.0.metro_code
}

output "metro_name" {
value = data.equinix_fabric_port.port_data_name.location.0.metro_name
}

output "region" {
value = data.equinix_fabric_port.port_data_name.location.0.region
}

output "device_redundancy_enabled" {
value = data.equinix_fabric_port.port_data_name.device.0.redundancy.0.enabled
}

output "device_redundancy_priority" {
value = data.equinix_fabric_port.port_data_name.device.0.redundancy.0.priority
}

模式

需要

  • uuid(字符串)Equinix 分配的端口标识符

只读

  • account(对象集)与此端口关联的客户帐户信息(有关嵌套架构,请参见下文
  • available_bandwidth(数字)端口可用带宽(Mbps)
  • bandwidth(数字)端口带宽(Mbps)
  • change_log(对象集)捕获端口生命周期变更信息(有关嵌套架构,请参见下文
  • description(字符串)端口描述
  • device(对象集)端口设备(有关嵌套模式,请参见下文
  • encapsulation(对象集)端口封装协议(有关嵌套模式,请参见下文
  • href(字符串)端口 URI 信息
  • id(字符串)此资源的 ID。
  • lag_enabled(布尔值)端口延迟
  • location(对象集)端口位置信息(有关嵌套模式,请参见下文
  • name(字符串)端口名称
  • operation(对象集)端口特定操作数据(有关嵌套模式,请参见下文
  • redundancy(对象集)端口冗余信息(有关嵌套模式,请参见下文
  • service_type(字符串)端口服务类型
  • state(字符串)端口状态
  • type(字符串)端口类型
  • used_bandwidth(数字)端口使用的带宽(Mbps)

account 的嵌套模式

只读:

  • account_name(字符串)
  • account_number(数字)
  • global_cust_id(字符串)
  • global_org_id(字符串)
  • global_organization_name(字符串)
  • org_id(数字)
  • organization_name(字符串)
  • ucm_id(字符串)

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(字符串)

device 的嵌套模式

只读:

  • name(字符串)
  • redundancy(对象集合)(有关嵌套模式,请参见下文

device.redundancy 的嵌套模式

只读:

  • enabled(布尔值)
  • group(字符串)
  • priority(字符串)

encapsulation 的嵌套模式

只读:

  • tag_protocol_id(字符串)
  • type(字符串)

location 的嵌套模式

只读:

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

operation 的嵌套模式

只读:

  • connection_count(数字)
  • op_status_changed_at(字符串)
  • operational_status(字符串)

redundancy 的嵌套模式

只读:

  • enabled(布尔值)
  • group(字符串)
  • priority(字符串)
此页面有帮助吗?