get Product As End Users
suspend fun getProductAsEndUsers(argument: GetProductAsEndUsersPlainArgs): GetProductAsEndUsersResult
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.GetProductAsEndUsersArgs;
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.getProductAsEndUsers(GetProductAsEndUsersArgs.builder()
.nameRegex("ram模板创建")
.build());
ctx.export("alicloudServiceCatalogProductAsEndUserExampleId", default_.users()[0].id());
}
}
Content copied to clipboard
Return
A collection of values returned by getProductAsEndUsers.
Parameters
argument
A collection of arguments for invoking getProductAsEndUsers.
suspend fun getProductAsEndUsers(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, sortBy: String? = null, sortOrder: String? = null): GetProductAsEndUsersResult
Return
A collection of values returned by getProductAsEndUsers.
See also
Parameters
ids
A list of Product As End User IDs.
name Regex
A regex string to filter results by product name.
output File
sort By
sort Order
suspend fun getProductAsEndUsers(argument: suspend GetProductAsEndUsersPlainArgsBuilder.() -> Unit): GetProductAsEndUsersResult
Return
A collection of values returned by getProductAsEndUsers.
See also
Parameters
argument
Builder for com.pulumi.alicloud.servicecatalog.kotlin.inputs.GetProductAsEndUsersPlainArgs.