文档

alicloud_service_catalog_launch_options

更新时间:
一键部署

This data source provides Service Catalog Launch Option available to the user. What is Launch Option.

-> NOTE: Available since v1.196.0.

Example Usage

Basic Usage

data "alicloud_service_catalog_end_user_products" "default" {
  name_regex = "ram模板创建"
}

data "alicloud_service_catalog_launch_options" "default" {
  product_id = "data.alicloud_service_catalog_end_user_products.default.end_user_products.0.id"
}

output "alicloud_service_catalog_launch_option_example_id" {
  value = data.alicloud_service_catalog_launch_options.default.launch_options.0.id
}

Argument Reference

The following arguments are supported:

  • ids - (Optional, ForceNew, List) A list of Launch Option IDs.
  • name_regex - (Optional, ForceNew) A regex string to filter results by portfolio name.
  • product_id - (Required, ForceNew) Product ID.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • launch_options - (Available since v1.197.0) A list of Launch Option Entries. Each element contains the following attributes:
    • id - ID of Service Catalog Launch Option.
    • constraint_summaries - List of constraints.
      • constraint_type - Constraint type.The value is Launch, which indicates that the constraint is started.
      • description - Constraint description.
    • portfolio_id - Product mix ID.
    • portfolio_name - Product portfolio name.
  • options - (Deprecated since v1.197.0) A list of Launch Option Entries. Each element contains the following attributes:
    • id - ID of Service Catalog Launch Option.
    • constraint_summaries - List of constraints.
      • constraint_type - Constraint type.The value is Launch, which indicates that the constraint is started.
      • description - Constraint description.
    • portfolio_id - Product mix ID.
    • portfolio_name - Product portfolio name.

  • 本页导读 (0)
文档反馈