get List
Use this data source to lookup a List.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetListArgs;
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 = CloudflareFunctions.getList(GetListArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.name("list_name")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getList.
Parameters
argument
A collection of arguments for invoking getList.
Return
A collection of values returned by getList.
See also
Parameters
account Id
The account identifier to target for the resource.
name
The list name to target for the resource.
Return
A collection of values returned by getList.
See also
Parameters
argument
Builder for com.pulumi.cloudflare.kotlin.inputs.GetListPlainArgs.