get End User Products
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
A collection of arguments for invoking getEndUserProducts.
Return
A collection of values returned by getEndUserProducts.
See also
Parameters
A list of End User Product IDs.
A regex string to filter results by product name.
File name where to save data source results (after running pulumi preview
).
The field that is used to sort the queried data. The value is fixed as CreateTime, which specifies the creation time of products.
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
Builder for com.pulumi.alicloud.servicecatalog.kotlin.inputs.GetEndUserProductsPlainArgs.