TeamsLocation

class TeamsLocation : KotlinCustomResource

Provides a Cloudflare Teams Location resource. Teams Locations are referenced when creating secure web gateway policies.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.TeamsLocation;
import com.pulumi.cloudflare.TeamsLocationArgs;
import com.pulumi.cloudflare.inputs.TeamsLocationNetworkArgs;
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 TeamsLocation("example", TeamsLocationArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.clientDefault(true)
.name("office")
.networks(
TeamsLocationNetworkArgs.builder()
.network("203.0.113.1/32")
.build(),
TeamsLocationNetworkArgs.builder()
.network("203.0.113.2/32")
.build())
.build());
}
}

Import

$ pulumi import cloudflare:index/teamsLocation:TeamsLocation example <account_id>/<teams_location_id>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource.

Link copied to clipboard

Indicator that anonymized logs are enabled.

Link copied to clipboard
val clientDefault: Output<Boolean>?

Indicator that this is the default location.

Link copied to clipboard
val dohSubdomain: Output<String>

The FQDN that DoH clients should be pointed at.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ip: Output<String>

Client IP address.

Link copied to clipboard
val ipv4Destination: Output<String>

IP to direct all IPv4 DNS queries to.

Link copied to clipboard
val name: Output<String>

Name of the teams location.

Link copied to clipboard

The networks CIDRs that comprise the location.

Link copied to clipboard
val policyIds: Output<List<String>>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>