1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getIkeGateway
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi

    IkeGateway data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Data source to retrieve a single IKE Gateway by its ID.
    // Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
    const exampleSingularIkeGatewayDs = scm.getIkeGateway({
        id: "1ba42513-2985-4783-8bdf-c83cf20d6dd1",
    });
    export const ikeGatewaySingularExample = exampleSingularIkeGatewayDs;
    
    import pulumi
    import pulumi_scm as scm
    
    # Data source to retrieve a single IKE Gateway by its ID.
    # Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
    example_singular_ike_gateway_ds = scm.get_ike_gateway(id="1ba42513-2985-4783-8bdf-c83cf20d6dd1")
    pulumi.export("ikeGatewaySingularExample", example_singular_ike_gateway_ds)
    
    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 {
    		// Data source to retrieve a single IKE Gateway by its ID.
    		// Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
    		exampleSingularIkeGatewayDs, err := scm.LookupIkeGateway(ctx, &scm.LookupIkeGatewayArgs{
    			Id: "1ba42513-2985-4783-8bdf-c83cf20d6dd1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("ikeGatewaySingularExample", exampleSingularIkeGatewayDs)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Data source to retrieve a single IKE Gateway by its ID.
        // Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
        var exampleSingularIkeGatewayDs = Scm.GetIkeGateway.Invoke(new()
        {
            Id = "1ba42513-2985-4783-8bdf-c83cf20d6dd1",
        });
    
        return new Dictionary<string, object?>
        {
            ["ikeGatewaySingularExample"] = exampleSingularIkeGatewayDs,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetIkeGatewayArgs;
    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) {
            // Data source to retrieve a single IKE Gateway by its ID.
            // Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
            final var exampleSingularIkeGatewayDs = ScmFunctions.getIkeGateway(GetIkeGatewayArgs.builder()
                .id("1ba42513-2985-4783-8bdf-c83cf20d6dd1")
                .build());
    
            ctx.export("ikeGatewaySingularExample", exampleSingularIkeGatewayDs);
        }
    }
    
    variables:
      # /**
      #  * Data source to retrieve a single IKE Gateway by its ID.
      #  * Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
      #  */
      exampleSingularIkeGatewayDs:
        fn::invoke:
          function: scm:getIkeGateway
          arguments:
            id: 1ba42513-2985-4783-8bdf-c83cf20d6dd1
    outputs:
      # /**
      #  * Output the configuration of the fetched IKE Gateway.
      #  * This will display all the attributes of the specific gateway.
      #  * $ terraform output -json ike_gateway_singular_example can help you view it
      #  */
      ikeGatewaySingularExample: ${exampleSingularIkeGatewayDs}
    

    Using getIkeGateway

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIkeGateway(args: GetIkeGatewayArgs, opts?: InvokeOptions): Promise<GetIkeGatewayResult>
    function getIkeGatewayOutput(args: GetIkeGatewayOutputArgs, opts?: InvokeOptions): Output<GetIkeGatewayResult>
    def get_ike_gateway(device: Optional[str] = None,
                        folder: Optional[str] = None,
                        id: Optional[str] = None,
                        name: Optional[str] = None,
                        snippet: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetIkeGatewayResult
    def get_ike_gateway_output(device: Optional[pulumi.Input[str]] = None,
                        folder: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        snippet: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetIkeGatewayResult]
    func LookupIkeGateway(ctx *Context, args *LookupIkeGatewayArgs, opts ...InvokeOption) (*LookupIkeGatewayResult, error)
    func LookupIkeGatewayOutput(ctx *Context, args *LookupIkeGatewayOutputArgs, opts ...InvokeOption) LookupIkeGatewayResultOutput

    > Note: This function is named LookupIkeGateway in the Go SDK.

    public static class GetIkeGateway 
    {
        public static Task<GetIkeGatewayResult> InvokeAsync(GetIkeGatewayArgs args, InvokeOptions? opts = null)
        public static Output<GetIkeGatewayResult> Invoke(GetIkeGatewayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIkeGatewayResult> getIkeGateway(GetIkeGatewayArgs args, InvokeOptions options)
    public static Output<GetIkeGatewayResult> getIkeGateway(GetIkeGatewayArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getIkeGateway:getIkeGateway
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    name string
    snippet string
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    name str
    snippet str
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String

    getIkeGateway Result

    The following output properties are available:

    Supporting Types

    GetIkeGatewayAuthentication

    Certificate GetIkeGatewayAuthenticationCertificate
    Certificate
    PreSharedKey GetIkeGatewayAuthenticationPreSharedKey

    Pre shared key

    ℹ️ Note: You must specify exactly one of certificate and pre_shared_key.

    Certificate GetIkeGatewayAuthenticationCertificate
    Certificate
    PreSharedKey GetIkeGatewayAuthenticationPreSharedKey

    Pre shared key

    ℹ️ Note: You must specify exactly one of certificate and pre_shared_key.

    certificate GetIkeGatewayAuthenticationCertificate
    Certificate
    preSharedKey GetIkeGatewayAuthenticationPreSharedKey

    Pre shared key

    ℹ️ Note: You must specify exactly one of certificate and pre_shared_key.

    certificate GetIkeGatewayAuthenticationCertificate
    Certificate
    preSharedKey GetIkeGatewayAuthenticationPreSharedKey

    Pre shared key

    ℹ️ Note: You must specify exactly one of certificate and pre_shared_key.

    certificate GetIkeGatewayAuthenticationCertificate
    Certificate
    pre_shared_key GetIkeGatewayAuthenticationPreSharedKey

    Pre shared key

    ℹ️ Note: You must specify exactly one of certificate and pre_shared_key.

    certificate Property Map
    Certificate
    preSharedKey Property Map

    Pre shared key

    ℹ️ Note: You must specify exactly one of certificate and pre_shared_key.

    GetIkeGatewayAuthenticationCertificate

    AllowIdPayloadMismatch bool
    Allow id payload mismatch
    CertificateProfile string
    Certificate profile
    LocalCertificate GetIkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    StrictValidationRevocation bool
    Strict validation revocation
    UseManagementAsSource bool
    Use management as source
    AllowIdPayloadMismatch bool
    Allow id payload mismatch
    CertificateProfile string
    Certificate profile
    LocalCertificate GetIkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    StrictValidationRevocation bool
    Strict validation revocation
    UseManagementAsSource bool
    Use management as source
    allowIdPayloadMismatch Boolean
    Allow id payload mismatch
    certificateProfile String
    Certificate profile
    localCertificate GetIkeGatewayAuthenticationCertificateLocalCertificate
    Local certificate
    strictValidationRevocation Boolean
    Strict validation revocation
    useManagementAsSource Boolean
    Use management as source
    allowIdPayloadMismatch boolean
    Allow id payload mismatch
    certificateProfile string
    Certificate profile
    localCertificate GetIkeGatewayAuthenticationCertificateLocalCertificate
    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 GetIkeGatewayAuthenticationCertificateLocalCertificate
    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

    GetIkeGatewayAuthenticationCertificateLocalCertificate

    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

    GetIkeGatewayAuthenticationPreSharedKey

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

    GetIkeGatewayLocalAddress

    Interface string
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    Ip string
    IP Prefix of the assigned interface
    Interface string
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    Ip string
    IP Prefix of the assigned interface
    interface_ String
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    ip String
    IP Prefix of the assigned interface
    interface string
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    ip string
    IP Prefix of the assigned interface
    interface str
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    ip str
    IP Prefix of the assigned interface
    interface String
    Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
    ip String
    IP Prefix of the assigned interface

    GetIkeGatewayLocalId

    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

    GetIkeGatewayPeerAddress

    Dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    Fqdn string

    peer gateway FQDN name

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    Ip string

    peer gateway has static IP address

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    Dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    Fqdn string

    peer gateway FQDN name

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    Ip string

    peer gateway has static IP address

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    fqdn String

    peer gateway FQDN name

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    ip String

    peer gateway has static IP address

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    fqdn string

    peer gateway FQDN name

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    ip string

    peer gateway has static IP address

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    fqdn str

    peer gateway FQDN name

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    ip str

    peer gateway has static IP address

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    dynamic Property Map
    Dynamic
    fqdn String

    peer gateway FQDN name

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    ip String

    peer gateway has static IP address

    ℹ️ Note: You must specify exactly one of dynamic, fqdn, and ip.

    GetIkeGatewayPeerId

    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

    GetIkeGatewayProtocol

    GetIkeGatewayProtocolCommon

    fragmentation GetIkeGatewayProtocolCommonFragmentation
    Fragmentation
    natTraversal GetIkeGatewayProtocolCommonNatTraversal
    Enables NAT traversal for the IKE gateway.
    passiveMode Boolean
    Passive mode
    fragmentation GetIkeGatewayProtocolCommonFragmentation
    Fragmentation
    natTraversal GetIkeGatewayProtocolCommonNatTraversal
    Enables NAT traversal for the IKE gateway.
    passiveMode boolean
    Passive mode
    fragmentation Property Map
    Fragmentation
    natTraversal Property Map
    Enables NAT traversal for the IKE gateway.
    passiveMode Boolean
    Passive mode

    GetIkeGatewayProtocolCommonFragmentation

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

    GetIkeGatewayProtocolCommonNatTraversal

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

    GetIkeGatewayProtocolIkev1

    dpd Property Map
    Dpd
    ikeCryptoProfile String
    Ike crypto profile

    GetIkeGatewayProtocolIkev1Dpd

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

    GetIkeGatewayProtocolIkev2

    dpd Property Map
    Dpd
    ikeCryptoProfile String
    Ike crypto profile

    GetIkeGatewayProtocolIkev2Dpd

    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 v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate