getEndUserProducts

This data source provides Service Catalog End User Product available to the user.What is End User Product

NOTE: Available since v1.197.0.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.servicecatalog.ServicecatalogFunctions;
import com.pulumi.alicloud.servicecatalog.inputs.GetEndUserProductsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = ServicecatalogFunctions.getEndUserProducts(GetEndUserProductsArgs.builder()
.nameRegex("ram模板创建")
.build());
ctx.export("alicloudServiceCatalogEndUserProductExampleId", default_.endUserProducts()[0].id());
}
}

Return

A collection of values returned by getEndUserProducts.

Parameters

argument

A collection of arguments for invoking getEndUserProducts.


suspend fun getEndUserProducts(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, sortBy: String? = null, sortOrder: String? = null): GetEndUserProductsResult

Return

A collection of values returned by getEndUserProducts.

See also

Parameters

ids

A list of End User Product IDs.

nameRegex

A regex string to filter results by product name.

outputFile

File name where to save data source results (after running pulumi preview).

pageNumber
pageSize
sortBy

The field that is used to sort the queried data. The value is fixed as CreateTime, which specifies the creation time of products.

sortOrder

The order in which you want to sort the queried data. Valid values: Asc, Desc.


Return

A collection of values returned by getEndUserProducts.

See also

Parameters

argument

Builder for com.pulumi.alicloud.servicecatalog.kotlin.inputs.GetEndUserProductsPlainArgs.