1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. ContentIdSetting
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi

    ContentIdSetting resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const cidExample = new scm.ContentIdSetting("cid_example", {
        folder: "All",
        contentId: {
            allowForwardDecryptedContent: true,
            extendedCaptureSegment: 6,
            tcpBypassExceedQueue: true,
            udpBypassExceedQueue: true,
            allowHttpRange: true,
            xForwardedFor: "0",
            stripXFwdFor: false,
            application: {
                bypassExceedQueue: false,
            },
        },
    });
    
    import pulumi
    import pulumi_scm as scm
    
    cid_example = scm.ContentIdSetting("cid_example",
        folder="All",
        content_id={
            "allow_forward_decrypted_content": True,
            "extended_capture_segment": 6,
            "tcp_bypass_exceed_queue": True,
            "udp_bypass_exceed_queue": True,
            "allow_http_range": True,
            "x_forwarded_for": "0",
            "strip_x_fwd_for": False,
            "application": {
                "bypass_exceed_queue": False,
            },
        })
    
    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 {
    		_, err := scm.NewContentIdSetting(ctx, "cid_example", &scm.ContentIdSettingArgs{
    			Folder: pulumi.String("All"),
    			ContentId: &scm.ContentIdSettingContentIdArgs{
    				AllowForwardDecryptedContent: pulumi.Bool(true),
    				ExtendedCaptureSegment:       pulumi.Int(6),
    				TcpBypassExceedQueue:         pulumi.Bool(true),
    				UdpBypassExceedQueue:         pulumi.Bool(true),
    				AllowHttpRange:               pulumi.Bool(true),
    				XForwardedFor:                pulumi.String("0"),
    				StripXFwdFor:                 pulumi.Bool(false),
    				Application: &scm.ContentIdSettingContentIdApplicationArgs{
    					BypassExceedQueue: pulumi.Bool(false),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var cidExample = new Scm.ContentIdSetting("cid_example", new()
        {
            Folder = "All",
            ContentId = new Scm.Inputs.ContentIdSettingContentIdArgs
            {
                AllowForwardDecryptedContent = true,
                ExtendedCaptureSegment = 6,
                TcpBypassExceedQueue = true,
                UdpBypassExceedQueue = true,
                AllowHttpRange = true,
                XForwardedFor = "0",
                StripXFwdFor = false,
                Application = new Scm.Inputs.ContentIdSettingContentIdApplicationArgs
                {
                    BypassExceedQueue = false,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ContentIdSetting;
    import com.pulumi.scm.ContentIdSettingArgs;
    import com.pulumi.scm.inputs.ContentIdSettingContentIdArgs;
    import com.pulumi.scm.inputs.ContentIdSettingContentIdApplicationArgs;
    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) {
            var cidExample = new ContentIdSetting("cidExample", ContentIdSettingArgs.builder()
                .folder("All")
                .contentId(ContentIdSettingContentIdArgs.builder()
                    .allowForwardDecryptedContent(true)
                    .extendedCaptureSegment(6)
                    .tcpBypassExceedQueue(true)
                    .udpBypassExceedQueue(true)
                    .allowHttpRange(true)
                    .xForwardedFor("0")
                    .stripXFwdFor(false)
                    .application(ContentIdSettingContentIdApplicationArgs.builder()
                        .bypassExceedQueue(false)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      cidExample:
        type: scm:ContentIdSetting
        name: cid_example
        properties:
          folder: All
          contentId:
            allowForwardDecryptedContent: true
            extendedCaptureSegment: 6
            tcpBypassExceedQueue: true
            udpBypassExceedQueue: true
            allowHttpRange: true
            xForwardedFor: '0'
            stripXFwdFor: false
            application:
              bypassExceedQueue: false
    

    Create ContentIdSetting Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContentIdSetting(name: string, args?: ContentIdSettingArgs, opts?: CustomResourceOptions);
    @overload
    def ContentIdSetting(resource_name: str,
                         args: Optional[ContentIdSettingArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContentIdSetting(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         content_id: Optional[ContentIdSettingContentIdArgs] = None,
                         device: Optional[str] = None,
                         folder: Optional[str] = None,
                         snippet: Optional[str] = None)
    func NewContentIdSetting(ctx *Context, name string, args *ContentIdSettingArgs, opts ...ResourceOption) (*ContentIdSetting, error)
    public ContentIdSetting(string name, ContentIdSettingArgs? args = null, CustomResourceOptions? opts = null)
    public ContentIdSetting(String name, ContentIdSettingArgs args)
    public ContentIdSetting(String name, ContentIdSettingArgs args, CustomResourceOptions options)
    
    type: scm:ContentIdSetting
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ContentIdSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ContentIdSettingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ContentIdSettingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContentIdSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContentIdSettingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var contentIdSettingResource = new Scm.ContentIdSetting("contentIdSettingResource", new()
    {
        ContentId = new Scm.Inputs.ContentIdSettingContentIdArgs
        {
            AllowForwardDecryptedContent = false,
            AllowHttpRange = false,
            Application = new Scm.Inputs.ContentIdSettingContentIdApplicationArgs
            {
                BypassExceedQueue = false,
            },
            ExtendedCaptureSegment = 0,
            StripXFwdFor = false,
            TcpBypassExceedQueue = false,
            UdpBypassExceedQueue = false,
            XForwardedFor = "string",
        },
        Device = "string",
        Folder = "string",
        Snippet = "string",
    });
    
    example, err := scm.NewContentIdSetting(ctx, "contentIdSettingResource", &scm.ContentIdSettingArgs{
    	ContentId: &scm.ContentIdSettingContentIdArgs{
    		AllowForwardDecryptedContent: pulumi.Bool(false),
    		AllowHttpRange:               pulumi.Bool(false),
    		Application: &scm.ContentIdSettingContentIdApplicationArgs{
    			BypassExceedQueue: pulumi.Bool(false),
    		},
    		ExtendedCaptureSegment: pulumi.Int(0),
    		StripXFwdFor:           pulumi.Bool(false),
    		TcpBypassExceedQueue:   pulumi.Bool(false),
    		UdpBypassExceedQueue:   pulumi.Bool(false),
    		XForwardedFor:          pulumi.String("string"),
    	},
    	Device:  pulumi.String("string"),
    	Folder:  pulumi.String("string"),
    	Snippet: pulumi.String("string"),
    })
    
    var contentIdSettingResource = new ContentIdSetting("contentIdSettingResource", ContentIdSettingArgs.builder()
        .contentId(ContentIdSettingContentIdArgs.builder()
            .allowForwardDecryptedContent(false)
            .allowHttpRange(false)
            .application(ContentIdSettingContentIdApplicationArgs.builder()
                .bypassExceedQueue(false)
                .build())
            .extendedCaptureSegment(0)
            .stripXFwdFor(false)
            .tcpBypassExceedQueue(false)
            .udpBypassExceedQueue(false)
            .xForwardedFor("string")
            .build())
        .device("string")
        .folder("string")
        .snippet("string")
        .build());
    
    content_id_setting_resource = scm.ContentIdSetting("contentIdSettingResource",
        content_id={
            "allow_forward_decrypted_content": False,
            "allow_http_range": False,
            "application": {
                "bypass_exceed_queue": False,
            },
            "extended_capture_segment": 0,
            "strip_x_fwd_for": False,
            "tcp_bypass_exceed_queue": False,
            "udp_bypass_exceed_queue": False,
            "x_forwarded_for": "string",
        },
        device="string",
        folder="string",
        snippet="string")
    
    const contentIdSettingResource = new scm.ContentIdSetting("contentIdSettingResource", {
        contentId: {
            allowForwardDecryptedContent: false,
            allowHttpRange: false,
            application: {
                bypassExceedQueue: false,
            },
            extendedCaptureSegment: 0,
            stripXFwdFor: false,
            tcpBypassExceedQueue: false,
            udpBypassExceedQueue: false,
            xForwardedFor: "string",
        },
        device: "string",
        folder: "string",
        snippet: "string",
    });
    
    type: scm:ContentIdSetting
    properties:
        contentId:
            allowForwardDecryptedContent: false
            allowHttpRange: false
            application:
                bypassExceedQueue: false
            extendedCaptureSegment: 0
            stripXFwdFor: false
            tcpBypassExceedQueue: false
            udpBypassExceedQueue: false
            xForwardedFor: string
        device: string
        folder: string
        snippet: string
    

    ContentIdSetting Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ContentIdSetting resource accepts the following input properties:

    ContentId ContentIdSettingContentId
    Content id
    Device string
    The device in which the resource is defined
    Folder string

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    ContentId ContentIdSettingContentIdArgs
    Content id
    Device string
    The device in which the resource is defined
    Folder string

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    contentId ContentIdSettingContentId
    Content id
    device String
    The device in which the resource is defined
    folder String

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    contentId ContentIdSettingContentId
    Content id
    device string
    The device in which the resource is defined
    folder string

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    content_id ContentIdSettingContentIdArgs
    Content id
    device str
    The device in which the resource is defined
    folder str

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet str

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    contentId Property Map
    Content id
    device String
    The device in which the resource is defined
    folder String

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContentIdSetting resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing ContentIdSetting Resource

    Get an existing ContentIdSetting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ContentIdSettingState, opts?: CustomResourceOptions): ContentIdSetting
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content_id: Optional[ContentIdSettingContentIdArgs] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None) -> ContentIdSetting
    func GetContentIdSetting(ctx *Context, name string, id IDInput, state *ContentIdSettingState, opts ...ResourceOption) (*ContentIdSetting, error)
    public static ContentIdSetting Get(string name, Input<string> id, ContentIdSettingState? state, CustomResourceOptions? opts = null)
    public static ContentIdSetting get(String name, Output<String> id, ContentIdSettingState state, CustomResourceOptions options)
    resources:  _:    type: scm:ContentIdSetting    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ContentId ContentIdSettingContentId
    Content id
    Device string
    The device in which the resource is defined
    Folder string

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Tfid string
    ContentId ContentIdSettingContentIdArgs
    Content id
    Device string
    The device in which the resource is defined
    Folder string

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    Tfid string
    contentId ContentIdSettingContentId
    Content id
    device String
    The device in which the resource is defined
    folder String

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid String
    contentId ContentIdSettingContentId
    Content id
    device string
    The device in which the resource is defined
    folder string

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet string

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid string
    content_id ContentIdSettingContentIdArgs
    Content id
    device str
    The device in which the resource is defined
    folder str

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet str

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid str
    contentId Property Map
    Content id
    device String
    The device in which the resource is defined
    folder String

    The folder in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    snippet String

    The snippet in which the resource is defined

    ℹ️ Note: You must specify exactly one of device, folder, and snippet.

    tfid String

    Supporting Types

    ContentIdSettingContentId, ContentIdSettingContentIdArgs

    AllowForwardDecryptedContent bool
    Allow forward decrypted content
    AllowHttpRange bool
    Allow http range
    Application ContentIdSettingContentIdApplication
    Application
    ExtendedCaptureSegment int
    Extended capture segment
    StripXFwdFor bool
    Strip x fwd for
    TcpBypassExceedQueue bool
    Tcp bypass exceed queue
    UdpBypassExceedQueue bool
    Udp bypass exceed queue
    XForwardedFor string
    X forwarded for
    AllowForwardDecryptedContent bool
    Allow forward decrypted content
    AllowHttpRange bool
    Allow http range
    Application ContentIdSettingContentIdApplication
    Application
    ExtendedCaptureSegment int
    Extended capture segment
    StripXFwdFor bool
    Strip x fwd for
    TcpBypassExceedQueue bool
    Tcp bypass exceed queue
    UdpBypassExceedQueue bool
    Udp bypass exceed queue
    XForwardedFor string
    X forwarded for
    allowForwardDecryptedContent Boolean
    Allow forward decrypted content
    allowHttpRange Boolean
    Allow http range
    application ContentIdSettingContentIdApplication
    Application
    extendedCaptureSegment Integer
    Extended capture segment
    stripXFwdFor Boolean
    Strip x fwd for
    tcpBypassExceedQueue Boolean
    Tcp bypass exceed queue
    udpBypassExceedQueue Boolean
    Udp bypass exceed queue
    xForwardedFor String
    X forwarded for
    allowForwardDecryptedContent boolean
    Allow forward decrypted content
    allowHttpRange boolean
    Allow http range
    application ContentIdSettingContentIdApplication
    Application
    extendedCaptureSegment number
    Extended capture segment
    stripXFwdFor boolean
    Strip x fwd for
    tcpBypassExceedQueue boolean
    Tcp bypass exceed queue
    udpBypassExceedQueue boolean
    Udp bypass exceed queue
    xForwardedFor string
    X forwarded for
    allow_forward_decrypted_content bool
    Allow forward decrypted content
    allow_http_range bool
    Allow http range
    application ContentIdSettingContentIdApplication
    Application
    extended_capture_segment int
    Extended capture segment
    strip_x_fwd_for bool
    Strip x fwd for
    tcp_bypass_exceed_queue bool
    Tcp bypass exceed queue
    udp_bypass_exceed_queue bool
    Udp bypass exceed queue
    x_forwarded_for str
    X forwarded for
    allowForwardDecryptedContent Boolean
    Allow forward decrypted content
    allowHttpRange Boolean
    Allow http range
    application Property Map
    Application
    extendedCaptureSegment Number
    Extended capture segment
    stripXFwdFor Boolean
    Strip x fwd for
    tcpBypassExceedQueue Boolean
    Tcp bypass exceed queue
    udpBypassExceedQueue Boolean
    Udp bypass exceed queue
    xForwardedFor String
    X forwarded for

    ContentIdSettingContentIdApplication, ContentIdSettingContentIdApplicationArgs

    BypassExceedQueue bool
    Bypass exceed queue
    BypassExceedQueue bool
    Bypass exceed queue
    bypassExceedQueue Boolean
    Bypass exceed queue
    bypassExceedQueue boolean
    Bypass exceed queue
    bypass_exceed_queue bool
    Bypass exceed queue
    bypassExceedQueue Boolean
    Bypass exceed queue

    Import

    The following command can be used to import a resource not managed by Terraform:

    bash

    $ pulumi import scm:index/contentIdSetting:ContentIdSetting example folder:::id
    

    or

    bash

    $ pulumi import scm:index/contentIdSetting:ContentIdSetting example :snippet::id
    

    or

    bash

    $ pulumi import scm:index/contentIdSetting:ContentIdSetting example ::device:id
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.3 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate