1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getIkeGateway
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 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(id: Optional[str] = None,
                        name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetIkeGatewayResult
    def get_ike_gateway_output(id: Optional[pulumi.Input[str]] = None,
                        name: 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
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Id string
    UUID of the resource
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id String
    UUID of the resource
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id string
    UUID of the resource
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id str
    UUID of the resource
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id String
    UUID of the resource
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]

    getIkeGateway Result

    The following output properties are available:

    Authentication GetIkeGatewayAuthentication
    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
    Id string
    UUID of the resource
    LocalAddress GetIkeGatewayLocalAddress
    Local address
    LocalId GetIkeGatewayLocalId
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerAddress GetIkeGatewayPeerAddress
    Peer address
    PeerId GetIkeGatewayPeerId
    Peer id
    Protocol GetIkeGatewayProtocol
    Protocol
    ProtocolCommon GetIkeGatewayProtocolCommon
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    Authentication GetIkeGatewayAuthentication
    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
    Id string
    UUID of the resource
    LocalAddress GetIkeGatewayLocalAddress
    Local address
    LocalId GetIkeGatewayLocalId
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerAddress GetIkeGatewayPeerAddress
    Peer address
    PeerId GetIkeGatewayPeerId
    Peer id
    Protocol GetIkeGatewayProtocol
    Protocol
    ProtocolCommon GetIkeGatewayProtocolCommon
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    authentication GetIkeGatewayAuthentication
    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
    id String
    UUID of the resource
    localAddress GetIkeGatewayLocalAddress
    Local address
    localId GetIkeGatewayLocalId
    Local id
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerAddress GetIkeGatewayPeerAddress
    Peer address
    peerId GetIkeGatewayPeerId
    Peer id
    protocol GetIkeGatewayProtocol
    Protocol
    protocolCommon GetIkeGatewayProtocolCommon
    Protocol common
    snippet String
    The snippet in which the resource is defined
    tfid String
    authentication GetIkeGatewayAuthentication
    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
    id string
    UUID of the resource
    localAddress GetIkeGatewayLocalAddress
    Local address
    localId GetIkeGatewayLocalId
    Local id
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerAddress GetIkeGatewayPeerAddress
    Peer address
    peerId GetIkeGatewayPeerId
    Peer id
    protocol GetIkeGatewayProtocol
    Protocol
    protocolCommon GetIkeGatewayProtocolCommon
    Protocol common
    snippet string
    The snippet in which the resource is defined
    tfid string
    authentication GetIkeGatewayAuthentication
    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
    id str
    UUID of the resource
    local_address GetIkeGatewayLocalAddress
    Local address
    local_id GetIkeGatewayLocalId
    Local id
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peer_address GetIkeGatewayPeerAddress
    Peer address
    peer_id GetIkeGatewayPeerId
    Peer id
    protocol GetIkeGatewayProtocol
    Protocol
    protocol_common GetIkeGatewayProtocolCommon
    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
    id String
    UUID of the resource
    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

    GetIkeGatewayAuthentication

    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
    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

    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
    Ip string
    peer gateway has static IP address
    Dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    Fqdn string
    peer gateway FQDN name
    Ip string
    peer gateway has static IP address
    dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    fqdn String
    peer gateway FQDN name
    ip String
    peer gateway has static IP address
    dynamic GetIkeGatewayPeerAddressDynamic
    Dynamic
    fqdn string
    peer gateway FQDN name
    ip string
    peer gateway has static IP address
    dynamic GetIkeGatewayPeerAddressDynamic
    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

    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 v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate