# equinix\_fabric\_service\_profile(资源) Fabric V4 API 兼容资源允许创建和管理 Equinix Fabric 服务配置文件 补充文件: * 入门指南: * API: ## 用法示例[​](#用法示例 "直接链接至用法示例") ``` resource "equinix_fabric_service_profile" "new_service_profile" { description = "Service Profile for Receiving Connections" name = "Name Of Business + Use Case Tag" type = "L2_PROFILE" visibility = "PUBLIC" notifications = [ { emails = ["someone@sample.com"] type = "BANDWIDTH_ALERT" } ] allowed_emails = ["test@equinix.com", "testagain@equinix.com"] ports = [ { uuid = "c791f8cb-5cc9-cc90-8ce0-306a5c00a4ee" type = "XF_PORT" } ] access_point_type_configs { type = "COLO" allow_remote_connections = true allow_custom_bandwidth = true allow_bandwidth_auto_approval = false connection_redundancy_required = false connection_label = "Service Profile Tag1" bandwidth_alert_threshold = 10 supported_bandwidths = [ 100, 500 ] } } ``` ## 模式[​](#模式 "直接链接至模式") ### 必填[​](#必填 "直接链接至必填") * `description`(字符串)用户提供的服务说明 * `name`(字符串)客户分配的服务配置文件名称 * `type`(string)服务配置文件类型- L2\_profile,L3\_profile,ECIA\_profile,ECMC\_profile,IA\_profile,IA\_profile,IX\_profile ### 可选[​](#可选 "直接链接至可选") * `access_point_type_configs`(阻止列表)接入点配置信息([有关嵌套架构,](#nestedblock--access_point_type_configs)请参阅[下文](#nestedblock--access_point_type_configs)) * `allowed_emails`(字符串列表)联系人电子邮件数组 * `custom_fields`(封锁列表)自定义字段([有关嵌套架构](#nestedblock--custom_fields),请参阅[下文](#nestedblock--custom_fields)) * `marketing_info`(块组,最大值:1)营销信息([嵌套架构](#nestedblock--marketing_info)见[下文](#nestedblock--marketing_info)) * `metros`(阻止列表)接入点配置信息([有关嵌套架构,](#nestedblock--metros)请参阅[下文](#nestedblock--metros)) * `notifications`(封锁列表)连接配置或状态更改通知的首选项([嵌套架构](#nestedblock--notifications)请参阅[下方](#nestedblock--notifications)) * `ports`(封锁列表)端口([有关嵌套架构](#nestedblock--ports),请参阅[下文](#nestedblock--ports)) * `project`(块组,最大值:1)项目信息([嵌套架构](#nestedblock--project)参见[下文](#nestedblock--project)) * `state`(字符串)服务配置文件状态—活动,待定批准,已删除,已拒绝 * `tags`(字符串列表)连接关联的标记 * `timeouts`(块,可选)([有关嵌套架构](#nestedblock--timeouts),请参阅[下文](#nestedblock--timeouts)) * `view_point`(字符串)翻转买家和卖方代表之间的视角。可用值:aside,zSide。默认值:aside * `virtual_devices`(块列表)虚拟设备([有关嵌套架构](#nestedblock--virtual_devices),请参阅[下文](#nestedblock--virtual_devices)) * `visibility`(字符串)服务配置文件可见性—公开,私有 ### 只读[​](#只读 "直接链接至只读") * `account`(一组对象)服务配置文件所有者账户信息([有关嵌套架构,](#nestedatt--account)请参阅[下文](#nestedatt--account)) * `change_log`(一组对象)捕获连接生命周期更改信息([有关嵌套架构](#nestedatt--change_log),请参阅[下文](#nestedatt--change_log)) * `href`(字符串)服务配置文件URI响应属性 * `id`(字符串)此资源的ID。 * `self_profile`(布尔型)自我简介,指明简介是否为客户自用而创建 * `uuid`(字符串) Equinix分配的服务配置文件标识符 []() ### 的嵌套架构`access_point_type_configs`[​](#的嵌套架构access_point_type_configs "直接链接至的嵌套架构access_point_type_configs") 必需的: * `type` (字符串)接入点类型配置的类型- vd,Colo 可选: * `allow_bandwidth_auto_approval`(布尔值)设置,用于启用或禁用买家未经卖家批准更改连接带宽的能力 * `allow_bandwidth_upgrade`(布尔值)带宽升级的可用性。默认值为false * `allow_custom_bandwidth`(布尔值)设置,用于启用或禁用买家自定义带宽的能力 * `allow_remote_connections`(布尔值)设置,以允许或禁止远程连接到服务配置文件 * `api_config`(块组,最大值:1) API配置详细信息([有关嵌套架构](#nestedblock--access_point_type_configs--api_config),请参阅[下文](#nestedblock--access_point_type_configs--api_config)) * `authentication_key`(块组,最大值:1)身份验证密钥详情([有关嵌套架构](#nestedblock--access_point_type_configs--authentication_key),请参阅[下文](#nestedblock--access_point_type_configs--authentication_key)) * `bandwidth_alert_threshold`(数量)生成分配告警的端口带宽百分比 * `connection_label`(字符串)连接的自定义名称 * `connection_redundancy_required`(布尔值)强制冗余连接 * `enable_auto_generate_service_key`(布尔值)启用自动生成服务密钥 * `link_protocol_config`(块组,最大值:1)链路协议配置详情([有关嵌套架构](#nestedblock--access_point_type_configs--link_protocol_config), 请参阅[下文](#nestedblock--access_point_type_configs--link_protocol_config)) * `selective_redundancy`(布尔)可选冗余连接 * `supported_bandwidths`(编号列表)支持的带宽 只读: * `uuid`(字符串) Colo/端口UUID []() ### 的嵌套架构`access_point_type_configs.api_config`[​](#的嵌套架构access_point_type_configsapi_config "直接链接至的嵌套架构access_point_type_configsapi_config") 可选: * `allow_over_subscription` (布尔值)设置,显示超额订阅支持可用(TRUE)或不可用(FALSE)。默认值为false * `api_available`(布尔值)表示是否可以使用Equinix Fabric API根据给定服务配置文件建立连接。 * `bandwidth_from_api`(布尔值)表示连接带宽是否可直接从云服务提供商获取。 * `equinix_managed_port`(布尔值)设置,指示端口由管理(TRUE)或不由Equinix管理(FALSE) * `equinix_managed_vlan`(布尔值)设置,指示VLAN由管理(TRUE)或不由Equinix管理(FALSE) * `integration_id`(字符串)在开户期间签发的唯一标识符,用于将客户的服务配置文件与Equinix Fabric API集成。 * `over_subscription_limit`端口带宽倍增器,确定可分配给创建服务连接的用户的总带宽。例如,10 Gbps端口与超额订阅限制参数值10相结合,您的订阅者就可以创建总带宽为100 Gbps的连接。 []() ### 的嵌套架构`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` (string)数据帧封装标准。未标记- EPL连接的未标记封装。Dot1q - Dot1q封装标准。QinQ - QinQ封装标准。 * `encapsulation_strategy`(字符串)卖家资料要求的其他标记信息。 * `reuse_vlan_s_tag`(布尔值)自动接受后续使用相同验证密钥的Dot1q至QinQ连接。这些连接将分配与初始连接相同的VLAN S-tag。 []() ### 的嵌套架构`custom_fields`[​](#的嵌套架构custom_fields "直接链接至的嵌套架构custom_fields") 必需的: * `data_type` (字符串)数据类型 * `label`(字符串)标签 * `required`(布尔值)必填字段 可选: * `capture_in_email`(布尔值)必填字段 * `description`(字符串)说明 * `options`(字符串列表)选项 []() ### 的嵌套架构`marketing_info`[​](#的嵌套架构marketing_info "直接链接至的嵌套架构marketing_info") 可选: * `logo` (字符串)徽标 * `process_step`(封锁列表)流程步骤([有关嵌套架构](#nestedblock--marketing_info--process_step),请参阅[下文](#nestedblock--marketing_info--process_step)) * `promotion`(布尔值)促销 []() ### 的嵌套架构`marketing_info.process_step`[​](#的嵌套架构marketing_infoprocess_step "直接链接至的嵌套架构marketing_infoprocess_step") 可选: * `description`(字符串)说明 * `sub_title` (字符串)子标题 * `title`(字符串)标题 []() ### 的嵌套架构`metros`[​](#的嵌套架构metros "直接链接至的嵌套架构metros") 可选: * `code` (字符串)都会区代码-示例SV * `display_name`(字符串)显示名称 * `ibxs`(字符串列表) IBX - Equinix国际业务交换列表 * `in_trail`(布尔值) * `name`(字符串)都会区名称 * `seller_regions`(字符串地图)卖家区域 []() ### 的嵌套架构`notifications`[​](#的嵌套架构notifications "直接链接至的嵌套架构notifications") 必需的: * `emails` (字符串列表)联系人电子邮件数组 * `type`(字符串)通知类型-全部,CONNECTION\_Approval,SALES\_REP\_NOTICS,通知 可选: * `send_interval`(字符串)发送间隔 []() ### 的嵌套架构`ports`[​](#的嵌套架构ports "直接链接至的嵌套架构ports") 必需的: * `type` (字符串) Colo/端口类型 * `uuid`(字符串) Colo/端口UUID 可选: * `cross_connect_id`(字符串) Cross Connect ID * `location`(块组,最大值:1) Colo/端口位置([有关嵌套架构](#nestedblock--ports--location),请参阅[下文](#nestedblock--ports--location)) * `seller_region`(字符串)卖家区域 * `seller_region_description`(字符串)卖家区域详情 []() ### 的嵌套架构`ports.location`[​](#的嵌套架构portslocation "直接链接至的嵌套架构portslocation") 可选: * `ibx` (字符串) IBX代码 * `metro_code`(字符串)接入点都会区代码 * `metro_name`(字符串)接入点都会区名称 * `region`(字符串)接入点区域 []() ### 的嵌套架构`project`[​](#的嵌套架构project "直接链接至的嵌套架构project") 可选: * `project_id` (字符串)项目ID 只读: * `href`(字符串)唯一的资源URL []() ### 的嵌套架构`timeouts`[​](#的嵌套架构timeouts "直接链接至的嵌套架构timeouts") 可选: * `create` (字符串) * `delete`(字符串) * `read`(字符串) * `update`(字符串) []() ### 的嵌套架构`virtual_devices`[​](#的嵌套架构virtual_devices "直接链接至的嵌套架构virtual_devices") 必需的: * `type` (字符串)虚拟设备类型 * `uuid`(字符串)虚拟设备UUID 可选: * `interface_uuid`(字符串)设备接口UUID * `location`(块组,最大值:1)设备位置([有关嵌套架构](#nestedblock--virtual_devices--location),请参阅[下文](#nestedblock--virtual_devices--location)) []() ### 的嵌套架构`virtual_devices.location`[​](#的嵌套架构virtual_deviceslocation "直接链接至的嵌套架构virtual_deviceslocation") 可选: * `ibx` (字符串) IBX代码 * `metro_code`(字符串)接入点都会区代码 * `metro_name`(字符串)接入点都会区名称 * `region`(字符串)接入点区域 []() ### 的嵌套架构`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`(字符串)