1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getIkeGatewayList
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

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Data source to retrieve a list of IKE Gateways.
    // You can filter the list by folder, snippet, or device.
    // This example retrieves all gateways in the "Shared" folder.
    const exampleListIkeGatewayDs = scm.getIkeGatewayList({
        folder: "Remote Networks",
    });
    export const ikeGatewayListTotal = exampleListIkeGatewayDs.then(exampleListIkeGatewayDs => exampleListIkeGatewayDs.total);
    export const ikeGatewayListData = exampleListIkeGatewayDs.then(exampleListIkeGatewayDs => exampleListIkeGatewayDs.datas);
    
    import pulumi
    import pulumi_scm as scm
    
    # Data source to retrieve a list of IKE Gateways.
    # You can filter the list by folder, snippet, or device.
    # This example retrieves all gateways in the "Shared" folder.
    example_list_ike_gateway_ds = scm.get_ike_gateway_list(folder="Remote Networks")
    pulumi.export("ikeGatewayListTotal", example_list_ike_gateway_ds.total)
    pulumi.export("ikeGatewayListData", example_list_ike_gateway_ds.datas)
    
    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 list of IKE Gateways.
    		// You can filter the list by folder, snippet, or device.
    		// This example retrieves all gateways in the "Shared" folder.
    		exampleListIkeGatewayDs, err := scm.GetIkeGatewayList(ctx, &scm.GetIkeGatewayListArgs{
    			Folder: pulumi.StringRef("Remote Networks"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("ikeGatewayListTotal", exampleListIkeGatewayDs.Total)
    		ctx.Export("ikeGatewayListData", exampleListIkeGatewayDs.Datas)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Data source to retrieve a list of IKE Gateways.
        // You can filter the list by folder, snippet, or device.
        // This example retrieves all gateways in the "Shared" folder.
        var exampleListIkeGatewayDs = Scm.GetIkeGatewayList.Invoke(new()
        {
            Folder = "Remote Networks",
        });
    
        return new Dictionary<string, object?>
        {
            ["ikeGatewayListTotal"] = exampleListIkeGatewayDs.Apply(getIkeGatewayListResult => getIkeGatewayListResult.Total),
            ["ikeGatewayListData"] = exampleListIkeGatewayDs.Apply(getIkeGatewayListResult => getIkeGatewayListResult.Datas),
        };
    });
    
    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.GetIkeGatewayListArgs;
    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 list of IKE Gateways.
            // You can filter the list by folder, snippet, or device.
            // This example retrieves all gateways in the "Shared" folder.
            final var exampleListIkeGatewayDs = ScmFunctions.getIkeGatewayList(GetIkeGatewayListArgs.builder()
                .folder("Remote Networks")
                .build());
    
            ctx.export("ikeGatewayListTotal", exampleListIkeGatewayDs.total());
            ctx.export("ikeGatewayListData", exampleListIkeGatewayDs.datas());
        }
    }
    
    variables:
      # /**
      #  * Data source to retrieve a list of IKE Gateways.
      #  * You can filter the list by folder, snippet, or device.
      #  * This example retrieves all gateways in the "Shared" folder.
      #  */
      exampleListIkeGatewayDs:
        fn::invoke:
          function: scm:getIkeGatewayList
          arguments:
            folder: Remote Networks
    outputs:
      # /**
      #  * Output the total number of IKE Gateways found by the data source.
      #  */
      ikeGatewayListTotal: ${exampleListIkeGatewayDs.total}
      # /**
      #  * Output the list of data for all retrieved IKE Gateways.
      #  * This provides the configuration details for each gateway in the list.
      #  * $ terraform output -json ike_gateway_list_data can help you view the details.
      #  */
      ikeGatewayListData: ${exampleListIkeGatewayDs.datas}
    

    Using getIkeGatewayList

    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 getIkeGatewayList(args: GetIkeGatewayListArgs, opts?: InvokeOptions): Promise<GetIkeGatewayListResult>
    function getIkeGatewayListOutput(args: GetIkeGatewayListOutputArgs, opts?: InvokeOptions): Output<GetIkeGatewayListResult>
    def get_ike_gateway_list(device: Optional[str] = None,
                             folder: Optional[str] = None,
                             limit: Optional[int] = None,
                             name: Optional[str] = None,
                             offset: Optional[int] = None,
                             snippet: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetIkeGatewayListResult
    def get_ike_gateway_list_output(device: Optional[pulumi.Input[str]] = None,
                             folder: Optional[pulumi.Input[str]] = None,
                             limit: Optional[pulumi.Input[int]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             offset: Optional[pulumi.Input[int]] = None,
                             snippet: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetIkeGatewayListResult]
    func GetIkeGatewayList(ctx *Context, args *GetIkeGatewayListArgs, opts ...InvokeOption) (*GetIkeGatewayListResult, error)
    func GetIkeGatewayListOutput(ctx *Context, args *GetIkeGatewayListOutputArgs, opts ...InvokeOption) GetIkeGatewayListResultOutput

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

    public static class GetIkeGatewayList 
    {
        public static Task<GetIkeGatewayListResult> InvokeAsync(GetIkeGatewayListArgs args, InvokeOptions? opts = null)
        public static Output<GetIkeGatewayListResult> Invoke(GetIkeGatewayListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIkeGatewayListResult> getIkeGatewayList(GetIkeGatewayListArgs args, InvokeOptions options)
    public static Output<GetIkeGatewayListResult> getIkeGatewayList(GetIkeGatewayListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getIkeGatewayList:getIkeGatewayList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    getIkeGatewayList Result

    The following output properties are available:

    Datas List<GetIkeGatewayListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Datas []GetIkeGatewayListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    datas List<GetIkeGatewayListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Integer
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    datas GetIkeGatewayListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    total number
    The total number of items.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    datas Sequence[GetIkeGatewayListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    total int
    The total number of items.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    datas List<Property Map>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Number
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    Supporting Types

    GetIkeGatewayListData

    Authentication GetIkeGatewayListDataAuthentication
    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 GetIkeGatewayListDataLocalAddress
    Local address
    LocalId GetIkeGatewayListDataLocalId
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerAddress GetIkeGatewayListDataPeerAddress
    Peer address
    PeerId GetIkeGatewayListDataPeerId
    Peer id
    Protocol GetIkeGatewayListDataProtocol
    Protocol
    ProtocolCommon GetIkeGatewayListDataProtocolCommon
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    Authentication GetIkeGatewayListDataAuthentication
    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 GetIkeGatewayListDataLocalAddress
    Local address
    LocalId GetIkeGatewayListDataLocalId
    Local id
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    PeerAddress GetIkeGatewayListDataPeerAddress
    Peer address
    PeerId GetIkeGatewayListDataPeerId
    Peer id
    Protocol GetIkeGatewayListDataProtocol
    Protocol
    ProtocolCommon GetIkeGatewayListDataProtocolCommon
    Protocol common
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    authentication GetIkeGatewayListDataAuthentication
    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 GetIkeGatewayListDataLocalAddress
    Local address
    localId GetIkeGatewayListDataLocalId
    Local id
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerAddress GetIkeGatewayListDataPeerAddress
    Peer address
    peerId GetIkeGatewayListDataPeerId
    Peer id
    protocol GetIkeGatewayListDataProtocol
    Protocol
    protocolCommon GetIkeGatewayListDataProtocolCommon
    Protocol common
    snippet String
    The snippet in which the resource is defined
    tfid String
    authentication GetIkeGatewayListDataAuthentication
    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 GetIkeGatewayListDataLocalAddress
    Local address
    localId GetIkeGatewayListDataLocalId
    Local id
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peerAddress GetIkeGatewayListDataPeerAddress
    Peer address
    peerId GetIkeGatewayListDataPeerId
    Peer id
    protocol GetIkeGatewayListDataProtocol
    Protocol
    protocolCommon GetIkeGatewayListDataProtocolCommon
    Protocol common
    snippet string
    The snippet in which the resource is defined
    tfid string
    authentication GetIkeGatewayListDataAuthentication
    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 GetIkeGatewayListDataLocalAddress
    Local address
    local_id GetIkeGatewayListDataLocalId
    Local id
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    peer_address GetIkeGatewayListDataPeerAddress
    Peer address
    peer_id GetIkeGatewayListDataPeerId
    Peer id
    protocol GetIkeGatewayListDataProtocol
    Protocol
    protocol_common GetIkeGatewayListDataProtocolCommon
    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

    GetIkeGatewayListDataAuthentication

    GetIkeGatewayListDataAuthenticationCertificate

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

    GetIkeGatewayListDataAuthenticationCertificateLocalCertificate

    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

    GetIkeGatewayListDataAuthenticationPreSharedKey

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

    GetIkeGatewayListDataLocalAddress

    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

    GetIkeGatewayListDataLocalId

    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

    GetIkeGatewayListDataPeerAddress

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

    GetIkeGatewayListDataPeerId

    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

    GetIkeGatewayListDataProtocol

    GetIkeGatewayListDataProtocolCommon

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

    GetIkeGatewayListDataProtocolCommonFragmentation

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

    GetIkeGatewayListDataProtocolCommonNatTraversal

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

    GetIkeGatewayListDataProtocolIkev1

    dpd Property Map
    Dpd
    ikeCryptoProfile String
    Ike crypto profile

    GetIkeGatewayListDataProtocolIkev1Dpd

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

    GetIkeGatewayListDataProtocolIkev2

    dpd Property Map
    Dpd
    ikeCryptoProfile String
    Ike crypto profile

    GetIkeGatewayListDataProtocolIkev2Dpd

    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