getProjects

This data source provides the Log Projects of the current Alibaba Cloud user.

NOTE: Available in v1.126.0+.

Return

A collection of values returned by getProjects.

Parameters

argument

A collection of arguments for invoking getProjects.


suspend fun getProjects(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, status: String? = null): GetProjectsResult

Return

A collection of values returned by getProjects.

Parameters

ids

A list of project IDs.

nameRegex

A regex string to filter results by project name.

outputFile

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

status

The status of log project. Valid values Normal and Disable.

See also


suspend fun getProjects(argument: suspend GetProjectsPlainArgsBuilder.() -> Unit): GetProjectsResult

Return

A collection of values returned by getProjects.

Parameters

argument

Builder for com.pulumi.alicloud.log.kotlin.inputs.GetProjectsPlainArgs.

See also