alicloud_service_catalog_portfolios
更新時(shí)間:
This data source provides Service Catalog Portfolio available to the user.What is Portfolio
-> NOTE: Available in 1.204.0+
Example Usage
data "alicloud_service_catalog_portfolios" "default" {
ids = ["${alicloud_service_catalog_portfolio.default.id}"]
name_regex = alicloud_service_catalog_portfolio.default.name
}
output "alicloud_service_catalog_portfolio_example_id" {
value = data.alicloud_service_catalog_portfolios.default.portfolios.0.id
}
Argument Reference
The following arguments are supported:
ids
- (Optional, ForceNew, Computed) A list of Portfolio IDs.portfolio_names
- (Optional, ForceNew) The name of the Portfolio. You can specify at most 10 names.name_regex
- (Optional, ForceNew) A regex string to filter results by Group Metric Rule name.scope
- (Optional, ForceNew) The query scope. Valid values:Local
(default),Import
,All
.sort_by
- (Optional, ForceNew) The field that is used to sort the queried data. The value is fixed as CreateTime, which specifies the creation time of product portfolios.sort_order
- (Optional, ForceNew) The order in which you want to sort the queried data. Valid values:Asc
,Desc
.product_id
- (Optional, ForceNew) The ID of the product.output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
ids
- A list of Portfolio IDs.names
- A list of name of Portfolios.portfolios
- A list of Portfolio Entries. Each element contains the following attributes:create_time
- The creation time of the portfoliodescription
- The description of the portfolioportfolio_arn
- The ARN of the portfolioid
- The ID of the portfolioportfolio_id
- The ID of the portfolioportfolio_name
- The name of the portfolioprovider_name
- The provider name of the portfolio
文檔內(nèi)容是否對(duì)您有幫助?