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

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a list of SCM File Blocking Profile objects.
    //
    // Fetch a list of all SCM File Blocking Profile in the "All" folder.
    const allShared = scm.getFileBlockingProfileList({
        folder: "All",
    });
    export const scmFileBlockingProfileAllShared = allShared.then(allShared => allShared.datas);
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a list of SCM File Blocking Profile objects.
    #
    # Fetch a list of all SCM File Blocking Profile in the "All" folder.
    all_shared = scm.get_file_blocking_profile_list(folder="All")
    pulumi.export("scmFileBlockingProfileAllShared", all_shared.datas)
    
    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 list of SCM File Blocking Profile objects.
    		//
    		// Fetch a list of all SCM File Blocking Profile in the "All" folder.
    		allShared, err := scm.GetFileBlockingProfileList(ctx, &scm.GetFileBlockingProfileListArgs{
    			Folder: pulumi.StringRef("All"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmFileBlockingProfileAllShared", allShared.Datas)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        //
        // Data source to retrieve a list of SCM File Blocking Profile objects.
        //
        // Fetch a list of all SCM File Blocking Profile in the "All" folder.
        var allShared = Scm.GetFileBlockingProfileList.Invoke(new()
        {
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmFileBlockingProfileAllShared"] = allShared.Apply(getFileBlockingProfileListResult => getFileBlockingProfileListResult.Datas),
        };
    });
    
    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.GetFileBlockingProfileListArgs;
    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 list of SCM File Blocking Profile objects.
            //
            // Fetch a list of all SCM File Blocking Profile in the "All" folder.
            final var allShared = ScmFunctions.getFileBlockingProfileList(GetFileBlockingProfileListArgs.builder()
                .folder("All")
                .build());
    
            ctx.export("scmFileBlockingProfileAllShared", allShared.datas());
        }
    }
    
    variables:
      #
      # Data source to retrieve a list of SCM File Blocking Profile objects.
      #
    
      # Fetch a list of all SCM File Blocking Profile in the "All" folder.
      allShared:
        fn::invoke:
          function: scm:getFileBlockingProfileList
          arguments:
            folder: All
    outputs:
      # Output the list of all SCM File Blocking Profile objects from the "All" folder.
      scmFileBlockingProfileAllShared: ${allShared.datas}
    

    Using getFileBlockingProfileList

    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 getFileBlockingProfileList(args: GetFileBlockingProfileListArgs, opts?: InvokeOptions): Promise<GetFileBlockingProfileListResult>
    function getFileBlockingProfileListOutput(args: GetFileBlockingProfileListOutputArgs, opts?: InvokeOptions): Output<GetFileBlockingProfileListResult>
    def get_file_blocking_profile_list(device: Optional[str] = None,
                                       folder: Optional[str] = None,
                                       limit: Optional[int] = None,
                                       name: Optional[str] = None,
                                       offset: Optional[int] = None,
                                       snippet: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetFileBlockingProfileListResult
    def get_file_blocking_profile_list_output(device: Optional[pulumi.Input[str]] = None,
                                       folder: Optional[pulumi.Input[str]] = None,
                                       limit: Optional[pulumi.Input[int]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       offset: Optional[pulumi.Input[int]] = None,
                                       snippet: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetFileBlockingProfileListResult]
    func GetFileBlockingProfileList(ctx *Context, args *GetFileBlockingProfileListArgs, opts ...InvokeOption) (*GetFileBlockingProfileListResult, error)
    func GetFileBlockingProfileListOutput(ctx *Context, args *GetFileBlockingProfileListOutputArgs, opts ...InvokeOption) GetFileBlockingProfileListResultOutput

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

    public static class GetFileBlockingProfileList 
    {
        public static Task<GetFileBlockingProfileListResult> InvokeAsync(GetFileBlockingProfileListArgs args, InvokeOptions? opts = null)
        public static Output<GetFileBlockingProfileListResult> Invoke(GetFileBlockingProfileListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFileBlockingProfileListResult> getFileBlockingProfileList(GetFileBlockingProfileListArgs args, InvokeOptions options)
    public static Output<GetFileBlockingProfileListResult> getFileBlockingProfileList(GetFileBlockingProfileListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getFileBlockingProfileList:getFileBlockingProfileList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    getFileBlockingProfileList Result

    The following output properties are available:

    Datas List<GetFileBlockingProfileListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    The Terraform ID.
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Datas []GetFileBlockingProfileListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    The Terraform ID.
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    datas List<GetFileBlockingProfileListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    The Terraform ID.
    total Integer
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    datas GetFileBlockingProfileListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    The Terraform ID.
    total number
    The total number of items.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    datas Sequence[GetFileBlockingProfileListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    The Terraform ID.
    total int
    The total number of items.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    datas List<Property Map>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    The Terraform ID.
    total Number
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    Supporting Types

    GetFileBlockingProfileListData

    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder of the item. Default: Shared.
    Id string
    The UUID of the file blocking profile
    Name string
    The name of the item.
    Rules List<GetFileBlockingProfileListDataRule>
    A list of file blocking rules
    Snippet string
    The snippet of the item.
    Tfid string
    The Terraform ID.
    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder of the item. Default: Shared.
    Id string
    The UUID of the file blocking profile
    Name string
    The name of the item.
    Rules []GetFileBlockingProfileListDataRule
    A list of file blocking rules
    Snippet string
    The snippet of the item.
    Tfid string
    The Terraform ID.
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder of the item. Default: Shared.
    id String
    The UUID of the file blocking profile
    name String
    The name of the item.
    rules List<GetFileBlockingProfileListDataRule>
    A list of file blocking rules
    snippet String
    The snippet of the item.
    tfid String
    The Terraform ID.
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder of the item. Default: Shared.
    id string
    The UUID of the file blocking profile
    name string
    The name of the item.
    rules GetFileBlockingProfileListDataRule[]
    A list of file blocking rules
    snippet string
    The snippet of the item.
    tfid string
    The Terraform ID.
    description str
    Description
    device str
    The device in which the resource is defined
    folder str
    The folder of the item. Default: Shared.
    id str
    The UUID of the file blocking profile
    name str
    The name of the item.
    rules Sequence[GetFileBlockingProfileListDataRule]
    A list of file blocking rules
    snippet str
    The snippet of the item.
    tfid str
    The Terraform ID.
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder of the item. Default: Shared.
    id String
    The UUID of the file blocking profile
    name String
    The name of the item.
    rules List<Property Map>
    A list of file blocking rules
    snippet String
    The snippet of the item.
    tfid String
    The Terraform ID.

    GetFileBlockingProfileListDataRule

    Action string
    The action to take when the rule match criteria is met
    Applications List<string>
    The application transferring the files (App-ID naming)
    Direction string
    The direction of the file transfer
    FileTypes List<string>
    The file type
    Name string
    The name of the file blocking rule
    Action string
    The action to take when the rule match criteria is met
    Applications []string
    The application transferring the files (App-ID naming)
    Direction string
    The direction of the file transfer
    FileTypes []string
    The file type
    Name string
    The name of the file blocking rule
    action String
    The action to take when the rule match criteria is met
    applications List<String>
    The application transferring the files (App-ID naming)
    direction String
    The direction of the file transfer
    fileTypes List<String>
    The file type
    name String
    The name of the file blocking rule
    action string
    The action to take when the rule match criteria is met
    applications string[]
    The application transferring the files (App-ID naming)
    direction string
    The direction of the file transfer
    fileTypes string[]
    The file type
    name string
    The name of the file blocking rule
    action str
    The action to take when the rule match criteria is met
    applications Sequence[str]
    The application transferring the files (App-ID naming)
    direction str
    The direction of the file transfer
    file_types Sequence[str]
    The file type
    name str
    The name of the file blocking rule
    action String
    The action to take when the rule match criteria is met
    applications List<String>
    The application transferring the files (App-ID naming)
    direction String
    The direction of the file transfer
    fileTypes List<String>
    The file type
    name String
    The name of the file blocking rule

    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