跳至内容

equinix_fabric_service_token(数据源)

兼容 Fabric V4 API 的数据资源,允许用户获取给定 UUID 的服务令牌

补充文件:

用法示例

data "equinix_fabric_service_token" "service-token" {
uuid = "<uuid_of_service_token>"
}

output "id" {
value = data.equinix_fabric_service_token.service-token.id
}

output "type" {
value = data.equinix_fabric_service_token.service-token.type
}

output "expiration_date_time" {
value = data.equinix_fabric_service_token.service-token.expiration_date_time
}

output "supported_bandwidths" {
value = data.equinix_fabric_service_token.service-token.service_token_connection.0.supported_bandwidths
}

output "virtual_device_type" {
value = data.equinix_fabric_service_token.service-token.service_token_connection.0.z_side.0.access_point_selectors.0.virtual_device.0.type
}

output "virtual_device_uuid" {
value = data.equinix_fabric_service_token.service-token.service_token_connection.0.z_side.0.access_point_selectors.0.virtual_device.0.uuid
}

output "interface_type" {
value = data.equinix_fabric_service_token.service-token.service_token_connection.0.z_side.0.access_point_selectors.0.interface.0.type
}

output "interface_uuid" {
value = data.equinix_fabric_service_token.service-token.service_token_connection.0.z_side.0.access_point_selectors.0.interface.0.id
}

模式

需要

  • uuid(字符串)Equinix 分配的服务令牌标识符

只读

  • account(对象集)与此服务令牌关联的客户帐户信息(有关嵌套架构,请参见下文
  • change_log(对象集)捕获连接生命周期变更信息(有关嵌套模式,请参见下文
  • description(字符串)可选的,用于描述您将要创建的服务令牌。
  • expiration_date_time(字符串)服务令牌的到期日期和时间; 2020/11/06 T07:00:00Z
  • href(字符串)链接上下文的主题的绝对 URL。
  • id(字符串)此资源的 ID。
  • issuer_side(字符串)关于令牌侧面的信息;侧边,Z边
  • name(字符串)服务令牌的名称
  • notifications(对象集)服务令牌配置或状态更改的通知首选项(有关嵌套架构,请参见下面的嵌套架构
  • project(对象集)项目信息(有关嵌套模式,请参见下文
  • service_token_connection(对象集)服务令牌连接类型信息(有关嵌套架构,请参见下文
  • state(字符串)服务令牌状态;ACTIVE、INACTIVE、EXPIRED、DELETED
  • type(字符串)服务令牌类型;VC_TOKEN、EPL_TOKEN

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

notifications 的嵌套模式

只读:

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

project 的嵌套模式

只读:

  • href(字符串)
  • project_id(字符串)

service_token_connection 的嵌套模式

只读:

  • a_side(对象集合)(有关嵌套模式,请参见下文
  • allow_custom_bandwidth(布尔值)
  • allow_remote_connection(布尔值)
  • bandwidth_limit(数字)
  • supported_bandwidths(数字列表)
  • type(字符串)
  • uuid(字符串)
  • z_side(对象集合)(有关嵌套模式,请参见下文

service_token_connection.a_side 的嵌套模式

只读:

  • access_point_selectors(对象列表)(有关嵌套模式,请参见下方

service_token_connection.a_side.access_point_selectors 的嵌套模式

只读:

  • interface(对象集合)(有关嵌套模式,请参见下文
  • link_protocol(对象集合)(有关嵌套模式,请参见下方
  • network(对象集合)(有关嵌套模式,请参见下方
  • port(对象集合)(有关嵌套模式,请参见下方
  • type(字符串)
  • virtual_device(对象集合)(有关嵌套模式,请参见下方

service_token_connection.a_side.access_point_selectors.interface 的嵌套模式

只读:

  • id(数字)
  • type(字符串)
  • uuid(字符串)

只读:

  • type(字符串)
  • vlan_c_tag(数字)
  • vlan_s_tag(数字)
  • vlan_tag(数字)

service_token_connection.a_side.access_point_selectors.network 的嵌套模式

只读:

  • href(字符串)
  • location(对象集合)(有关嵌套模式,请参见下方
  • name(字符串)
  • scope(字符串)
  • type(字符串)
  • uuid(字符串)

service_token_connection.a_side.access_point_selectors.network.location 的嵌套模式

只读:

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

service_token_connection.a_side.access_point_selectors.port 的嵌套模式

只读:

  • account_name(字符串)
  • bandwidth(数字)
  • cvp_id(数字)
  • encapsulation_protocol_type(字符串)
  • href(字符串)
  • location(对象集合)(有关嵌套模式,请参见下方
  • port_name(字符串)
  • priority(字符串)
  • type(字符串)
  • uuid(字符串)

service_token_connection.a_side.access_point_selectors.port.location 的嵌套模式

只读:

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

service_token_connection.a_side.access_point_selectors.virtual_device 的嵌套模式

只读:

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

service_token_connection.z_side 的嵌套模式

只读:

  • access_point_selectors(对象列表)(有关嵌套模式,请参见下方

service_token_connection.z_side.access_point_selectors 的嵌套模式

只读:

  • interface(对象集合)(有关嵌套模式,请参见下文
  • link_protocol(对象集合)(有关嵌套模式,请参见下方
  • network(对象集合)(有关嵌套模式,请参见下方
  • port(对象集合)(有关嵌套模式,请参见下方
  • type(字符串)
  • virtual_device(对象集合)(有关嵌套模式,请参见下方

service_token_connection.z_side.access_point_selectors.interface 的嵌套模式

只读:

  • id(数字)
  • type(字符串)
  • uuid(字符串)

只读:

  • type(字符串)
  • vlan_c_tag(数字)
  • vlan_s_tag(数字)
  • vlan_tag(数字)

service_token_connection.z_side.access_point_selectors.network 的嵌套模式

只读:

  • href(字符串)
  • location(对象集合)(有关嵌套模式,请参见下方
  • name(字符串)
  • scope(字符串)
  • type(字符串)
  • uuid(字符串)

service_token_connection.z_side.access_point_selectors.network.location 的嵌套模式

只读:

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

service_token_connection.z_side.access_point_selectors.port 的嵌套模式

只读:

  • account_name(字符串)
  • bandwidth(数字)
  • cvp_id(数字)
  • encapsulation_protocol_type(字符串)
  • href(字符串)
  • location(对象集合)(有关嵌套模式,请参见下方
  • port_name(字符串)
  • priority(字符串)
  • type(字符串)
  • uuid(字符串)

service_token_connection.z_side.access_point_selectors.port.location 的嵌套模式

只读:

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

service_token_connection.z_side.access_point_selectors.virtual_device 的嵌套模式

只读:

  • cluster(字符串)
  • href(字符串)
  • name(字符串)
  • type(字符串)
  • uuid(字符串)
此页面有帮助吗?