getFlows

suspend fun getFlows(argument: GetFlowsPlainArgs): GetFlowsResult

This data source provides the Fnf Flows of the current Alibaba Cloud user.

NOTE: Available in v1.105.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.fnf.FnfFunctions;
import com.pulumi.alicloud.fnf.inputs.GetFlowsArgs;
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 example = FnfFunctions.getFlows(GetFlowsArgs.builder()
.ids("example_value")
.nameRegex("the_resource_name")
.build());
ctx.export("firstFnfFlowId", example.applyValue(getFlowsResult -> getFlowsResult.flows()[0].id()));
}
}

Return

A collection of values returned by getFlows.

Parameters

argument

A collection of arguments for invoking getFlows.


suspend fun getFlows(ids: List<String>? = null, limit: Int? = null, nameRegex: String? = null, outputFile: String? = null): GetFlowsResult

Return

A collection of values returned by getFlows.

See also

Parameters

ids

A list of Flow IDs.

limit

The number of resource queries.

nameRegex

A regex string to filter results by Flow name.

outputFile

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


suspend fun getFlows(argument: suspend GetFlowsPlainArgsBuilder.() -> Unit): GetFlowsResult

Return

A collection of values returned by getFlows.

See also

Parameters

argument

Builder for com.pulumi.alicloud.fnf.kotlin.inputs.GetFlowsPlainArgs.