alicloud_service_catalog_provisioned_products
更新时间:
This data source provides Service Catalog Provisioned Product available to the user. What is Provisioned Product
-> NOTE: Available since v1.196.0.
Example Usage
Basic Usage
data "alicloud_service_catalog_provisioned_products" "default" {
ids = ["IdExample"]
name_regex = "NameRegexExample"
}
output "alicloud_service_catalog_provisioned_product_example_id" {
value = data.alicloud_service_catalog_provisioned_products.default.provisioned_products.0.id
}
Argument Reference
The following arguments are supported:
ids
- (Optional, ForceNew) A list of Provisioned Product IDs.name_regex
- (Optional, ForceNew) A regex string to filter results by Product name.access_level_filter
- (Optional, ForceNew) The access filter.sort_by
- (Optional, ForceNew) The field that is used to sort the queried data.sort_order
- (Optional, ForceNew) The sorting method.enable_details
- (Optional) Default tofalse
. Set it totrue
can output more details about resource attributes.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 Provisioned Product IDs.names
- A list of name of Provisioned Products.provisioned_products
- (Available since v1.197.0) A list of Provisioned Product Entries. Each element contains the following attributes:create_time
- The creation time of the product instancelast_provisioning_task_id
- The ID of the last instance operation tasklast_successful_provisioning_task_id
- The ID of the last successful instance operation tasklast_task_id
- The ID of the last taskowner_principal_id
- The RAM entity ID of the ownerowner_principal_type
- The RAM entity type of the ownerportfolio_id
- Product mix ID.> When there is a default Startup option, there is no need to fill in the portfolio. When there is no default Startup option, you must fill in the portfolio.product_id
- Product ID.product_name
- The name of the productproduct_version_id
- Product version ID.product_version_name
- The name of the product versionprovisioned_product_arn
- The ARN of the product instanceprovisioned_product_id
- The ID of the instance.provisioned_product_name
- The name of the instance.The length is 1~128 characters.provisioned_product_type
- Instance type.The value is RosStack, which indicates the stack of Alibaba Cloud resource orchestration service (ROS).stack_id
- The ID of the ROS stackstack_region_id
- The ID of the region to which the resource stack of the Alibaba Cloud resource orchestration service (ROS) belongs.status
- Instance statusstatus_message
- The status message of the product instance
products
- (Deprecated since v1.197.0) A list of Provisioned Product Entries. Each element contains the following attributes:create_time
- The creation time of the product instancelast_provisioning_task_id
- The ID of the last instance operation tasklast_successful_provisioning_task_id
- The ID of the last successful instance operation tasklast_task_id
- The ID of the last taskowner_principal_id
- The RAM entity ID of the ownerowner_principal_type
- The RAM entity type of the ownerportfolio_id
- Product mix ID.> When there is a default Startup option, there is no need to fill in the portfolio. When there is no default Startup option, you must fill in the portfolio.product_id
- Product ID.product_name
- The name of the productproduct_version_id
- Product version ID.product_version_name
- The name of the product versionprovisioned_product_arn
- The ARN of the product instanceprovisioned_product_id
- The ID of the instance.provisioned_product_name
- The name of the instance.The length is 1~128 characters.provisioned_product_type
- Instance type.The value is RosStack, which indicates the stack of Alibaba Cloud resource orchestration service (ROS).stack_id
- The ID of the ROS stackstack_region_id
- The ID of the region to which the resource stack of the Alibaba Cloud resource orchestration service (ROS) belongs.status
- Instance statusstatus_message
- The status message of the product instance
文档内容是否对您有帮助?