get Zero Trust Tunnel Cloudflareds
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustTunnelCloudflareds = cloudflare.getZeroTrustTunnelCloudflareds({
accountId: "699d98642c564d2e855e9661899b7252",
excludePrefix: "vpc1-",
existedAt: "2019-10-12T07%3A20%3A50.52Z",
includePrefix: "vpc1-",
isDeleted: true,
name: "blog",
status: "inactive",
uuid: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
wasActiveAt: "2009-11-10T23:00:00Z",
wasInactiveAt: "2009-11-10T23:00:00Z",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_tunnel_cloudflareds = cloudflare.get_zero_trust_tunnel_cloudflareds(account_id="699d98642c564d2e855e9661899b7252",
exclude_prefix="vpc1-",
existed_at="2019-10-12T07%3A20%3A50.52Z",
include_prefix="vpc1-",
is_deleted=True,
name="blog",
status="inactive",
uuid="f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
was_active_at="2009-11-10T23:00:00Z",
was_inactive_at="2009-11-10T23:00:00Z")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustTunnelCloudflareds = Cloudflare.GetZeroTrustTunnelCloudflareds.Invoke(new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
ExcludePrefix = "vpc1-",
ExistedAt = "2019-10-12T07%3A20%3A50.52Z",
IncludePrefix = "vpc1-",
IsDeleted = true,
Name = "blog",
Status = "inactive",
Uuid = "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
WasActiveAt = "2009-11-10T23:00:00Z",
WasInactiveAt = "2009-11-10T23:00:00Z",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupZeroTrustTunnelCloudflareds(ctx, &cloudflare.LookupZeroTrustTunnelCloudflaredsArgs{
AccountId: "699d98642c564d2e855e9661899b7252",
ExcludePrefix: pulumi.StringRef("vpc1-"),
ExistedAt: pulumi.StringRef("2019-10-12T07%3A20%3A50.52Z"),
IncludePrefix: pulumi.StringRef("vpc1-"),
IsDeleted: pulumi.BoolRef(true),
Name: pulumi.StringRef("blog"),
Status: pulumi.StringRef("inactive"),
Uuid: pulumi.StringRef("f70ff985-a4ef-4643-bbbc-4a0ed4fc8415"),
WasActiveAt: pulumi.StringRef("2009-11-10T23:00:00Z"),
WasInactiveAt: pulumi.StringRef("2009-11-10T23:00:00Z"),
}, nil)
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.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetZeroTrustTunnelCloudflaredsArgs;
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) {
final var exampleZeroTrustTunnelCloudflareds = CloudflareFunctions.getZeroTrustTunnelCloudflareds(GetZeroTrustTunnelCloudflaredsArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.excludePrefix("vpc1-")
.existedAt("2019-10-12T07%3A20%3A50.52Z")
.includePrefix("vpc1-")
.isDeleted(true)
.name("blog")
.status("inactive")
.uuid("f70ff985-a4ef-4643-bbbc-4a0ed4fc8415")
.wasActiveAt("2009-11-10T23:00:00Z")
.wasInactiveAt("2009-11-10T23:00:00Z")
.build());
}
}
variables:
exampleZeroTrustTunnelCloudflareds:
fn::invoke:
function: cloudflare:getZeroTrustTunnelCloudflareds
arguments:
accountId: 699d98642c564d2e855e9661899b7252
excludePrefix: vpc1-
existedAt: 2019-10-12T07%3A20%3A50.52Z
includePrefix: vpc1-
isDeleted: true
name: blog
status: inactive
uuid: f70ff985-a4ef-4643-bbbc-4a0ed4fc8415
wasActiveAt: 2009-11-10T23:00:00Z
wasInactiveAt: 2009-11-10T23:00:00Z
Return
A collection of values returned by getZeroTrustTunnelCloudflareds.
Parameters
A collection of arguments for invoking getZeroTrustTunnelCloudflareds.
Return
A collection of values returned by getZeroTrustTunnelCloudflareds.
Parameters
Cloudflare account ID
If provided, include only resources that were created (and not deleted) before this time. URL encoded.
If true
, only include deleted tunnels. If false
, exclude deleted tunnels. If empty, all tunnels will be included.
Max items to fetch, default: 1000
A user-friendly name for a tunnel.
The status of the tunnel. Valid values are inactive
(tunnel has never been run), degraded
(tunnel is active and able to serve traffic but in an unhealthy state), healthy
(tunnel is active and able to serve traffic), or down
(tunnel can not serve traffic as it has no connections to the Cloudflare Edge). Available values: "inactive", "degraded", "healthy", "down".
UUID of the tunnel.
See also
Return
A collection of values returned by getZeroTrustTunnelCloudflareds.
Parameters
Builder for com.pulumi.cloudflare.kotlin.inputs.GetZeroTrustTunnelCloudflaredsPlainArgs.