Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.marketplace.getProducts
Explore with Pulumi AI
This data source provides the Market product items of Alibaba Cloud.
NOTE: Available in 1.64.0+
Using getProducts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProducts(args: GetProductsArgs, opts?: InvokeOptions): Promise<GetProductsResult>
function getProductsOutput(args: GetProductsOutputArgs, opts?: InvokeOptions): Output<GetProductsResult>
def get_products(category_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
product_type: Optional[str] = None,
search_term: Optional[str] = None,
sort: Optional[str] = None,
suggested_price: Optional[float] = None,
supplier_id: Optional[str] = None,
supplier_name_keyword: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProductsResult
def get_products_output(category_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
product_type: Optional[pulumi.Input[str]] = None,
search_term: Optional[pulumi.Input[str]] = None,
sort: Optional[pulumi.Input[str]] = None,
suggested_price: Optional[pulumi.Input[float]] = None,
supplier_id: Optional[pulumi.Input[str]] = None,
supplier_name_keyword: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProductsResult]
func GetProducts(ctx *Context, args *GetProductsArgs, opts ...InvokeOption) (*GetProductsResult, error)
func GetProductsOutput(ctx *Context, args *GetProductsOutputArgs, opts ...InvokeOption) GetProductsResultOutput
> Note: This function is named GetProducts
in the Go SDK.
public static class GetProducts
{
public static Task<GetProductsResult> InvokeAsync(GetProductsArgs args, InvokeOptions? opts = null)
public static Output<GetProductsResult> Invoke(GetProductsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProductsResult> getProducts(GetProductsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:marketplace/getProducts:getProducts
arguments:
# arguments dictionary
The following arguments are supported:
- Category
Id string - The Category ID of products.
- Ids List<string>
- A list of product code.
- Name
Regex string - A regex string to apply to the product name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Product
Type string - The type of products, Valid values:
APP
,SERVICE
,MIRROR
,DOWNLOAD
andAPI_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-desc
andscore-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.
- Ids []string
- A list of product code.
- Name
Regex string - A regex string to apply to the product name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Product
Type string - The type of products, Valid values:
APP
,SERVICE
,MIRROR
,DOWNLOAD
andAPI_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-desc
andscore-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.
- ids List<String>
- A list of product code.
- name
Regex String - A regex string to apply to the product name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - product
Type String - The type of products, Valid values:
APP
,SERVICE
,MIRROR
,DOWNLOAD
andAPI_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-desc
andscore-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.
- ids string[]
- A list of product code.
- name
Regex string - A regex string to apply to the product name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - product
Type string - The type of products, Valid values:
APP
,SERVICE
,MIRROR
,DOWNLOAD
andAPI_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-desc
andscore-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.
- ids Sequence[str]
- A list of product code.
- name_
regex str - A regex string to apply to the product name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - product_
type str - The type of products, Valid values:
APP
,SERVICE
,MIRROR
,DOWNLOAD
andAPI_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-desc
andscore-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.
- category
Id String - The Category ID of products.
- ids List<String>
- A list of product code.
- name
Regex String - A regex string to apply to the product name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - product
Type String - The type of products, Valid values:
APP
,SERVICE
,MIRROR
,DOWNLOAD
andAPI_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-desc
andscore-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.
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 List<String>
- A list of product codes.
- products
List<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 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 Sequence[str]
- A list of product codes.
- products
Sequence[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
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of product codes.
- products List<Property Map>
- 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
Supporting Types
GetProductsProduct
- Category
Id int - The Category ID of products.
- 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.
- 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 Integer - The Category ID of products.
- 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 Integer - 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.
- 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 int - The Category ID of products.
- 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 int - 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.
- category
Id Number - The Category ID of products.
- 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.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.