Package com.pulumi.cloudflare
Class TeamsProxyEndpoint
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.cloudflare.TeamsProxyEndpoint
-
public class TeamsProxyEndpoint extends com.pulumi.resources.CustomResource
Provides a Cloudflare Teams Proxy Endpoint resource. Teams Proxy Endpoints are used for pointing proxy clients at Cloudflare Secure Gateway. ## Example Usage ```java 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") .ips("192.0.2.0/24") .name("office") .build()); } } ``` ## Import ```sh $ pulumi import cloudflare:index/teamsProxyEndpoint:TeamsProxyEndpoint example <account_id>/<proxy_endpoint_id> ```
-
-
Constructor Summary
Constructors Constructor Description TeamsProxyEndpoint(java.lang.String name)
TeamsProxyEndpoint(java.lang.String name, TeamsProxyEndpointArgs args)
TeamsProxyEndpoint(java.lang.String name, TeamsProxyEndpointArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
accountId()
static TeamsProxyEndpoint
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, TeamsProxyEndpointState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.List<java.lang.String>>
ips()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
subdomain()
-
-
-
Constructor Detail
-
TeamsProxyEndpoint
public TeamsProxyEndpoint(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
TeamsProxyEndpoint
public TeamsProxyEndpoint(java.lang.String name, TeamsProxyEndpointArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
TeamsProxyEndpoint
public TeamsProxyEndpoint(java.lang.String name, TeamsProxyEndpointArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
accountId
public com.pulumi.core.Output<java.lang.String> accountId()
- Returns:
- The account identifier to target for the resource.
-
ips
public com.pulumi.core.Output<java.util.List<java.lang.String>> ips()
- Returns:
- The networks CIDRs that will be allowed to initiate proxy connections.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Name of the teams proxy endpoint.
-
subdomain
public com.pulumi.core.Output<java.lang.String> subdomain()
- Returns:
- The FQDN that proxy clients should be pointed at.
-
get
public static TeamsProxyEndpoint get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable TeamsProxyEndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-