get Executions
This data source provides the FnF Executions of the current Alibaba Cloud user.
NOTE: Available in v1.149.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.GetExecutionsArgs;
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 ids = FnfFunctions.getExecutions(GetExecutionsArgs.builder()
.flowName("example_value")
.ids(
"my-Execution-1",
"my-Execution-2")
.build());
ctx.export("fnfExecutionId1", data.alicloud_fn_f_executions().ids().executions()[0].id());
}
}
Content copied to clipboard
Return
A collection of values returned by getExecutions.
Parameters
argument
A collection of arguments for invoking getExecutions.
suspend fun getExecutions(enableDetails: Boolean? = null, flowName: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, status: String? = null): GetExecutionsResult
Return
A collection of values returned by getExecutions.
See also
Parameters
enable Details
Default to false
. Set it to true
can output more details about resource attributes.
flow Name
The name of the flow.
ids
A list of Execution IDs. The value formats as <flow_name>:<execution_name>
.
name Regex
A regex string to filter results by Execution name.
output File
File name where to save data source results (after running pulumi preview
).
status
The status of the resource.
suspend fun getExecutions(argument: suspend GetExecutionsPlainArgsBuilder.() -> Unit): GetExecutionsResult
Return
A collection of values returned by getExecutions.
See also
Parameters
argument
Builder for com.pulumi.alicloud.fnf.kotlin.inputs.GetExecutionsPlainArgs.