1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getChildSiteManagementPolicy
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    A Child Site Management Policy is a centralized policy defined by a parent site to enforce consistent configurations across child sites. These policies allow parent sites to maintain control over specific aspects of their child sites’ functionality and appearance.

    Non-default policies apply only to the child sites listed in childSiteIds, and each child site can be explicitly assigned to only one policy.

    One policy can be designated as the default policy. It applies to every child site not explicitly assigned to another policy or listed in its skipChildSiteIds, including newly created child sites. Only a default policy can exclude child sites. The value field contains the policy configuration data, with the format varying based on the policy type. When a policy is active, its managed configurations are automatically enforced on applicable child sites, and attribute modifications are not permitted.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleChildSiteManagementPolicy = filescom.getChildSiteManagementPolicy({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_child_site_management_policy = filescom.get_child_site_management_policy(id=1)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.GetChildSiteManagementPolicy(ctx, &filescom.LookupChildSiteManagementPolicyArgs{
    			Id: 1,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleChildSiteManagementPolicy = Filescom.GetChildSiteManagementPolicy.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetChildSiteManagementPolicyArgs;
    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) {
            final var exampleChildSiteManagementPolicy = FilescomFunctions.getChildSiteManagementPolicy(GetChildSiteManagementPolicyArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleChildSiteManagementPolicy:
        fn::invoke:
          function: filescom:getChildSiteManagementPolicy
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getchildsitemanagementpolicy" "exampleChildSiteManagementPolicy" {
      id = 1
    }
    

    Using getChildSiteManagementPolicy

    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 getChildSiteManagementPolicy(args: GetChildSiteManagementPolicyArgs, opts?: InvokeOptions): Promise<GetChildSiteManagementPolicyResult>
    function getChildSiteManagementPolicyOutput(args: GetChildSiteManagementPolicyOutputArgs, opts?: InvokeOutputOptions): Output<GetChildSiteManagementPolicyResult>
    def get_child_site_management_policy(id: Optional[int] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetChildSiteManagementPolicyResult
    def get_child_site_management_policy_output(id: pulumi.Input[Optional[int]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetChildSiteManagementPolicyResult]
    func LookupChildSiteManagementPolicy(ctx *Context, args *LookupChildSiteManagementPolicyArgs, opts ...InvokeOption) (*LookupChildSiteManagementPolicyResult, error)
    func LookupChildSiteManagementPolicyOutput(ctx *Context, args *LookupChildSiteManagementPolicyOutputArgs, opts ...InvokeOption) LookupChildSiteManagementPolicyResultOutput

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

    public static class GetChildSiteManagementPolicy 
    {
        public static Task<GetChildSiteManagementPolicyResult> InvokeAsync(GetChildSiteManagementPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetChildSiteManagementPolicyResult> Invoke(GetChildSiteManagementPolicyInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetChildSiteManagementPolicyResult> Invoke(GetChildSiteManagementPolicyInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetChildSiteManagementPolicyResult> getChildSiteManagementPolicy(GetChildSiteManagementPolicyArgs args, InvokeOptions options)
    public static Output<GetChildSiteManagementPolicyResult> getChildSiteManagementPolicy(GetChildSiteManagementPolicyArgs args, InvokeOptions options)
    public static Output<GetChildSiteManagementPolicyResult> getChildSiteManagementPolicy(GetChildSiteManagementPolicyArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getChildSiteManagementPolicy:getChildSiteManagementPolicy
      arguments:
        # arguments dictionary
    data "filescom_get_child_site_management_policy" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Policy ID.
    Id int
    Policy ID.
    id number
    Policy ID.
    id Integer
    Policy ID.
    id number
    Policy ID.
    id int
    Policy ID.
    id Number
    Policy ID.

    getChildSiteManagementPolicy Result

    The following output properties are available:

    AppliedChildSiteIds List<int>
    IDs of child sites that this policy has been applied to. This field is read-only.
    ChildSiteIds List<int>
    IDs of child sites explicitly assigned to this non-default policy.
    CreatedAt string
    When this policy was created.
    DefaultPolicy bool
    Whether this policy applies to child sites not explicitly assigned to another policy.
    Description string
    Description for this policy.
    Id int
    Policy ID.
    Name string
    Name for this policy.
    PolicyType string
    Type of policy. Valid values: settings.
    SkipChildSiteIds List<int>
    IDs of child sites excluded from this default policy.
    UpdatedAt string
    When this policy was last updated.
    Value object
    Policy configuration data. Settings policies accept site settings plus an optional folderBehaviors array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
    AppliedChildSiteIds []int
    IDs of child sites that this policy has been applied to. This field is read-only.
    ChildSiteIds []int
    IDs of child sites explicitly assigned to this non-default policy.
    CreatedAt string
    When this policy was created.
    DefaultPolicy bool
    Whether this policy applies to child sites not explicitly assigned to another policy.
    Description string
    Description for this policy.
    Id int
    Policy ID.
    Name string
    Name for this policy.
    PolicyType string
    Type of policy. Valid values: settings.
    SkipChildSiteIds []int
    IDs of child sites excluded from this default policy.
    UpdatedAt string
    When this policy was last updated.
    Value interface{}
    Policy configuration data. Settings policies accept site settings plus an optional folderBehaviors array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
    applied_child_site_ids list(number)
    IDs of child sites that this policy has been applied to. This field is read-only.
    child_site_ids list(number)
    IDs of child sites explicitly assigned to this non-default policy.
    created_at string
    When this policy was created.
    default_policy bool
    Whether this policy applies to child sites not explicitly assigned to another policy.
    description string
    Description for this policy.
    id number
    Policy ID.
    name string
    Name for this policy.
    policy_type string
    Type of policy. Valid values: settings.
    skip_child_site_ids list(number)
    IDs of child sites excluded from this default policy.
    updated_at string
    When this policy was last updated.
    value any
    Policy configuration data. Settings policies accept site settings plus an optional folderBehaviors array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
    appliedChildSiteIds List<Integer>
    IDs of child sites that this policy has been applied to. This field is read-only.
    childSiteIds List<Integer>
    IDs of child sites explicitly assigned to this non-default policy.
    createdAt String
    When this policy was created.
    defaultPolicy Boolean
    Whether this policy applies to child sites not explicitly assigned to another policy.
    description String
    Description for this policy.
    id Integer
    Policy ID.
    name String
    Name for this policy.
    policyType String
    Type of policy. Valid values: settings.
    skipChildSiteIds List<Integer>
    IDs of child sites excluded from this default policy.
    updatedAt String
    When this policy was last updated.
    value Object
    Policy configuration data. Settings policies accept site settings plus an optional folderBehaviors array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
    appliedChildSiteIds number[]
    IDs of child sites that this policy has been applied to. This field is read-only.
    childSiteIds number[]
    IDs of child sites explicitly assigned to this non-default policy.
    createdAt string
    When this policy was created.
    defaultPolicy boolean
    Whether this policy applies to child sites not explicitly assigned to another policy.
    description string
    Description for this policy.
    id number
    Policy ID.
    name string
    Name for this policy.
    policyType string
    Type of policy. Valid values: settings.
    skipChildSiteIds number[]
    IDs of child sites excluded from this default policy.
    updatedAt string
    When this policy was last updated.
    value any
    Policy configuration data. Settings policies accept site settings plus an optional folderBehaviors array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
    applied_child_site_ids Sequence[int]
    IDs of child sites that this policy has been applied to. This field is read-only.
    child_site_ids Sequence[int]
    IDs of child sites explicitly assigned to this non-default policy.
    created_at str
    When this policy was created.
    default_policy bool
    Whether this policy applies to child sites not explicitly assigned to another policy.
    description str
    Description for this policy.
    id int
    Policy ID.
    name str
    Name for this policy.
    policy_type str
    Type of policy. Valid values: settings.
    skip_child_site_ids Sequence[int]
    IDs of child sites excluded from this default policy.
    updated_at str
    When this policy was last updated.
    value Any
    Policy configuration data. Settings policies accept site settings plus an optional folderBehaviors array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
    appliedChildSiteIds List<Number>
    IDs of child sites that this policy has been applied to. This field is read-only.
    childSiteIds List<Number>
    IDs of child sites explicitly assigned to this non-default policy.
    createdAt String
    When this policy was created.
    defaultPolicy Boolean
    Whether this policy applies to child sites not explicitly assigned to another policy.
    description String
    Description for this policy.
    id Number
    Policy ID.
    name String
    Name for this policy.
    policyType String
    Type of policy. Valid values: settings.
    skipChildSiteIds List<Number>
    IDs of child sites excluded from this default policy.
    updatedAt String
    When this policy was last updated.
    value Any
    Policy configuration data. Settings policies accept site settings plus an optional folderBehaviors array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial