TeamsList

class TeamsList : KotlinCustomResource

Provides a Cloudflare Teams List resource. Teams lists are referenced when creating secure web gateway policies or device posture rules.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.TeamsList;
import com.pulumi.cloudflare.TeamsListArgs;
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) {
var example = new TeamsList("example", TeamsListArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.description("Serial numbers for all corporate devices.")
.items(
"8GE8721REF",
"5RE8543EGG",
"1YE2880LNP")
.name("Corporate devices")
.type("SERIAL")
.build());
}
}

Import

$ pulumi import cloudflare:index/teamsList:TeamsList example <account_id>/<teams_list_id>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource.

Link copied to clipboard
val description: Output<String>?

The description of the teams list.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val items: Output<List<String>>?

The items of the teams list.

Link copied to clipboard
val name: Output<String>

Name of the teams list.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

The teams list type. Available values: IP, SERIAL, URL, DOMAIN, EMAIL.

Link copied to clipboard
val urn: Output<String>