1. Registry
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. getHttpHeaderProfile
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
scm logo Strata Cloud Manager
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 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.GetHttpHeaderProfile(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"] = new Dictionary<string, object?>
            {
                ["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.ArrayList;
    import java.util.Arrays;
    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}
    
    terraform {
      required_providers {
        scm = {
          source = "pulumi/scm"
        }
      }
    }
    
    data "scm_http_header_profile" "scmHttpHeaderProf" {
      id = "2733cba4-c79d-4c98-8e07-4d3cbdd0ba11"
    }
    
    #
    # 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.
    # Output the details of the single SCM HTTP Header Profile object found.
    output "scmHttpHeaderProfileDetails" {
      value = {
        "profileId" = data.scm_http_header_profile.scmHttpHeaderProf.id
        "folder"    = data.scm_http_header_profile.scmHttpHeaderProf.folder
        "name"      = data.scm_http_header_profile.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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
                                folder: pulumi.Input[Optional[str]] = None,
                                id: pulumi.Input[Optional[str]] = None,
                                name: pulumi.Input[Optional[str]] = None,
                                snippet: pulumi.Input[Optional[str]] = None,
                                opts: Optional[InvokeOutputOptions] = 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 Output<GetHttpHeaderProfileResult> Invoke(GetHttpHeaderProfileInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetHttpHeaderProfileResult> getHttpHeaderProfile(GetHttpHeaderProfileArgs args, InvokeOptions options)
    public static Output<GetHttpHeaderProfileResult> getHttpHeaderProfile(GetHttpHeaderProfileArgs args, InvokeOptions options)
    public static Output<GetHttpHeaderProfileResult> getHttpHeaderProfile(GetHttpHeaderProfileArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scm:index/getHttpHeaderProfile:getHttpHeaderProfile
      arguments:
        # arguments dictionary
    data "scm_get_http_header_profile" "name" {
        # arguments
    }

    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
    The folder in which the resource is defined
    Name string
    The name of the HTTP header profile
    Snippet string
    The snippet in which the resource is defined
    Id string
    The UUID of the HTTP header profile
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    The name of the HTTP header profile
    Snippet string
    The snippet in which the resource is defined
    id string
    The UUID of the HTTP header profile
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    The name of the HTTP header profile
    snippet string
    The snippet in which the resource is defined
    id String
    The UUID of the HTTP header profile
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    The name of the HTTP header profile
    snippet String
    The snippet in which the resource is defined
    id string
    The UUID of the HTTP header profile
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    The name of the HTTP header profile
    snippet string
    The snippet in which the resource is defined
    id str
    The UUID of the HTTP header profile
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    The name of the HTTP header profile
    snippet str
    The snippet in which the resource is defined
    id String
    The UUID of the HTTP header profile
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    The name of the HTTP header profile
    snippet String
    The snippet in which the resource is defined

    getHttpHeaderProfile Result

    The following output properties are available:

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

    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(object)
    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. Possible values are Custom, Dropbox Network Control, Dynamic Fields, Google Apps Access Control, Microsoft Office365 Tenant Restrictions and Youtube Safe Search.
    Domains []string
    A list of DNS domains
    Headers []GetHttpHeaderProfileHttpHeaderInsertionTypeHeader
    Headers
    Name string
    The HTTP header insertion type. Possible values are Custom, Dropbox Network Control, Dynamic Fields, Google Apps Access Control, Microsoft Office365 Tenant Restrictions and Youtube Safe Search.
    domains list(string)
    A list of DNS domains
    headers list(object)
    Headers
    name string
    The HTTP header insertion type. Possible values are Custom, Dropbox Network Control, Dynamic Fields, Google Apps Access Control, Microsoft Office365 Tenant Restrictions and Youtube Safe Search.
    domains List<String>
    A list of DNS domains
    headers List<GetHttpHeaderProfileHttpHeaderInsertionTypeHeader>
    Headers
    name String
    The HTTP header insertion type. Possible values are Custom, Dropbox Network Control, Dynamic Fields, Google Apps Access Control, Microsoft Office365 Tenant Restrictions and Youtube Safe Search.
    domains string[]
    A list of DNS domains
    headers GetHttpHeaderProfileHttpHeaderInsertionTypeHeader[]
    Headers
    name string
    The HTTP header insertion type. Possible values are Custom, Dropbox Network Control, Dynamic Fields, Google Apps Access Control, Microsoft Office365 Tenant Restrictions and Youtube Safe Search.
    domains Sequence[str]
    A list of DNS domains
    headers Sequence[GetHttpHeaderProfileHttpHeaderInsertionTypeHeader]
    Headers
    name str
    The HTTP header insertion type. Possible values are Custom, Dropbox Network Control, Dynamic Fields, Google Apps Access Control, Microsoft Office365 Tenant Restrictions and Youtube Safe Search.
    domains List<String>
    A list of DNS domains
    headers List<Property Map>
    Headers
    name String
    The HTTP header insertion type. Possible values are Custom, Dropbox Network Control, Dynamic Fields, Google Apps Access Control, Microsoft Office365 Tenant Restrictions and Youtube Safe Search.

    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 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
    Viewing docs for Strata Cloud Manager v1.2.1
    published on Friday, Oct 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial