cloudflare.MagicWanIpsecTunnel
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleMagicWanIpsecTunnel = new cloudflare.MagicWanIpsecTunnel("example_magic_wan_ipsec_tunnel", {
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
cloudflareEndpoint: "203.0.113.1",
interfaceAddress: "192.0.2.0/31",
name: "IPsec_1",
customerEndpoint: "203.0.113.1",
description: "Tunnel for ISP X",
healthCheck: {
direction: "bidirectional",
enabled: true,
rate: "low",
target: {
saved: "203.0.113.1",
},
type: "request",
},
psk: "O3bwKSjnaoCxDoUxjcq4Rk8ZKkezQUiy",
replayProtection: false,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_magic_wan_ipsec_tunnel = cloudflare.MagicWanIpsecTunnel("example_magic_wan_ipsec_tunnel",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
cloudflare_endpoint="203.0.113.1",
interface_address="192.0.2.0/31",
name="IPsec_1",
customer_endpoint="203.0.113.1",
description="Tunnel for ISP X",
health_check={
"direction": "bidirectional",
"enabled": True,
"rate": "low",
"target": {
"saved": "203.0.113.1",
},
"type": "request",
},
psk="O3bwKSjnaoCxDoUxjcq4Rk8ZKkezQUiy",
replay_protection=False)
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.NewMagicWanIpsecTunnel(ctx, "example_magic_wan_ipsec_tunnel", &cloudflare.MagicWanIpsecTunnelArgs{
AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
CloudflareEndpoint: pulumi.String("203.0.113.1"),
InterfaceAddress: pulumi.String("192.0.2.0/31"),
Name: pulumi.String("IPsec_1"),
CustomerEndpoint: pulumi.String("203.0.113.1"),
Description: pulumi.String("Tunnel for ISP X"),
HealthCheck: &cloudflare.MagicWanIpsecTunnelHealthCheckArgs{
Direction: pulumi.String("bidirectional"),
Enabled: pulumi.Bool(true),
Rate: pulumi.String("low"),
Target: &cloudflare.MagicWanIpsecTunnelHealthCheckTargetArgs{
Saved: pulumi.String("203.0.113.1"),
},
Type: pulumi.String("request"),
},
Psk: pulumi.String("O3bwKSjnaoCxDoUxjcq4Rk8ZKkezQUiy"),
ReplayProtection: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleMagicWanIpsecTunnel = new Cloudflare.MagicWanIpsecTunnel("example_magic_wan_ipsec_tunnel", new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
CloudflareEndpoint = "203.0.113.1",
InterfaceAddress = "192.0.2.0/31",
Name = "IPsec_1",
CustomerEndpoint = "203.0.113.1",
Description = "Tunnel for ISP X",
HealthCheck = new Cloudflare.Inputs.MagicWanIpsecTunnelHealthCheckArgs
{
Direction = "bidirectional",
Enabled = true,
Rate = "low",
Target = new Cloudflare.Inputs.MagicWanIpsecTunnelHealthCheckTargetArgs
{
Saved = "203.0.113.1",
},
Type = "request",
},
Psk = "O3bwKSjnaoCxDoUxjcq4Rk8ZKkezQUiy",
ReplayProtection = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.MagicWanIpsecTunnel;
import com.pulumi.cloudflare.MagicWanIpsecTunnelArgs;
import com.pulumi.cloudflare.inputs.MagicWanIpsecTunnelHealthCheckArgs;
import com.pulumi.cloudflare.inputs.MagicWanIpsecTunnelHealthCheckTargetArgs;
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 exampleMagicWanIpsecTunnel = new MagicWanIpsecTunnel("exampleMagicWanIpsecTunnel", MagicWanIpsecTunnelArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.cloudflareEndpoint("203.0.113.1")
.interfaceAddress("192.0.2.0/31")
.name("IPsec_1")
.customerEndpoint("203.0.113.1")
.description("Tunnel for ISP X")
.healthCheck(MagicWanIpsecTunnelHealthCheckArgs.builder()
.direction("bidirectional")
.enabled(true)
.rate("low")
.target(MagicWanIpsecTunnelHealthCheckTargetArgs.builder()
.saved("203.0.113.1")
.build())
.type("request")
.build())
.psk("O3bwKSjnaoCxDoUxjcq4Rk8ZKkezQUiy")
.replayProtection(false)
.build());
}
}
resources:
exampleMagicWanIpsecTunnel:
type: cloudflare:MagicWanIpsecTunnel
name: example_magic_wan_ipsec_tunnel
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
cloudflareEndpoint: 203.0.113.1
interfaceAddress: 192.0.2.0/31
name: IPsec_1
customerEndpoint: 203.0.113.1
description: Tunnel for ISP X
healthCheck:
direction: bidirectional
enabled: true
rate: low
target:
saved: 203.0.113.1
type: request
psk: O3bwKSjnaoCxDoUxjcq4Rk8ZKkezQUiy
replayProtection: false
Create MagicWanIpsecTunnel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MagicWanIpsecTunnel(name: string, args: MagicWanIpsecTunnelArgs, opts?: CustomResourceOptions);
@overload
def MagicWanIpsecTunnel(resource_name: str,
args: MagicWanIpsecTunnelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MagicWanIpsecTunnel(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
cloudflare_endpoint: Optional[str] = None,
interface_address: Optional[str] = None,
name: Optional[str] = None,
customer_endpoint: Optional[str] = None,
description: Optional[str] = None,
health_check: Optional[MagicWanIpsecTunnelHealthCheckArgs] = None,
ipsec_tunnel_id: Optional[str] = None,
psk: Optional[str] = None,
replay_protection: Optional[bool] = None)
func NewMagicWanIpsecTunnel(ctx *Context, name string, args MagicWanIpsecTunnelArgs, opts ...ResourceOption) (*MagicWanIpsecTunnel, error)
public MagicWanIpsecTunnel(string name, MagicWanIpsecTunnelArgs args, CustomResourceOptions? opts = null)
public MagicWanIpsecTunnel(String name, MagicWanIpsecTunnelArgs args)
public MagicWanIpsecTunnel(String name, MagicWanIpsecTunnelArgs args, CustomResourceOptions options)
type: cloudflare:MagicWanIpsecTunnel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MagicWanIpsecTunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MagicWanIpsecTunnelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MagicWanIpsecTunnelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MagicWanIpsecTunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MagicWanIpsecTunnelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var magicWanIpsecTunnelResource = new Cloudflare.MagicWanIpsecTunnel("magicWanIpsecTunnelResource", new()
{
AccountId = "string",
CloudflareEndpoint = "string",
InterfaceAddress = "string",
Name = "string",
CustomerEndpoint = "string",
Description = "string",
HealthCheck = new Cloudflare.Inputs.MagicWanIpsecTunnelHealthCheckArgs
{
Direction = "string",
Enabled = false,
Rate = "string",
Target = new Cloudflare.Inputs.MagicWanIpsecTunnelHealthCheckTargetArgs
{
Effective = "string",
Saved = "string",
},
Type = "string",
},
IpsecTunnelId = "string",
Psk = "string",
ReplayProtection = false,
});
example, err := cloudflare.NewMagicWanIpsecTunnel(ctx, "magicWanIpsecTunnelResource", &cloudflare.MagicWanIpsecTunnelArgs{
AccountId: pulumi.String("string"),
CloudflareEndpoint: pulumi.String("string"),
InterfaceAddress: pulumi.String("string"),
Name: pulumi.String("string"),
CustomerEndpoint: pulumi.String("string"),
Description: pulumi.String("string"),
HealthCheck: &cloudflare.MagicWanIpsecTunnelHealthCheckArgs{
Direction: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Rate: pulumi.String("string"),
Target: &cloudflare.MagicWanIpsecTunnelHealthCheckTargetArgs{
Effective: pulumi.String("string"),
Saved: pulumi.String("string"),
},
Type: pulumi.String("string"),
},
IpsecTunnelId: pulumi.String("string"),
Psk: pulumi.String("string"),
ReplayProtection: pulumi.Bool(false),
})
var magicWanIpsecTunnelResource = new MagicWanIpsecTunnel("magicWanIpsecTunnelResource", MagicWanIpsecTunnelArgs.builder()
.accountId("string")
.cloudflareEndpoint("string")
.interfaceAddress("string")
.name("string")
.customerEndpoint("string")
.description("string")
.healthCheck(MagicWanIpsecTunnelHealthCheckArgs.builder()
.direction("string")
.enabled(false)
.rate("string")
.target(MagicWanIpsecTunnelHealthCheckTargetArgs.builder()
.effective("string")
.saved("string")
.build())
.type("string")
.build())
.ipsecTunnelId("string")
.psk("string")
.replayProtection(false)
.build());
magic_wan_ipsec_tunnel_resource = cloudflare.MagicWanIpsecTunnel("magicWanIpsecTunnelResource",
account_id="string",
cloudflare_endpoint="string",
interface_address="string",
name="string",
customer_endpoint="string",
description="string",
health_check={
"direction": "string",
"enabled": False,
"rate": "string",
"target": {
"effective": "string",
"saved": "string",
},
"type": "string",
},
ipsec_tunnel_id="string",
psk="string",
replay_protection=False)
const magicWanIpsecTunnelResource = new cloudflare.MagicWanIpsecTunnel("magicWanIpsecTunnelResource", {
accountId: "string",
cloudflareEndpoint: "string",
interfaceAddress: "string",
name: "string",
customerEndpoint: "string",
description: "string",
healthCheck: {
direction: "string",
enabled: false,
rate: "string",
target: {
effective: "string",
saved: "string",
},
type: "string",
},
ipsecTunnelId: "string",
psk: "string",
replayProtection: false,
});
type: cloudflare:MagicWanIpsecTunnel
properties:
accountId: string
cloudflareEndpoint: string
customerEndpoint: string
description: string
healthCheck:
direction: string
enabled: false
rate: string
target:
effective: string
saved: string
type: string
interfaceAddress: string
ipsecTunnelId: string
name: string
psk: string
replayProtection: false
MagicWanIpsecTunnel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MagicWanIpsecTunnel resource accepts the following input properties:
- Account
Id string - Identifier
- Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Interface
Address 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.
- Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Health Check - Ipsec
Tunnel stringId - Identifier
- Psk string
- A randomly generated or provided string for use in the IPsec tunnel.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- Account
Id string - Identifier
- Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Interface
Address 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.
- Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Health Check Args - Ipsec
Tunnel stringId - Identifier
- Psk string
- A randomly generated or provided string for use in the IPsec tunnel.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account
Id String - Identifier
- cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- interface
Address 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.
- name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Health Check - ipsec
Tunnel StringId - Identifier
- psk String
- A randomly generated or provided string for use in the IPsec tunnel.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account
Id string - Identifier
- cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- interface
Address 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.
- name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description string
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Health Check - ipsec
Tunnel stringId - Identifier
- psk string
- A randomly generated or provided string for use in the IPsec tunnel.
- replay
Protection boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account_
id str - Identifier
- cloudflare_
endpoint str - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- interface_
address str - 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.
- name str
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- customer_
endpoint str - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description str
- An optional description forthe IPsec tunnel.
- health_
check MagicWan Ipsec Tunnel Health Check Args - ipsec_
tunnel_ strid - Identifier
- psk str
- A randomly generated or provided string for use in the IPsec tunnel.
- replay_
protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account
Id String - Identifier
- cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- interface
Address 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.
- name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check Property Map - ipsec
Tunnel StringId - Identifier
- psk String
- A randomly generated or provided string for use in the IPsec tunnel.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
Outputs
All input properties are implicitly available as output properties. Additionally, the MagicWanIpsecTunnel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - Ipsec
Tunnels List<MagicWan Ipsec Tunnel Ipsec Tunnel> - Modified bool
- Modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - Ipsec
Tunnels []MagicWan Ipsec Tunnel Ipsec Tunnel - Modified bool
- Modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel
- id String
- The provider-assigned unique ID for this managed resource.
- ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - ipsec
Tunnels List<MagicWan Ipsec Tunnel Ipsec Tunnel> - modified Boolean
- modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel
- id string
- The provider-assigned unique ID for this managed resource.
- ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - ipsec
Tunnels MagicWan Ipsec Tunnel Ipsec Tunnel[] - modified boolean
- modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel
- id str
- The provider-assigned unique ID for this managed resource.
- ipsec_
tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - ipsec_
tunnels Sequence[MagicWan Ipsec Tunnel Ipsec Tunnel] - modified bool
- modified_
ipsec_ Magictunnel Wan Ipsec Tunnel Modified Ipsec Tunnel
- id String
- The provider-assigned unique ID for this managed resource.
- ipsec
Tunnel Property Map - ipsec
Tunnels List<Property Map> - modified Boolean
- modified
Ipsec Property MapTunnel
Look up Existing MagicWanIpsecTunnel Resource
Get an existing MagicWanIpsecTunnel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MagicWanIpsecTunnelState, opts?: CustomResourceOptions): MagicWanIpsecTunnel
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
cloudflare_endpoint: Optional[str] = None,
customer_endpoint: Optional[str] = None,
description: Optional[str] = None,
health_check: Optional[MagicWanIpsecTunnelHealthCheckArgs] = None,
interface_address: Optional[str] = None,
ipsec_tunnel: Optional[MagicWanIpsecTunnelIpsecTunnelArgs] = None,
ipsec_tunnel_id: Optional[str] = None,
ipsec_tunnels: Optional[Sequence[MagicWanIpsecTunnelIpsecTunnelArgs]] = None,
modified: Optional[bool] = None,
modified_ipsec_tunnel: Optional[MagicWanIpsecTunnelModifiedIpsecTunnelArgs] = None,
name: Optional[str] = None,
psk: Optional[str] = None,
replay_protection: Optional[bool] = None) -> MagicWanIpsecTunnel
func GetMagicWanIpsecTunnel(ctx *Context, name string, id IDInput, state *MagicWanIpsecTunnelState, opts ...ResourceOption) (*MagicWanIpsecTunnel, error)
public static MagicWanIpsecTunnel Get(string name, Input<string> id, MagicWanIpsecTunnelState? state, CustomResourceOptions? opts = null)
public static MagicWanIpsecTunnel get(String name, Output<String> id, MagicWanIpsecTunnelState state, CustomResourceOptions options)
resources: _: type: cloudflare:MagicWanIpsecTunnel get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Identifier
- Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Health Check - Interface
Address 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.
- Ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - Ipsec
Tunnel stringId - Identifier
- Ipsec
Tunnels List<MagicWan Ipsec Tunnel Ipsec Tunnel> - Modified bool
- Modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel - Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Psk string
- A randomly generated or provided string for use in the IPsec tunnel.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- Account
Id string - Identifier
- Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Health Check Args - Interface
Address 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.
- Ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel Args - Ipsec
Tunnel stringId - Identifier
- Ipsec
Tunnels []MagicWan Ipsec Tunnel Ipsec Tunnel Args - Modified bool
- Modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel Args - Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Psk string
- A randomly generated or provided string for use in the IPsec tunnel.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account
Id String - Identifier
- cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Health Check - interface
Address 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.
- ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - ipsec
Tunnel StringId - Identifier
- ipsec
Tunnels List<MagicWan Ipsec Tunnel Ipsec Tunnel> - modified Boolean
- modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel - name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk String
- A randomly generated or provided string for use in the IPsec tunnel.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account
Id string - Identifier
- cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description string
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Health Check - interface
Address 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.
- ipsec
Tunnel MagicWan Ipsec Tunnel Ipsec Tunnel - ipsec
Tunnel stringId - Identifier
- ipsec
Tunnels MagicWan Ipsec Tunnel Ipsec Tunnel[] - modified boolean
- modified
Ipsec MagicTunnel Wan Ipsec Tunnel Modified Ipsec Tunnel - name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk string
- A randomly generated or provided string for use in the IPsec tunnel.
- replay
Protection boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account_
id str - Identifier
- cloudflare_
endpoint str - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- customer_
endpoint str - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description str
- An optional description forthe IPsec tunnel.
- health_
check MagicWan Ipsec Tunnel Health Check Args - interface_
address str - 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.
- ipsec_
tunnel MagicWan Ipsec Tunnel Ipsec Tunnel Args - ipsec_
tunnel_ strid - Identifier
- ipsec_
tunnels Sequence[MagicWan Ipsec Tunnel Ipsec Tunnel Args] - modified bool
- modified_
ipsec_ Magictunnel Wan Ipsec Tunnel Modified Ipsec Tunnel Args - name str
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk str
- A randomly generated or provided string for use in the IPsec tunnel.
- replay_
protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- account
Id String - Identifier
- cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check Property Map - interface
Address 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.
- ipsec
Tunnel Property Map - ipsec
Tunnel StringId - Identifier
- ipsec
Tunnels List<Property Map> - modified Boolean
- modified
Ipsec Property MapTunnel - name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk String
- A randomly generated or provided string for use in the IPsec tunnel.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
Supporting Types
MagicWanIpsecTunnelHealthCheck, MagicWanIpsecTunnelHealthCheckArgs
- Direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- Enabled bool
- Determines whether to run healthchecks for a tunnel.
- Rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - Target
Magic
Wan Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - Type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- Direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- Enabled bool
- Determines whether to run healthchecks for a tunnel.
- Rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - Target
Magic
Wan Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - Type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction String
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled Boolean
- Determines whether to run healthchecks for a tunnel.
- rate String
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type String
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled boolean
- Determines whether to run healthchecks for a tunnel.
- rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction str
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled bool
- Determines whether to run healthchecks for a tunnel.
- rate str
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type str
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction String
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled Boolean
- Determines whether to run healthchecks for a tunnel.
- rate String
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target Property Map
- The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type String
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
MagicWanIpsecTunnelHealthCheckTarget, MagicWanIpsecTunnelHealthCheckTargetArgs
- Effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- Saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- Effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- Saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective String
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved String
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective str
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved str
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective String
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved String
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
MagicWanIpsecTunnelIpsecTunnel, MagicWanIpsecTunnelIpsecTunnelArgs
- Allow
Null boolCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Created
On string - The date and time the tunnel was created.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Ipsec Tunnel Health Check - Id string
- Tunnel identifier tag.
- Interface
Address 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.
- Modified
On string - The date and time the tunnel was last modified.
- Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Psk
Metadata MagicWan Ipsec Tunnel Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- Allow
Null boolCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Created
On string - The date and time the tunnel was created.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Ipsec Tunnel Health Check - Id string
- Tunnel identifier tag.
- Interface
Address 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.
- Modified
On string - The date and time the tunnel was last modified.
- Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Psk
Metadata MagicWan Ipsec Tunnel Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow
Null BooleanCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created
On String - The date and time the tunnel was created.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Ipsec Tunnel Health Check - id String
- Tunnel identifier tag.
- interface
Address 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.
- modified
On String - The date and time the tunnel was last modified.
- name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk
Metadata MagicWan Ipsec Tunnel Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow
Null booleanCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created
On string - The date and time the tunnel was created.
- customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description string
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Ipsec Tunnel Health Check - id string
- Tunnel identifier tag.
- interface
Address 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.
- modified
On string - The date and time the tunnel was last modified.
- name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk
Metadata MagicWan Ipsec Tunnel Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- replay
Protection boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow_
null_ boolcipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare_
endpoint str - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created_
on str - The date and time the tunnel was created.
- customer_
endpoint str - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description str
- An optional description forthe IPsec tunnel.
- health_
check MagicWan Ipsec Tunnel Ipsec Tunnel Health Check - id str
- Tunnel identifier tag.
- interface_
address str - 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.
- modified_
on str - The date and time the tunnel was last modified.
- name str
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk_
metadata MagicWan Ipsec Tunnel Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- replay_
protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow
Null BooleanCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created
On String - The date and time the tunnel was created.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check Property Map - id String
- Tunnel identifier tag.
- interface
Address 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.
- modified
On String - The date and time the tunnel was last modified.
- name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk
Metadata Property Map - The PSK metadata that includes when the PSK was generated.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
MagicWanIpsecTunnelIpsecTunnelHealthCheck, MagicWanIpsecTunnelIpsecTunnelHealthCheckArgs
- Direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- Enabled bool
- Determines whether to run healthchecks for a tunnel.
- Rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - Target
Magic
Wan Ipsec Tunnel Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - Type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- Direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- Enabled bool
- Determines whether to run healthchecks for a tunnel.
- Rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - Target
Magic
Wan Ipsec Tunnel Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - Type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction String
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled Boolean
- Determines whether to run healthchecks for a tunnel.
- rate String
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type String
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled boolean
- Determines whether to run healthchecks for a tunnel.
- rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction str
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled bool
- Determines whether to run healthchecks for a tunnel.
- rate str
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type str
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction String
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled Boolean
- Determines whether to run healthchecks for a tunnel.
- rate String
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target Property Map
- The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type String
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
MagicWanIpsecTunnelIpsecTunnelHealthCheckTarget, MagicWanIpsecTunnelIpsecTunnelHealthCheckTargetArgs
- Effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- Saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- Effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- Saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective String
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved String
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective str
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved str
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective String
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved String
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
MagicWanIpsecTunnelIpsecTunnelPskMetadata, MagicWanIpsecTunnelIpsecTunnelPskMetadataArgs
- Last
Generated stringOn - The date and time the tunnel was last modified.
- Last
Generated stringOn - The date and time the tunnel was last modified.
- last
Generated StringOn - The date and time the tunnel was last modified.
- last
Generated stringOn - The date and time the tunnel was last modified.
- last_
generated_ stron - The date and time the tunnel was last modified.
- last
Generated StringOn - The date and time the tunnel was last modified.
MagicWanIpsecTunnelModifiedIpsecTunnel, MagicWanIpsecTunnelModifiedIpsecTunnelArgs
- Allow
Null boolCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Created
On string - The date and time the tunnel was created.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Modified Ipsec Tunnel Health Check - Id string
- Tunnel identifier tag.
- Interface
Address 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.
- Modified
On string - The date and time the tunnel was last modified.
- Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Psk
Metadata MagicWan Ipsec Tunnel Modified Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- Allow
Null boolCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - Cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- Created
On string - The date and time the tunnel was created.
- Customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- Description string
- An optional description forthe IPsec tunnel.
- Health
Check MagicWan Ipsec Tunnel Modified Ipsec Tunnel Health Check - Id string
- Tunnel identifier tag.
- Interface
Address 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.
- Modified
On string - The date and time the tunnel was last modified.
- Name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- Psk
Metadata MagicWan Ipsec Tunnel Modified Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- Replay
Protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow
Null BooleanCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created
On String - The date and time the tunnel was created.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Modified Ipsec Tunnel Health Check - id String
- Tunnel identifier tag.
- interface
Address 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.
- modified
On String - The date and time the tunnel was last modified.
- name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk
Metadata MagicWan Ipsec Tunnel Modified Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow
Null booleanCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare
Endpoint string - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created
On string - The date and time the tunnel was created.
- customer
Endpoint string - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description string
- An optional description forthe IPsec tunnel.
- health
Check MagicWan Ipsec Tunnel Modified Ipsec Tunnel Health Check - id string
- Tunnel identifier tag.
- interface
Address 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.
- modified
On string - The date and time the tunnel was last modified.
- name string
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk
Metadata MagicWan Ipsec Tunnel Modified Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- replay
Protection boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow_
null_ boolcipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare_
endpoint str - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created_
on str - The date and time the tunnel was created.
- customer_
endpoint str - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description str
- An optional description forthe IPsec tunnel.
- health_
check MagicWan Ipsec Tunnel Modified Ipsec Tunnel Health Check - id str
- Tunnel identifier tag.
- interface_
address str - 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.
- modified_
on str - The date and time the tunnel was last modified.
- name str
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk_
metadata MagicWan Ipsec Tunnel Modified Ipsec Tunnel Psk Metadata - The PSK metadata that includes when the PSK was generated.
- replay_
protection bool - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
- allow
Null BooleanCipher - When
true
, the tunnel can use a null-cipher (ENCR_NULL
) in the ESP tunnel (Phase 2). - cloudflare
Endpoint String - The IP address assigned to the Cloudflare side of the IPsec tunnel.
- created
On String - The date and time the tunnel was created.
- customer
Endpoint String - The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.
- description String
- An optional description forthe IPsec tunnel.
- health
Check Property Map - id String
- Tunnel identifier tag.
- interface
Address 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.
- modified
On String - The date and time the tunnel was last modified.
- name String
- The name of the IPsec tunnel. The name cannot share a name with other tunnels.
- psk
Metadata Property Map - The PSK metadata that includes when the PSK was generated.
- replay
Protection Boolean - If
true
, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.
MagicWanIpsecTunnelModifiedIpsecTunnelHealthCheck, MagicWanIpsecTunnelModifiedIpsecTunnelHealthCheckArgs
- Direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- Enabled bool
- Determines whether to run healthchecks for a tunnel.
- Rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - Target
Magic
Wan Ipsec Tunnel Modified Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - Type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- Direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- Enabled bool
- Determines whether to run healthchecks for a tunnel.
- Rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - Target
Magic
Wan Ipsec Tunnel Modified Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - Type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction String
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled Boolean
- Determines whether to run healthchecks for a tunnel.
- rate String
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Modified Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type String
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction string
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled boolean
- Determines whether to run healthchecks for a tunnel.
- rate string
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Modified Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type string
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction str
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled bool
- Determines whether to run healthchecks for a tunnel.
- rate str
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target
Magic
Wan Ipsec Tunnel Modified Ipsec Tunnel Health Check Target - The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type str
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
- direction String
- The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".
- enabled Boolean
- Determines whether to run healthchecks for a tunnel.
- rate String
- How frequent the health check is run. The default value is
mid
. Available values: "low", "mid", "high". - target Property Map
- The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to
customer_gre_endpoint address
. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false. - type String
- The type of healthcheck to run, reply or request. The default value is
reply
. Available values: "reply", "request".
MagicWanIpsecTunnelModifiedIpsecTunnelHealthCheckTarget, MagicWanIpsecTunnelModifiedIpsecTunnelHealthCheckTargetArgs
- Effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- Saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- Effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- Saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective String
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved String
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective string
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved string
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective str
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved str
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
- effective String
- The effective health check target. If 'saved' is empty, then this field will be populated with the calculated default value on GET requests. Ignored in POST, PUT, and PATCH requests.
- saved String
- The saved health check target. Setting the value to the empty string indicates that the calculated default value will be used.
MagicWanIpsecTunnelModifiedIpsecTunnelPskMetadata, MagicWanIpsecTunnelModifiedIpsecTunnelPskMetadataArgs
- Last
Generated stringOn - The date and time the tunnel was last modified.
- Last
Generated stringOn - The date and time the tunnel was last modified.
- last
Generated StringOn - The date and time the tunnel was last modified.
- last
Generated stringOn - The date and time the tunnel was last modified.
- last_
generated_ stron - The date and time the tunnel was last modified.
- last
Generated StringOn - The date and time the tunnel was last modified.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.