# equinix\_fabric\_service\_token(データソース) ユーザーが指定されたUUIDのサービストークンを取得できるAPI互換のデータリソースです。 追加ドキュメント * はじめに: * API: ## 使用例[​](#使用例 "への直接リンク使用例") ``` data "equinix_fabric_service_token" "service-token" { uuid = "" } 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:00Z * `href` (文字列) リ ン ク の コ ン テ キ ス ト の主題であ る 絶対 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の入れ子スキーマ "への直接リンクaccountの入れ子スキーマ") 読み取り専用: * `account_name` (文字列) * `account_number` (番号) * `global_cust_id` (文字列) * `global_org_id` (文字列) * `global_organization_name` (文字列) * `org_id` (番号) * `organization_name` (文字列) * `ucm_id` (文字列) []() ### `change_log`の入れ子スキーマ[​](#change_logの入れ子スキーマ "への直接リンク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`の入れ子スキーマ[​](#notificationsの入れ子スキーマ "への直接リンクnotificationsの入れ子スキーマ") 読み取り専用: * `emails` (文字列のリスト) * `send_interval` (文字列) * `type` (文字列) []() ### `project`の入れ子スキーマ[​](#projectの入れ子スキーマ "への直接リンクprojectの入れ子スキーマ") 読み取り専用: * `href` (文字列) * `project_id` (文字列) []() ### `service_token_connection`の入れ子スキーマ[​](#service_token_connectionの入れ子スキーマ "への直接リンク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`の入れ子スキーマ[​](#service_token_connectiona_sideの入れ子スキーマ "への直接リンクservice_token_connectiona_sideの入れ子スキーマ") 読み取り専用: * `access_point_selectors` (オブジェクトのリスト) (入れ子になったスキーマは下記参照)(#nestedobjatt--service\_token\_connection--a\_side--access\_point\_selectors)) []() ### `service_token_connection.a_side.access_point_selectors`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_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`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsinterfaceの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorsinterfaceの入れ子スキーマ") 読み取り専用: * `id` (番号) * `type` (文字列) * `uuid` (文字列) []() ### `service_token_connection.a_side.access_point_selectors.link_protocol`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorslink_protocolの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorslink_protocolの入れ子スキーマ") 読み取り専用: * `type` (文字列) * `vlan_c_tag` (番号) * `vlan_s_tag` (番号) * `vlan_tag` (番号) []() ### `service_token_connection.a_side.access_point_selectors.network`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsnetworkの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorsnetworkの入れ子スキーマ") 読み取り専用: * `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`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsnetworklocationの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorsnetworklocationの入れ子スキーマ") 読み取り専用: * `ibx` (文字列) * `metro_code` (文字列) * `metro_name` (文字列) * `region` (文字列) []() ### `service_token_connection.a_side.access_point_selectors.port`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsportの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorsportの入れ子スキーマ") 読み取り専用: * `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`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsportlocationの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorsportlocationの入れ子スキーマ") 読み取り専用: * `ibx` (文字列) * `metro_code` (文字列) * `metro_name` (文字列) * `region` (文字列) []() ### `service_token_connection.a_side.access_point_selectors.virtual_device`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsvirtual_deviceの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorsvirtual_deviceの入れ子スキーマ") 読み取り専用: * `cluster` (文字列) * `href` (文字列) * `name` (文字列) * `type` (文字列) * `uuid` (文字列) []() ### `service_token_connection.z_side`の入れ子スキーマ[​](#service_token_connectionz_sideの入れ子スキーマ "への直接リンクservice_token_connectionz_sideの入れ子スキーマ") 読み取り専用: * `access_point_selectors` (オブジェクトのリスト) (入れ子になったスキーマは以下を参照)(#nestedobjatt--service\_token\_connection--z\_side--access\_point\_selectors)) []() ### `service_token_connection.z_side.access_point_selectors`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_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`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsinterfaceの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorsinterfaceの入れ子スキーマ") 読み取り専用: * `id` (番号) * `type` (文字列) * `uuid` (文字列) []() ### `service_token_connection.z_side.access_point_selectors.link_protocol`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorslink_protocolの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorslink_protocolの入れ子スキーマ") 読み取り専用: * `type` (文字列) * `vlan_c_tag` (番号) * `vlan_s_tag` (番号) * `vlan_tag` (番号) []() ### `service_token_connection.z_side.access_point_selectors.network`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsnetworkの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorsnetworkの入れ子スキーマ") 読み取り専用: * `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`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsnetworklocationの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorsnetworklocationの入れ子スキーマ") 読み取り専用: * `ibx` (文字列) * `metro_code` (文字列) * `metro_name` (文字列) * `region` (文字列) []() ### `service_token_connection.z_side.access_point_selectors.port`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsportの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorsportの入れ子スキーマ") 読み取り専用: * `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`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsportlocationの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorsportlocationの入れ子スキーマ") 読み取り専用: * `ibx` (文字列) * `metro_code` (文字列) * `metro_name` (文字列) * `region` (文字列) []() ### `service_token_connection.z_side.access_point_selectors.virtual_device`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsvirtual_deviceの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorsvirtual_deviceの入れ子スキーマ") 読み取り専用: * `cluster` (文字列) * `href` (文字列) * `name` (文字列) * `type` (文字列) * `uuid` (文字列)