equinix_fabric_service_profile(数据源)
兼容 Fabric V4 API 的数据资源,允许用户通过 UUID 筛选条件获取服务配置文件。
补充文件:
- 入门指南:https://docs.equinix.com/fabric/service-providers/fabric-spo-intro/
- API:https://docs.equinix.com/api-catalog/fabricv4/#tag/Service-Profiles
用法示例
data "equinix_fabric_service_profile" "service_profile_data_name" {
uuid = "<uuid_of_service_profile>"
}
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(对象列表)接入点配置信息(有关嵌套架构,请参见下文)account(对象集)服务配置文件所有者帐户信息(有关嵌套架构,请参见下文)allowed_emails(字符串列表)联系人邮箱数组change_log(对象集)捕获连接生命周期变更信息(有关嵌套模式,请参见下文)custom_fields(对象列表)自定义字段(有关嵌套架构,请参见下方)description(字符串)用户提供的服务描述href(字符串)服务配置文件 URI 响应属性id(字符串)此资源的 ID。marketing_info(对象集)市场营销信息(有关嵌套模式,请参见下文)metros(对象列表)接入点配置信息(有关嵌套架构,请参见下文)name(字符串)客户指定的服务配置文件名称notifications(对象列表)连接配置或状态更改通知首选项(有关嵌套架构,请参见下面的嵌套架构)ports(对象列表)端口(有关嵌套模式,请参见下方)project(对象集)项目信息(有关嵌套模式,请参见下文)self_profile(布尔值)自用配置文件,指示该配置文件是否为客户自用而创建state(字符串)服务配置文件状态 - 已激活、待审批、已删除、已拒绝tags(字符串列表)附加到连接的标签type(字符串)服务配置文件类型 - L2_PROFILE、L3_PROFILE、ECIA_PROFILE、ECMC_PROFILE、IA_PROFILE、IX_PROFILEview_point(字符串)在买方和卖方视图之间切换。可用值:aSide、zSide。默认值:aSidevirtual_devices(对象列表)虚拟设备(有关嵌套架构,请参见下文)visibility(字符串)服务配置文件可见性 - 公开、私有
access_point_type_configs 的嵌套模式
只读:
allow_bandwidth_auto_approval(布尔值)allow_bandwidth_upgrade(布尔值)allow_custom_bandwidth(布尔值)allow_remote_connections(布尔值)api_config(对象集合)(有关嵌套模式,请参见下文)authentication_key(对象集合)(有关嵌套模式,请参见下文)bandwidth_alert_threshold(数字)connection_label(字符串)connection_redundancy_required(布尔值)enable_auto_generate_service_key(布尔值)link_protocol_config(对象集合)(有关嵌套模式,请参见下文)selective_redundancy(布尔值)supported_bandwidths(数字列表)type(字符串)uuid(字符串)
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(数字)
access_point_type_configs.authentication_key 的嵌套模式
只读:
description(字符串)label(字符串)required(布尔值)
access_point_type_configs.link_protocol_config 的嵌套模式
只读:
encapsulation(字符串)encapsulation_strategy(字符串)reuse_vlan_s_tag(布尔值)
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(字符串)
custom_fields 的嵌套模式
只读:
capture_in_email(布尔值)data_type(字符串)description(字符串)label(字符串)options(字符串列表)required(布尔值)
marketing_info 的嵌套模式
只读:
logo(字符串)process_step(对象列表)(有关嵌套模式,请参见下方)promotion(布尔值)
marketing_info.process_step 的嵌套模式
只读:
description(字符串)sub_title(字符串)title(字符串)
metros 的嵌套模式
只读:
code(字符串)display_name(字符串)ibxs(字符串列表)in_trail(布尔值)name(字符串)seller_regions(字符串映射)
notifications 的嵌套模式
只读:
emails(字符串列表)send_interval(字符串)type(字符串)
ports 的嵌套模式
只读:
cross_connect_id(字符串)location(对象集合)(嵌套模式请参见下方)seller_region(字符串)seller_region_description(字符串)type(字符串)uuid(字符串)
ports.location 的嵌套模式
只读:
ibx(字符串)metro_code(字符串)metro_name(字符串)region(字符串)
project 的嵌套模式
只读:
href(字符串)project_id(字符串)
virtual_devices 的嵌套模式
只读:
interface_uuid(字符串)location(对象集合)(有关嵌套模式,请参见下文)type(字符串)uuid(字符串)
virtual_devices.location 的嵌套模式
只读:
ibx(字符串)metro_code(字符串)metro_name(字符串)region(字符串)