alicloud_bss_openapi_products
更新時間:
This data source provides Bss Open Api Product available to the user.What is Product
-> NOTE: Available since v1.195.0.
Example Usage
data "alicloud_bss_openapi_products" "default" {
name_regex = "內(nèi)容分發(fā)網(wǎng)絡(luò)CDN"
}
output "alicloud_bssopenapi_product_example_id" {
value = data.alicloud_bss_openapi_products.default.products.0.product_code
}
Argument Reference
The following arguments are supported:
ids
- (Optional, ForceNew, List) A list of product IDs.name_regex
- (Optional, ForceNew) A regex string to filter results by Product name.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:
names
- A list of name of Products.products
- A list of Product Entries. Each element contains the following attributes:id
- The ID of the product. The value is formulated as<product_code>:<product_type>:<subscription_type>
.product_code
- Product code.product_name
- Product name.product_type
- Type of product.subscription_type
- Subscription type. Value:- Subscription: Prepaid.
- PayAsYouGo: postpaid.
文檔內(nèi)容是否對您有幫助?