getBundles

This data source provides the Ecd bundles of the current Alibaba Cloud user.

NOTE: Available in v1.143.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.EdsFunctions;
import com.pulumi.alicloud.eds.inputs.GetBundlesArgs;
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 = EdsFunctions.getBundles(GetBundlesArgs.builder()
.bundleType("SYSTEM")
.build());
}
}

Return

A collection of values returned by getBundles.

Parameters

argument

A collection of arguments for invoking getBundles.


suspend fun getBundles(bundleIds: List<String>? = null, bundleType: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetBundlesResult

Return

A collection of values returned by getBundles.

See also

Parameters

bundleIds

The bundle id of the bundle.

bundleType

The bundle type of the bundle. Valid values: SYSTEM,CUSTOM.

ids

A list of Bundle IDs.

nameRegex

A regex string to filter results by Bundle name.

outputFile

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


suspend fun getBundles(argument: suspend GetBundlesPlainArgsBuilder.() -> Unit): GetBundlesResult

Return

A collection of values returned by getBundles.

See also

Parameters

argument

Builder for com.pulumi.alicloud.eds.kotlin.inputs.GetBundlesPlainArgs.