# equinix\_fabric\_service\_token(リソース) Fabric V4 API互換リソースは、[Equinix Fabric Service Token](https://docs.equinix.com/fabric/service-tokens/create-z-side-token) の作成と管理を可能にします。 追加ドキュメント * はじめに: * API: ## 使用例[​](#使用例 "への直接リンク使用例") サイドポートサービストークン ``` resource "equinix_fabric_service_token" "test" { type = "VC_TOKEN" description = "Aside COLO Service Token" expiration_date_time = "2025-01-18T06:43:49.981Z" service_token_connection { type = "EVPL_VC" bandwidth_limit = 1000 a_side { access_point_selectors{ type = "COLO" port { uuid = "" } link_protocol { type = "DOT1Q" vlan_tag = "2987" } } } } notifications { type = "ALL" emails = ["example@equinix.com", "test1@equinix.com"] } } ``` Zsideポートサービス・トークン ``` resource "equinix_fabric_service_token" "test"{ type = "VC_TOKEN" description = "Zside COLO Service Token" expiration_date_time = "2025-01-18T06:43:49.981Z" service_token_connection { type = "EVPL_VC" supported_bandwidths = [50, 200, 10000] z_side { access_point_selectors{ type = "COLO" port { uuid = "" } link_protocol { type = "DOT1Q" vlan_tag = "2087" } } } } notifications { type = "ALL" emails = ["example@equinix.com", "test1@equinix.com"] } } ``` Zsideネットワーク・サービス・トークン ``` resource "equinix_fabric_service_token" "test" { type = "VC_TOKEN" description = "Zside Network Service Token" expiration_date_time = "2025-01-18T06:43:49.986Z" service_token_connection { type = "EVPL_VC" supported_bandwidths = [50, 200, 10000] z_side { access_point_selectors { type = "NETWORK" network { uuid = "" } } } } notifications { type = "ALL" emails = ["example@equinix.com"] } } ``` Zside仮想デバイス・サービス・トークン ``` resource "equinix_fabric_service_token" "test" { type = "VC_TOKEN" description = "Zside VD Service Token" expiration_date_time = "2025-01-18T06:43:49.986Z" service_token_connection { type = "EVPL_VC" supported_bandwidths = [50, 200, 10000] z_side { access_point_selectors { type = "VD" virtual_device { type = "EDGE" uuid = "" } interface { type = "NETWORK" } } } } notifications { type = "ALL" emails = ["example@equinix.com"] } } ``` ## スキーマ[​](#スキーマ "への直接リンクスキーマ") ### 必須[​](#必須 "への直接リンク必須") * `expiration_date_time` (String) サービス・トークンの有効期限;2020/11/06T07:00:00Z * `notifications` (ブロックセット、最小値: 1) Service Token の設定やステータスの変更に関する通知の設定 (入れ子になったスキーマは以下を参照]\(#nestedblock--notifications)) * `service_token_connection` (ブロックセット、最小値: 1) サービストークン接続タイプ情報 (入れ子のスキーマは以下を参照]\(#nestedblock--service\_token\_connection)) * `type` (String) サービス・トークン・タイプ;VC\_TOKEN,EPL\_TOKEN ### オプション[​](#オプション "への直接リンクオプション") * `description` (String) オプション。作成するサービス・トークンの説明。 * `name` (文字列) サービス・トークンの名前 * `project` (ブロックセット、最大: 1) プロジェクト情報 (入れ子になったスキーマは以下を参照]\(#nestedblock--project)) * `timeouts` (ブロック、省略可能) (入れ子になったスキーマについては以下を参照]\(#nestedblock--timeouts)) ### 読み取り専用[​](#読み取り専用 "への直接リンク読み取り専用") * `account` (オブジェクトのセット) このサービストークンに関連付けられている顧客のアカウント情報 (入れ子になったスキーマは以下を参照]\(#nestedatt--account)) * `change_log` (オブジェクトのセット) 接続のライフサイクルの変更情報 (入れ子になったスキーマは下記参照)(#nestedatt--change\_log) * `href` (文字列) リ ン ク の コ ン テ キ ス ト の主題であ る 絶対 URL。 * `id` (文字列) このリソースの ID。 * `issuer_side` (文字列) トークン側の情報。 * {ACTIVE, INACTIVE, EXPIRED, DELETED。 * `uuid` (文字列) Equinixが割り当てたサービストークン識別子 []() ### `notifications`の入れ子スキーマ[​](#notificationsの入れ子スキーマ "への直接リンクnotificationsの入れ子スキーマ") 必須 * `emails` (文字列のリスト) 連絡先電子メールの配列 * `type` (String) 通知タイプ - ALL、CONNECTION\_APPROVAL、SALES\_REP\_NOTIFICATIONS、NOTIFICATIONS オプション * `send_interval` (文字列) 送信間隔 []() ### `service_token_connection`の入れ子スキーマ[​](#service_token_connectionの入れ子スキーマ "への直接リンクservice_token_connectionの入れ子スキーマ") オプション * `a_side` (ブロックセット) A-サイド接続リンクプロトコル、仮想デバイス、またはネットワーク構成 (入れ子のスキーマは以下を参照)(#nestedblock--service\_token\_connection--a\_side)) * `allow_custom_bandwidth` (ブール値) カスタム帯域幅値の許可 * `allow_remote_connection` (論理値) リモート接続の許可 * `bandwidth_limit` (数値) 接続帯域幅の上限 (Mbps) * `supported_bandwidths`(番号のリスト)許可される帯域幅のリスト」。ポートベースのサービストークンの場合、許可される最大帯域幅は50Gbpsで、仮想デバイスベースのサービストークンの場合は10Gbpsに制限されます。 * `type` (String) 作成する Service Token がサポートする接続のタイプ;EVPL\_VC, EVPLAN\_VC, EPLAN\_VC, IPWAN\_VC * `z_side` (ブロックセット) サイド接続リンクプロトコル、仮想デバイス、またはネットワーク構成 (入れ子のスキーマは以下を参照)(#nestedblock--service\_token\_connection--z\_side)) 読み取り専用: * `uuid` (文字列) Equinixが割り当てた接続識別子 []() ### `service_token_connection.a_side`の入れ子スキーマ[​](#service_token_connectiona_sideの入れ子スキーマ "への直接リンクservice_token_connectiona_sideの入れ子スキーマ") 必須 * `access_point_selectors` (ブロックリスト、最小値: 1) 最適な効率性、セキュリティ、互換性、および可用性を持つネットワークアクセスポイントを選択するための基準のリスト (入れ子になったスキーマは以下を参照)(#nestedblock--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` (ブロックセット、最大: 1) 仮想デバイスインターフェイス設定 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--a\_side--access\_point\_selectors--interface)) * `link_protocol` (ブロックセット、最大: 1) リンクプロトコルの設定 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--a\_side--access\_point\_selectors--link\_protocol)) * `network` (ブロックセット、最大: 1) ネットワーク構成 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--a\_side--access\_point\_selectors--network)) * `port` (ブロックセット、最大: 1) ポート構成 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--a\_side--access\_point\_selectors--port)) * `type` (文字列) アクセスポイントのタイプ。 * `virtual_device` (ブロックセット、最大: 1) 仮想デバイス構成 (入れ子になったスキーマは以下を参照]\(#nestedblock--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の入れ子スキーマ") 必須 * `type` (文字列) インターフェースタイプ 読み取り専用: * `id` (番号) id * `uuid` (文字列) Equinixが割り当てたインターフェース識別子 []() ### `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` (String) リンクプロトコルのタイプ - UNTAGGED、DOT1Q、QINQ、EVPN\_VXLAN * `vlan_c_tag` (番号) Vlan Customer Tag 情報、QINQ 接続に指定された vlanCTag 値 * `vlan_s_tag`(番号)Vlanプロバイダタグ情報、QINQ接続に指定されたvlanSTag値 * `vlan_tag` (番号) Vlan Tag 情報、DOT1Q 接続に指定された vlanTag 値 []() ### `service_token_connection.a_side.access_point_selectors.network`の入れ子スキーマ[​](#service_token_connectiona_sideaccess_point_selectorsnetworkの入れ子スキーマ "への直接リンクservice_token_connectiona_sideaccess_point_selectorsnetworkの入れ子スキーマ") 必須 * `uuid` (文字列) Equinixが割り当てたネットワーク識別子 読み取り専用: * `href` (文字列) ユニークリソース識別子 * `location` (オブジェクトの集合) 場所 (入れ子になったスキーマは下記参照]\(#nestedatt--service\_token\_connection--a\_side--access\_point\_selectors--network--location)) * `name` (文字列) ネットワーク名 * `scope` (文字列) ネットワークの範囲 * `type` (文字列) ネットワークの種類 []() ### `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の入れ子スキーマ") 必須 * `uuid` (文字列) Equinixが割り当てたポート識別子 オプション * `type` (文字列) ポートのタイプ 読み取り専用: * `account_name` (文字列) アカウント名 * `bandwidth`(番号) ポート帯域幅 * `cvp_id` (番号) 顧客の仮想ポート ID * `encapsulation_protocol_type` (文字列) ポートカプセル化 * `href` (文字列) ユニークリソース識別子 * `location` (オブジェクトのセット) ポートの場所 (入れ子になったスキーマは以下を参照]\(#nestedatt--service\_token\_connection--a\_side--access\_point\_selectors--port--location)) * `port_name` (文字列) ポート名 * `priority` (文字列) ポート優先度 []() ### `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の入れ子スキーマ") 必須 * `uuid` (文字列) Equinixが割り当てた仮想デバイス識別子 オプション * `type` (文字列) 仮想デバイスタイプ 読み取り専用: * `cluster` (文字列) 仮想デバイスクラスタ情報 * `href` (文字列) ユニークリソース識別子 * `name` (文字列) 顧客が割り当てた仮想デバイス名 []() ### `service_token_connection.z_side`の入れ子スキーマ[​](#service_token_connectionz_sideの入れ子スキーマ "への直接リンクservice_token_connectionz_sideの入れ子スキーマ") 必須 * `access_point_selectors` (ブロックリスト、最小値: 1) 最適な効率、セキュリティ、互換性、および可用性を持つネットワークアクセスポイントを選択するための基準のリスト (入れ子になったスキーマは以下を参照]\(#nestedblock--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` (ブロックセット、最大: 1) 仮想デバイスインターフェイス設定 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--z\_side--access\_point\_selectors--interface)) * `link_protocol` (ブロックセット、最大: 1) リンクプロトコルの設定 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--z\_side--access\_point\_selectors--link\_protocol)) * `network` (ブロックセット、最大: 1) ネットワーク構成 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--z\_side--access\_point\_selectors--network)) * `port` (ブロックセット、最大: 1) ポート構成 (入れ子になったスキーマは以下を参照]\(#nestedblock--service\_token\_connection--z\_side--access\_point\_selectors--port)) * `type` (文字列) アクセスポイントのタイプ。 * `virtual_device` (ブロックセット、最大: 1) 仮想デバイス構成 (入れ子になったスキーマは以下を参照]\(#nestedblock--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の入れ子スキーマ") 必須 * `type` (文字列) インターフェースタイプ 読み取り専用: * `id` (番号) id * `uuid` (文字列) Equinixが割り当てたインターフェース識別子 []() ### `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` (String) リンクプロトコルのタイプ - UNTAGGED、DOT1Q、QINQ、EVPN\_VXLAN * `vlan_c_tag` (番号) Vlan Customer Tag 情報、QINQ 接続に指定された vlanCTag 値 * `vlan_s_tag`(番号)Vlanプロバイダタグ情報、QINQ接続に指定されたvlanSTag値 * `vlan_tag` (番号) Vlan Tag 情報、DOT1Q 接続に指定された vlanTag 値 []() ### `service_token_connection.z_side.access_point_selectors.network`の入れ子スキーマ[​](#service_token_connectionz_sideaccess_point_selectorsnetworkの入れ子スキーマ "への直接リンクservice_token_connectionz_sideaccess_point_selectorsnetworkの入れ子スキーマ") 必須 * `uuid` (文字列) Equinixが割り当てたネットワーク識別子 読み取り専用: * `href` (文字列) ユニークリソース識別子 * `location` (オブジェクトの集合) 場所 (入れ子になったスキーマは以下を参照]\(#nestedatt--service\_token\_connection--z\_side--access\_point\_selectors--network--location)) * `name` (文字列) ネットワーク名 * `scope` (文字列) ネットワークの範囲 * `type` (文字列) ネットワークの種類 []() ### `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の入れ子スキーマ") 必須 * `uuid` (文字列) Equinixが割り当てたポート識別子 オプション * `type` (文字列) ポートのタイプ 読み取り専用: * `account_name` (文字列) アカウント名 * `bandwidth`(番号) ポート帯域幅 * `cvp_id` (番号) 顧客の仮想ポート ID * `encapsulation_protocol_type` (文字列) ポートカプセル化 * `href` (文字列) ユニークリソース識別子 * `location` (オブジェクトのセット) ポートの場所 (入れ子になったスキーマは以下を参照]\(#nestedatt--service\_token\_connection--z\_side--access\_point\_selectors--port--location)) * `port_name` (文字列) ポート名 * `priority` (文字列) ポート優先度 []() ### `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の入れ子スキーマ") 必須 * `uuid` (文字列) Equinixが割り当てた仮想デバイス識別子 オプション * `type` (文字列) 仮想デバイスタイプ 読み取り専用: * `cluster` (文字列) 仮想デバイスクラスタ情報 * `href` (文字列) ユニークリソース識別子 * `name` (文字列) 顧客が割り当てた仮想デバイス名 []() ### `project`の入れ子スキーマ[​](#projectの入れ子スキーマ "への直接リンクprojectの入れ子スキーマ") オプション * `project_id` (文字列) プロジェクト ID 読み取り専用: * `href` (文字列) ユニークリソース URL []() ### `timeouts`の入れ子スキーマ[​](#timeoutsの入れ子スキーマ "への直接リンクtimeoutsの入れ子スキーマ") オプション * `create` (文字列) * `delete` (文字列) * `read` (文字列) * `update` (文字列) []() ### `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` (文字列)