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

    HttpHeaderProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a single SCM HTTP Header Profile object by its ID.
    //
    // Replace the ID with the UUID of the SCM HTTP Header Profile you want to find.
    const scmHttpHeaderProf = scm.getHttpHeaderProfile({
        id: "2733cba4-c79d-4c98-8e07-4d3cbdd0ba11",
    });
    export const scmHttpHeaderProfileDetails = {
        profileId: scmHttpHeaderProf.then(scmHttpHeaderProf => scmHttpHeaderProf.id),
        folder: scmHttpHeaderProf.then(scmHttpHeaderProf => scmHttpHeaderProf.folder),
        name: scmHttpHeaderProf.then(scmHttpHeaderProf => scmHttpHeaderProf.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a single SCM HTTP Header Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM HTTP Header Profile you want to find.
    scm_http_header_prof = scm.get_http_header_profile(id="2733cba4-c79d-4c98-8e07-4d3cbdd0ba11")
    pulumi.export("scmHttpHeaderProfileDetails", {
        "profileId": scm_http_header_prof.id,
        "folder": scm_http_header_prof.folder,
        "name": scm_http_header_prof.name,
    })
    
    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 SCM HTTP Header Profile object by its ID.
    		//
    		// Replace the ID with the UUID of the SCM HTTP Header Profile you want to find.
    		scmHttpHeaderProf, err := scm.LookupHttpHeaderProfile(ctx, &scm.LookupHttpHeaderProfileArgs{
    			Id: "2733cba4-c79d-4c98-8e07-4d3cbdd0ba11",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmHttpHeaderProfileDetails", pulumi.StringMap{
    			"profileId": scmHttpHeaderProf.Id,
    			"folder":    scmHttpHeaderProf.Folder,
    			"name":      scmHttpHeaderProf.Name,
    		})
    		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 SCM HTTP Header Profile object by its ID.
        //
        // Replace the ID with the UUID of the SCM HTTP Header Profile you want to find.
        var scmHttpHeaderProf = Scm.GetHttpHeaderProfile.Invoke(new()
        {
            Id = "2733cba4-c79d-4c98-8e07-4d3cbdd0ba11",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmHttpHeaderProfileDetails"] = 
            {
                { "profileId", scmHttpHeaderProf.Apply(getHttpHeaderProfileResult => getHttpHeaderProfileResult.Id) },
                { "folder", scmHttpHeaderProf.Apply(getHttpHeaderProfileResult => getHttpHeaderProfileResult.Folder) },
                { "name", scmHttpHeaderProf.Apply(getHttpHeaderProfileResult => getHttpHeaderProfileResult.Name) },
            },
        };
    });
    
    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.GetHttpHeaderProfileArgs;
    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 SCM HTTP Header Profile object by its ID.
            //
            // Replace the ID with the UUID of the SCM HTTP Header Profile you want to find.
            final var scmHttpHeaderProf = ScmFunctions.getHttpHeaderProfile(GetHttpHeaderProfileArgs.builder()
                .id("2733cba4-c79d-4c98-8e07-4d3cbdd0ba11")
                .build());
    
            ctx.export("scmHttpHeaderProfileDetails", Map.ofEntries(
                Map.entry("profileId", scmHttpHeaderProf.id()),
                Map.entry("folder", scmHttpHeaderProf.folder()),
                Map.entry("name", scmHttpHeaderProf.name())
            ));
        }
    }
    
    variables:
      #
      # Data source to retrieve a single SCM HTTP Header Profile object by its ID.
      #
    
      # Replace the ID with the UUID of the SCM HTTP Header Profile you want to find.
      scmHttpHeaderProf:
        fn::invoke:
          function: scm:getHttpHeaderProfile
          arguments:
            id: 2733cba4-c79d-4c98-8e07-4d3cbdd0ba11
    outputs:
      # Output the details of the single SCM HTTP Header Profile object found.
      scmHttpHeaderProfileDetails:
        profileId: ${scmHttpHeaderProf.id}
        folder: ${scmHttpHeaderProf.folder}
        name: ${scmHttpHeaderProf.name}
    

    Using getHttpHeaderProfile

    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 getHttpHeaderProfile(args: GetHttpHeaderProfileArgs, opts?: InvokeOptions): Promise<GetHttpHeaderProfileResult>
    function getHttpHeaderProfileOutput(args: GetHttpHeaderProfileOutputArgs, opts?: InvokeOptions): Output<GetHttpHeaderProfileResult>
    def get_http_header_profile(device: Optional[str] = None,
                                folder: Optional[str] = None,
                                id: Optional[str] = None,
                                name: Optional[str] = None,
                                snippet: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetHttpHeaderProfileResult
    def get_http_header_profile_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[GetHttpHeaderProfileResult]
    func LookupHttpHeaderProfile(ctx *Context, args *LookupHttpHeaderProfileArgs, opts ...InvokeOption) (*LookupHttpHeaderProfileResult, error)
    func LookupHttpHeaderProfileOutput(ctx *Context, args *LookupHttpHeaderProfileOutputArgs, opts ...InvokeOption) LookupHttpHeaderProfileResultOutput

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

    public static class GetHttpHeaderProfile 
    {
        public static Task<GetHttpHeaderProfileResult> InvokeAsync(GetHttpHeaderProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetHttpHeaderProfileResult> Invoke(GetHttpHeaderProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHttpHeaderProfileResult> getHttpHeaderProfile(GetHttpHeaderProfileArgs args, InvokeOptions options)
    public static Output<GetHttpHeaderProfileResult> getHttpHeaderProfile(GetHttpHeaderProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getHttpHeaderProfile:getHttpHeaderProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getHttpHeaderProfile Result

    The following output properties are available:

    Description string
    Device string
    The device in which the resource is defined
    Folder string
    HttpHeaderInsertions List<GetHttpHeaderProfileHttpHeaderInsertion>
    Id string
    The UUID of the HTTP header profile
    Name string
    Snippet string
    Tfid string
    Description string
    Device string
    The device in which the resource is defined
    Folder string
    HttpHeaderInsertions []GetHttpHeaderProfileHttpHeaderInsertion
    Id string
    The UUID of the HTTP header profile
    Name string
    Snippet string
    Tfid string
    description String
    device String
    The device in which the resource is defined
    folder String
    httpHeaderInsertions List<GetHttpHeaderProfileHttpHeaderInsertion>
    id String
    The UUID of the HTTP header profile
    name String
    snippet String
    tfid String
    description string
    device string
    The device in which the resource is defined
    folder string
    httpHeaderInsertions GetHttpHeaderProfileHttpHeaderInsertion[]
    id string
    The UUID of the HTTP header profile
    name string
    snippet string
    tfid string
    description str
    device str
    The device in which the resource is defined
    folder str
    http_header_insertions Sequence[GetHttpHeaderProfileHttpHeaderInsertion]
    id str
    The UUID of the HTTP header profile
    name str
    snippet str
    tfid str
    description String
    device String
    The device in which the resource is defined
    folder String
    httpHeaderInsertions List<Property Map>
    id String
    The UUID of the HTTP header profile
    name String
    snippet String
    tfid String

    Supporting Types

    GetHttpHeaderProfileHttpHeaderInsertion

    Name string
    The name of the HTTP header insertion rule
    Types List<GetHttpHeaderProfileHttpHeaderInsertionType>
    A list of HTTP header insertion definitions
    Name string
    The name of the HTTP header insertion rule
    Types []GetHttpHeaderProfileHttpHeaderInsertionType
    A list of HTTP header insertion definitions
    name String
    The name of the HTTP header insertion rule
    types List<GetHttpHeaderProfileHttpHeaderInsertionType>
    A list of HTTP header insertion definitions
    name string
    The name of the HTTP header insertion rule
    types GetHttpHeaderProfileHttpHeaderInsertionType[]
    A list of HTTP header insertion definitions
    name str
    The name of the HTTP header insertion rule
    types Sequence[GetHttpHeaderProfileHttpHeaderInsertionType]
    A list of HTTP header insertion definitions
    name String
    The name of the HTTP header insertion rule
    types List<Property Map>
    A list of HTTP header insertion definitions

    GetHttpHeaderProfileHttpHeaderInsertionType

    Domains List<string>
    A list of DNS domains
    Headers List<GetHttpHeaderProfileHttpHeaderInsertionTypeHeader>
    Headers
    Name string
    The HTTP header insertion type
    Domains []string
    A list of DNS domains
    Headers []GetHttpHeaderProfileHttpHeaderInsertionTypeHeader
    Headers
    Name string
    The HTTP header insertion type
    domains List<String>
    A list of DNS domains
    headers List<GetHttpHeaderProfileHttpHeaderInsertionTypeHeader>
    Headers
    name String
    The HTTP header insertion type
    domains string[]
    A list of DNS domains
    headers GetHttpHeaderProfileHttpHeaderInsertionTypeHeader[]
    Headers
    name string
    The HTTP header insertion type
    domains Sequence[str]
    A list of DNS domains
    headers Sequence[GetHttpHeaderProfileHttpHeaderInsertionTypeHeader]
    Headers
    name str
    The HTTP header insertion type
    domains List<String>
    A list of DNS domains
    headers List<Property Map>
    Headers
    name String
    The HTTP header insertion type

    GetHttpHeaderProfileHttpHeaderInsertionTypeHeader

    Header string
    The HTTP header string
    Log bool
    Log the use of this HTTP header insertion?
    Name string
    The name of the HTTP header
    Value string
    The value associated with the HTTP header
    Header string
    The HTTP header string
    Log bool
    Log the use of this HTTP header insertion?
    Name string
    The name of the HTTP header
    Value string
    The value associated with the HTTP header
    header String
    The HTTP header string
    log Boolean
    Log the use of this HTTP header insertion?
    name String
    The name of the HTTP header
    value String
    The value associated with the HTTP header
    header string
    The HTTP header string
    log boolean
    Log the use of this HTTP header insertion?
    name string
    The name of the HTTP header
    value string
    The value associated with the HTTP header
    header str
    The HTTP header string
    log bool
    Log the use of this HTTP header insertion?
    name str
    The name of the HTTP header
    value str
    The value associated with the HTTP header
    header String
    The HTTP header string
    log Boolean
    Log the use of this HTTP header insertion?
    name String
    The name of the HTTP header
    value String
    The value associated with the HTTP header

    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