equinix_fabric_service_token(データソース)
ユーザーが指定されたUUIDのサービストークンを取得できるAPI互換のデータリソースです。
追加ドキュメント
- はじめに: https://docs.equinix.com/fabric/service-tokens/create-z-side-token
- API: https://docs.equinix.com/fabric/fabric-api/connect-using-service-token
使用例
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(オブジェクトのセット) このサービストークンに関連付けられている顧客のアカウント情報 (入れ子になったスキーマは以下を参照](#nestedatt--account))change_log(オブジェクトのセット) 接続のライフサイクルの変更情報 (入れ子になったスキーマは下記参照)(#nestedatt--change_log)description(String) オプション。作成するサービス・トークンの説明。expiration_date_time(String) サービス・トークンの有効期限;2020/11/06T07:00:00Zhref(文字列) リ ン ク の コ ン テ キ ス ト の主題であ る 絶対 URL。id(文字列) このリソースの ID。issuer_side(文字列) トークン側の情報。name(文字列) サービス・トークンの名前notifications(オブジェクトのセット) Service Token の設定やステータスの変更に関する通知の設定 (ネストされたスキーマは下記参照)(#nestedatt--notifications)project(オブジェクトの集合) プロジェクト情報 (入れ子になったスキーマは以下を参照)(#nestedatt--project)service_token_connection(オブジェクトのセット) サービストークン接続タイプ情報 (入れ子になったスキーマは以下を参照](#nestedatt--service_token_connection))- {ACTIVE, INACTIVE, EXPIRED, DELETED。
type(String) サービス・トークン・タイプ;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(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--a_side))allow_custom_bandwidth(ブール値)allow_remote_connection(ブール値)bandwidth_limit(番号)supported_bandwidths(番号のリスト)type(文字列)uuid(文字列)z_side(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--z_side))
service_token_connection.a_sideの入れ子スキーマ
読み取り専用:
access_point_selectors(オブジェクトのリスト) (入れ子になったスキーマは下記参照)(#nestedobjatt--service_token_connection--a_side--access_point_selectors))
service_token_connection.a_side.access_point_selectorsの入れ子スキーマ
読み取り専用:
interface(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--a_side--access_point_selectors--interface))link_protocol(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--a_side--access_point_selectors--link_protocol))network(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--a_side--access_point_selectors--network))port(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--a_side--access_point_selectors--port))type(文字列)virtual_device(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--a_side--access_point_selectors--virtual_device))
service_token_connection.a_side.access_point_selectors.interfaceの入れ子スキーマ
読み取り専用:
id(番号)type(文字列)uuid(文字列)
service_token_connection.a_side.access_point_selectors.link_protocolの入れ子スキーマ
読み取り専用:
type(文字列)vlan_c_tag(番号)vlan_s_tag(番号)vlan_tag(番号)
service_token_connection.a_side.access_point_selectors.networkの入れ子スキーマ
読み取り専用:
href(文字列)location(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--a_side--access_point_selectors--network--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(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--a_side--access_point_selectors--port--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(オブジェクトのリスト) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--z_side--access_point_selectors))
service_token_connection.z_side.access_point_selectorsの入れ子スキーマ
読み取り専用:
interface(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--z_side--access_point_selectors--interface))link_protocol(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--z_side--access_point_selectors--link_protocol))network(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--z_side--access_point_selectors--network))port(オブジェクトのセット) (入れ子になったスキーマは以下を参照](#nestedobjatt--service_token_connection--z_side--access_point_selectors--port))type(文字列)virtual_device(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--z_side--access_point_selectors--virtual_device))
service_token_connection.z_side.access_point_selectors.interfaceの入れ子スキーマ
読み取り専用:
id(番号)type(文字列)uuid(文字列)
service_token_connection.z_side.access_point_selectors.link_protocolの入れ子スキーマ
読み取り専用:
type(文字列)vlan_c_tag(番号)vlan_s_tag(番号)vlan_tag(番号)
service_token_connection.z_side.access_point_selectors.networkの入れ子スキーマ
読み取り専用:
href(文字列)location(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--z_side--access_point_selectors--network--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(オブジェクトのセット) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service_token_connection--z_side--access_point_selectors--port--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(文字列)