# equinix\_fabric\_service\_profile(数据源)
兼容 Fabric V4 API 的数据资源,允许用户通过 UUID 筛选条件获取服务配置文件。
补充文件:
* 入门指南:
* API:
## 用法示例[](#用法示例 "直接链接至用法示例")
```
data "equinix_fabric_service_profile" "service_profile_data_name" {
uuid = ""
}
output "id" {
value = data.equinix_fabric_service_profile.service_profile_data_name.id
}
output "name" {
value = data.equinix_fabric_service_profile.service_profile_data_name.name
}
output "type" {
value = data.equinix_fabric_service_profile.service_profile_data_name.type
}
output "visibility" {
value = data.equinix_fabric_service_profile.service_profile_data_name.visibility
}
output "org_name" {
value = data.equinix_fabric_service_profile.service_profile_data_name.account.0.organization_name
}
output "access_point_type_configs_type" {
value = data.equinix_fabric_service_profile.service_profile_data_name.access_point_type_configs.0.type
}
output "allow_remote_connections" {
value = data.equinix_fabric_service_profile.service_profile_data_name.access_point_type_configs.0.allow_remote_connections
}
output "supported_bandwidth_0" {
value = data.equinix_fabric_service_profile.service_profile_data_name.access_point_type_configs.0.supported_bandwidths.0
}
output "supported_bandwidth_1" {
value = data.equinix_fabric_service_profile.service_profile_data_name.access_point_type_configs.0.supported_bandwidths.1
}
output "redundandy_required" {
value = data.equinix_fabric_service_profile.service_profile_data_name.access_point_type_configs.0.connection_redundancy_required
}
output "allow_over_subscription" {
value = data.equinix_fabric_service_profile.service_profile_data_name.access_point_type_configs.0.api_config.0.allow_over_subscription
}
```
## 模式[](#模式 "直接链接至模式")
### 必填[](#必填 "直接链接至必填")
* `uuid`(字符串) Equinix分配的服务配置文件标识符
### 只读[](#只读 "直接链接至只读")
* `access_point_type_configs`(对象列表)接入点配置信息([有关嵌套架构](#nestedatt--access_point_type_configs),请参阅[下文](#nestedatt--access_point_type_configs))
* `account`(一组对象)服务配置文件所有者账户信息([有关嵌套架构,](#nestedatt--account)请参阅[下文](#nestedatt--account))
* `allowed_emails`(字符串列表)联系人电子邮件数组
* `change_log`(一组对象)捕获连接生命周期更改信息([有关嵌套架构](#nestedatt--change_log),请参阅[下文](#nestedatt--change_log))
* `custom_fields`(对象列表)自定义字段([有关嵌套架构](#nestedatt--custom_fields),请参阅[下文](#nestedatt--custom_fields))
* `description`(字符串)用户提供的服务说明
* `href`(字符串)服务配置文件URI响应属性
* `id`(字符串)此资源的ID。
* `marketing_info`(对象集合)营销信息([有关嵌套架构](#nestedatt--marketing_info),请参阅[下文](#nestedatt--marketing_info))
* `metros`(对象列表)接入点配置信息([有关嵌套架构](#nestedatt--metros),请参阅[下文](#nestedatt--metros))
* `name`(字符串)客户分配的服务配置文件名称
* `notifications`(对象列表)连接配置或状态更改通知的首选项([嵌套架构](#nestedatt--notifications)参见[下方](#nestedatt--notifications))
* `ports`(对象列表)端口([有关嵌套架构](#nestedatt--ports),请参阅[下文](#nestedatt--ports))
* `project`(对象集合)项目信息([有关嵌套架构](#nestedatt--project),请参阅[下文](#nestedatt--project))
* `self_profile`(布尔型)自我简介,指明简介是否为客户自用而创建
* `state`(字符串)服务配置文件状态—活动,待定批准,已删除,已拒绝
* `tags`(字符串列表)连接关联的标记
* `type`(string)服务配置文件类型- L2\_profile,L3\_profile,ECIA\_profile,ECMC\_profile,IA\_profile,IA\_profile,IX\_profile
* `view_point`(字符串)翻转买家和卖方代表之间的视角。可用值:aside,zSide。默认值:aside
* `virtual_devices`(对象列表)虚拟设备([有关嵌套架构](#nestedatt--virtual_devices),请参阅[下文](#nestedatt--virtual_devices))
* `visibility`(字符串)服务配置文件可见性—公开,私有
[]()
### 的嵌套架构`access_point_type_configs`[](#的嵌套架构access_point_type_configs "直接链接至的嵌套架构access_point_type_configs")
只读:
* `allow_bandwidth_auto_approval` (布尔型)
* `allow_bandwidth_upgrade`(布尔型)
* `allow_custom_bandwidth`(布尔型)
* `allow_remote_connections`(布尔型)
* `api_config`(对象集合)([有关嵌套架构](#nestedobjatt--access_point_type_configs--api_config),请参阅[下文](#nestedobjatt--access_point_type_configs--api_config))
* `authentication_key`(对象集合)([有关嵌套架构](#nestedobjatt--access_point_type_configs--authentication_key),请参阅[下文](#nestedobjatt--access_point_type_configs--authentication_key))
* `bandwidth_alert_threshold`(编号)
* `connection_label`(字符串)
* `connection_redundancy_required`(布尔型)
* `enable_auto_generate_service_key`(布尔型)
* `link_protocol_config`(对象集合)([有关嵌套架构](#nestedobjatt--access_point_type_configs--link_protocol_config),请参阅[下文](#nestedobjatt--access_point_type_configs--link_protocol_config))
* `selective_redundancy`(布尔型)
* `supported_bandwidths`(号码列表)
* `type`(字符串)
* `uuid`(字符串)
[]()
### 的嵌套架构`access_point_type_configs.api_config`[](#的嵌套架构access_point_type_configsapi_config "直接链接至的嵌套架构access_point_type_configsapi_config")
只读:
* `allow_over_subscription` (布尔型)
* `api_available`(布尔型)
* `bandwidth_from_api`(布尔型)
* `equinix_managed_port`(布尔型)
* `equinix_managed_vlan`(布尔型)
* `integration_id`(字符串)
* `over_subscription_limit`(编号)
[]()
### 的嵌套架构`access_point_type_configs.authentication_key`[](#的嵌套架构access_point_type_configsauthentication_key "直接链接至的嵌套架构access_point_type_configsauthentication_key")
只读:
* `description` (字符串)
* `label`(字符串)
* `required`(布尔型)
[]()
### 的嵌套架构`access_point_type_configs.link_protocol_config`[](#的嵌套架构access_point_type_configslink_protocol_config "直接链接至的嵌套架构access_point_type_configslink_protocol_config")
只读:
* `encapsulation` (字符串)
* `encapsulation_strategy`(字符串)
* `reuse_vlan_s_tag`(布尔型)
[]()
### 的嵌套架构`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`(字符串)
[]()
### 的嵌套架构`custom_fields`[](#的嵌套架构custom_fields "直接链接至的嵌套架构custom_fields")
只读:
* `capture_in_email` (布尔型)
* `data_type`(字符串)
* `description` (字符串)
* `label`(字符串)
* `options`(字符串列表)
* `required`(布尔型)
[]()
### 的嵌套架构`marketing_info`[](#的嵌套架构marketing_info "直接链接至的嵌套架构marketing_info")
只读:
* `logo` (字符串)
* `process_step`(对象列表)([有关嵌套架构](#nestedobjatt--marketing_info--process_step),请参阅[下文](#nestedobjatt--marketing_info--process_step))
* `promotion`(布尔型)
[]()
### 的嵌套架构`marketing_info.process_step`[](#的嵌套架构marketing_infoprocess_step "直接链接至的嵌套架构marketing_infoprocess_step")
只读:
* `description` (字符串)
* `sub_title` (字符串)
* `title`(字符串)
[]()
### 的嵌套架构`metros`[](#的嵌套架构metros "直接链接至的嵌套架构metros")
只读:
* `code` (字符串)
* `display_name`(字符串)
* `ibxs`(字符串列表)
* `in_trail`(布尔型)
* `name`(字符串)
* `seller_regions`(字符串地图)
[]()
### 的嵌套架构`notifications`[](#的嵌套架构notifications "直接链接至的嵌套架构notifications")
只读:
* `emails` (字符串列表)
* `send_interval`(字符串)
* `type`(字符串)
[]()
### 的嵌套架构`ports`[](#的嵌套架构ports "直接链接至的嵌套架构ports")
只读:
* `cross_connect_id` (字符串)
* `location`(对象集合)([有关嵌套架构](#nestedobjatt--ports--location),请参阅[下文](#nestedobjatt--ports--location))
* `seller_region`(字符串)
* `seller_region_description`(字符串)
* `type`(字符串)
* `uuid`(字符串)
[]()
### 的嵌套架构`ports.location`[](#的嵌套架构portslocation "直接链接至的嵌套架构portslocation")
只读:
* `ibx` (字符串)
* `metro_code`(字符串)
* `metro_name`(字符串)
* `region`(字符串)
[]()
### 的嵌套架构`project`[](#的嵌套架构project "直接链接至的嵌套架构project")
只读:
* `href` (字符串)
* `project_id`(字符串)
[]()
### 的嵌套架构`virtual_devices`[](#的嵌套架构virtual_devices "直接链接至的嵌套架构virtual_devices")
只读:
* `interface_uuid` (字符串)
* `location`(对象集合)([有关嵌套架构](#nestedobjatt--virtual_devices--location),请参阅[下文](#nestedobjatt--virtual_devices--location))
* `type`(字符串)
* `uuid`(字符串)
[]()
### 的嵌套架构 `virtual_devices.location`[](#的嵌套架构-virtual_deviceslocation "直接链接至的嵌套架构-virtual_deviceslocation")
只读:
* `ibx` (字符串)
* `metro_code`(字符串)
* `metro_name`(字符串)
* `region`(字符串)