# equinix\_fabric\_service\_profiles(データソース) ユーザーが名前フィルタ条件によってサービスプロファイルをフェッチすることを可能にするAPI互換ファブリックV4データリソース 追加ドキュメント * はじめに: * API: ## 使用例 ``` data "equinix_fabric_service_profiles" "test" { and_filters = true filter { property = "/type" operator = "=" values = ["L2_PROFILE"] } filter { property = "/name" operator = "=" values = ["SP_ResourceCreation_PFCR"] } pagination { offset = 0 limit = 5 } sort { direction = "ASC" property = "/name" } } output "number_of_returned_service_profiles" { value = length(data.equinix_fabric_service_profiles.test.data) } output "first_service_profile_name" { value = data.equinix_fabric_service_profiles.test.data.0.name } output "first_service_profile_uuid" { value = data.equinix_fabric_service_profiles.test.data.0.uuid } output "first_service_profile_description" { value = data.equinix_fabric_service_profiles.test.data.0.description } output "first_service_profile_state" { value = data.equinix_fabric_service_profiles.test.data.0.state } output "first_service_profile_visibility" { value = data.equinix_fabric_service_profiles.test.data.0.visibility } output "first_service_profile_metros_code" { value = data.equinix_fabric_service_profiles.test.data.0.metros.0.code } output "first_service_profile_metros_name" { value = data.equinix_fabric_service_profiles.test.data.0.metros.0.name } output "first_service_profile_metros_display_name" { value = data.equinix_fabric_service_profiles.test.data.0.metros.0.display_name } output "first_service_profile_type" { value = data.equinix_fabric_service_profiles.test.data.0.type } ``` ## スキーマ ### 必須 * `filter` (ブロックリスト、最小値: 1、最大値: 10) データソース検索リクエストのフィルタ (and\_filters が true に設定されていない場合、複数のフィルタブロックを提供することはできません) (入れ子になったスキーマについては以下を参照]\(#nestedblock--filter)) ### オプション * `and_filters` (論理値) フ ィ ル タ を AND で連結する かど う かを示す論理値フラグ (オプ シ ョ ナル)。デ フ ォ ル ト は false です。 * `pagination` (ブロックセット、最大: 1) データソース検索リクエストのページネーションの詳細 (入れ子になったスキーマは以下を参照]\(#nestedblock--pagination)) * `sort` (ブロックリスト) データソース検索リクエストのフィルタ (入れ子になったスキーマは以下を参照]\(#nestedblock--sort)) * `view_point` (文字列) 買い手と売り手の表現を反転します。利用可能な値 : aSide、 zSide。デ フ ォル ト 値 : aSide。 ### 読み取り専用 * `data` (オブジェクトのリスト) サービスプロファイルのリスト (入れ子になったスキーマは以下を参照]\(#nestedatt--data)) * `id` (文字列) このリソースの ID。 []() ### `filter`の入れ子スキーマ 必須 * `operator` (文字列) 指定 し た値で フ ィ ル タ ー さ れた フ ィ ール ド で使いたい演算子。のいずれかです。 * `property` (文字列) オペレータと値を適用するプロパティ。name /uuid /state /metros/code /visibility /type /project/projectId]のいずれか。 * `values` (文字列の リ ス ト ) デー タ 検索を フ ィ ル タ す る ためにプ ロパテ ィ + オペレー タ の組み合わせを適用 し たい値。 []() ### `pagination`の入れ子スキーマ オプション * `limit` (数) ページ ご と に要求 さ せたい要素の数。数値は 1 以上 100 以下の間でなければな り ません。デ フ ォル ト は 20 です。 * `offset` (数値) ページ化要求のページオ フ セ ッ ト 。最初の要素の イ ンデ ッ ク ス。デ フ ォル ト は 0。 []() ### `sort`の入れ子スキーマ オプション * `direction` (文字列) 並べ替え方向。以下のいずれか:\[DESC, ASC] のいずれか。 デ フ ォル ト は DESC です。 * `property` (文字列) 並べ替えで使いたいプ ロパテ ィ 名。name /uuid /state /location/metroCode /location/metroName /package/code /changeLog/createdDateTime /changeLog/updatedDateTime] のいずれか。デフォルトは /changeLog/updatedDateTime です。 []() ### `data`の入れ子スキーマ 読み取り専用: * `access_point_type_configs` (オブジェクトのリスト) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--access\_point\_type\_configs)) * `account` (オブジェクトのセット) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--account)) * `allowed_emails` (文字列のリスト) * `change_log` (オブジェクトの集合) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--change\_log)) * `custom_fields` (オブジェクトのリスト) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--custom\_fields)) * `description` (文字列) * `href` (文字列) * `marketing_info` (オブジェクトのセット) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--marketing\_info)) * `metros` (オブジェクトのリスト) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--metros)) * `name` (文字列) * `notifications` (オブジェクトのリスト) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--notifications)) * `ports` (オブジェクトのリスト) (入れ子になったスキーマは下記を参照]\(#nestedobjatt--data--ports)) * `project` (オブジェクトの集合) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--project)) * `self_profile` (ブール値) * `state` (文字列) * `tags` (文字列のリスト) * `type` (文字列) * `uuid` (文字列) * `view_point` (文字列) * `virtual_devices` (オブジェクトのリスト) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--virtual\_devices)) * `visibility` (文字列) []() ### `data.access_point_type_configs`の入れ子スキーマ 読み取り専用: * `allow_bandwidth_auto_approval` (ブール値) * `allow_bandwidth_upgrade` (ブール値) * `allow_custom_bandwidth` (ブール値) * `allow_remote_connections` (ブール値) * `api_config` (オブジェクトのセット) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--access\_point\_type\_configs--api\_config)) * `authentication_key` (オブジェクトのセット) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--access\_point\_type\_configs--authentication\_key)) * `bandwidth_alert_threshold` (番号) * `connection_label` (文字列) * `connection_redundancy_required` (ブール値) * `enable_auto_generate_service_key` (ブール値) * `link_protocol_config` (オブジェクトのセット) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--access\_point\_type\_configs--link\_protocol\_config)) * `selective_redundancy` (ブール値) * `supported_bandwidths` (番号のリスト) * `type` (文字列) * `uuid` (文字列) []() ### `data.access_point_type_configs.api_config`の入れ子スキーマ 読み取り専用: * `allow_over_subscription` (ブール値) * `api_available` (ブール値) * `bandwidth_from_api` (ブール値) * `equinix_managed_port` (ブール値) * `equinix_managed_vlan` (ブール値) * `integration_id` (文字列) * `over_subscription_limit` (番号) []() ### `data.access_point_type_configs.authentication_key`の入れ子スキーマ 読み取り専用: * `description` (文字列) * `label` (文字列) * `required` (ブール値) []() ### `data.access_point_type_configs.link_protocol_config`の入れ子スキーマ 読み取り専用: * `encapsulation` (文字列) * `encapsulation_strategy` (文字列) * `reuse_vlan_s_tag` (ブール値) []() ### `data.account`の入れ子スキーマ 読み取り専用: * `account_name` (文字列) * `account_number` (番号) * `global_cust_id` (文字列) * `global_org_id` (文字列) * `global_organization_name` (文字列) * `org_id` (番号) * `organization_name` (文字列) * `ucm_id` (文字列) []() ### `data.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` (文字列) []() ### `data.custom_fields`の入れ子スキーマ 読み取り専用: * `capture_in_email` (ブール値) * `data_type` (文字列) * `description` (文字列) * `label` (文字列) * `options` (文字列のリスト) * `required` (ブール値) []() ### `data.marketing_info`の入れ子スキーマ 読み取り専用: * `logo` (文字列) * `process_step` (オブジェクトのリスト) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--marketing\_info--process\_step)) * `promotion` (ブール値) []() ### `data.marketing_info.process_step`の入れ子スキーマ 読み取り専用: * `description` (文字列) * `sub_title` (文字列) * `title` (文字列) []() ### `data.metros`の入れ子スキーマ 読み取り専用: * `code` (文字列) * `display_name` (文字列) * `ibxs` (文字列のリスト) * `in_trail` (ブール値) * `name` (文字列) * `seller_regions` (文字列のマップ) []() ### `data.notifications`の入れ子スキーマ 読み取り専用: * `emails` (文字列のリスト) * `send_interval` (文字列) * `type` (文字列) []() ### `data.ports`の入れ子スキーマ 読み取り専用: * `cross_connect_id` (文字列) * `location` (オブジェクトのセット) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--ports--location)) * `seller_region` (文字列) * `seller_region_description` (文字列) * `type` (文字列) * `uuid` (文字列) []() ### `data.ports.location`の入れ子スキーマ 読み取り専用: * `ibx` (文字列) * `metro_code` (文字列) * `metro_name` (文字列) * `region` (文字列) []() ### `data.project`の入れ子スキーマ 読み取り専用: * `href` (文字列) * `project_id` (文字列) []() ### `data.virtual_devices`の入れ子スキーマ 読み取り専用: * `interface_uuid` (文字列) * `location` (オブジェクトのセット) (入れ子になったスキーマは以下を参照]\(#nestedobjatt--data--virtual\_devices--location)) * `type` (文字列) * `uuid` (文字列) []() ### `data.virtual_devices.location`の入れ子スキーマ 読み取り専用: * `ibx` (文字列) * `metro_code` (文字列) * `metro_name` (文字列) * `region` (文字列)