1. Packages
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. getForwardingProfileDestination
Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi
scm logo
Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi

    ForwardingProfileDestination data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Look up the forwarding profile destination with FQDN by its ID.
    const scmForwardingProfileDestination1Ds = scm.getForwardingProfileDestination({
        id: "47c43e8b-eedf-483a-bfd8-5dfcf7a2462b",
    });
    // Look up the forwarding profile destination with IP addresses by its ID.
    const scmForwardingProfileDestination2Ds = scm.getForwardingProfileDestination({
        id: "7796420b-c45e-4ca2-a609-91ab83bbd219",
    });
    // Look up the forwarding profile destination with mixed types by its ID.
    const scmForwardingProfileDestination3Ds = scm.getForwardingProfileDestination({
        id: "b3730821-0692-4245-96b5-3474651ed2b5",
    });
    export const forwardingProfileDestinationDataSourceResults = {
        fqdnDestination: scmForwardingProfileDestination1Ds,
        ipDestination: scmForwardingProfileDestination2Ds,
        mixedDestination: scmForwardingProfileDestination3Ds,
    };
    
    import pulumi
    import pulumi_scm as scm
    
    # Look up the forwarding profile destination with FQDN by its ID.
    scm_forwarding_profile_destination1_ds = scm.get_forwarding_profile_destination(id="47c43e8b-eedf-483a-bfd8-5dfcf7a2462b")
    # Look up the forwarding profile destination with IP addresses by its ID.
    scm_forwarding_profile_destination2_ds = scm.get_forwarding_profile_destination(id="7796420b-c45e-4ca2-a609-91ab83bbd219")
    # Look up the forwarding profile destination with mixed types by its ID.
    scm_forwarding_profile_destination3_ds = scm.get_forwarding_profile_destination(id="b3730821-0692-4245-96b5-3474651ed2b5")
    pulumi.export("forwardingProfileDestinationDataSourceResults", {
        "fqdnDestination": scm_forwarding_profile_destination1_ds,
        "ipDestination": scm_forwarding_profile_destination2_ds,
        "mixedDestination": scm_forwarding_profile_destination3_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 {
    		// Look up the forwarding profile destination with FQDN by its ID.
    		scmForwardingProfileDestination1Ds, err := scm.GetForwardingProfileDestination(ctx, &scm.LookupForwardingProfileDestinationArgs{
    			Id: "47c43e8b-eedf-483a-bfd8-5dfcf7a2462b",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Look up the forwarding profile destination with IP addresses by its ID.
    		scmForwardingProfileDestination2Ds, err := scm.GetForwardingProfileDestination(ctx, &scm.LookupForwardingProfileDestinationArgs{
    			Id: "7796420b-c45e-4ca2-a609-91ab83bbd219",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Look up the forwarding profile destination with mixed types by its ID.
    		scmForwardingProfileDestination3Ds, err := scm.GetForwardingProfileDestination(ctx, &scm.LookupForwardingProfileDestinationArgs{
    			Id: "b3730821-0692-4245-96b5-3474651ed2b5",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("forwardingProfileDestinationDataSourceResults", scm.GetForwardingProfileDestinationResultMap{
    			"fqdnDestination":  scmForwardingProfileDestination1Ds,
    			"ipDestination":    scmForwardingProfileDestination2Ds,
    			"mixedDestination": scmForwardingProfileDestination3Ds,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Look up the forwarding profile destination with FQDN by its ID.
        var scmForwardingProfileDestination1Ds = Scm.Index.GetForwardingProfileDestination.Invoke(new()
        {
            Id = "47c43e8b-eedf-483a-bfd8-5dfcf7a2462b",
        });
    
        // Look up the forwarding profile destination with IP addresses by its ID.
        var scmForwardingProfileDestination2Ds = Scm.Index.GetForwardingProfileDestination.Invoke(new()
        {
            Id = "7796420b-c45e-4ca2-a609-91ab83bbd219",
        });
    
        // Look up the forwarding profile destination with mixed types by its ID.
        var scmForwardingProfileDestination3Ds = Scm.Index.GetForwardingProfileDestination.Invoke(new()
        {
            Id = "b3730821-0692-4245-96b5-3474651ed2b5",
        });
    
        return new Dictionary<string, object?>
        {
            ["forwardingProfileDestinationDataSourceResults"] = 
            {
                { "fqdnDestination", scmForwardingProfileDestination1Ds },
                { "ipDestination", scmForwardingProfileDestination2Ds },
                { "mixedDestination", scmForwardingProfileDestination3Ds },
            },
        };
    });
    
    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.GetForwardingProfileDestinationArgs;
    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) {
            // Look up the forwarding profile destination with FQDN by its ID.
            final var scmForwardingProfileDestination1Ds = ScmFunctions.getForwardingProfileDestination(GetForwardingProfileDestinationArgs.builder()
                .id("47c43e8b-eedf-483a-bfd8-5dfcf7a2462b")
                .build());
    
            // Look up the forwarding profile destination with IP addresses by its ID.
            final var scmForwardingProfileDestination2Ds = ScmFunctions.getForwardingProfileDestination(GetForwardingProfileDestinationArgs.builder()
                .id("7796420b-c45e-4ca2-a609-91ab83bbd219")
                .build());
    
            // Look up the forwarding profile destination with mixed types by its ID.
            final var scmForwardingProfileDestination3Ds = ScmFunctions.getForwardingProfileDestination(GetForwardingProfileDestinationArgs.builder()
                .id("b3730821-0692-4245-96b5-3474651ed2b5")
                .build());
    
            ctx.export("forwardingProfileDestinationDataSourceResults", Map.ofEntries(
                Map.entry("fqdnDestination", scmForwardingProfileDestination1Ds),
                Map.entry("ipDestination", scmForwardingProfileDestination2Ds),
                Map.entry("mixedDestination", scmForwardingProfileDestination3Ds)
            ));
        }
    }
    
    variables:
      # Look up the forwarding profile destination with FQDN by its ID.
      scmForwardingProfileDestination1Ds:
        fn::invoke:
          function: scm:getForwardingProfileDestination
          arguments:
            id: 47c43e8b-eedf-483a-bfd8-5dfcf7a2462b
      # Look up the forwarding profile destination with IP addresses by its ID.
      scmForwardingProfileDestination2Ds:
        fn::invoke:
          function: scm:getForwardingProfileDestination
          arguments:
            id: 7796420b-c45e-4ca2-a609-91ab83bbd219
      # Look up the forwarding profile destination with mixed types by its ID.
      scmForwardingProfileDestination3Ds:
        fn::invoke:
          function: scm:getForwardingProfileDestination
          arguments:
            id: b3730821-0692-4245-96b5-3474651ed2b5
    outputs:
      # Output various attributes from the found objects to verify the lookups were successful.
      forwardingProfileDestinationDataSourceResults:
        fqdnDestination: ${scmForwardingProfileDestination1Ds}
        ipDestination: ${scmForwardingProfileDestination2Ds}
        mixedDestination: ${scmForwardingProfileDestination3Ds}
    

    Using getForwardingProfileDestination

    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 getForwardingProfileDestination(args: GetForwardingProfileDestinationArgs, opts?: InvokeOptions): Promise<GetForwardingProfileDestinationResult>
    function getForwardingProfileDestinationOutput(args: GetForwardingProfileDestinationOutputArgs, opts?: InvokeOptions): Output<GetForwardingProfileDestinationResult>
    def get_forwarding_profile_destination(folder: Optional[str] = None,
                                           id: Optional[str] = None,
                                           name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetForwardingProfileDestinationResult
    def get_forwarding_profile_destination_output(folder: Optional[pulumi.Input[str]] = None,
                                           id: Optional[pulumi.Input[str]] = None,
                                           name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetForwardingProfileDestinationResult]
    func LookupForwardingProfileDestination(ctx *Context, args *LookupForwardingProfileDestinationArgs, opts ...InvokeOption) (*LookupForwardingProfileDestinationResult, error)
    func LookupForwardingProfileDestinationOutput(ctx *Context, args *LookupForwardingProfileDestinationOutputArgs, opts ...InvokeOption) LookupForwardingProfileDestinationResultOutput

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

    public static class GetForwardingProfileDestination 
    {
        public static Task<GetForwardingProfileDestinationResult> InvokeAsync(GetForwardingProfileDestinationArgs args, InvokeOptions? opts = null)
        public static Output<GetForwardingProfileDestinationResult> Invoke(GetForwardingProfileDestinationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetForwardingProfileDestinationResult> getForwardingProfileDestination(GetForwardingProfileDestinationArgs args, InvokeOptions options)
    public static Output<GetForwardingProfileDestinationResult> getForwardingProfileDestination(GetForwardingProfileDestinationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getForwardingProfileDestination:getForwardingProfileDestination
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the destination
    Folder string
    The folder in which the resource is defined
    Name string
    alphanumeric string [ 0-9a-zA-Z._ -]
    Id string
    The UUID of the destination
    Folder string
    The folder in which the resource is defined
    Name string
    alphanumeric string [ 0-9a-zA-Z._ -]
    id String
    The UUID of the destination
    folder String
    The folder in which the resource is defined
    name String
    alphanumeric string [ 0-9a-zA-Z._ -]
    id string
    The UUID of the destination
    folder string
    The folder in which the resource is defined
    name string
    alphanumeric string [ 0-9a-zA-Z._ -]
    id str
    The UUID of the destination
    folder str
    The folder in which the resource is defined
    name str
    alphanumeric string [ 0-9a-zA-Z._ -]
    id String
    The UUID of the destination
    folder String
    The folder in which the resource is defined
    name String
    alphanumeric string [ 0-9a-zA-Z._ -]

    getForwardingProfileDestination Result

    The following output properties are available:

    Description string
    description of the destination
    Folder string
    The folder in which the resource is defined
    Fqdns List<GetForwardingProfileDestinationFqdn>
    List of FQDN based destination entries
    Id string
    The UUID of the destination
    IpAddresses List<GetForwardingProfileDestinationIpAddress>
    List of IP address based destination entries
    Name string
    alphanumeric string [ 0-9a-zA-Z._ -]
    Tfid string
    The Terraform ID.
    Description string
    description of the destination
    Folder string
    The folder in which the resource is defined
    Fqdns []GetForwardingProfileDestinationFqdn
    List of FQDN based destination entries
    Id string
    The UUID of the destination
    IpAddresses []GetForwardingProfileDestinationIpAddress
    List of IP address based destination entries
    Name string
    alphanumeric string [ 0-9a-zA-Z._ -]
    Tfid string
    The Terraform ID.
    description String
    description of the destination
    folder String
    The folder in which the resource is defined
    fqdns List<GetForwardingProfileDestinationFqdn>
    List of FQDN based destination entries
    id String
    The UUID of the destination
    ipAddresses List<GetForwardingProfileDestinationIpAddress>
    List of IP address based destination entries
    name String
    alphanumeric string [ 0-9a-zA-Z._ -]
    tfid String
    The Terraform ID.
    description string
    description of the destination
    folder string
    The folder in which the resource is defined
    fqdns GetForwardingProfileDestinationFqdn[]
    List of FQDN based destination entries
    id string
    The UUID of the destination
    ipAddresses GetForwardingProfileDestinationIpAddress[]
    List of IP address based destination entries
    name string
    alphanumeric string [ 0-9a-zA-Z._ -]
    tfid string
    The Terraform ID.
    description str
    description of the destination
    folder str
    The folder in which the resource is defined
    fqdns Sequence[GetForwardingProfileDestinationFqdn]
    List of FQDN based destination entries
    id str
    The UUID of the destination
    ip_addresses Sequence[GetForwardingProfileDestinationIpAddress]
    List of IP address based destination entries
    name str
    alphanumeric string [ 0-9a-zA-Z._ -]
    tfid str
    The Terraform ID.
    description String
    description of the destination
    folder String
    The folder in which the resource is defined
    fqdns List<Property Map>
    List of FQDN based destination entries
    id String
    The UUID of the destination
    ipAddresses List<Property Map>
    List of IP address based destination entries
    name String
    alphanumeric string [ 0-9a-zA-Z._ -]
    tfid String
    The Terraform ID.

    Supporting Types

    GetForwardingProfileDestinationFqdn

    Name string
    alphanumeric string [*0-9a-zA-Z._-] and at most one $ by the end
    Port int
    Port number for fqdn based destination
    Name string
    alphanumeric string [*0-9a-zA-Z._-] and at most one $ by the end
    Port int
    Port number for fqdn based destination
    name String
    alphanumeric string [*0-9a-zA-Z._-] and at most one $ by the end
    port Integer
    Port number for fqdn based destination
    name string
    alphanumeric string [*0-9a-zA-Z._-] and at most one $ by the end
    port number
    Port number for fqdn based destination
    name str
    alphanumeric string [*0-9a-zA-Z._-] and at most one $ by the end
    port int
    Port number for fqdn based destination
    name String
    alphanumeric string [*0-9a-zA-Z._-] and at most one $ by the end
    port Number
    Port number for fqdn based destination

    GetForwardingProfileDestinationIpAddress

    Name string
    IP address with wildcards and CIDR notation support
    Port int
    Port number for IP address based destination
    Name string
    IP address with wildcards and CIDR notation support
    Port int
    Port number for IP address based destination
    name String
    IP address with wildcards and CIDR notation support
    port Integer
    Port number for IP address based destination
    name string
    IP address with wildcards and CIDR notation support
    port number
    Port number for IP address based destination
    name str
    IP address with wildcards and CIDR notation support
    port int
    Port number for IP address based destination
    name String
    IP address with wildcards and CIDR notation support
    port Number
    Port number for IP address based destination

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Viewing docs for Strata Cloud Manager v1.0.6
    published on Saturday, Apr 25, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.