1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. IkeGateway
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    IkeGateway resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
    const scmIkeGwCryptoProfile1 = new scm.IkeCryptoProfile("scm_ike_gw_crypto_profile_1", {
        folder: "Remote Networks",
        name: "scm_ike_gw_crypto_profile_1",
        hashes: ["sha256"],
        dhGroups: ["group14"],
        encryptions: ["aes-256-cbc"],
    });
    // This is the main scm_ike_gateway resource.
    const scmIkeGateway1 = new scm.IkeGateway("scm_ike_gateway_1", {
        folder: "Remote Networks",
        name: "scm_ike_gateway_1",
        authentication: {
            preSharedKey: {
                key: "123456",
            },
        },
        peerAddress: {
            ip: "2.2.2.4",
        },
        peerId: {
            type: "ipaddr",
            id: "10.3.3.4",
        },
        localId: {
            type: "ipaddr",
            id: "10.3.4.4",
        },
        protocol: {
            ikev1: {
                ikeCryptoProfile: scmIkeGwCryptoProfile1.name,
                dpd: {
                    enable: true,
                },
            },
            ikev2: {
                ikeCryptoProfile: scmIkeGwCryptoProfile1.name,
                dpd: {
                    enable: true,
                },
            },
        },
    });
    
    import pulumi
    import pulumi_scm as scm
    
    # The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
    scm_ike_gw_crypto_profile1 = scm.IkeCryptoProfile("scm_ike_gw_crypto_profile_1",
        folder="Remote Networks",
        name="scm_ike_gw_crypto_profile_1",
        hashes=["sha256"],
        dh_groups=["group14"],
        encryptions=["aes-256-cbc"])
    # This is the main scm_ike_gateway resource.
    scm_ike_gateway1 = scm.IkeGateway("scm_ike_gateway_1",
        folder="Remote Networks",
        name="scm_ike_gateway_1",
        authentication={
            "pre_shared_key": {
                "key": "123456",
            },
        },
        peer_address={
            "ip": "2.2.2.4",
        },
        peer_id={
            "type": "ipaddr",
            "id": "10.3.3.4",
        },
        local_id={
            "type": "ipaddr",
            "id": "10.3.4.4",
        },
        protocol={
            "ikev1": {
                "ike_crypto_profile": scm_ike_gw_crypto_profile1.name,
                "dpd": {
                    "enable": True,
                },
            },
            "ikev2": {
                "ike_crypto_profile": scm_ike_gw_crypto_profile1.name,
                "dpd": {
                    "enable": True,
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
    		scmIkeGwCryptoProfile1, err := scm.NewIkeCryptoProfile(ctx, "scm_ike_gw_crypto_profile_1", &scm.IkeCryptoProfileArgs{
    			Folder: pulumi.String("Remote Networks"),
    			Name:   pulumi.String("scm_ike_gw_crypto_profile_1"),
    			Hashes: pulumi.StringArray{
    				pulumi.String("sha256"),
    			},
    			DhGroups: pulumi.StringArray{
    				pulumi.String("group14"),
    			},
    			Encryptions: pulumi.StringArray{
    				pulumi.String("aes-256-cbc"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// This is the main scm_ike_gateway resource.
    		_, err = scm.NewIkeGateway(ctx, "scm_ike_gateway_1", &scm.IkeGatewayArgs{
    			Folder: pulumi.String("Remote Networks"),
    			Name:   pulumi.String("scm_ike_gateway_1"),
    			Authentication: &scm.IkeGatewayAuthenticationArgs{
    				PreSharedKey: &scm.IkeGatewayAuthenticationPreSharedKeyArgs{
    					Key: pulumi.String("123456"),
    				},
    			},
    			PeerAddress: &scm.IkeGatewayPeerAddressArgs{
    				Ip: pulumi.String("2.2.2.4"),
    			},
    			PeerId: &scm.IkeGatewayPeerIdArgs{
    				Type: pulumi.String("ipaddr"),
    				Id:   pulumi.String("10.3.3.4"),
    			},
    			LocalId: &scm.IkeGatewayLocalIdArgs{
    				Type: pulumi.String("ipaddr"),
    				Id:   pulumi.String("10.3.4.4"),
    			},
    			Protocol: &scm.IkeGatewayProtocolArgs{
    				Ikev1: &scm.IkeGatewayProtocolIkev1Args{
    					IkeCryptoProfile: scmIkeGwCryptoProfile1.Name,
    					Dpd: &scm.IkeGatewayProtocolIkev1DpdArgs{
    						Enable: pulumi.Bool(true),
    					},
    				},
    				Ikev2: &scm.IkeGatewayProtocolIkev2Args{
    					IkeCryptoProfile: scmIkeGwCryptoProfile1.Name,
    					Dpd: &scm.IkeGatewayProtocolIkev2DpdArgs{
    						Enable: pulumi.Bool(true),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
        var scmIkeGwCryptoProfile1 = new Scm.IkeCryptoProfile("scm_ike_gw_crypto_profile_1", new()
        {
            Folder = "Remote Networks",
            Name = "scm_ike_gw_crypto_profile_1",
            Hashes = new[]
            {
                "sha256",
            },
            DhGroups = new[]
            {
                "group14",
            },
            Encryptions = new[]
            {
                "aes-256-cbc",
            },
        });
    
        // This is the main scm_ike_gateway resource.
        var scmIkeGateway1 = new Scm.IkeGateway("scm_ike_gateway_1", new()
        {
            Folder = "Remote Networks",
            Name = "scm_ike_gateway_1",
            Authentication = new Scm.Inputs.IkeGatewayAuthenticationArgs
            {
                PreSharedKey = new Scm.Inputs.IkeGatewayAuthenticationPreSharedKeyArgs
                {
                    Key = "123456",
                },
            },
            PeerAddress = new Scm.Inputs.IkeGatewayPeerAddressArgs
            {
                Ip = "2.2.2.4",
            },
            PeerId = new Scm.Inputs.IkeGatewayPeerIdArgs
            {
                Type = "ipaddr",
                Id = "10.3.3.4",
            },
            LocalId = new Scm.Inputs.IkeGatewayLocalIdArgs
            {
                Type = "ipaddr",
                Id = "10.3.4.4",
            },
            Protocol = new Scm.Inputs.IkeGatewayProtocolArgs
            {
                Ikev1 = new Scm.Inputs.IkeGatewayProtocolIkev1Args
                {
                    IkeCryptoProfile = scmIkeGwCryptoProfile1.Name,
                    Dpd = new Scm.Inputs.IkeGatewayProtocolIkev1DpdArgs
                    {
                        Enable = true,
                    },
                },
                Ikev2 = new Scm.Inputs.IkeGatewayProtocolIkev2Args
                {
                    IkeCryptoProfile = scmIkeGwCryptoProfile1.Name,
                    Dpd = new Scm.Inputs.IkeGatewayProtocolIkev2DpdArgs
                    {
                        Enable = true,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.IkeCryptoProfile;
    import com.pulumi.scm.IkeCryptoProfileArgs;
    import com.pulumi.scm.IkeGateway;
    import com.pulumi.scm.IkeGatewayArgs;
    import com.pulumi.scm.inputs.IkeGatewayAuthenticationArgs;
    import com.pulumi.scm.inputs.IkeGatewayAuthenticationPreSharedKeyArgs;
    import com.pulumi.scm.inputs.IkeGatewayPeerAddressArgs;
    import com.pulumi.scm.inputs.IkeGatewayPeerIdArgs;
    import com.pulumi.scm.inputs.IkeGatewayLocalIdArgs;
    import com.pulumi.scm.inputs.IkeGatewayProtocolArgs;
    import com.pulumi.scm.inputs.IkeGatewayProtocolIkev1Args;
    import com.pulumi.scm.inputs.IkeGatewayProtocolIkev1DpdArgs;
    import com.pulumi.scm.inputs.IkeGatewayProtocolIkev2Args;
    import com.pulumi.scm.inputs.IkeGatewayProtocolIkev2DpdArgs;
    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) {
            // The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
            var scmIkeGwCryptoProfile1 = new IkeCryptoProfile("scmIkeGwCryptoProfile1", IkeCryptoProfileArgs.builder()
                .folder("Remote Networks")
                .name("scm_ike_gw_crypto_profile_1")
                .hashes("sha256")
                .dhGroups("group14")
                .encryptions("aes-256-cbc")
                .build());
    
            // This is the main scm_ike_gateway resource.
            var scmIkeGateway1 = new IkeGateway("scmIkeGateway1", IkeGatewayArgs.builder()
                .folder("Remote Networks")
                .name("scm_ike_gateway_1")
                .authentication(IkeGatewayAuthenticationArgs.builder()
                    .preSharedKey(IkeGatewayAuthenticationPreSharedKeyArgs.builder()
                        .key("123456")
                        .build())
                    .build())
                .peerAddress(IkeGatewayPeerAddressArgs.builder()
                    .ip("2.2.2.4")
                    .build())
                .peerId(IkeGatewayPeerIdArgs.builder()
                    .type("ipaddr")
                    .id("10.3.3.4")
                    .build())
                .localId(IkeGatewayLocalIdArgs.builder()
                    .type("ipaddr")
                    .id("10.3.4.4")
                    .build())
                .protocol(IkeGatewayProtocolArgs.builder()
                    .ikev1(IkeGatewayProtocolIkev1Args.builder()
                        .ikeCryptoProfile(scmIkeGwCryptoProfile1.name())
                        .dpd(IkeGatewayProtocolIkev1DpdArgs.builder()
                            .enable(true)
                            .build())
                        .build())
                    .ikev2(IkeGatewayProtocolIkev2Args.builder()
                        .ikeCryptoProfile(scmIkeGwCryptoProfile1.name())
                        .dpd(IkeGatewayProtocolIkev2DpdArgs.builder()
                            .enable(true)
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      # The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
      scmIkeGwCryptoProfile1:
        type: scm:IkeCryptoProfile
        name: scm_ike_gw_crypto_profile_1
        properties:
          folder: Remote Networks
          name: scm_ike_gw_crypto_profile_1
          hashes:
            - sha256
          dhGroups:
            - group14
          encryptions:
            - aes-256-cbc
      # This is the main scm_ike_gateway resource.
      scmIkeGateway1:
        type: scm:IkeGateway
        name: scm_ike_gateway_1
        properties:
          folder: Remote Networks
          name: scm_ike_gateway_1
          authentication:
            preSharedKey:
              key: '123456'
          peerAddress:
            ip: 2.2.2.4
          peerId:
            type: ipaddr
            id: 10.3.3.4
          localId:
            type: ipaddr
            id: 10.3.4.4
          protocol:
            ikev1:
              ikeCryptoProfile: ${scmIkeGwCryptoProfile1.name}
              dpd:
                enable: true
            ikev2:
              ikeCryptoProfile: ${scmIkeGwCryptoProfile1.name}
              dpd:
                enable: true
    

    Create IkeGateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IkeGateway(name: string, args: IkeGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def IkeGateway(resource_name: str,
                   args: IkeGatewayArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def IkeGateway(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   authentication: Optional[IkeGatewayAuthenticationArgs] = None,
                   peer_address: Optional[IkeGatewayPeerAddressArgs] = None,
                   protocol: Optional[IkeGatewayProtocolArgs] = None,
                   device: Optional[str] = None,
                   folder: Optional[str] = None,
                   local_address: Optional[IkeGatewayLocalAddressArgs] = None,
                   local_id: Optional[IkeGatewayLocalIdArgs] = None,
                   name: Optional[str] = None,
                   peer_id: Optional[IkeGatewayPeerIdArgs] = None,
                   protocol_common: Optional[IkeGatewayProtocolCommonArgs] = None,
                   snippet: Optional[str] = None)
    func NewIkeGateway(ctx *Context, name string, args IkeGatewayArgs, opts ...ResourceOption) (*IkeGateway, error)
    public IkeGateway(string name, IkeGatewayArgs args, CustomResourceOptions? opts = null)
    public IkeGateway(String name, IkeGatewayArgs args)
    public IkeGateway(String name, IkeGatewayArgs args, CustomResourceOptions options)
    
    type: scm:IkeGateway
    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 IkeGatewayArgs
    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 IkeGatewayArgs
    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 IkeGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IkeGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IkeGatewayArgs
    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 ikeGatewayResource = new Scm.IkeGateway("ikeGatewayResource", new()
    {
        Authentication = new Scm.Inputs.IkeGatewayAuthenticationArgs
        {
            Certificate = new Scm.Inputs.IkeGatewayAuthenticationCertificateArgs
            {
                AllowIdPayloadMismatch = false,
                CertificateProfile = "string",
                LocalCertificate = new Scm.Inputs.IkeGatewayAuthenticationCertificateLocalCertificateArgs
                {
                    LocalCertificateName = "string",
                },
                StrictValidationRevocation = false,
                UseManagementAsSource = false,
            },
            PreSharedKey = new Scm.Inputs.IkeGatewayAuthenticationPreSharedKeyArgs
            {
                Key = "string",
            },
        },
        PeerAddress = new Scm.Inputs.IkeGatewayPeerAddressArgs
        {
            Dynamic = null,
            Fqdn = "string",
            Ip = "string",
        },
        Protocol = new Scm.Inputs.IkeGatewayProtocolArgs
        {
            Ikev1 = new Scm.Inputs.IkeGatewayProtocolIkev1Args
            {
                Dpd = new Scm.Inputs.IkeGatewayProtocolIkev1DpdArgs
                {
                    Enable = false,
                },
                IkeCryptoProfile = "string",
            },
            Ikev2 = new Scm.Inputs.IkeGatewayProtocolIkev2Args
            {
                Dpd = new Scm.Inputs.IkeGatewayProtocolIkev2DpdArgs
                {
                    Enable = false,
                },
                IkeCryptoProfile = "string",
            },
            Version = "string",
        },
        Device = "string",
        Folder = "string",
        LocalAddress = new Scm.Inputs.IkeGatewayLocalAddressArgs
        {
            Interface = "string",
        },
        LocalId = new Scm.Inputs.IkeGatewayLocalIdArgs
        {
            Id = "string",
            Type = "string",
        },
        Name = "string",
        PeerId = new Scm.Inputs.IkeGatewayPeerIdArgs
        {
            Id = "string",
            Type = "string",
        },
        ProtocolCommon = new Scm.Inputs.IkeGatewayProtocolCommonArgs
        {
            Fragmentation = new Scm.Inputs.IkeGatewayProtocolCommonFragmentationArgs
            {
                Enable = false,
            },
            NatTraversal = new Scm.Inputs.IkeGatewayProtocolCommonNatTraversalArgs
            {
                Enable = false,
            },
            PassiveMode = false,
        },
        Snippet = "string",
    });
    
    example, err := scm.NewIkeGateway(ctx, "ikeGatewayResource", &scm.IkeGatewayArgs{
    	Authentication: &scm.IkeGatewayAuthenticationArgs{
    		Certificate: &scm.IkeGatewayAuthenticationCertificateArgs{
    			AllowIdPayloadMismatch: pulumi.Bool(false),
    			CertificateProfile:     pulumi.String("string"),
    			LocalCertificate: &scm.IkeGatewayAuthenticationCertificateLocalCertificateArgs{
    				LocalCertificateName: pulumi.String("string"),
    			},
    			StrictValidationRevocation: pulumi.Bool(false),
    			UseManagementAsSource:      pulumi.Bool(false),
    		},
    		PreSharedKey: &scm.IkeGatewayAuthenticationPreSharedKeyArgs{
    			Key: pulumi.String("string"),
    		},
    	},
    	PeerAddress: &scm.IkeGatewayPeerAddressArgs{
    		Dynamic: &scm.IkeGatewayPeerAddressDynamicArgs{},
    		Fqdn:    pulumi.String("string"),
    		Ip:      pulumi.String("string"),
    	},
    	Protocol: &scm.IkeGatewayProtocolArgs{
    		Ikev1: &scm.IkeGatewayProtocolIkev1Args{
    			Dpd: &scm.IkeGatewayProtocolIkev1DpdArgs{
    				Enable: pulumi.Bool(false),
    			},
    			IkeCryptoProfile: pulumi.String("string"),
    		},
    		Ikev2: &scm.IkeGatewayProtocolIkev2Args{
    			Dpd: &scm.IkeGatewayProtocolIkev2DpdArgs{
    				Enable: pulumi.Bool(false),
    			},
    			IkeCryptoProfile: pulumi.String("string"),
    		},
    		Version: pulumi.String("string"),
    	},
    	Device: pulumi.String("string"),
    	Folder: pulumi.String("string"),
    	LocalAddress: &scm.IkeGatewayLocalAddressArgs{
    		Interface: pulumi.String("string"),
    	},
    	LocalId: &scm.IkeGatewayLocalIdArgs{
    		Id:   pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	PeerId: &scm.IkeGatewayPeerIdArgs{
    		Id:   pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	ProtocolCommon: &scm.IkeGatewayProtocolCommonArgs{
    		Fragmentation: &scm.IkeGatewayProtocolCommonFragmentationArgs{
    			Enable: pulumi.Bool(false),
    		},
    		NatTraversal: &scm.IkeGatewayProtocolCommonNatTraversalArgs{
    			Enable: pulumi.Bool(false),
    		},
    		PassiveMode: pulumi.Bool(false),
    	},
    	Snippet: pulumi.String("string"),
    })
    
    var ikeGatewayResource = new IkeGateway("ikeGatewayResource", IkeGatewayArgs.builder()
        .authentication(IkeGatewayAuthenticationArgs.builder()
            .certificate(IkeGatewayAuthenticationCertificateArgs.builder()
                .allowIdPayloadMismatch(false)
                .certificateProfile("string")
                .localCertificate(IkeGatewayAuthenticationCertificateLocalCertificateArgs.builder()
                    .localCertificateName("string")
                    .build())
                .strictValidationRevocation(false)
                .useManagementAsSource(false)
                .build())
            .preSharedKey(IkeGatewayAuthenticationPreSharedKeyArgs.builder()
                .key("string")
                .build())
            .build())
        .peerAddress(IkeGatewayPeerAddressArgs.builder()
            .dynamic(IkeGatewayPeerAddressDynamicArgs.builder()
                .build())
            .fqdn("string")
            .ip("string")
            .build())
        .protocol(IkeGatewayProtocolArgs.builder()
            .ikev1(IkeGatewayProtocolIkev1Args.builder()
                .dpd(IkeGatewayProtocolIkev1DpdArgs.builder()
                    .enable(false)
                    .build())
                .ikeCryptoProfile("string")
                .build())
            .ikev2(IkeGatewayProtocolIkev2Args.builder()
                .dpd(IkeGatewayProtocolIkev2DpdArgs.builder()
                    .enable(false)
                    .build())
                .ikeCryptoProfile("string")
                .build())
            .version("string")
            .build())
        .device("string")
        .folder("string")
        .localAddress(IkeGatewayLocalAddressArgs.builder()
            .interface_("string")
            .build())
        .localId(IkeGatewayLocalIdArgs.builder()
            .id("string")
            .type("string")
            .build())
        .name("string")
        .peerId(IkeGatewayPeerIdArgs.builder()
            .id("string")
            .type("string")
            .build())
        .protocolCommon(IkeGatewayProtocolCommonArgs.builder()
            .fragmentation(IkeGatewayProtocolCommonFragmentationArgs.builder()
                .enable(false)
                .build())
            .natTraversal(IkeGatewayProtocolCommonNatTraversalArgs.builder()
                .enable(false)
                .build())
            .passiveMode(false)
            .build())
        .snippet("string")
        .build());
    
    ike_gateway_resource = scm.IkeGateway("ikeGatewayResource",
        authentication={
            "certificate": {
                "allow_id_payload_mismatch": False,
                "certificate_profile": "string",
                "local_certificate": {
                    "local_certificate_name": "string",
                },
                "strict_validation_revocation": False,
                "use_management_as_source": False,
            },
            "pre_shared_key": {
                "key": "string",
            },
        },
        peer_address={
            "dynamic": {},
            "fqdn": "string",
            "ip": "string",
        },
        protocol={
            "ikev1": {
                "dpd": {
                    "enable": False,
                },
                "ike_crypto_profile": "string",
            },
            "ikev2": {
                "dpd": {
                    "enable": False,
                },
                "ike_crypto_profile": "string",
            },
            "version": "string",
        },
        device="string",
        folder="string",
        local_address={
            "interface": "string",
        },
        local_id={
            "id": "string",
            "type": "string",
        },
        name="string",
        peer_id={
            "id": "string",
            "type": "string",
        },
        protocol_common={
            "fragmentation": {
                "enable": False,
            },
            "nat_traversal": {
                "enable": False,
            },
            "passive_mode": False,
        },
        snippet="string")
    
    const ikeGatewayResource = new scm.IkeGateway("ikeGatewayResource", {
        authentication: {
            certificate: {
                allowIdPayloadMismatch: false,
                certificateProfile: "string",
                localCertificate: {
                    localCertificateName: "string",
                },
                strictValidationRevocation: false,
                useManagementAsSource: false,
            },
            preSharedKey: {
                key: "string",
            },
        },
        peerAddress: {
            dynamic: {},
            fqdn: "string",
            ip: "string",
        },
        protocol: {
            ikev1: {
                dpd: {
                    enable: false,
                },
                ikeCryptoProfile: "string",
            },
            ikev2: {
                dpd: {
                    enable: false,
                },
                ikeCryptoProfile: "string",
            },
            version: "string",
        },
        device: "string",
        folder: "string",
        localAddress: {
            "interface": "string",
        },
        localId: {
            id: "string",
            type: "string",
        },
        name: "string",
        peerId: {
            id: "string",
            type: "string",
        },
        protocolCommon: {
            fragmentation: {
                enable: false,
            },
            natTraversal: {
                enable: false,
            },
            passiveMode: false,
        },
        snippet: "string",
    });
    
    type: scm:IkeGateway
    properties:
        authentication:
            certificate:
                allowIdPayloadMismatch: false
                certificateProfile: string
                localCertificate:
                    localCertificateName: string
                strictValidationRevocation: false
                useManagementAsSource: false
            preSharedKey:
                key: string
        device: string
        folder: string
        localAddress:
            interface: string
        localId:
            id: string
            type: string
        name: string
        peerAddress:
            dynamic: {}
            fqdn: string
            ip: string
        peerId:
            id: string
            type: string
        protocol:
            ikev1:
                dpd:
                    enable: false
                ikeCryptoProfile: string
            ikev2:
                dpd:
                    enable: false
                ikeCryptoProfile: string
            version: string
        protocolCommon:
            fragmentation:
                enable: false
            natTraversal:
                enable: false
            passiveMode: false
        snippet: string
    

    IkeGateway 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 IkeGateway resource accepts the following input properties:

    Authentication IkeGatewayAuthentication
    Authentication
    PeerAddress IkeGatewayPeerAddress
    Peer address
    Protocol IkeGatewayProtocol
    Protocol
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    LocalAddress IkeGatewayLocalAddress
    Local address
    LocalId IkeGatewayLocalId
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerId IkeGatewayPeerId
    Peer id
    ProtocolCommon IkeGatewayProtocolCommon
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    Authentication IkeGatewayAuthenticationArgs
    Authentication
    PeerAddress IkeGatewayPeerAddressArgs
    Peer address
    Protocol IkeGatewayProtocolArgs
    Protocol
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    LocalAddress IkeGatewayLocalAddressArgs
    Local address
    LocalId IkeGatewayLocalIdArgs
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerId IkeGatewayPeerIdArgs
    Peer id
    ProtocolCommon IkeGatewayProtocolCommonArgs
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    authentication IkeGatewayAuthentication
    Authentication
    peerAddress IkeGatewayPeerAddress
    Peer address
    protocol IkeGatewayProtocol
    Protocol
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    localAddress IkeGatewayLocalAddress
    Local address
    localId IkeGatewayLocalId
    Local id
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerId IkeGatewayPeerId
    Peer id
    protocolCommon IkeGatewayProtocolCommon
    Protocol common
    snippet String
    The snippet in which the resource is defined
    authentication IkeGatewayAuthentication
    Authentication
    peerAddress IkeGatewayPeerAddress
    Peer address
    protocol IkeGatewayProtocol
    Protocol
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    localAddress IkeGatewayLocalAddress
    Local address
    localId IkeGatewayLocalId
    Local id
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerId IkeGatewayPeerId
    Peer id
    protocolCommon IkeGatewayProtocolCommon
    Protocol common
    snippet string
    The snippet in which the resource is defined
    authentication IkeGatewayAuthenticationArgs
    Authentication
    peer_address IkeGatewayPeerAddressArgs
    Peer address
    protocol IkeGatewayProtocolArgs
    Protocol
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    local_address IkeGatewayLocalAddressArgs
    Local address
    local_id IkeGatewayLocalIdArgs
    Local id
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peer_id IkeGatewayPeerIdArgs
    Peer id
    protocol_common IkeGatewayProtocolCommonArgs
    Protocol common
    snippet str
    The snippet in which the resource is defined
    authentication Property Map
    Authentication
    peerAddress Property Map
    Peer address
    protocol Property Map
    Protocol
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    localAddress Property Map
    Local address
    localId Property Map
    Local id
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerId Property Map
    Peer id
    protocolCommon Property Map
    Protocol common
    snippet String
    The snippet in which the resource is defined

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IkeGateway resource produces the following output properties:

    EncryptedValues Dictionary<string, string>
    Map of sensitive values returned from the API.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    EncryptedValues map[string]string
    Map of sensitive values returned from the API.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    encryptedValues Map<String,String>
    Map of sensitive values returned from the API.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    encryptedValues {[key: string]: string}
    Map of sensitive values returned from the API.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    encrypted_values Mapping[str, str]
    Map of sensitive values returned from the API.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    encryptedValues Map<String>
    Map of sensitive values returned from the API.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing IkeGateway Resource

    Get an existing IkeGateway 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?: IkeGatewayState, opts?: CustomResourceOptions): IkeGateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[IkeGatewayAuthenticationArgs] = None,
            device: Optional[str] = None,
            encrypted_values: Optional[Mapping[str, str]] = None,
            folder: Optional[str] = None,
            local_address: Optional[IkeGatewayLocalAddressArgs] = None,
            local_id: Optional[IkeGatewayLocalIdArgs] = None,
            name: Optional[str] = None,
            peer_address: Optional[IkeGatewayPeerAddressArgs] = None,
            peer_id: Optional[IkeGatewayPeerIdArgs] = None,
            protocol: Optional[IkeGatewayProtocolArgs] = None,
            protocol_common: Optional[IkeGatewayProtocolCommonArgs] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None) -> IkeGateway
    func GetIkeGateway(ctx *Context, name string, id IDInput, state *IkeGatewayState, opts ...ResourceOption) (*IkeGateway, error)
    public static IkeGateway Get(string name, Input<string> id, IkeGatewayState? state, CustomResourceOptions? opts = null)
    public static IkeGateway get(String name, Output<String> id, IkeGatewayState state, CustomResourceOptions options)
    resources:  _:    type: scm:IkeGateway    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.
    The following state arguments are supported:
    Authentication IkeGatewayAuthentication
    Authentication
    Device string
    The device in which the resource is defined
    EncryptedValues Dictionary<string, string>
    Map of sensitive values returned from the API.
    Folder string
    The folder in which the resource is defined
    LocalAddress IkeGatewayLocalAddress
    Local address
    LocalId IkeGatewayLocalId
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerAddress IkeGatewayPeerAddress
    Peer address
    PeerId IkeGatewayPeerId
    Peer id
    Protocol IkeGatewayProtocol
    Protocol
    ProtocolCommon IkeGatewayProtocolCommon
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    Authentication IkeGatewayAuthenticationArgs
    Authentication
    Device string
    The device in which the resource is defined
    EncryptedValues map[string]string
    Map of sensitive values returned from the API.
    Folder string
    The folder in which the resource is defined
    LocalAddress IkeGatewayLocalAddressArgs
    Local address
    LocalId IkeGatewayLocalIdArgs
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerAddress IkeGatewayPeerAddressArgs
    Peer address
    PeerId IkeGatewayPeerIdArgs
    Peer id
    Protocol IkeGatewayProtocolArgs
    Protocol
    ProtocolCommon IkeGatewayProtocolCommonArgs
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    authentication IkeGatewayAuthentication
    Authentication
    device String
    The device in which the resource is defined
    encryptedValues Map<String,String>
    Map of sensitive values returned from the API.
    folder String
    The folder in which the resource is defined
    localAddress IkeGatewayLocalAddress
    Local address
    localId IkeGatewayLocalId
    Local id
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerAddress IkeGatewayPeerAddress
    Peer address
    peerId IkeGatewayPeerId
    Peer id
    protocol IkeGatewayProtocol
    Protocol
    protocolCommon IkeGatewayProtocolCommon
    Protocol common
    snippet String
    The snippet in which the resource is defined
    tfid String
    authentication IkeGatewayAuthentication
    Authentication
    device string
    The device in which the resource is defined
    encryptedValues {[key: string]: string}
    Map of sensitive values returned from the API.
    folder string
    The folder in which the resource is defined
    localAddress IkeGatewayLocalAddress
    Local address
    localId IkeGatewayLocalId
    Local id
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerAddress IkeGatewayPeerAddress
    Peer address
    peerId IkeGatewayPeerId
    Peer id
    protocol IkeGatewayProtocol
    Protocol
    protocolCommon IkeGatewayProtocolCommon
    Protocol common
    snippet string
    The snippet in which the resource is defined
    tfid string
    authentication IkeGatewayAuthenticationArgs
    Authentication
    device str
    The device in which the resource is defined
    encrypted_values Mapping[str, str]
    Map of sensitive values returned from the API.
    folder str
    The folder in which the resource is defined
    local_address IkeGatewayLocalAddressArgs
    Local address
    local_id IkeGatewayLocalIdArgs
    Local id
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peer_address IkeGatewayPeerAddressArgs
    Peer address
    peer_id IkeGatewayPeerIdArgs
    Peer id
    protocol IkeGatewayProtocolArgs
    Protocol
    protocol_common IkeGatewayProtocolCommonArgs
    Protocol common
    snippet str
    The snippet in which the resource is defined
    tfid str
    authentication Property Map
    Authentication
    device String
    The device in which the resource is defined
    encryptedValues Map<String>
    Map of sensitive values returned from the API.
    folder String
    The folder in which the resource is defined
    localAddress Property Map
    Local address
    localId Property Map
    Local id
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerAddress Property Map
    Peer address
    peerId Property Map
    Peer id
    protocol Property Map
    Protocol
    protocolCommon Property Map
    Protocol common
    snippet String
    The snippet in which the resource is defined
    tfid String

    Supporting Types

    IkeGatewayAuthentication, IkeGatewayAuthenticationArgs

    IkeGatewayAuthenticationCertificate, IkeGatewayAuthenticationCertificateArgs

    AllowIdPayloadMismatch bool
    Allow id payload mismatch
    CertificateProfile string
    Certificate profile
    LocalCertificate IkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    StrictValidationRevocation bool
    Strict validation revocation
    UseManagementAsSource bool
    Use management as source
    AllowIdPayloadMismatch bool
    Allow id payload mismatch
    CertificateProfile string
    Certificate profile
    LocalCertificate IkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    StrictValidationRevocation bool
    Strict validation revocation
    UseManagementAsSource bool
    Use management as source
    allowIdPayloadMismatch Boolean
    Allow id payload mismatch
    certificateProfile String
    Certificate profile
    localCertificate IkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    strictValidationRevocation Boolean
    Strict validation revocation
    useManagementAsSource Boolean
    Use management as source
    allowIdPayloadMismatch boolean
    Allow id payload mismatch
    certificateProfile string
    Certificate profile
    localCertificate IkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    strictValidationRevocation boolean
    Strict validation revocation
    useManagementAsSource boolean
    Use management as source
    allow_id_payload_mismatch bool
    Allow id payload mismatch
    certificate_profile str
    Certificate profile
    local_certificate IkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    strict_validation_revocation bool
    Strict validation revocation
    use_management_as_source bool
    Use management as source
    allowIdPayloadMismatch Boolean
    Allow id payload mismatch
    certificateProfile String
    Certificate profile
    localCertificate Property Map
    Local certificate
    strictValidationRevocation Boolean
    Strict validation revocation
    useManagementAsSource Boolean
    Use management as source

    IkeGatewayAuthenticationCertificateLocalCertificate, IkeGatewayAuthenticationCertificateLocalCertificateArgs

    LocalCertificateName string
    Local certificate name
    LocalCertificateName string
    Local certificate name
    localCertificateName String
    Local certificate name
    localCertificateName string
    Local certificate name
    local_certificate_name str
    Local certificate name
    localCertificateName String
    Local certificate name

    IkeGatewayAuthenticationPreSharedKey, IkeGatewayAuthenticationPreSharedKeyArgs

    Key string
    Key
    Key string
    Key
    key String
    Key
    key string
    Key
    key str
    Key
    key String
    Key

    IkeGatewayLocalAddress, IkeGatewayLocalAddressArgs

    Interface string
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    Interface string
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    interface_ String
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    interface string
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    interface str
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    interface String
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value

    IkeGatewayLocalId, IkeGatewayLocalIdArgs

    Id string
    Local ID string
    Type string
    Type
    Id string
    Local ID string
    Type string
    Type
    id String
    Local ID string
    type String
    Type
    id string
    Local ID string
    type string
    Type
    id str
    Local ID string
    type str
    Type
    id String
    Local ID string
    type String
    Type

    IkeGatewayPeerAddress, IkeGatewayPeerAddressArgs

    Dynamic IkeGatewayPeerAddressDynamic
    Dynamic
    Fqdn string
    peer gateway FQDN name
    Ip string
    peer gateway has static IP address
    Dynamic IkeGatewayPeerAddressDynamic
    Dynamic
    Fqdn string
    peer gateway FQDN name
    Ip string
    peer gateway has static IP address
    dynamic IkeGatewayPeerAddressDynamic
    Dynamic
    fqdn String
    peer gateway FQDN name
    ip String
    peer gateway has static IP address
    dynamic IkeGatewayPeerAddressDynamic
    Dynamic
    fqdn string
    peer gateway FQDN name
    ip string
    peer gateway has static IP address
    dynamic IkeGatewayPeerAddressDynamic
    Dynamic
    fqdn str
    peer gateway FQDN name
    ip str
    peer gateway has static IP address
    dynamic Property Map
    Dynamic
    fqdn String
    peer gateway FQDN name
    ip String
    peer gateway has static IP address

    IkeGatewayPeerId, IkeGatewayPeerIdArgs

    Id string
    Peer ID string
    Type string
    Type
    Id string
    Peer ID string
    Type string
    Type
    id String
    Peer ID string
    type String
    Type
    id string
    Peer ID string
    type string
    Type
    id str
    Peer ID string
    type str
    Type
    id String
    Peer ID string
    type String
    Type

    IkeGatewayProtocol, IkeGatewayProtocolArgs

    IkeGatewayProtocolCommon, IkeGatewayProtocolCommonArgs

    Fragmentation IkeGatewayProtocolCommonFragmentation
    Fragmentation
    NatTraversal IkeGatewayProtocolCommonNatTraversal
    Enables NAT traversal for the IKE gateway.
    PassiveMode bool
    Passive mode
    Fragmentation IkeGatewayProtocolCommonFragmentation
    Fragmentation
    NatTraversal IkeGatewayProtocolCommonNatTraversal
    Enables NAT traversal for the IKE gateway.
    PassiveMode bool
    Passive mode
    fragmentation IkeGatewayProtocolCommonFragmentation
    Fragmentation
    natTraversal IkeGatewayProtocolCommonNatTraversal
    Enables NAT traversal for the IKE gateway.
    passiveMode Boolean
    Passive mode
    fragmentation IkeGatewayProtocolCommonFragmentation
    Fragmentation
    natTraversal IkeGatewayProtocolCommonNatTraversal
    Enables NAT traversal for the IKE gateway.
    passiveMode boolean
    Passive mode
    fragmentation IkeGatewayProtocolCommonFragmentation
    Fragmentation
    nat_traversal IkeGatewayProtocolCommonNatTraversal
    Enables NAT traversal for the IKE gateway.
    passive_mode bool
    Passive mode
    fragmentation Property Map
    Fragmentation
    natTraversal Property Map
    Enables NAT traversal for the IKE gateway.
    passiveMode Boolean
    Passive mode

    IkeGatewayProtocolCommonFragmentation, IkeGatewayProtocolCommonFragmentationArgs

    Enable bool
    Enable
    Enable bool
    Enable
    enable Boolean
    Enable
    enable boolean
    Enable
    enable bool
    Enable
    enable Boolean
    Enable

    IkeGatewayProtocolCommonNatTraversal, IkeGatewayProtocolCommonNatTraversalArgs

    Enable bool
    Enable
    Enable bool
    Enable
    enable Boolean
    Enable
    enable boolean
    Enable
    enable bool
    Enable
    enable Boolean
    Enable

    IkeGatewayProtocolIkev1, IkeGatewayProtocolIkev1Args

    dpd Property Map
    Dpd
    ikeCryptoProfile String
    Ike crypto profile

    IkeGatewayProtocolIkev1Dpd, IkeGatewayProtocolIkev1DpdArgs

    Enable bool
    Enable
    Enable bool
    Enable
    enable Boolean
    Enable
    enable boolean
    Enable
    enable bool
    Enable
    enable Boolean
    Enable

    IkeGatewayProtocolIkev2, IkeGatewayProtocolIkev2Args

    dpd Property Map
    Dpd
    ikeCryptoProfile String
    Ike crypto profile

    IkeGatewayProtocolIkev2Dpd, IkeGatewayProtocolIkev2DpdArgs

    Enable bool
    Enable
    Enable bool
    Enable
    enable Boolean
    Enable
    enable boolean
    Enable
    enable bool
    Enable
    enable Boolean
    Enable

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate