TeamsProxyEndpoint

class TeamsProxyEndpoint : KotlinCustomResource

Provides a Cloudflare Teams Proxy Endpoint resource. Teams Proxy Endpoints are used for pointing proxy clients at Cloudflare Secure Gateway.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const example = new cloudflare.TeamsProxyEndpoint("example", {
accountId: "f037e56e89293a057740de681ac9abbe",
name: "office",
ips: ["192.0.2.0/24"],
});
import pulumi
import pulumi_cloudflare as cloudflare
example = cloudflare.TeamsProxyEndpoint("example",
account_id="f037e56e89293a057740de681ac9abbe",
name="office",
ips=["192.0.2.0/24"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var example = new Cloudflare.TeamsProxyEndpoint("example", new()
{
AccountId = "f037e56e89293a057740de681ac9abbe",
Name = "office",
Ips = new[]
{
"192.0.2.0/24",
},
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewTeamsProxyEndpoint(ctx, "example", &cloudflare.TeamsProxyEndpointArgs{
AccountId: pulumi.String("f037e56e89293a057740de681ac9abbe"),
Name: pulumi.String("office"),
Ips: pulumi.StringArray{
pulumi.String("192.0.2.0/24"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.TeamsProxyEndpoint;
import com.pulumi.cloudflare.TeamsProxyEndpointArgs;
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 TeamsProxyEndpoint("example", TeamsProxyEndpointArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.name("office")
.ips("192.0.2.0/24")
.build());
}
}
resources:
example:
type: cloudflare:TeamsProxyEndpoint
properties:
accountId: f037e56e89293a057740de681ac9abbe
name: office
ips:
- 192.0.2.0/24

Import

$ pulumi import cloudflare:index/teamsProxyEndpoint:TeamsProxyEndpoint example <account_id>/<proxy_endpoint_id>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource.

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

The networks CIDRs that will be allowed to initiate proxy connections.

Link copied to clipboard
val name: Output<String>

Name of the teams proxy endpoint.

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

The FQDN that proxy clients should be pointed at.

Link copied to clipboard
val urn: Output<String>