TeamsListArgs

data class TeamsListArgs(val accountId: Output<String>? = null, val description: Output<String>? = null, val items: Output<List<String>>? = null, val name: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<TeamsListArgs>

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>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, description: Output<String>? = null, items: Output<List<String>>? = null, name: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The account identifier to target for the resource.

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

The description of the teams list.

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

The items of the teams list.

Link copied to clipboard
val name: Output<String>? = null

Name of the teams list.

Link copied to clipboard
val type: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): TeamsListArgs