Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 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 dictionaryThe following arguments are supported:
getHttpHeaderProfile Result
The following output properties are available:
- Description string
- Device string
- The device in which the resource is defined
- Folder string
- Http
Header List<GetInsertions Http Header Profile Http Header Insertion> - 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
- Http
Header []GetInsertions Http Header Profile Http Header Insertion - 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
- http
Header List<GetInsertions Http Header Profile Http Header Insertion> - 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
- http
Header GetInsertions Http Header Profile Http Header Insertion[] - 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_ Sequence[Getinsertions Http Header Profile Http Header Insertion] - 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
- http
Header List<Property Map>Insertions - 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<Get
Http Header Profile Http Header Insertion Type> - A list of HTTP header insertion definitions
- Name string
- The name of the HTTP header insertion rule
- Types
[]Get
Http Header Profile Http Header Insertion Type - A list of HTTP header insertion definitions
- name String
- The name of the HTTP header insertion rule
- types
List<Get
Http Header Profile Http Header Insertion Type> - A list of HTTP header insertion definitions
- name string
- The name of the HTTP header insertion rule
- types
Get
Http Header Profile Http Header Insertion Type[] - A list of HTTP header insertion definitions
- name str
- The name of the HTTP header insertion rule
- types
Sequence[Get
Http Header Profile Http Header Insertion Type] - 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<Get
Http Header Profile Http Header Insertion Type Header> - Headers
- Name string
- The HTTP header insertion type
- Domains []string
- A list of DNS domains
- Headers
[]Get
Http Header Profile Http Header Insertion Type Header - Headers
- Name string
- The HTTP header insertion type
- domains List<String>
- A list of DNS domains
- headers
List<Get
Http Header Profile Http Header Insertion Type Header> - Headers
- name String
- The HTTP header insertion type
- domains string[]
- A list of DNS domains
- headers
Get
Http Header Profile Http Header Insertion Type Header[] - Headers
- name string
- The HTTP header insertion type
- domains Sequence[str]
- A list of DNS domains
- headers
Sequence[Get
Http Header Profile Http Header Insertion Type Header] - 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
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
