equinix_fabric_connection(データソース)
指定されたUUIDの接続を取得できるFabric V4 API互換データリソース
追加ドキュメント
- はじめに: https://docs.equinix.com/api-catalog/fabricv4/
- API: https://docs.equinix.com/api-catalog/fabricv4/#tag/Connections
使用例
data "equinix_fabric_connection" "connection_data_name" {
uuid = "<uuid_of_connection>"
}
output "id" {
value = data.equinix_fabric_connection.connection_data_name.id
}
output "name" {
value = data.equinix_fabric_connection.connection_data_name.bandwidth
}
output "account_number" {
value = [for account in data.equinix_fabric_connection.connection_data_name.account: account.account_number]
}
output "bandwidth" {
value = data.equinix_fabric_connection.connection_data_name.bandwidth
}
output "project_id" {
value = [for project in data.equinix_fabric_connection.connection_data_name.project: project.project_id]
}
output "redundancy_group" {
value = [for redundancy in data.equinix_fabric_connection.connection_data_name.redundancy: redundancy.group]
}
output "redundancy_priority" {
value = [for redundancy in data.equinix_fabric_connection.connection_data_name.redundancy: redundancy.priority]
}
output "state" {
value = data.equinix_fabric_connection.connection_data_name.state
}
output "type" {
value = data.equinix_fabric_connection.connection_data_name.type
}
# Same for z_side just use z_side instead of a_side
output "access_point_type" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point: access.type]]
}
# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_type" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.type]]]
}
# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_vlan_tag" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.vlan_tag]]]
}
# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_vlan_c_tag" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.vlan_c_tag]]]
}
# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_vlan_s_tag" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.vlan_s_tag]]]
}
# Same for z_side just use z_side instead of a_side
output "access_point_provider_connection_id" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point: access.provider_connection_id]]
}
スキーマ
必須
uuid(String) Equinixが割り当てた接続識別子
読み取り専用
a_side(オブジェクトのセット)マルチセグメント接続のリクエスト者またはお客様側の接続設定オブジェクト(入れ子になったスキーマについては以下を参照)account(オブジェクトのセット)この接続に関連付けられているお客様アカウント情報(入れ子になったスキーマについては以下を参照)additional_info(文字列マップのリスト)接続追加情報bandwidth(数値)接続帯域(Mbps)change_log(オブジェクトのセット)接続ライフサイクルの変更情報を取得(入れ子になったスキーマについては以下を参照)description(String)お客様提供の接続の説明direction(String)リクエスト元の観点からの接続方向geo_scope(String)地理的境界タイプhref(String)接続のURI情報id(String)このリソースのID。is_remote(ブール型)アクセスポイントの場所から派生した接続プロパティname(文字列)接続名。ハイフンとアンダースコアのみを含めることができる24文字の半角英数字の文字列notifications(オブジェクトのリスト)接続構成またはステータス変更に関する通知の設定(入れ子になったスキーマについては以下を参照)operation(オブジェクトのセット)接続タイプ固有の操作データ(入れ子になったスキーマについては以下を参照)order(オブジェクトのセット)オーダーの詳細(入れ子になったスキーマについては以下を参照)project(オブジェクトのセット)プロジェクト情報(入れ子になったスキーマについては以下を参照)redundancy(オブジェクトのセット)接続冗長構成(Azure接続にのみ適用)(入れ子スキーマについては以下を参照)state(文字列)接続全体の状態type(String) EVPL_VC、EPL_VC、IPWAN_VC、IP_VC、ACCESS_EPL_VCなどの接続タイプを定義します。EvPlan_VC、EPLAN_VC、EIA VC、IA_VC、EC_VCz_side(オブジェクトのセット)マルチセグメント接続の接続先またはプロバイダ側の接続設定オブジェクト(入れ子になったスキーマについては以下を参照)
の入れ子スキーマa_side
読み取り専用:
access_point(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)additional_info(オブジェクトのリスト)(入れ子になったスキーマについては以下を参照)service_token(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)
の入れ子スキーマa_side.access_point
読み取り専用:
account(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)authentication_key(文字列)gateway(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)interface(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)link_protocol(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)location(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)network(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)peering_type(文字列)port(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)profile(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)provider_connection_id(文字列)role(文字列)router(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)seller_region(文字列)type(文字列)virtual_device(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)
の入れ子スキーマa_side.access_point.account
読み取り専用:
account_name(文字列)account_number(番号)global_cust_id(文字列)global_org_id(文字列)global_organization_name(文字列)org_id(番号)organization_name(文字列)ucm_id(文字列)
の入れ子スキーマa_side.access_point.gateway
読み取り専用:
href(文字列)uuid(文字列)
の入れ子スキーマa_side.access_point.interface
読み取り専用:
id(番号)type(文字列)uuid(文字列)
の入れ子スキーマa_side.access_point.link_protocol
読み取り専用:
type(文字列)vlan_c_tag(番号)vlan_s_tag(番号)vlan_tag(番号)
の入れ子スキーマa_side.access_point.location
読み取り専用:
ibx(文字列)metro_code(文字列)metro_name(文字列)region(文字列)
の入れ子スキーマa_side.access_point.network
読み取り専用:
href(文字列)uuid(文字列)
の入れ子スキーマa_side.access_point.port
読み取り専用:
href(文字列)name(文字列)redundancy(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)uuid(文字列)
の入れ子スキーマa_side.access_point.port.redundancy
読み取り専用:
enabled(ブール型)group(文字列)priority(文字列)
の入れ子スキーマa_side.access_point.profile
読み取り専用:
access_point_type_configs(オブジェクトのリスト)(入れ子になったスキーマについては以下を参照)description(文字列)href(文字列)name(文字列)type(文字列)uuid(文字列)
の入れ子スキーマa_side.access_point.profile.access_point_type_configs
読み取り専用:
type(文字列)uuid(文字列)
の入れ子スキーマa_side.access_point.router
読み取り専用:
href(文字列)uuid(文字列)
の入れ子スキーマa_side.access_point.virtual_device
読み取り専用:
href(文字列)name(文字列)type(文字列)uuid(文字列)
の入れ子スキーマa_side.additional_info
読み取り専用:
key(文字列)value(文字列)
の入れ子スキーマa_side.service_token
読み取り専用:
description(文字列)href(文字列)type(文字列)uuid(文字列)
の入れ子スキーマ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(文字列)
の入れ子スキーマoperation
読み取り専用:
equinix_status(文字列)errors(オブジェクトのリスト)(入れ子になったスキーマについては以下を参照)provider_status(文字列)
の入れ子スキーマoperation.errors
読み取り専用:
additional_info(オブジェクトのリスト)(入れ子になったスキーマについては以下を参照)correlation_id(文字列)details(文字列)error_code(文字列)error_message(文字列)help(文字列)
の入れ子スキーマoperation.errors.additional_info
読み取り専用:
property(文字列)reason(文字列)
の入れ子スキーマorder
読み取り専用:
billing_tier(文字列)order_id(文字列)order_number(文字列)purchase_order_number(文字列)term_length(番号)
の入れ子スキーマproject
読み取り専用:
href(文字列)project_id(文字列)
の入れ子スキーマredundancy
読み取り専用:
group(文字列)priority(文字列)
の入れ子スキーマz_side
読み取り専用:
access_point(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)additional_info(オブジェクトのリスト)(入れ子になったスキーマについては以下を参照)service_token(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)
の入れ子スキーマz_side.access_point
読み取り専用:
account(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)authentication_key(文字列)gateway(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)interface(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)link_protocol(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)location(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)network(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)peering_type(文字列)port(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)profile(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)provider_connection_id(文字列)role(文字列)router(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)seller_region(文字列)type(文字列)virtual_device(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)
の入れ子スキーマz_side.access_point.account
読み取り専用:
account_name(文字列)account_number(番号)global_cust_id(文字列)global_org_id(文字列)global_organization_name(文字列)org_id(番号)organization_name(文字列)ucm_id(文字列)
の入れ子スキーマz_side.access_point.gateway
読み取り専用:
href(文字列)uuid(文字列)
の入れ子スキーマz_side.access_point.interface
読み取り専用:
id(番号)type(文字列)uuid(文字列)
の入れ子スキーマz_side.access_point.link_protocol
読み取り専用:
type(文字列)vlan_c_tag(番号)vlan_s_tag(番号)vlan_tag(番号)
の入れ子スキーマz_side.access_point.location
読み取り専用:
ibx(文字列)metro_code(文字列)metro_name(文字列)region(文字列)
の入れ子スキーマz_side.access_point.network
読み取り専用:
href(文字列)uuid(文字列)
の入れ子スキーマz_side.access_point.port
読み取り専用:
href(文字列)name(文字列)redundancy(オブジェクトのセット)(入れ子になったスキーマについては以下を参照)uuid(文字列)
の入れ子スキーマz_side.access_point.port.redundancy
読み取り専用:
enabled(ブール型)group(文字列)priority(文字列)
の入れ子スキーマz_side.access_point.profile
読み取り専用:
access_point_type_configs(オブジェクトのリスト)(入れ子になったスキーマについては以下を参照)description(文字列)href(文字列)name(文字列)type(文字列)uuid(文字列)
の入れ子スキーマz_side.access_point.profile.access_point_type_configs
読み取り専用:
type(文字列)uuid(文字列)
の入れ子スキーマz_side.access_point.router
読み取り専用:
href(文字列)uuid(文字列)
の入れ子スキーマz_side.access_point.virtual_device
読み取り専用:
href(文字列)name(文字列)type(文字列)uuid(文字列)
の入れ子スキーマz_side.additional_info
読み取り専用:
key(文字列)value(文字列)
の入れ子スキーマ z_side.service_token
読み取り専用:
description(文字列)href(文字列)type(文字列)uuid(文字列)