MagicWanGreTunnel

class MagicWanGreTunnel : KotlinCustomResource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleMagicWanGreTunnel = new cloudflare.MagicWanGreTunnel("example_magic_wan_gre_tunnel", {accountId: "023e105f4ecef8ad9ca31a8372d0c353"});
import pulumi
import pulumi_cloudflare as cloudflare
example_magic_wan_gre_tunnel = cloudflare.MagicWanGreTunnel("example_magic_wan_gre_tunnel", account_id="023e105f4ecef8ad9ca31a8372d0c353")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleMagicWanGreTunnel = new Cloudflare.MagicWanGreTunnel("example_magic_wan_gre_tunnel", new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
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.NewMagicWanGreTunnel(ctx, "example_magic_wan_gre_tunnel", &cloudflare.MagicWanGreTunnelArgs{
AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
})
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.MagicWanGreTunnel;
import com.pulumi.cloudflare.MagicWanGreTunnelArgs;
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 exampleMagicWanGreTunnel = new MagicWanGreTunnel("exampleMagicWanGreTunnel", MagicWanGreTunnelArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
resources:
exampleMagicWanGreTunnel:
type: cloudflare:MagicWanGreTunnel
name: example_magic_wan_gre_tunnel
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353

Properties

Link copied to clipboard
val accountId: Output<String>

Identifier

Link copied to clipboard

The IP address assigned to the Cloudflare side of the GRE tunnel.

Link copied to clipboard

The IP address assigned to the customer side of the GRE tunnel.

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

An optional description of the GRE tunnel.

Link copied to clipboard
Link copied to clipboard
val greTunnelId: Output<String>?

Identifier

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val interfaceAddress: Output<String>?

A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.

Link copied to clipboard
val modified: Output<Boolean>
Link copied to clipboard
val mtu: Output<Int>

Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576.

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

The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ttl: Output<Int>

Time To Live (TTL) in number of hops of the GRE tunnel.

Link copied to clipboard
val urn: Output<String>