GetProducts
This data source provides the Market product items of Alibaba Cloud.
NOTE: Available in 1.64.0+
Using GetProducts
function getProducts(args: GetProductsArgs, opts?: InvokeOptions): Promise<GetProductsResult>function get_products(category_id=None, ids=None, name_regex=None, output_file=None, product_type=None, search_term=None, sort=None, suggested_price=None, supplier_id=None, supplier_name_keyword=None, opts=None)func GetProducts(ctx *Context, args *GetProductsArgs, opts ...InvokeOption) (*GetProductsResult, error)public static class GetProducts {
public static Task<GetProductsResult> InvokeAsync(GetProductsArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Category
Id string The Category ID of products. For more information, see DescribeProducts.
- Ids List<string>
A list of product code.
- Name
Regex string A regex string to apply to the product name.
- Output
File string - Product
Type string The type of products, Valid values:
APP,SERVICE,MIRROR,DOWNLOADandAPI_SERVICE.- Search
Term string Search term in this query.
- Sort string
This field determines how to sort the filtered results, Valid values:
user_count-desc,created_on-desc,price-descandscore-desc.- Suggested
Price double The suggested price of the product.
- Supplier
Id string The supplier id of the product.
- Supplier
Name stringKeyword The supplier name keyword of the product.
- Category
Id string The Category ID of products. For more information, see DescribeProducts.
- Ids []string
A list of product code.
- Name
Regex string A regex string to apply to the product name.
- Output
File string - Product
Type string The type of products, Valid values:
APP,SERVICE,MIRROR,DOWNLOADandAPI_SERVICE.- Search
Term string Search term in this query.
- Sort string
This field determines how to sort the filtered results, Valid values:
user_count-desc,created_on-desc,price-descandscore-desc.- Suggested
Price float64 The suggested price of the product.
- Supplier
Id string The supplier id of the product.
- Supplier
Name stringKeyword The supplier name keyword of the product.
- category
Id string The Category ID of products. For more information, see DescribeProducts.
- ids string[]
A list of product code.
- name
Regex string A regex string to apply to the product name.
- output
File string - product
Type string The type of products, Valid values:
APP,SERVICE,MIRROR,DOWNLOADandAPI_SERVICE.- search
Term string Search term in this query.
- sort string
This field determines how to sort the filtered results, Valid values:
user_count-desc,created_on-desc,price-descandscore-desc.- suggested
Price number The suggested price of the product.
- supplier
Id string The supplier id of the product.
- supplier
Name stringKeyword The supplier name keyword of the product.
- category_
id str The Category ID of products. For more information, see DescribeProducts.
- ids List[str]
A list of product code.
- name_
regex str A regex string to apply to the product name.
- output_
file str - product_
type str The type of products, Valid values:
APP,SERVICE,MIRROR,DOWNLOADandAPI_SERVICE.- search_
term str Search term in this query.
- sort str
This field determines how to sort the filtered results, Valid values:
user_count-desc,created_on-desc,price-descandscore-desc.- suggested_
price float The suggested price of the product.
- supplier_
id str The supplier id of the product.
- supplier_
name_ strkeyword The supplier name keyword of the product.
GetProducts Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
A list of product codes.
- Products
List<Pulumi.
Ali Cloud. Market Place. Outputs. Get Products Product> A list of products. Each element contains the following attributes:
- Category
Id string The category id of the product.
- Name
Regex string - Output
File string - Product
Type string - Search
Term string - Sort string
- Suggested
Price double The suggested price of the product.
- Supplier
Id string The supplier id of the product.
- Supplier
Name stringKeyword
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
A list of product codes.
- Products
[]Get
Products Product A list of products. Each element contains the following attributes:
- Category
Id string The category id of the product.
- Name
Regex string - Output
File string - Product
Type string - Search
Term string - Sort string
- Suggested
Price float64 The suggested price of the product.
- Supplier
Id string The supplier id of the product.
- Supplier
Name stringKeyword
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
A list of product codes.
- products
Get
Products Product[] A list of products. Each element contains the following attributes:
- category
Id string The category id of the product.
- name
Regex string - output
File string - product
Type string - search
Term string - sort string
- suggested
Price number The suggested price of the product.
- supplier
Id string The supplier id of the product.
- supplier
Name stringKeyword
- id str
The provider-assigned unique ID for this managed resource.
- ids List[str]
A list of product codes.
- products
List[Get
Products Product] A list of products. Each element contains the following attributes:
- category_
id str The category id of the product.
- name_
regex str - output_
file str - product_
type str - search_
term str - sort str
- suggested_
price float The suggested price of the product.
- supplier_
id str The supplier id of the product.
- supplier_
name_ strkeyword
Supporting Types
GetProductsProduct
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Category
Id int The Category ID of products. For more information, see DescribeProducts.
- Code string
The code of the product.
- Delivery
Date string The delivery date of the product.
- Delivery
Way string The delivery way of the product.
- Image
Url string The image URL of the product.
- Name string
The name of the product.
- Operation
System string The operation system of the product.
- Score string
The rating information of the product.
- Short
Description string The short description of the product.
- Suggested
Price string The suggested price of the product.
- Supplier
Id int The supplier id of the product.
- Supplier
Name string The supplier name of the product.
- string
The tags of the product.
- Target
Url string The detail page URL of the product.
- Warranty
Date string The warranty date of the product.
- Category
Id int The Category ID of products. For more information, see DescribeProducts.
- Code string
The code of the product.
- Delivery
Date string The delivery date of the product.
- Delivery
Way string The delivery way of the product.
- Image
Url string The image URL of the product.
- Name string
The name of the product.
- Operation
System string The operation system of the product.
- Score string
The rating information of the product.
- Short
Description string The short description of the product.
- Suggested
Price string The suggested price of the product.
- Supplier
Id int The supplier id of the product.
- Supplier
Name string The supplier name of the product.
- string
The tags of the product.
- Target
Url string The detail page URL of the product.
- Warranty
Date string The warranty date of the product.
- category
Id number The Category ID of products. For more information, see DescribeProducts.
- code string
The code of the product.
- delivery
Date string The delivery date of the product.
- delivery
Way string The delivery way of the product.
- image
Url string The image URL of the product.
- name string
The name of the product.
- operation
System string The operation system of the product.
- score string
The rating information of the product.
- short
Description string The short description of the product.
- suggested
Price string The suggested price of the product.
- supplier
Id number The supplier id of the product.
- supplier
Name string The supplier name of the product.
- string
The tags of the product.
- target
Url string The detail page URL of the product.
- warranty
Date string The warranty date of the product.
- category
Id float The Category ID of products. For more information, see DescribeProducts.
- code str
The code of the product.
- delivery
Date str The delivery date of the product.
- delivery
Way str The delivery way of the product.
- image
Url str The image URL of the product.
- name str
The name of the product.
- operation
System str The operation system of the product.
- score str
The rating information of the product.
- short
Description str The short description of the product.
- suggested
Price str The suggested price of the product.
- supplier
Id float The supplier id of the product.
- supplier
Name str The supplier name of the product.
- str
The tags of the product.
- target
Url str The detail page URL of the product.
- warranty
Date str The warranty date of the product.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.