# equinix\_fabric\_market\_place\_subscription(数据源) 兼容 Fabric V4 API 的数据资源,允许用户获取给定 UUID 的 Marketplace 订阅详情。 ## 用法示例[​](#用法示例 "直接链接至用法示例") ``` data "equinix_fabric_market_place_subscription" "subscription-test" { uuid = "" } output "id" { value = data.equinix_fabric_market_place_subscription.subscription-test.id } output "status" { value = data.equinix_fabric_market_place_subscription.subscription-test.status } output "marketplace" { value = data.equinix_fabric_market_place_subscription.subscription-test.marketplace } output "offer_type" { value = data.equinix_fabric_market_place_subscription.subscription-test.offer_type } output "is_auto_renew" { value = data.equinix_fabric_market_place_subscription.subscription-test.is_auto_renew } ``` ## 模式[​](#模式 "直接链接至模式") ### 需要[​](#需要 "直接链接至需要") * `uuid`(字符串)Equinix 分配的市场标识符 ### 只读[​](#只读 "直接链接至只读") * `entitlements`(对象列表)订阅权限(有关嵌套架构,请参见[下文](#nestedatt--entitlements)) * `href`(字符串)订阅 URI 信息 * `id`(字符串)此资源的 ID。 * `is_auto_renew`(布尔值)订阅自动续订信息 * `marketplace`(字符串)类似 AWS、GCP、Azure、Red Hat 等市场 * `offer_type`(字符串)市场报价类型,例如:公开报价、私有报价 * `status`(字符串)订阅状态,例如:有效、已过期、已取消、宽限期 * `trial`(对象集)订阅试用(有关嵌套架构,请参见[下文](#nestedatt--trial)) []() ### `entitlements` 的嵌套模式[​](#entitlements-的嵌套模式 "直接链接至entitlements-的嵌套模式") 只读: * `asset`(对象集合)(有关嵌套模式,请参见[下文](#nestedobjatt--entitlements--asset)) * `quantity_available`(数字) * `quantity_consumed`(数字) * `quantity_entitled`(数字) * `uuid`(字符串) []() ### `entitlements.asset` 的嵌套模式[​](#entitlementsasset-的嵌套模式 "直接链接至entitlementsasset-的嵌套模式") 只读: * `package`(对象集合)(有关嵌套模式,请参见[下方](#nestedobjatt--entitlements--asset--package)) * `type`(字符串) []() ### `entitlements.asset.package` 的嵌套模式[​](#entitlementsassetpackage-的嵌套模式 "直接链接至entitlementsassetpackage-的嵌套模式") 只读: * `code`(字符串) []() ### `trial` 的嵌套模式[​](#trial-的嵌套模式 "直接链接至trial-的嵌套模式") 只读: * `enabled`(布尔值)